[pmwiki-users] speeding up pages and pagelists

Patrick R. Michaud pmichaud at pobox.com
Thu Jan 5 14:34:54 CST 2012


On Thu, Jan 05, 2012 at 11:51:24AM -0600, Frank Graffagnino wrote:
> 4. Is there anything I can do to get rid of all those PageStore::ls calls?
> [...]
> 17: 00.08 FPLTemplate: FPLTemplateSliceList
> 18: 00.08 FPLTemplate: FPLTemplateFormat
> 19: 00.10 MarkupToHTML begin
> 20: 00.15 PageStore::ls begin wiki.d/{$FullName}
> 21: 00.18 PageStore::ls merge wiki.d/{$FullName}
> 22: 00.18 PageStore::ls end wiki.d/{$FullName}
> 23: 00.18 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
> 24: 00.18 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
> 25: 00.18 PageStore::ls end $FarmD/wikilib.d/{$FullName}
> 26: 00.18 PageStore::ls begin wiki.d/{$FullName}
> 27: 00.20 PageStore::ls merge wiki.d/{$FullName}
> 28: 00.20 PageStore::ls end wiki.d/{$FullName}
> 29: 00.20 PageStore::ls begin $FarmD/wikilib.d/{$FullName}
> 30: 00.20 PageStore::ls merge $FarmD/wikilib.d/{$FullName}
> 31: 00.20 PageStore::ls end $FarmD/wikilib.d/{$FullName}
> <... repeats a ton of times. Edited for brevity ... >
> 509: 03.82 MarkupToHTML end

How many times does it repeat?  In looking at the above, it appears
to me that the total time needed to perform a single PageStore::ls
sequence is only 0.05 seconds (0.20 - 0.15).  It would be good to
know the timestamp for the *last* PageStore::ls that occurs, as that 
gives an upper bound on the amount of time that would be saved by
eliminating PageStore::ls calls.

Pm



More information about the pmwiki-users mailing list