diff --git a/src/Record/Stopwatch_Record.php b/src/Record/Stopwatch_Record.php index 60238ba..ad053df 100644 --- a/src/Record/Stopwatch_Record.php +++ b/src/Record/Stopwatch_Record.php @@ -43,7 +43,7 @@ class Stopwatch_Record implements Record_Interface { public function get_description(): string { $duration = round( $this->stopwatch_event->getDuration() ); - $memory = $this->stopwatch_event->getMemory() / 1024 / 1024; + $memory = round( $this->stopwatch_event->getMemory() / 1024 / 1024, 2 ); $description = '' !== $this->description ? "
{$this->description}" : ''; return "{$this->name} – {$duration} ms – {$memory} MB{$description}";