Created
February 20, 2019 03:09
-
-
Save Whateverable/e50ba1bf0b67e026557f904440a19842 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 @p = ('A::' | 'B::' | 'C::' | 'GTK::'); my $a; $a = 'GTK::CSSProvider.BUILD'.starts-with(@p.any).so for ^10_000 ||| my @p = ('A::', 'B::', 'C::', 'GTK::'); my $t = False; for ^10_000 { for @p { last if $t = "GTK::CSSProvider.BUILD".starts-with($_) } }; |
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: 4.3736 wallclock secs @ 2.2864/s (n=10) | |
1: 0.3130 wallclock secs @ 31.9464/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 | 2.29/s | -- | -93% | | |
| 1 | 31.9/s | 1297% | -- | | |
----------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment