How to cachegrind a tested Drupal

Submitted by nk on Sat, 2008-11-01 18:50.

Just add

zend_extension="/usr/local/php/modules/xdebug.so"
xdebug.profiler_enable_trigger = on

to php.ini and then add this line to drupal_web_test_case curlExec just after the second line, where $url is assigned: $curl_options[CURLOPT_URL] = $url . (strpos($url, '?') === FALSE ? '?' : '&') . 'XDEBUG_PROFILE=1'; is the trigger for the profiler.

User login

Log in using OpenID

No user registration here. Use your DrupalID from drupal.org, for eg. chx@drupal.org