Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to read .xhprof files?

I have .xhprof files generated from XHProf and UProfiler.

Tried using SugarCrm XHProf Viewer and UProfiler viewer, but both of them doesn't read .xhprof files.

Do I have to do any conversion to read this reports?

like image 762
karthikeayan Avatar asked Oct 20 '25 07:10

karthikeayan


1 Answers

I am maintaining XHProf since it is not maintained by Facebook anymore.

As part of the project, there is an xhprof_html sub-directory. If you can reach its index.php directly from a URL (maybe you will have to create a separate VirtualHost and/or putting it somewhere under your document root), then it should show you a list of profiles that have been generated (by default, it is in the temporary directory (/tmp?)).

like image 92
Patrick Allaert Avatar answered Oct 21 '25 22:10

Patrick Allaert



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!