The Computer Language
Benchmarks Game

Ruby JRuby programs versus Ruby

by benchmark task performance

n-body
source secs KB gz cpu cpu load
Ruby JRuby 759.86 275,588 1137 769.43 27% 23% 24% 29%
Ruby 1,491.95 5,084 1137 1,491.56 22% 0% 79% 1%
k-nucleotide
source secs KB gz cpu cpu load
Ruby JRuby 106.26 1,625,120 449 114.40 26% 58% 6% 19%
Ruby 187.14 501,072 449 184.06 6% 93% 0% 1%
fannkuch-redux
source secs KB gz cpu cpu load
Ruby JRuby 745.02 279,224 1426 2,761.54 94% 94% 92% 92%
Ruby 1,129.01 18,528 1426 4,399.70 98% 96% 100% 97%
mandelbrot
source secs KB gz cpu cpu load
Ruby JRuby 747.38 619,484 849 2,789.35 95% 94% 94% 93%
Ruby 1,052.60 51,408 1019 4,203.22 100% 100% 100% 100%
fasta
source secs KB gz cpu cpu load
Ruby JRuby 144.43 322,420 973 150.50 24% 25% 35% 23%
Ruby 186.77 56,588 973 186.43 12% 46% 35% 10%
regex-dna
source secs KB gz cpu cpu load
Ruby JRuby 17.44 889,692 507 51.59 69% 71% 82% 76%
Ruby 12.28 348,464 501 36.13 65% 78% 70% 82%
reverse-complement
source secs KB gz cpu cpu load
Ruby JRuby 16.10 599,780 255 23.10 58% 20% 20% 48%
Ruby 10.46 129,336 255 10.45 0% 0% 1% 100%
binary-trees
source secs KB gz cpu cpu load
Ruby JRuby 106.00 2,243,108 1123 402.70 96% 97% 95% 96%
Ruby 67.48 114,588 1123 193.75 63% 63% 66% 96%
spectral-norm
source secs KB gz cpu cpu load
Ruby JRuby 300.99 299,148 776 1,144.92 96% 96% 96% 95%
Ruby 168.14 25,624 828 648.25 96% 97% 97% 97%
pidigits
source secs KB gz cpu cpu load
Ruby JRuby 16.92 277,804 242 22.09 16% 59% 26% 31%
Ruby 8.66 221,708 653 8.64 1% 100% 0% 0%
fasta-redux
source secs KB gz cpu cpu load
  No program contribute your program
Ruby 1.97 5,704 772 1.96 97% 1% 1% 3%
Ruby JRuby

jruby 9.0.0.0 (2.2.2) 2015-07-21 e10ec96 Java HotSpot(TM) Server VM 25.45-b02 on 1.8.0_45-b14 +jit [linux-i386]

Ruby

ruby 2.2.1p85 (2015-02-26 revision 49769) [i686-linux]