XHProf: A Hierarchical Profiler for PHP

XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interface. The raw data collection component is implemented in C (as a PHP extension). The reporting/UI layer is all in PHP. It is capable of reporting function-level inclusive and exclusive wall times, memory usage, CPU times and number of calls for each function. Additionally, it supports ability to compare two runs (hierarchical DIFF reports), or aggregate results from multiple runs.

License: Apache 2.0

Latest releases

Version Release Download
2.3.5 2021-09-05 xhprof-2.3.5.tgz
2.3.4 2021-08-04 xhprof-2.3.4.tgz
2.3.3 2021-07-05 xhprof-2.3.3.tgz
2.3.2 2021-05-07 xhprof-2.3.2.tgz
2.3.1 2021-04-30 xhprof-2.3.1.tgz
Show all releases


Version Message
2.3.5 - Fix multiple memory releases #62
2.3.4 - fix for 8.1.0alpha2 #61
2.3.3 - Fix memory leak on array_filter #60
- Custom xhprof_error
2.3.2 - PHP8 JIT support #51
- Allow to override xhprof.output_dir via env XHPROF_OUTPUT_DIR
- Set SVG render as default for callgraph.php
2.3.1 - Set SVG render as default for callgraph.php
Show complete changelog