Created
January 11, 2019 23:37
-
-
Save Whateverable/f9950c6779b9aade8740a666d0c4829b 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 my Int @foo = 1..10000; my $result = 0; for ^200 { $result += @foo.join(",").chars }; say $result; ||| my int @foo = 1..10000; my $result = 0; for ^200 { $result += @foo.join(",").chars }; say $result |
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... | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
0: 4.9388 wallclock secs @ 2.0248/s (n=10) | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
9778600 | |
1: 3.3155 wallclock secs @ 3.0161/s (n=10) | |
O---O--------O------O-----O | |
| | Rate | 1 | 0 | | |
O===O========O======O=====O | |
| 1 | 3.02/s | -- | 49% | | |
| 0 | 2.02/s | -33% | -- | | |
--------------------------- | |
» |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment