Created
March 31, 2018 11:59
-
-
Save Whateverable/ee9bc2c580f12f675d673514550232a5 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).sum ||| say +(0..1).roll(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... | |
50040 | |
50020 | |
50155 | |
49989 | |
49913 | |
49884 | |
50238 | |
49915 | |
50014 | |
50166 | |
0: 0.6913 wallclock secs @ 14.4665/s (n=10) | |
(warning: too few iterations for a reliable count) | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
100000 | |
1: 0.9953 wallclock secs @ 10.0468/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 | 10.0/s | -- | -31% | | |
| 0 | 14.5/s | 44% | -- | | |
--------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment