diff options
Diffstat (limited to 'crates/shirabe/src/console/application.rs')
| -rw-r--r-- | crates/shirabe/src/console/application.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/console/application.rs b/crates/shirabe/src/console/application.rs index 94f904f..01515a1 100644 --- a/crates/shirabe/src/console/application.rs +++ b/crates/shirabe/src/console/application.rs @@ -911,7 +911,7 @@ impl Application { .borrow() .has_parameter_option(PhpMixed::from(vec!["--profile"]), false) { - start_time = Some(microtime(true)); + start_time = Some(microtime()); // PHP: $this->io->enableDebugging($startTime). // TODO(phase-c): enableDebugging exists only on ConsoleIO, not on IOInterface, // and self.io is still the NullIO because the ConsoleIO construction above is @@ -951,7 +951,7 @@ impl Application { "<info>Memory usage: {}MiB (peak: {}MiB), time: {}s</info>", round((memory_get_usage() as f64) / 1024.0 / 1024.0, 2), round((memory_get_peak_usage(false) as f64) / 1024.0 / 1024.0, 2), - round(microtime(true) - st, 2) + round(microtime() - st, 2) )); } |
