What is the best way for me to test my PHP code\'s performance?
If you want to test a specific part of the code, consider using the Benchmark package from the PHP PEAR library.
$timer = new Benchmark_Timer(); $timer->start(); // Code to test here $timer->stop(); $timer->display();