From: Hypolite Petovan Date: Thu, 1 Mar 2018 06:13:50 +0000 (-0500) Subject: Add cache to performance arrays X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=22fd2409cad636f90bc934345f2f2f017dfdf2ed;p=friendica.git Add cache to performance arrays --- 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'] = [];