Created
May 3, 2020 19:26
-
-
Save Whateverable/675b9d5078f1906941776c02dfd87bf6 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 = (^10).join(","); my @b; @b = $a.split(",") for ^10_000 ||| my $a = (^10).join(","); my @b; @b = $a.split(/","/) for ^10_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... | |
0: 1.272 wallclock secs (1.284 usr 0.000 sys 1.284 cpu) @ 7.864/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 4.037 wallclock secs (4.052 usr 0.000 sys 4.052 cpu) @ 2.477/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 | 7.86/s | -- | -69% | | |
| 1 | 2.48/s | 218% | -- | | |
O---O--------O------O------O | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment