|
@@ -15,7 +15,7 @@ discard block |
|
|
block discarded – undo |
|
15
|
15
|
$amount = $argv[1]; |
|
16
|
16
|
} |
|
17
|
17
|
|
|
18
|
|
-echo sprintf('Running benchmark with %s items...', $amount).PHP_EOL; |
|
|
18
|
+echo sprintf('Running benchmark with %s items...', $amount) . PHP_EOL; |
|
19
|
19
|
|
|
20
|
20
|
$stopwatch->start('encrypt'); |
|
21
|
21
|
|
|
@@ -26,4 +26,4 @@ discard block |
|
|
block discarded – undo |
|
26
|
26
|
|
|
27
|
27
|
$event = $stopwatch->stop('encrypt'); |
|
28
|
28
|
|
|
29
|
|
-echo sprintf('%s items in %s seconds (%s ms), max. memory usage %sKB (%sB)', $amount, $event->getDuration() / 1000, $event->getDuration(), $event->getMemory() / 1024, $event->getMemory()).PHP_EOL; |
|
|
29
|
+echo sprintf('%s items in %s seconds (%s ms), max. memory usage %sKB (%sB)', $amount, $event->getDuration() / 1000, $event->getDuration(), $event->getMemory() / 1024, $event->getMemory()) . PHP_EOL; |
Please login to merge, or discard this patch.