Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I tried to profile a custom piece of code, as most of my action happens before node_save, not on note view.
I wrapped the code between
xhprof_xhprof_enable();
.... my code...
xhprof_shutdown_xhprof();
And I can see the report appear in the runs, but it is empty.
Any tips please?
Comments
Comment #1
giorgio79 CreditAttribution: giorgio79 commentedEh, xhprof was disables, and xhprof_xhprof_enable checks this variable...
Comment #2
smazI know this is an old thread, but incase it helps anyone else: