We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 56ed7b2 + b7b6939 commit 1c9d597Copy full SHA for 1c9d597
1 file changed
system/Debug/Toolbar.php
@@ -83,7 +83,7 @@ public function run(float $startTime, float $totalTime, RequestInterface $reques
83
$data['isAJAX'] = $request->isAJAX();
84
$data['startTime'] = $startTime;
85
$data['totalTime'] = $totalTime * 1000;
86
- $data['totalMemory'] = number_format((memory_get_peak_usage()) / 1024 / 1024, 3);
+ $data['totalMemory'] = number_format(memory_get_peak_usage() / 1024 / 1024, 3);
87
$data['segmentDuration'] = $this->roundTo($data['totalTime'] / 7);
88
$data['segmentCount'] = (int) ceil($data['totalTime'] / $data['segmentDuration']);
89
$data['CI_VERSION'] = CodeIgniter::CI_VERSION;
0 commit comments