Created
February 21, 2021 09:58
-
-
Save Whateverable/523befc2ca3cc54cf4ec8e44b5c2f8f7 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 my $a; for ^100_000 { try { $a = $_; } }; ||| my $b; for ^100_000 { $b = $_; }; |
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: 0.924 wallclock secs (0.932 usr 0.000 sys 0.932 cpu) @ 10.818/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 0.036 wallclock secs (0.044 usr 0.000 sys 0.044 cpu) @ 275.680/s (n=10) | |
(warning: too few iterations for a reliable count) | |
O---O--------O------O-------O | |
| | Rate | 0 | 1 | | |
O===O========O======O=======O | |
| 0 | 10.8/s | -- | 2476% | | |
| 1 | 276/s | -96% | -- | | |
O---O--------O------O-------O | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment