Making PHP performance profiling predictable

metindmirci

New Member
I'm using xdebug with PHP to do some performance profiling. But when I run the same script more than once, I often get very different times. So it's hard to know how much faith to put in the results.Obviously there's a lot happening on a machine that can affect PHP's performance. But is there anything I can do to reduce the number of variables, so multiple tests are more consistent?I'm running PHP under Apache, on Mac OS X.
 
Back
Top