Created
March 31, 2018 11:46
-
-
Save Whateverable/b1335c72ed01084052fcb1956d5137df 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 @þ = (0..1).roll(100_000) ||| my @þ = +Bool.roll xx 100_000 |
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.6746 wallclock secs @ 14.8230/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 0.5136 wallclock secs @ 19.4693/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 | 19.5/s | -- | 31% | | |
| 0 | 14.8/s | -24% | -- | | |
--------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment