[UPHPU] script timers
Dave Smith
dave at thesmithfam.org
Fri Feb 16 10:25:55 MST 2007
First, be sure to disable any output buffering. Then, use logging on the
server side to do time stamping. Write timestamps to a file on disk as
the PHP script executes. Lastly, start looking at your Apache (or
whatever web server) logs, and see if there are any errors there that
could be causing the problem. It's most likely a problem with the web
server itself, and not your PHP code.
--Dave
Daniel wrote:
> There is serious latency from the time someone pushes a button on our
> webpages and the time the following page is displayed. I would like
> to know how to pin point the bottle neck. We date stamped the second
> page at the beginning of the script and at the end and subtracted the
> two times to get a sub-second period. For some reason the page takes
> a few seconds to come up. Where could there be a bottle neck and how
> can we find out exactly where it is?
More information about the UPHPU
mailing list