Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created September 8, 2016 22:26
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/b2ae93e9b1a9f29103c033ab74a1efa7 to your computer and use it in GitHub Desktop.
Save Whateverable/b2ae93e9b1a9f29103c033ab74a1efa7 to your computer and use it in GitHub Desktop.
benchable6
compare HEAD ($_ + $_ * i) for ^100_000 ||| Complex.new($_, $_) for ^100_000
¦«HEAD»:Benchmark:
Timing 10 iterations of 0, 1...
0: 0.9435 wallclock secs @ 10.5994/s (n=10)
(warning: too few iterations for a reliable count)
1: 0.8827 wallclock secs @ 11.3293/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 | 11.3/s | -- | 7% |
| 0 | 10.6/s | -6% | -- |
-------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment