Another MB to MiB
parent
4765a8f21b
commit
e0c44f2a25
|
@ -153,7 +153,7 @@ class ConsoleIO extends BaseIO
|
||||||
$memoryUsage = memory_get_usage() / 1024 / 1024;
|
$memoryUsage = memory_get_usage() / 1024 / 1024;
|
||||||
$timeSpent = microtime(true) - $this->startTime;
|
$timeSpent = microtime(true) - $this->startTime;
|
||||||
$messages = array_map(function ($message) use ($memoryUsage, $timeSpent) {
|
$messages = array_map(function ($message) use ($memoryUsage, $timeSpent) {
|
||||||
return sprintf('[%.1fMB/%.2fs] %s', $memoryUsage, $timeSpent, $message);
|
return sprintf('[%.1fMiB/%.2fs] %s', $memoryUsage, $timeSpent, $message);
|
||||||
}, (array) $messages);
|
}, (array) $messages);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue