xhprof

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
Fabianx's picture

XHProf on Mac OS X with Speed Step: Finally accurate numbers

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
brianmercer's picture

PHP profiling with XHprof

If you're looking to track down the module which is killing your page load times, you may need profiling. Most people have used xdebug for this in the past with something like webgrind to display the information. Things have gotten easier.

Facebook has developed a PHP extension called XHprof and released it under the Apache license. It comes with a nice sample web interface.

Read more
Subscribe with RSS Syndicate content