Created
March 31, 2018 17:16
-
-
Save Whateverable/8aeab0492da0fa472b0941704ead29b5 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 = 64.rand.Int; my $two = (64-$one).rand.Int) xx 25000 ||| (^64).pick(2).sort xx 25000 |
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.4642 wallclock secs @ 21.5427/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 4.6189 wallclock secs @ 2.1650/s (n=10) | |
O---O--------O------O------O | |
| | Rate | 1 | 0 | | |
O===O========O======O======O | |
| 1 | 2.17/s | -- | -90% | | |
| 0 | 21.5/s | 895% | -- | | |
---------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment