NoiseByNorthwest/php-spx: A simple & straight-to-the-point PHP profiling extension
Profiling with XHProf – techPortal
In this article, we’re going to try another profiler, XHProf, developed at Facebook and open sourced in March 2009 (under the Apache 2.0 license). XHProf is a function-level hierarchical profiler, with a PHP extension (written in C) to collect the raw data, and a few PHP scripts for the reporting/UI layer.