Created
March 31, 2018 12:01
-
-
Save Whateverable/8755e4e59322ed41e06c3397b65b0feb 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).grep( *.so ) |
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... | |
50013 | |
49480 | |
49771 | |
50294 | |
50111 | |
50030 | |
49793 | |
50129 | |
49885 | |
49928 | |
0: 0.6666 wallclock secs @ 15.0020/s (n=10) | |
(warning: too few iterations for a reliable count) | |
49926 | |
49933 | |
50087 | |
49917 | |
50214 | |
49961 | |
50296 | |
50080 | |
49986 | |
50104 | |
1: 2.0801 wallclock secs @ 4.8074/s (n=10) | |
O---O--------O------O------O | |
| | Rate | 1 | 0 | | |
O===O========O======O======O | |
| 1 | 4.81/s | -- | -68% | | |
| 0 | 15.0/s | 212% | -- | | |
---------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment