The Computer Language
Benchmarks Game

Ruby JRuby programs versus Ruby

by benchmark task performance

fannkuch-redux
secs KB gz cpu cpu load
Ruby JRuby 357.64 684,468 1426 1,296.44 90% 92% 99% 82%
Ruby 788.85 37,668 1426 3,065.01 100% 99% 99% 91%
n-body
secs KB gz cpu cpu load
Ruby JRuby 375.10 755,980 1137 382.88 23% 23% 28% 29%
Ruby 694.21 9,144 1137 694.04 0% 1% 100% 0%
k-nucleotide
secs KB gz cpu cpu load
Ruby JRuby 80.18 1,870,964 449 85.35 8% 37% 20% 45%
Ruby 109.09 505,688 449 109.06 1% 0% 100% 0%
fasta
secs KB gz cpu cpu load
Ruby JRuby 83.71 715,252 973 90.18 23% 39% 25% 22%
Ruby 113.64 59,200 973 113.60 1% 100% 0% 1%
pidigits
secs KB gz cpu cpu load
Ruby JRuby 12.70 666,456 242 18.54 18% 46% 66% 17%
Ruby 11.18 163,168 242 11.16 96% 0% 1% 6%
binary-trees
secs KB gz cpu cpu load
Ruby JRuby 97.69 1,190,220 402 153.50 31% 49% 46% 35%
Ruby 57.98 243,912 1123 168.33 96% 65% 68% 64%
regex-dna
secs KB gz cpu cpu load
Ruby JRuby 16.58 787,976 507 49.58 69% 67% 81% 84%
Ruby 9.35 108,284 529 27.11 71% 63% 91% 67%
spectral-norm
secs KB gz cpu cpu load
Ruby JRuby 243.93 673,640 326 250.63 21% 24% 31% 28%
Ruby 134.21 54,680 835 516.92 97% 97% 96% 96%
mandelbrot
secs KB gz cpu cpu load
Ruby JRuby 847.98 762,944 866 3,308.31 98% 98% 98% 98%
Ruby 438.01 72,684 1019 1,748.64 100% 100% 100% 100%
reverse-complement
secs KB gz cpu cpu load
Ruby JRuby 18.24 1,284,372 255 24.84 22% 14% 14% 88%
Ruby 7.75 133,736 255 7.74 0% 0% 100% 1%
fasta-redux
secs KB gz cpu cpu load
  No program contribute your program
Ruby 1.24 10,040 750 1.24 1% 100% 3% 2%
Ruby JRuby

jruby 1.7.16.1 (1.9.3p392) 2014-10-28 4e93f31 on Java HotSpot(TM) 64-Bit Server VM 1.8.0_25-b17 +jit [linux-amd64]

Ruby

ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-linux]