Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 1, 2018 21:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/494f5c2a1e9343e17085aab3d568e8c3 to your computer and use it in GitHub Desktop.
Save Whateverable/494f5c2a1e9343e17085aab3d568e8c3 to your computer and use it in GitHub Desktop.
benchable6
compare HEAD my $l = 100000; my @a[$l] = Bool.roll xx $l; ||| my $l = 100000; my @a = Bool.roll xx $l; say now - INIT now
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
0: 0.5155 wallclock secs @ 19.3986/s (n=10)
(warning: too few iterations for a reliable count)
0.6448796
0.69115613
0.7338984
0.8176741
0.86317704
0.9059229
0.9519483
1.0365148
1.0790976
1.1247009
1: 0.5530 wallclock secs @ 18.0827/s (n=10)
(warning: too few iterations for a reliable count)
O---O--------O----O-----O
| | Rate | 1 | 0 |
O===O========O====O=====O
| 1 | 18.1/s | -- | -7% |
| 0 | 19.4/s | 7% | -- |
-------------------------
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment