Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 31, 2018 17:14
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/2396cdfda9e8a6dc7c7b87a29ac38084 to your computer and use it in GitHub Desktop.
Save Whateverable/2396cdfda9e8a6dc7c7b87a29ac38084 to your computer and use it in GitHub Desktop.
benchable6
compare HEAD (^16).pick(2).sort xx 10000 ||| (^16).roll(2).sort xx 10000
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
0: 1.7116 wallclock secs @ 5.8425/s (n=10)
1: 1.8050 wallclock secs @ 5.5403/s (n=10)
O---O--------O----O-----O
| | Rate | 1 | 0 |
O===O========O====O=====O
| 1 | 5.54/s | -- | -5% |
| 0 | 5.84/s | 5% | -- |
-------------------------
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment