Created
February 4, 2014 19:52
-
-
Save headius/8811028 to your computer and use it in GitHub Desktop.
Counting 1 to 100m across various modes.
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
system ~/projects/jruby $ jruby --disable-gems -Xir.unboxing=true -X+CIR -e "c = 0; while c < 10; c += 1; t = Time.now; i = 0; while i < 100_000_000; i += 1; end; puts Time.now - t; end" | |
0.775 | |
0.782 | |
0.777 | |
0.772 | |
0.767 | |
0.778 | |
0.757 | |
0.761 | |
0.781 | |
0.768 | |
system ~/projects/jruby $ jruby --disable-gems -Xir.unboxing=false -X+CIR -e "c = 0; while c < 10; c += 1; t = Time.now; i = 0; while i < 100_000_000; i += 1; end; puts Time.now - t; end" | |
1.846 | |
1.674 | |
1.688 | |
1.69 | |
1.81 | |
1.803 | |
1.793 | |
2.035 | |
1.815 | |
1.804 | |
system ~/projects/jruby $ jruby --disable-gems -X+C -e "c = 0; while c < 10; c += 1; t = Time.now; i = 0; while i < 100_000_000; i += 1; end; puts Time.now - t; end" | |
0.995 | |
0.864 | |
0.874 | |
0.875 | |
1.081 | |
1.17 | |
1.204 | |
1.195 | |
1.193 | |
1.17 | |
system ~/projects/jruby $ jruby --disable-gems -X-C -e "c = 0; while c < 10; c += 1; t = Time.now; i = 0; while i < 100_000_000; i += 1; end; puts Time.now - t; end" | |
3.263 | |
3.048 | |
3.359 | |
3.486 | |
3.494 | |
3.493 | |
3.524 | |
3.456 | |
3.487 | |
3.516 | |
system ~/projects/jruby $ jruby --disable-gems -X-CIR -e "c = 0; while c < 10; c += 1; t = Time.now; i = 0; while i < 100_000_000; i += 1; end; puts Time.now - t; end" | |
11.052 | |
10.98 | |
10.946 | |
11.095 | |
11.287 | |
11.254 | |
11.249 | |
11.279 | |
11.342 | |
11.686 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment