Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.26 KB

README.md

File metadata and controls

25 lines (15 loc) · 1.26 KB

Xdebug Flamechart

Shows an Xdebug profile as a flamechart drawn by d3-flame-graph

Link

http://andrekr.github.io/XdebugFlamechart/

How to use

  • Create a profile with Xdebug (see here and (for web pages) here)
  • Open the Viewer in a browser
  • Drop the Cachegrind file onto that page

Screenshot

Limitations

  • Right now it doesn't read trace files yet. Theres a branch where I started working on that.
  • Xdebug does not give information about when, within one function, another function is called. The Flamechart just shows all called functions on the left of each calling function
  • There is currently no Node.js version because I don't have a profile file handy that is so large that it would require a standalone converter.

Source

It's Javascript, so download the HTML file or view it on GitHub: index.html converter.inc.js