Skip to content

Instantly share code, notes, and snippets.

@headius
Last active August 2, 2016 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save headius/471e93bf65d8240992e36a66954d1684 to your computer and use it in GitHub Desktop.
Save headius/471e93bf65d8240992e36a66954d1684 to your computer and use it in GitHub Desktop.
JRuby 9.0.3.0 versus master (9.1.3.0) on rubykon full_playout.rb bench
$ rvm jruby-9.0.3.0 do jruby -Xcompile.invokedynamic benchmark/full_playout.rb
Calculating -------------------------------------
9x9 full playout (+ score)
25.000 i/100ms
13x13 full playout (+ score)
12.000 i/100ms
19x19 full playout (+ score)
4.000 i/100ms
-------------------------------------------------
9x9 full playout (+ score)
268.680 (± 6.7%) i/s - 8.025k
13x13 full playout (+ score)
118.579 (± 7.6%) i/s - 3.540k
19x19 full playout (+ score)
51.220 (± 7.8%) i/s - 1.528k
JRuby 9.1.3.0 without Java call site caching
$ jruby -Xcompile.invokedynamic benchmark/full_playout.rb
Warming up --------------------------------------
9x9 full playout (+ score)
55.000 i/100ms
13x13 full playout (+ score)
27.000 i/100ms
19x19 full playout (+ score)
11.000 i/100ms
Calculating -------------------------------------
9x9 full playout (+ score)
628.036 (± 6.1%) i/s - 18.810k in 30.060968s
13x13 full playout (+ score)
283.917 (± 6.0%) i/s - 8.505k in 30.064134s
19x19 full playout (+ score)
114.058 (± 7.0%) i/s - 3.410k in 30.041352s
JRuby 9.1.3.0 with Java call site caching
$ jruby -Xcompile.invokedynamic benchmark/full_playout.rb
Warming up --------------------------------------
9x9 full playout (+ score)
62.000 i/100ms
13x13 full playout (+ score)
30.000 i/100ms
19x19 full playout (+ score)
12.000 i/100ms
Calculating -------------------------------------
9x9 full playout (+ score)
699.083 (± 5.0%) i/s - 20.956k in 30.053682s
13x13 full playout (+ score)
288.545 (± 9.0%) i/s - 8.580k in 29.997309s
19x19 full playout (+ score)
115.799 (±10.4%) i/s - 3.444k in 30.039340s
$ rvm ruby-2.3.1 do ruby benchmark/full_playout.rb
Calculating -------------------------------------
9x9 full playout (+ score)
26.000 i/100ms
13x13 full playout (+ score)
11.000 i/100ms
19x19 full playout (+ score)
4.000 i/100ms
-------------------------------------------------
9x9 full playout (+ score)
268.857 (± 6.3%) i/s - 8.034k
13x13 full playout (+ score)
120.287 (± 5.8%) i/s - 3.597k
19x19 full playout (+ score)
48.918 (± 8.2%) i/s - 1.460k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment