Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 2, 2018 05:40
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/75b33fa2381463affaf344011a48a84f to your computer and use it in GitHub Desktop.
Save Whateverable/75b33fa2381463affaf344011a48a84f to your computer and use it in GitHub Desktop.
benchable6
compare HEAD Bool.roll xx 1000000 ||| Bool.roll(1000000)
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
0: 0.7868 wallclock secs @ 12.7094/s (n=10)
(warning: too few iterations for a reliable count)
1: 0.0005 wallclock secs @ 21327.3546/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 | 21320/s | -- | 167650% |
| 0 | 12.7/s | -100% | -- |
---------------------------------
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment