Re: comparing scripts performance
| From: | _lallous | Date: | Wed, 29 Aug 2001 10:59:42 +0000 |
| Subject: | Re: comparing scripts performance | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-64976@lists.php.net to get a copy of this message | ||
you might want to add this to each of the scripts and see:
<?
//very first line of the script
echo "Script started at:" . date("D M j g:i:s T Y");
//very last line of the script
echo "Script ended at:" . date("D M j g:i:s T Y");
?>
btw, check the microtime() it have exatly what you're looking for.
Greetings from Lebanon ;)
"Ben-Nes Michael" <miki@canaan.co.il> wrote in message
news:00c601c13066$990f51c0$aa5796d4@canaan.co.il...
> Is there a way to compare between two scripts ?
>
> like how much time took every script or how much memory/resources it used.
>
> --------------------------
> Canaan Surfing Ltd.
> Internet Service Providers
> Ben-Nes Michael - Manager
> Tel: 972-4-6991122
> http://sites.canaan.co.il
> --------------------------
>
>