New in 3.0: Xdebug profiler integration
Integration with Xdebug Profiler is one of the most voted feature in the PhpStorm issue tracker, so we are happy to announce that its initial support is already implemented in PhpStorm 3.0 EAP!
To be more specific – PhpStorm provides visual representation of profiling data generated by Xdebug. In order to open a profiler snapshot, invoke the ‘Analyze Xdebug profiler snapshot’ action and select the path to the snapshot. Note that you can select several snapshots at a time and collect the aggregated profiling information.
By now we have implemented the following data views:
- ‘Execution Statistics’ – displays summary information about execution metrics of every called function.
- ‘Call Tree’ – displays the execution paths of the called functions.
- ‘Callees’ – same as ‘Call Tree’ but with the selected function as the root.
- ‘Callers’ – all the paths that can result in calling the selected function.
To learn how to configure the Xdebug extension so profiling is enabled follow official documentation at http://xdebug.org/docs/profiler#starting. You can use our Xdebug bookmarklets generator to toggle profiling directly from browser toolbar.
Developing integration with the profiler is still in progress, so we are looking forward for your feedback!
Develop with pleasure!