Skip to content

Commit d2da2b6

Browse files
Update Memory.php
1 parent f351020 commit d2da2b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Services/Memory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class Memory
1414

1515
public function now(): int
1616
{
17-
return memory_get_usage(true);
17+
return memory_get_peak_usage(true);
1818
}
1919

2020
public function diff(int $memory): int

0 commit comments

Comments
 (0)