[drupal-devel] [feature] Adder timing information to statistics page
Dries
drupal-devel at drupal.org
Wed May 11 21:04:17 UTC 2005
Issue status update for http://drupal.org/node/22623
Project: Drupal
Version: cvs
Component: statistics.module
Category: feature requests
Priority: normal
Assigned to: Anonymous
Reported by: Dries
Updated by: Dries
-Status: active
+Status: patch
Setting to patch. Take a look at the patch + screenshot please.
Dries
Previous comments:
------------------------------------------------------------------------
May 11, 2005 - 22:05 : Dries
Attachment: http://drupal.org/files/issues/timer.patch (8.56 KB)
I extended the current timer_start() function in bootstrap.inc and added
two new function, timer_read() and timer_stop(). I've used these to
profile drupal.org. (A small change will be needed to devel.module.)
I've also extended the accesslog-table to keep track of page generation
times. The information is shown on the "top pages" page
(admin/logs/pages). It shows each page's average page generation time,
and the total page generation time. This lets one identify (i) slow
pages and (ii) resource heavy pages. This is the most essential and
most useful information when tuning your Drupal site.
Please review, or I'll commit it as is.
------------------------------------------------------------------------
May 11, 2005 - 22:13 : Dries
Attachment: http://drupal.org/files/issues/timer.pdf (22 KB)
Screenshot.
More information about the drupal-devel
mailing list