RE: [PHP] Benchmarking
| From: | John W. Holmes | Date: | Wed, 26 Mar 2003 01:15:16 +0000 |
| Subject: | RE: [PHP] Benchmarking | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-141047@lists.php.net to get a copy of this message | ||
> I've been making a web ap PHP based, but I fear the number of arrays
it
> has
> is too big. Is there any way to benchmark a script, or are there any
> recomendations or standards about how much time execution takes and
how
> many
> resources it takes?
The benchmarking is just a matter of subtracting the time at the end of
your script from the time at the beginning.
Check your web server logs for the resources question. I don't know of
any PHP way to do it.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/