Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 1, 2018 21:57
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/3912c39076c1c527d139ed4f18c46439 to your computer and use it in GitHub Desktop.
Save Whateverable/3912c39076c1c527d139ed4f18c46439 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;
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
0: 0.4491 wallclock secs @ 22.2667/s (n=10)
(warning: too few iterations for a reliable count)
1: 0.5296 wallclock secs @ 18.8831/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.9/s | -- | -15% |
| 0 | 22.3/s | 18% | -- |
---------------------------
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment