|
@@ -20,7 +20,7 @@ discard block |
|
|
block discarded – undo |
|
20
|
20
|
$crypter = new Crypter('mySuperDuperSecretKey'); |
|
21
|
21
|
} |
|
22
|
22
|
|
|
23
|
|
-echo sprintf('Running benchmark with %s items...', $amount).PHP_EOL; |
|
|
23
|
+echo sprintf('Running benchmark with %s items...', $amount) . PHP_EOL; |
|
24
|
24
|
|
|
25
|
25
|
$stopwatch->start('encrypt'); |
|
26
|
26
|
|
|
@@ -31,4 +31,4 @@ discard block |
|
|
block discarded – undo |
|
31
|
31
|
|
|
32
|
32
|
$event = $stopwatch->stop('encrypt'); |
|
33
|
33
|
|
|
34
|
|
-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; |
|
|
34
|
+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.