The Computer Language
Benchmarks Game

Ruby JRuby programs versus Ruby

by benchmark task performance

fannkuch-redux
source secs KB gz cpu cpu load
Ruby JRuby 680.74 679,112 384 680.47 1% 0% 0% 100%
Ruby 2,350.70 7,048 384 2,350.01 1% 0% 0% 100%
n-body
source secs KB gz cpu cpu load
Ruby JRuby 377.15 752,500 1137 376.49 1% 1% 1% 100%
Ruby 690.08 7,072 1137 689.90 1% 0% 0% 100%
mandelbrot
source secs KB gz cpu cpu load
Ruby JRuby 1,104.48 668,536 307 1,102.71 0% 1% 1% 100%
Ruby 1,911.01 62,736 1019 1,910.36 0% 1% 1% 100%
spectral-norm
source secs KB gz cpu cpu load
Ruby JRuby 249.79 677,572 326 249.37 0% 1% 1% 100%
Ruby 318.90 9,108 326 318.82 1% 0% 1% 100%
k-nucleotide
source secs KB gz cpu cpu load
Ruby JRuby 86.23 1,875,096 449 86.10 1% 0% 0% 100%
Ruby 108.62 501,712 449 108.59 0% 1% 1% 100%
fasta
source secs KB gz cpu cpu load
Ruby JRuby 89.69 719,248 973 89.58 1% 1% 1% 100%
Ruby 96.91 59,620 973 96.87 1% 0% 1% 100%
binary-trees
source secs KB gz cpu cpu load
Ruby JRuby 202.06 1,017,040 439 201.82 1% 1% 1% 100%
Ruby 165.40 240,392 402 165.21 0% 1% 1% 100%
regex-dna
source secs KB gz cpu cpu load
Ruby JRuby 40.48 981,456 343 40.45 1% 0% 0% 100%
Ruby 24.33 145,900 442 24.32 0% 1% 0% 100%
pidigits
source secs KB gz cpu cpu load
Ruby JRuby 17.41 660,360 240 17.38 1% 0% 1% 100%
Ruby 8.39 276,892 653 8.37 1% 3% 0% 100%
reverse-complement
source secs KB gz cpu cpu load
Ruby JRuby 24.27 1,282,636 255 24.25 0% 1% 1% 100%
Ruby 8.38 131,592 255 8.37 1% 0% 0% 100%
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.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]