Contents Introduction XHProf Overview Installing the XHProf extension Profiling using XHProf Setting up the XHProf UI Notes on using XHProf in production Lightweight Sampling Mode Additional features Dependencies Acknowledgements Introduction XHProf is a hierarchical profiler for PHP. It reports function-level call counts and inclusive and exclusive metrics such as wall (elapsed) time, CPU time an