Re: Benchmark single page
| From: | Mark Maggelet | Date: | Thu, 22 Mar 2001 01:33:53 +0000 |
| Subject: | Re: Benchmark single page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45050@lists.php.net to get a copy of this message | ||
On Wed, 21 Mar 2001 17:09:17 -0800, Jason Granum
(razm@assassination.org) wrote:
>I'm wanting to benchmark a single PHP page to the millisecond (if
>possible) that basicly just will put a
>
>This page generated in X.XXX seconds
>
>at the bottom of every page.
>
>I've tried looking through the past messages on the group but havn't
>found any threads relating to this. Anyone have any ideas of how to
>do this simple thing simply?
>
>Thanks
you can call microtime() at the top and bottom and subtract them, and
maybe use output buffering functions to be completely accurate.
- Mark