RE: [PHP] How can i count time it taked to render the page?

2003-10-26 Thread Mike Brum
Grab the time at the beginning of the page execution and then grab the time
at the very end. Subtract the two and you have the amount of time the page
took to execute.

-M

-Original Message-
From: Bas [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 26, 2003 11:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How can i count time it taked to render the page?


Any help appreciated.

Regards,

Bas

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How can i count time it taked to render the page?

2003-10-26 Thread Justin French
You can't find out how long the pages takes to RENDER at all -- 
rendering is something that happens client-side.

You can find out how long it takes to execute a script (on the server), 
which is what I assume you mean.

See Example 1 on http://www.php.net/microtime

Justin French

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php