Created
October 15, 2017 00:55
-
-
Save Whateverable/401cc621cc0f4677429a94b1d330852c 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 sub f2(Mu:D \var, $, $, $, $, $) { rand }; my $s; $s += f2($_, $_, $_, $_, $_, $_) for ^100_000; say $s ||| sub f1(Mu:D \var, int $im, int $monkey, int $s, int $a, $context) { rand }; my $s; $s += f1($_, $_, $_, $_, $_, $_) for ^100_000; say $s; |
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... | |
49968.5896602471 | |
50014.5523964132 | |
50198.0625460414 | |
49953.9543787747 | |
50032.8290770956 | |
49905.1751753349 | |
49970.0358170699 | |
49953.0865101019 | |
50086.2857768787 | |
50055.7366119538 | |
0: 0.4510 wallclock secs @ 22.1724/s (n=10) | |
(warning: too few iterations for a reliable count) | |
49693.3442224978 | |
49983.7888435909 | |
49894.8187364636 | |
49942.2585803024 | |
50120.8142755436 | |
50044.1824231549 | |
50010.7451521895 | |
49934.2421519656 | |
50120.9068684554 | |
49963.0076536033 | |
1: 0.8211 wallclock secs @ 12.1788/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 | 12.2/s | -- | -45% | | |
| 0 | 22.2/s | 82% | -- | | |
---------------------------» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment