Created
September 2, 2019 12:17
-
-
Save Whateverable/3639712f3d2464b2ac1217000b72604c to your computer and use it in GitHub Desktop.
benchable6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
compare HEAD "Hello".comb[0] for ^1000 ||| "Hello".substr(0, 1) for ^1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
¦HEAD: «Benchmark: | |
Timing 10 iterations of 0, 1... | |
0: 0.0434 wallclock secs @ 230.2050/s (n=10) | |
(warning: too few iterations for a reliable count) | |
1: 0.0208 wallclock secs @ 480.1198/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 | 480/s | -- | 109% | | |
| 0 | 230/s | -52% | -- | | |
--------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment