Created
November 28, 2022 18:44
-
-
Save headius/c3e4ce7ee712b7aeaa86b41cd8d75552 to your computer and use it in GitHub Desktop.
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
[] ~/work/yjit-bench/benchmarks/railsbench $ WARMUP_ITRS=100 ruby -I ../../harness benchmark.rb | |
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux] | |
Command: bundle check 2> /dev/null || bundle install | |
The Gemfile's dependencies are satisfied | |
Command: bin/rails db:migrate db:seed | |
Using 100 posts in the database | |
itr #1: 1996ms | |
itr #2: 1975ms | |
itr #3: 1977ms | |
itr #4: 1955ms | |
itr #5: 1959ms | |
itr #6: 2005ms | |
itr #7: 1951ms | |
itr #8: 2009ms | |
itr #9: 1990ms | |
^Cbenchmark.rb:30:in `block (2 levels) in <main>': HTTP response is 500 instead of 200. Is the benchmark app properly set up? See README.md. (RuntimeError) | |
from benchmark.rb:25:in `each' | |
from benchmark.rb:25:in `block in <main>' | |
from /home/headius/work/yjit-bench/harness/harness.rb:27:in `block in run_benchmark' | |
from /home/headius/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/benchmark.rb:311:in `realtime' | |
from /home/headius/work/yjit-bench/harness/harness.rb:27:in `run_benchmark' | |
from benchmark.rb:24:in `<main>' | |
[] ~/work/yjit-bench/benchmarks/railsbench $ WARMUP_ITRS=100 ruby --yjit -I ../../harness benchmark.rb | |
ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) +YJIT [x86_64-linux] | |
Command: bundle check 2> /dev/null || bundle install | |
The Gemfile's dependencies are satisfied | |
Command: bin/rails db:migrate db:seed | |
Using 100 posts in the database | |
itr #1: 1615ms | |
itr #2: 1531ms | |
itr #3: 1589ms | |
itr #4: 1528ms | |
itr #5: 1591ms | |
itr #6: 1548ms | |
itr #7: 1535ms | |
itr #8: 1594ms | |
^Cbenchmark.rb:30:in `block (2 levels) in <main>': HTTP response is 500 instead of 200. Is the benchmark app properly set up? See README.md. (RuntimeError) | |
from benchmark.rb:25:in `each' | |
from benchmark.rb:25:in `block in <main>' | |
from /home/headius/work/yjit-bench/harness/harness.rb:27:in `block in run_benchmark' | |
from /home/headius/.rvm/rubies/ruby-3.1.2/lib/ruby/3.1.0/benchmark.rb:311:in `realtime' | |
from /home/headius/work/yjit-bench/harness/harness.rb:27:in `run_benchmark' | |
from benchmark.rb:24:in `<main>' | |
[] ~/work/yjit-bench/benchmarks/railsbench $ pickjdk | |
1) graalvm-ce-java11-22.2.0 | |
2) ibm-semeru-open-8-jdk | |
3) java | |
4) java-11 | |
5) java-11-openjdk | |
6) java-11-openjdk-11.0.17.0.8-2.fc36.x86_64 | |
7) java-17 | |
8) java-17-openjdk | |
9) java-17-openjdk-17.0.5.0.8-2.fc36.x86_64 | |
10) java-1.8.0 | |
11) java-1.8.0-openjdk | |
12) java-1.8.0-openjdk-1.8.0.352.b08-2.fc36.x86_64 | |
13) java-openjdk | |
14) jdk-19 | |
15) jre | |
16) jre-11 | |
17) jre-11-openjdk | |
18) jre-11-openjdk-11.0.17.0.8-2.fc36.x86_64 | |
19) jre-17 < CURRENT | |
20) jre-17-openjdk | |
21) jre-17-openjdk-17.0.5.0.8-2.fc36.x86_64 | |
22) jre-1.8.0 | |
23) jre-1.8.0-openjdk | |
24) jre-1.8.0-openjdk-1.8.0.352.b08-2.fc36.x86_64 | |
25) jre-openjdk | |
26) None | |
Choose one of the above [1-26]: 7 | |
New JDK: java-17 | |
[] ~/work/yjit-bench/benchmarks/railsbench $ rvm use system | |
Now using system ruby. | |
[] ~/work/yjit-bench/benchmarks/railsbench $ WARMUP_ITRS=100 JRUBY_OPTS=-Xcompile.invokedynamic ruby -I ../../harness benchmark.rb | |
jruby 9.4.1.0-SNAPSHOT (3.1.0) 2022-11-28 d832f9fc79 OpenJDK 64-Bit Server VM 17.0.5+8 on 17.0.5+8 +indy +jit [x86_64-linux] | |
Command: bundle check 2> /dev/null || bundle install | |
The Gemfile's dependencies are satisfied | |
Command: bin/rails db:migrate db:seed | |
Using 100 posts in the database | |
itr #1: 25391ms | |
itr #2: 14848ms | |
itr #3: 11747ms | |
itr #4: 10570ms | |
itr #5: 7033ms | |
itr #6: 2694ms | |
itr #7: 2290ms | |
itr #8: 2355ms | |
itr #9: 2090ms | |
itr #10: 2154ms | |
itr #11: 2043ms | |
itr #12: 2307ms | |
itr #13: 2001ms | |
itr #14: 1830ms | |
itr #15: 1903ms | |
itr #16: 1911ms | |
itr #17: 1976ms | |
itr #18: 1897ms | |
itr #19: 2082ms | |
itr #20: 1975ms | |
^C | |
[] ~/work/yjit-bench/benchmarks/railsbench $ WARMUP_ITRS=100 JRUBY_OPTS=-Xcompile.invokedynamic ruby -J-XX:+UseParallelGC -I ../../harness benchmark.rb | |
jruby 9.4.1.0-SNAPSHOT (3.1.0) 2022-11-28 d832f9fc79 OpenJDK 64-Bit Server VM 17.0.5+8 on 17.0.5+8 +indy +jit [x86_64-linux] | |
Command: bundle check 2> /dev/null || bundle install | |
The Gemfile's dependencies are satisfied | |
Command: bin/rails db:migrate db:seed | |
Using 100 posts in the database | |
itr #1: 20443ms | |
itr #2: 13243ms | |
itr #3: 9941ms | |
itr #4: 7621ms | |
itr #5: 5458ms | |
itr #6: 2438ms | |
itr #7: 1527ms | |
itr #8: 1431ms | |
itr #9: 1430ms | |
itr #10: 1716ms | |
itr #11: 1763ms | |
itr #12: 1525ms | |
itr #13: 1517ms | |
itr #14: 1534ms | |
itr #15: 1628ms | |
itr #16: 1477ms | |
itr #17: 1437ms | |
itr #18: 1674ms | |
itr #19: 1723ms | |
itr #20: 1672ms | |
itr #21: 1627ms | |
itr #22: 1762ms | |
itr #23: 1669ms | |
itr #24: 1742ms | |
itr #25: 1710ms | |
itr #26: 1694ms | |
itr #27: 1740ms | |
itr #28: 1778ms | |
itr #29: 1668ms | |
itr #30: 1655ms | |
itr #31: 1697ms | |
itr #32: 1715ms | |
itr #33: 1689ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment