TR

Profiler

Profile… (Alt+Shift+P) runs a configuration with Xdebug's profiler; the Profiler window (Alt+P, right) shows where the time and the memory go.

  • The functions by own time, total time, calls and memory; a flame graph; who calls a function and what it calls.
  • A click opens the function's code.
  • Two profiles compared: what got slower or faster.
  • Stop also stops reading a big profile.

For A/B comparisons of a change (before / after, profiled the same way), see the A/B tab of Cryo. More: docs/ide-profiler.md.