Take a timestamp at the beginning or your script and at the end (subtract)
and you have the execution time (reasonably precisely) plus or minus a few
microseconds.

http://www.php.net/manual/en/function.microtime.php

Warren Vail


> -----Original Message-----
> From: Peter Lauri [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 01, 2004 7:02 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Execution time?
> 
> 
> Best groupmember,
> 
> How do I find the execution time for a php-script on a webserver? ms?
> 
> --
> - Best Of Times
> /Peter Lauri
> 
> -- 
> 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

Reply via email to