diff --git a/libraries/src/Profiler/Profiler.php b/libraries/src/Profiler/Profiler.php index dbbf7437d6ea5..4c7bfbd2983f2 100644 --- a/libraries/src/Profiler/Profiler.php +++ b/libraries/src/Profiler/Profiler.php @@ -123,9 +123,9 @@ public function mark($label) '%s %.3f seconds (%.3f); %0.2f MB (%0.3f) - %s', $m->prefix, $m->totalTime / 1000, - $m->time / 1000, + $current - $this->previousTime, $m->totalMemory, - $m->memory, + $currentMem - $this->previousMem, $m->label ); $this->buffer[] = $mark;