mirror of
https://github.com/grocy/grocy.git
synced 2026-04-07 05:16:15 +02:00
correct timings for app route build time
This commit is contained in:
parent
dd5c97c4d2
commit
5c29be4f44
2
app.php
2
app.php
|
|
@ -109,8 +109,10 @@ fwrite($fp, "!!!App - App object build time in seconds: " . round((microtime(tru
|
||||||
|
|
||||||
#phpinfo();
|
#phpinfo();
|
||||||
|
|
||||||
|
$route_load_time_start = microtime(true);
|
||||||
// Load routes from separate file
|
// Load routes from separate file
|
||||||
require_once __DIR__ . '/routes.php';
|
require_once __DIR__ . '/routes.php';
|
||||||
|
fwrite($fp, "!!!App - Route load time in seconds: " . round((microtime(true) - $route_load_time_start),6) . "\n");
|
||||||
fwrite($fp, "!!!App - App build time in seconds: " . round((microtime(true) - $app_time_start),6) . "\n");
|
fwrite($fp, "!!!App - App build time in seconds: " . round((microtime(true) - $app_time_start),6) . "\n");
|
||||||
|
|
||||||
#$fp = fopen('/config/data/sql.log', 'a');
|
#$fp = fopen('/config/data/sql.log', 'a');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user