Created
February 12, 2017 04:14
Star
You must be signed in to star a gist
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 ^10000 { my ($a, $, $c) = "foo bar baz".words; } ||| for ^10000 { 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: 1.3118 wallclock secs @ 7.6232/s (n=10) | |
| 1: 1.7873 wallclock secs @ 5.5949/s (n=10) | |
| O---O--------O-----O------O | |
| | | Rate | 1 | 0 | | |
| O===O========O=====O======O | |
| | 1 | 5.59/s | -- | -27% | | |
| | 0 | 7.62/s | 36% | -- | | |
| --------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment