Re: Re: SQL or array ?
| From: | Simon Rees | Date: | Sun, 24 Apr 2005 16:52:09 +0000 |
| Subject: | Re: Re: SQL or array ? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-39266@lists.php.net to get a copy of this message | ||
On Sunday 24 April 2005 12:25, Paul Reilly wrote:
> How would I go about benchmarking the different options?
> What tools are there to do this?
a) time the script - quick, dirty and inaccurate but may provide an
indicative result.
b) use a profiler, which can be more interesting as it will show the CPU
time taken by various parts of the script.
I've used Xdebug for profiling and found it useful. Have a look at
http://www.php.net/debugger
for this and other options (I assume the other debuggers have profiling
support).
Simon
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Simon Rees | tech-lists@zodiac2000.co.uk |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~