Re: speet testing (was URL parsing)
| From: | Sean Burlington | Date: | Thu, 19 Dec 2002 19:55:17 +0000 |
| Subject: | Re: speet testing (was URL parsing) | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128904@lists.php.net to get a copy of this message | ||
1LT John W. Holmes wrote:
simple is good :) thanks for that - I'll start experimenting. I never used too be too worried about speed - but have recenetly worked on a project that has become very slow and need to start developing methods for analysing code changes and thier impact on performance. -- SeanI wonder if you could pass on some pointers for speed testing. thanksNothing fancy. Just using the getmicrotime() function defined on the microtime() manual page to get the time before the bit I'm testing and after and subtract to get the difference. www.php.net/microtime There are fancier classes out there that'll do this and create pretty graphs and all that, too. I think PEAR has something to help with it.