Tracking PHP script behavior and execution times
Posted: Tue May 13, 2003 2:01 pm
Hi, all.
I've got a site with a ton of PHP documents on it, and I'm interested in collecting some statistics about them.
Is there any way, short of adding logging code to each document, for me to keep records of
a) how long a given script takes to execute, and
b) how many individual database queries it generates?
I'm just trying to figure out which portions of the code need to be better streamlined.
Thanks,
El Perezoso
I've got a site with a ton of PHP documents on it, and I'm interested in collecting some statistics about them.
Is there any way, short of adding logging code to each document, for me to keep records of
a) how long a given script takes to execute, and
b) how many individual database queries it generates?
I'm just trying to figure out which portions of the code need to be better streamlined.
Thanks,
El Perezoso