PhpStorm 8.0.2 Web Help

Analyzing XDebug Profiling Data

When integration with XDebug profiler is enabled, PhpStorm provides visual representation of profiler snapshots. PhpStorm opens a separate editor tab with four views where the data are presented based on different criteria.

To have the profiling data collected and analyze it, perform these general steps:

To initiate a debugging session, do one of the following

To retrieve the collected profiling data

  1. On the main menu, choose Tools | Analyze XDebug Profiler Snapshot .
  2. In the Select XDebug profiler snapshot dialog box, that opens, choose the folder and the file where the profiling data is stored.

    PhpStorm presents the collected profiling data in a separate editor tab with the name of the selected profiler output file.

To view and examine the profiling data, perform these general steps

  • In the Execution Statistics view, examine the summary information about execution metrics of every called function.
  • In the Call Tree view, explore the execution paths of all called functions.
  • To explore the execution paths of a specific function, select the function in question in the Call Tree view and view its callees in the Callees view.
  • To explore all the paths that can result in calling a specific function, select the function in question in the Call Tree view and examine its possible callers in the Callers view.

See Also

Last modified: 10 December 2014