Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 22, 2018 06:51
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/50fbba42544f1472543aa997f91a4c1d to your computer and use it in GitHub Desktop.
Save Whateverable/50fbba42544f1472543aa997f91a4c1d to your computer and use it in GitHub Desktop.
benchable6
compare HEAD (Bool.roll xx 2000).sum for ^100 ||| (Bool.roll xx 2000).race.sum for ^100
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
0: 0.6664 wallclock secs @ 15.0070/s (n=10)
(warning: too few iterations for a reliable count)
1: 3.6636 wallclock secs @ 2.7295/s (n=10)
O---O--------O------O------O
| | Rate | 1 | 0 |
O===O========O======O======O
| 1 | 2.73/s | -- | -82% |
| 0 | 15.0/s | 450% | -- |
----------------------------
»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment