Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Paul Reinheimer's Blog:
A GUI for XHProf
Apr 27, 2010 @ 14:15:05

Paul Reinheimer has posted about a new GUI frontend he's developed to sit on top of the XHProf profiling tool and has made available on github.

Facebook was kind enough to open source the XHProf extension last year, but it flew under my radar until I saw a presentation including it earlier this year when they showed off HipHop. XHProf provides profiling information about your application, while being lightweight enough to run on a production server (against a percentage of requests). Once we got it installed we ran into a few limitations with the existing GUI.

His deadlines were tight, so he admits the code isn't as robust as it could be, but he does offer a tool that uses MySQL for data storage, keeps stats on things like peak memory usage and wall time and uses the Google Data Visualization API to run graphs of the data over time. You can see a few screenshots of the tool in action in the post including this sample graph and this comparison of two different runs against the same resources.

The project is available for download/contribution on github.

tagged: xhprof gui profile application facebook

Link:


Trending Topics: