Created
December 20, 2021 11:48
-
-
Save Whateverable/4a59f84f2d529c858e46c29c5ac64547 to your computer and use it in GitHub Desktop.
benchable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compare HEAD my $n = 0; for ^10 -> \i { $n += i }; ||| my $n = 0; for ^10 -> $i { $n += $i } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
¦HEAD: «Benchmark: | |
Timing 10 iterations of 0, 1... | |
0: 0.001 wallclock secs (0.000 usr 0.000 sys 0.000 cpu) @ 13297.872/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 0.001 wallclock secs (0.000 usr 0.000 sys 0.000 cpu) @ 15898.251/s (n=10) | |
(warning: too few iterations for a reliable count) | |
O---O---------O------O-----O | |
| | Rate | 0 | 1 | | |
O===O=========O======O=====O | |
| 0 | 13298/s | -- | 37% | | |
| 1 | 15898/s | -27% | -- | | |
O---O---------O------O-----O | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment