Profiling with Xhprof
&
it's usage with Drupal
Hierarchical Profiler for PHP Applications that reports CPU Utilisation, memory consumption, Function level call counts, time consumed ...
- Call Graph : Displays executed code in a visual diagram where each node corresponds to a function or method and their relations show Code Flow.
- Exclusive Time : How long does it take to execute a function without time spent on other functions/methods.
- Inclusive Time : Total time spent executing a function/method including any external call.
Some Basic Terminologies to understand xhprof reports better...
Provides function-level summary information such as number of calls, inclusive/exclusive wall time, memory usage, and CPU time.
For each function, it provides a breakdown of calls and times per parent (caller) & child (callee)
Profiling with XHprof
Output