Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created July 27, 2017 01:20
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/82321be4c9cf975a9c5464845a806c37 to your computer and use it in GitHub Desktop.
Save Whateverable/82321be4c9cf975a9c5464845a806c37 to your computer and use it in GitHub Desktop.
benchable6
compare HEAD (^9999).grep(none /1/) ||| (^9999).grep({!/1/})
¦HEAD: «Benchmark:
Timing 10 iterations of 0, 1...
0: 0.0003 wallclock secs @ 32902.0785/s (n=10)
(warning: too few iterations for a reliable count)
1: 0.0003 wallclock secs @ 37884.3502/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 | 37880/s | -- | 15% |
| 0 | 32900/s | -13% | -- |
----------------------------»
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment