Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created March 31, 2018 11:33
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/d598df67eaced4ec028723921388cb97 to your computer and use it in GitHub Desktop.
Save Whateverable/d598df67eaced4ec028723921388cb97 to your computer and use it in GitHub Desktop.
benchable6
compare HEAD say sum (0..1).roll(100_000) ||| say sum Bool.roll.Int xx 100_000
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
49903
50185
50120
49932
49913
50140
50104
50174
50011
50295
0: 0.6352 wallclock secs @ 15.7421/s (n=10)
(warning: too few iterations for a reliable count)
49777
49991
50228
49935
50126
50230
50127
49986
49957
50257
1: 0.8645 wallclock secs @ 11.5680/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.6/s | -- | -27% |
| 0 | 15.7/s | 36% | -- |
---------------------------
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment