Created
March 27, 2017 17:33
-
-
Save Whateverable/43635f98e94d3f3b794ea7c8dae6c974 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 2015.12 so "hello how are you today?".contains("hello" & "u t") for ^1000 ||| my $target = "hello how are you today?"; so $target.contains("hello") && $target.contains("u t") for ^1000 |
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
¦2015.12: «Benchmark: | |
Timing 10 iterations of 0, 1... | |
0: 0.9650 wallclock secs @ 10.3629/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 0.0253 wallclock secs @ 394.8021/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 | 395/s | -- | 3710% | | |
| 0 | 10.4/s | -97% | -- | | |
-----------------------------» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment