From 4895417586565a74c52d4bd6be77b3418a6b4ea1 Mon Sep 17 00:00:00 2001 From: zebardy Date: Fri, 22 Nov 2019 15:18:56 +0000 Subject: [PATCH] start investigating Login controller time --- controllers/LoginController.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/controllers/LoginController.php b/controllers/LoginController.php index cb8b69a8..7aa20708 100644 --- a/controllers/LoginController.php +++ b/controllers/LoginController.php @@ -13,7 +13,9 @@ class LoginController extends BaseController $fp = fopen('/config/data/sql.log', 'a'); $time_start = microtime(true); parent::__construct($container); + fwrite($fp, "£££ Login controller - parent construstor time : " . round((microtime(true) - $time_start),6) . "\n"); $this->SessionService = SessionService::getInstance(); + fwrite($fp, "£££ Login controller - got session service instance : " . round((microtime(true) - $time_start),6) . "\n"); $this->SessionCookieName = $sessionCookieName; fwrite($fp, "£££ Login controller - construction time : " . round((microtime(true) - $time_start),6) . "\n"); fclose($fp);