Re: help measuring time for img creating...
| From: | Henrik Hansen | Date: | Sun, 28 Oct 2001 21:46:56 +0000 |
| Subject: | Re: help measuring time for img creating... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72640@lists.php.net to get a copy of this message | ||
cdechery@easynet.com.br (Christian Dechery) wrote:
> I have a script that generates quite a complex report...
>
> at this script I call several times another script that generates
> images (of course based on the main report script)...
>
> I'd like some ideas on how I can measure the WHOLE time it took the
> build the entire page... because the images are not accounted for in
> the main script... it always returns something like 1 or 2 seconds
> when it actually took 30 or 40 seconds to finish...
>
> any ideas?
if i got you right, you can use microtime();
look at
http://www.php.net/manual/en/function.microtime.php
--
Henrik Hansen