Created
December 18, 2017 12:13
-
-
Save Whateverable/adea7e8ac92fd0c6b4ebe08a5249a813 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 multi sub a(Int $i) { nextsame }; multi sub a(Any $a) { }; a($_) for ^10000 ||| multi sub b(Int $i) { b(Any) }; multi sub b(Any $a) { }; b($_) for ^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: 1.0158 wallclock secs @ 9.8441/s (n=10) | |
1: 0.0425 wallclock secs @ 235.4311/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 | 235/s | -- | 2292% | | |
| 0 | 9.84/s | -96% | -- | | |
----------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment