Created
March 31, 2018 12:07
-
-
Save Whateverable/6e756d0598304e9a8e97d59ce0957ffa 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 say +(0..1).roll(100_000).grep( * ) ||| say (0..1).roll(100_000).grep( * ).elems |
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... | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
0: 0.8757 wallclock secs @ 11.4197/s (n=10) | |
(warning: too few iterations for a reliable count) | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
1: 0.8446 wallclock secs @ 11.8403/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 | 11.8/s | -- | 4% | | |
| 0 | 11.4/s | -4% | -- | | |
------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment