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.
This is a backport to the released timer functionality:
function devel_timer() {
global $timer;
list($usec, $sec) = explode(' ', microtime());
$stop = (float)$usec + (float)$sec;
$diff = round(($stop - $timer),6) ;
return t(' Page execution time was %time S.', array('%time' => $diff));
}
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedor just disable the timer feature on admin/settings/devel ... we don't branch this module in order to minimize maintainence
Comment #2
moshe weitzman CreditAttribution: moshe weitzman commented