Speed on the server

Hi,

I’m beginning to implement a benchmarking strategy as my site grows. On the server side of things, my question is whether doing a straightforward:

$script_start_time = microtime(true);

at the start of the script, and:

$script_end_time = microtime(true)-$script_start_time

at the end of the script, in addition to database profiling, is a good way to see how long a script takes while it’s being parsed on the server. And, if not, are there any other server-side “pieces” that I should be benchmarking?

-Eric