[pmwiki-users] recipes on core elements
radu at monicsoft.net
Fri Sep 2 23:44:15 CDT 2005
At 11:09 PM 9/2/2005, Patrick R. Michaud wrote:
>On Fri, Sep 02, 2005 at 06:57:02PM -0400, Radu wrote:
> > echo stopwatch comments here and there... Say, PM, could the core
> > EnableDiag echo stopwatch comments in key places (after stuff that
> > potentially can take a long time) ?
>Possibly, but I'm not sure where those key places are yet.
What I had in mind were:
* opening/reading files (one by one or in a loop)
* (possibly) large loops
* after return from resursive calls
* anywhere in between when stopwatch results are strangely higher
than the previous ones ;)
>One part that I know to be oddly slow at the moment is processing
>of the urlapprove.php script -- it seems to take 0.10 seconds to
>load and process those urls. I've looked at it briefly to figure
>out the delay but haven't really investigated it fully.
Ahh, indeed, if I comment out the inclusion of urlapprove in
local/config.php, I get faster page displays and edits. Weird.
More information about the pmwiki-users