SPX Graph Visualizer is a tool for analyzing and visualizing performance profiles created with SPX PHP Profiler.
I really don't like viewing the profile as a Flamegraph. I think it's difficult.
- Graph visualization — interactive call graphs with function names
- Zoom — support zoom on the graph
- Compression txt support — works with .txt and .txt.gz files
- Report — view in browser or save to HTML report
./spx-graph --file profile.txt.gz # http://localhost:8080
./spx-graph --file profile.txt.gz --port 9090 # http://localhost:9090./spx-graph --file profile.txt.gz -o result.htmlWorks with SPX profiles containing sections:
[events]
0 1 0 0
1 1 33780 272
1 0 39230 536
...
[functions]
/var/www/html/index.php
/var/www/html/vendor/autoload.php
MyClass::myMethod
...
MIT License
Pull requests and issues are welcome!
- PHP SPX — PHP profiler