RE: Execution time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:peter@xxxxxxxx] 
> Sent: Wednesday, December 01, 2004 7:02 PM
> To: php-general@xxxxxxxxxxxxx
> Subject:  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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux