[PHP] Benchmark single page

2001-03-21 Thread Jason Granum
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

Re: [PHP] Benchmark single page

2001-03-21 Thread Mark Maggelet
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

Re: [PHP] Benchmark single page

2001-03-21 Thread Floyd Piedad
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: ?