mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 20:36:15 +02:00
start investigating Login controller time
This commit is contained in:
parent
11bf1ccfae
commit
4895417586
|
|
@ -13,7 +13,9 @@ class LoginController extends BaseController
|
||||||
$fp = fopen('/config/data/sql.log', 'a');
|
$fp = fopen('/config/data/sql.log', 'a');
|
||||||
$time_start = microtime(true);
|
$time_start = microtime(true);
|
||||||
parent::__construct($container);
|
parent::__construct($container);
|
||||||
|
fwrite($fp, "£££ Login controller - parent construstor time : " . round((microtime(true) - $time_start),6) . "\n");
|
||||||
$this->SessionService = SessionService::getInstance();
|
$this->SessionService = SessionService::getInstance();
|
||||||
|
fwrite($fp, "£££ Login controller - got session service instance : " . round((microtime(true) - $time_start),6) . "\n");
|
||||||
$this->SessionCookieName = $sessionCookieName;
|
$this->SessionCookieName = $sessionCookieName;
|
||||||
fwrite($fp, "£££ Login controller - construction time : " . round((microtime(true) - $time_start),6) . "\n");
|
fwrite($fp, "£££ Login controller - construction time : " . round((microtime(true) - $time_start),6) . "\n");
|
||||||
fclose($fp);
|
fclose($fp);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user