Skip to content
Elijah Lynn edited this page Mar 9, 2015 · 5 revisions

In order to use XHProf, follow these steps:

  1. Enable devel module, drush pm-enable devel --yes
  2. Edit the file /var/www/site-php/<subsription>/<subscription>-settings.inc
  3. Uncomment the line or add the line:
$conf['devel_xhprof_enabled'] = 1;

Hit any page and you should see a hyperlink to "XHProf Output." in the footer of the page. Alternatively, you can access it from xhprof.pubstack.dev.

Warning Remember to comment out that line once you are done, otherwise your virtual memory will start filling up your drive.

Clone this wiki locally