Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created February 12, 2017 04:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Whateverable/5b9456154012bf0a4c9315bdda5f06d4 to your computer and use it in GitHub Desktop.
Save Whateverable/5b9456154012bf0a4c9315bdda5f06d4 to your computer and use it in GitHub Desktop.
benchable6
compare 2017.01 my ($a, $, $c) = "foo bar baz".words; ||| my ($a, $c); my \res := "foo bar baz".words; $a = res[0]; $c = res[2];
¦«2017.01»:Benchmark:
Timing 10 iterations of 0, 1...
0: 0.0003 wallclock secs @ 39138.3778/s (n=10)
(warning: too few iterations for a reliable count)
1: 0.0010 wallclock secs @ 10012.9197/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 | 10010/s | -- | -74% |
| 0 | 39130/s | 291% | -- |
-----------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment