The Computer Language
Benchmarks Game

Ruby JRuby programs versus Ruby

by benchmark task performance

n-body
secs KB gz cpu cpu load
Ruby JRuby 297.31 663,560 1137 296.80 0% 1% 1% 100%
Ruby 1,429.79 7,284 1137 1,429.24 1% 18% 83% 100%
fannkuch-redux
secs KB gz cpu cpu load
Ruby JRuby 682.08 669,712 384 681.85 0% 1% 1% 100%
Ruby 2,604.22 7,112 384 2,603.32 1% 17% 72% 100%
mandelbrot
secs KB gz cpu cpu load
Ruby JRuby 97.64 647,300 1019 96.90 0% 1% 1% 100%
Ruby 222.26 7,012 307 222.17 1% 0% 0% 100%
fasta
secs KB gz cpu cpu load
Ruby JRuby 91.45 690,332 973 91.34 1% 0% 1% 100%
Ruby 197.80 197,072 904 197.62 1% 1% 100% 100%
spectral-norm
secs KB gz cpu cpu load
Ruby JRuby 294.74 655,348 326 294.26 0% 1% 1% 100%
Ruby 520.06 7,584 326 519.86 0% 1% 100% 100%
k-nucleotide
secs KB gz cpu cpu load
Ruby JRuby 106.98 1,508,292 449 106.87 0% 1% 0% 100%
Ruby 186.17 502,900 449 182.95 1% 1% 100% 100%
binary-trees
secs KB gz cpu cpu load
Ruby JRuby 179.45 1,429,000 402 179.16 0% 2% 1% 100%
Ruby 179.60 117,640 402 179.49 1% 1% 100% 100%
regex-dna
secs KB gz cpu cpu load
Ruby JRuby 54.76 765,856 343 54.72 0% 1% 1% 100%
Ruby 26.32 154,492 442 26.30 1% 0% 100% 100%
pidigits
secs KB gz cpu cpu load
Ruby JRuby 22.65 641,672 240 22.60 0% 1% 1% 100%
Ruby 10.71 152,052 240 10.69 1% 100% 1% 100%
reverse-complement
secs KB gz cpu cpu load
Ruby JRuby 20.98 2,148,404 536 20.88 1% 4% 1% 100%
Ruby 9.15 623,560 536 9.12 1% 1% 1% 100%
fasta-redux
secs KB gz cpu cpu load
  No program contribute your program
Ruby 1.73 7,784 750 1.72 1% 5% 100% 100%
Ruby JRuby

jruby 9.1.0.0 (2.3.0) 2016-05-02 a633c63 Java HotSpot(TM) Server VM 25.92-b14 on 1.8.0_92-b14 +jit [linux-i386]

Ruby

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