Created
August 27, 2017 17:34
-
-
Save Whateverable/6b6501f8c0475c742f6554fc18ca99de 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 for ^10_000 { my $buf = Buf.new(1, 2, 3, 4); my int64 $a = $buf.shift + $buf.shift +< 8 + $buf.shift +< 16 + $buf.shift +< 24 } ||| for ^10_000 { my $buf = Buf.new(1, 2, 3, 4); my int64 $a = $buf.shift + $buf.shift * 64 + $buf.shift * 128 + $buf.shift * 192 } |
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: 2.4745 wallclock secs @ 4.0412/s (n=10) | |
1: 2.4924 wallclock secs @ 4.0122/s (n=10) | |
O---O--------O----O-----O | |
| | Rate | 1 | 0 | | |
O===O========O====O=====O | |
| 1 | 4.01/s | -- | -1% | | |
| 0 | 4.04/s | 1% | -- | | |
-------------------------» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment