web3tracer
is a PHP profiler / tracer derived from XHProf; it is a PHP profiler module written in C allowing you to profile php script performance with minimum overhead.
It allows you to profile PHP scripts to analyze PHP scripts' performance, from finding bottlenecks to fine tuning execution times. It is an invaluable tool in assessing your PHP code's performance. Using the KCacheGrind graph rendition, you can visualize the execution flow of your scripts. This also gives you a structural overview of code flow, allowing you to easily identify the functional structure of your code.
This PHP profiler is a new alternative, outperforming similar tools in:
- Minimal overhead
- KCachegrind output
- XHProf output
- Correctly handles recursive calls, not by expansion (XHProf) but by decoupling
- Full call tree traces in XDebug XT format
It is not difficult now to get an execution graph like the one below:
This means that when you profile php script it will be will be more accurate, and easier to follow visually. Please browse the manual for a better look at what it does.
This is meant to supersede the xt2callgrind tool, which relied on the XDebug profiler.
We'd like to hear from you!
Whether you found this useful, have questions, problems, or are just dismayed by it, we'd like to know! Feedback is invaluable for our public projects, so please take the time to drop us a message. Your effort will be greatly appreciated! Thank you!