From 22fd2409cad636f90bc934345f2f2f017dfdf2ed Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 1 Mar 2018 01:13:50 -0500 Subject: [PATCH] Add cache to performance arrays --- src/App.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.php b/src/App.php index 6eff22f549..0acbfe6f41 100644 --- a/src/App.php +++ b/src/App.php @@ -148,6 +148,8 @@ class App $this->performance['start'] = microtime(true); $this->performance['database'] = 0; $this->performance['database_write'] = 0; + $this->performance['cache'] = 0; + $this->performance['cache_write'] = 0; $this->performance['network'] = 0; $this->performance['file'] = 0; $this->performance['rendering'] = 0; @@ -157,6 +159,8 @@ class App $this->callstack['database'] = []; $this->callstack['database_write'] = []; + $this->callstack['cache'] = []; + $this->callstack['cache_write'] = []; $this->callstack['network'] = []; $this->callstack['file'] = []; $this->callstack['rendering'] = [];