Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 31, 2018 17:11
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/d42684ba13b4c54d1b5d6c0eee7816f3 to your computer and use it in GitHub Desktop.
Save Whateverable/d42684ba13b4c54d1b5d6c0eee7816f3 to your computer and use it in GitHub Desktop.
benchable6
compare HEAD (^16).pick(2).sort x 10000 ||| (^16).roll(2).sort x 10000
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
0: 0.0011 wallclock secs @ 9220.4391/s (n=10)
(warning: too few iterations for a reliable count)
1: 0.0009 wallclock secs @ 11716.0949/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 | 11710/s | -- | 27% |
| 0 | 9220/s | -21% | -- |
----------------------------
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment