Created
February 12, 2017 04:14
-
-
Save Whateverable/2f2c98661b80cab63a29b09d4dbe0dfd 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 2017.01 for ^1000 { my ($a, $, $c) = "foo bar baz".words; } ||| for ^1000 { my ($a, $c); my \res := "foo bar baz".words; $a = res[0]; $c = res[2]; } |
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
¦«2017.01»:Benchmark: | |
Timing 10 iterations of 0, 1... | |
0: 0.1456 wallclock secs @ 68.6835/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 0.1849 wallclock secs @ 54.0961/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 | 54.1/s | -- | -21% | | |
| 0 | 68.7/s | 27% | -- | | |
--------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment