XHProf on Mac OS X with Speed Step: Finally accurate numbers
Posted by fabianx on February 18, 2012 at 6:14am
Hi High-Performance,
I am not sure how many of you tried to use XHProf on Mac OS X, but it was really unusable for me at times, because I would get rather random results due to Speed Stepping technology. Also the profiling time would never match the wait time shown in Chrome Network tab.
I made a patch to use the apple mach timer framework and I finally get accurate numbers each time now and they do also match the wait time shown both externally and internally (devel):
See https://bugs.php.net/bug.php?id=61132 for the patch and a little further explanation of the issue.
Read more