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
On Wed, 21 Mar 2001 17:09:17 -0800, Jason Granum
([EMAIL PROTECTED]) 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
Hi Jason,
At the very start of the page to be outputted, even before the HTML tags, put this in.
? php
$time = microtime();
$time = explode(" ",$time);
$microtime = $time[1]+$time[0];
$transaction_start = $microtime;
?
Then at the very bottom of the generated page, before the /BODY/HTML tag:
?
3 matches
Mail list logo