Setup steps duration

This commit is contained in:
Eric
2018-10-19 17:18:39 +02:00
parent 78c674a989
commit 705ce02580

View File

@@ -116,6 +116,7 @@ class ApplicationInstaller
{ {
try try
{ {
$fStart = microtime(true);
switch ($sStep) switch ($sStep)
{ {
case '': case '':
@@ -338,6 +339,8 @@ class ApplicationInstaller
'percentage-completed' => 100, 'percentage-completed' => 100,
); );
} }
$fDuration = round(microtime(true) - $fStart, 2);
SetupPage::log_info("##### STEP {$sStep} duration: {$fDuration}s");
} }
catch (Exception $e) catch (Exception $e)
{ {