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  | [EMAIL PROTECTED]  |
ORA-03113: end-of-file on communication channel
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to