From ef40bb25fdf8eacb0fb2e9ff664274c5da3cec24 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 2 Jul 2015 09:46:57 -0600 Subject: [PATCH] added a timer around pageInitialized event --- system/src/Grav/Common/Grav.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/src/Grav/Common/Grav.php b/system/src/Grav/Common/Grav.php index 2d132f42b..7ac1c1c8e 100644 --- a/system/src/Grav/Common/Grav.php +++ b/system/src/Grav/Common/Grav.php @@ -209,7 +209,9 @@ class Grav extends Container $this->fireEvent('onPagesInitialized'); $debugger->stopTimer('pages'); + $debugger->startTimer('pageinit', 'Page Initialized'); $this->fireEvent('onPageInitialized'); + $debugger->stopTimer('pageinit'); $debugger->addAssets();