mirror of
https://github.com/grocy/grocy.git
synced 2026-04-05 12:26:15 +02:00
correct timings for app object build time
This commit is contained in:
parent
80adccb2a0
commit
dd5c97c4d2
3
app.php
3
app.php
|
|
@ -95,8 +95,11 @@ $appContainer = new \Slim\Container([
|
|||
return 'GROCY-API-KEY';
|
||||
}
|
||||
]);
|
||||
fwrite($fp, "!!!App - Container build time in seconds: " . round((microtime(true) - $app_time_start),6) . "\n");
|
||||
$app_build_time_start = microtime(true);
|
||||
|
||||
$app = new \Slim\App($appContainer);
|
||||
fwrite($fp, "!!!App - App object build time in seconds: " . round((microtime(true) - $app_time_start),6) . "\n");
|
||||
|
||||
#$fp = fopen('/www/data/sql.log', 'a');
|
||||
#fwrite($fp, "!!!Starting up loading app\n");
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user