Created
March 31, 2018 17:13
-
-
Save Whateverable/0970899f8a510eabd7029d4fec24fa75 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 $one = 16.rand.Int; my $two = (16-$one).rand.Int) xx 10000 ||| (^16).roll(2).sort xx 10000 |
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.1656 wallclock secs @ 60.3723/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 1.3648 wallclock secs @ 7.3273/s (n=10) | |
O---O--------O------O------O | |
| | Rate | 1 | 0 | | |
O===O========O======O======O | |
| 1 | 7.33/s | -- | -88% | | |
| 0 | 60.4/s | 724% | -- | | |
---------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment