÷

 Step 1 : Are the Ruby JRuby programs faster? At a glance.

This chart shows 3 comparisons - Time-used, Memory-used and Code-used.

Each chart bar shows, for one unidentified benchmark, how much the fastest Ruby JRuby program used compared to the fastest Ruby MRI program.


 Step 2 : Are the Ruby JRuby programs faster? Approximately.

This table shows 3 comparisons - Time-used, Memory-used and Code-used.

Each table row shows, for one named benchmark, how much the fastest Ruby JRuby program used compared to the fastest Ruby MRI program.

 Ruby JRuby used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 binary-trees1/4±
 fannkuch1/438×±
 mandelbrot1/360×±
 chameneos-redux1/336×±
 n-body1/362×±
 spectral-norm1/340×±
 k-nucleotide1/2±
 fasta±±
 regex-dna±±
 pidigits10×±
 reverse-complement±

± read the measurements and then read the program source code.

 Step 3 : Are the Ruby JRuby programs faster? Measurements.

This table shows 5 measurements - CPU Time, Elapsed Time, Memory, Code and ~ CPU Load.

For each named benchmark, measurements of the fastest Ruby JRuby program are shown for comparison against measurements of the fastest Ruby MRI program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 binary-trees 
Ruby JRuby299.45299.701,981,416412  0% 0% 0% 100%
Ruby MRI1,259.731,259.66781,212412  0% 0% 0% 100%
 fannkuch 
Ruby JRuby1,819.141,819.0897,672340  0% 0% 0% 100%
Ruby MRI6,768.906,768.522,588340  0% 0% 0% 100%
 mandelbrot 
Ruby JRuby3,635.073,634.92123,396313  0% 0% 0% 100%
Ruby MRI12,230.6012,229.872,056313  0% 0% 0% 100%
 chameneos-redux 
Ruby JRuby52.8652.8995,612928  0% 1% 1% 100%
Ruby MRI159.12159.122,656928  1% 0% 0% 100%
 n-body 
Ruby JRuby1,407.371,407.32134,6241137  0% 0% 0% 100%
Ruby MRI4,063.794,063.542,1681137  0% 0% 0% 100%
 spectral-norm 
Ruby JRuby843.74843.73171,844292  0% 0% 0% 100%
Ruby MRI2,286.912,286.774,296292  0% 0% 0% 100%
 k-nucleotide 
Ruby JRuby495.06495.92515,084420  0% 0% 0% 100%
Ruby MRI857.89857.84166,344420  0% 0% 0% 100%
 fasta 
Ruby JRuby451.60451.83298,448744  1% 0% 0% 100%
Ruby MRI658.83658.82197,640732  0% 0% 1% 100%
 regex-dna 
Ruby JRuby74.3374.38532,756323  0% 0% 0% 100%
Ruby MRI52.9752.97350,232323  0% 0% 0% 100%
 pidigits 
Ruby JRuby41.9241.93147,644518  0% 0% 0% 100%
Ruby MRI27.6127.6114,216518  0% 0% 0% 100%
 reverse-complement 
Ruby JRuby18.6918.71504,424255  0% 0% 0% 100%
Ruby MRI8.518.50246,708255  0% 0% 0% 100%

 Measurements for all the accepted programs

 Ruby JRuby : everything is an object scripting for jvm 

jruby 1.4.0 (ruby 1.8.7 patchlevel 174) (2009-11-02 69fbfa3) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_14) [amd64-java]

Home Page: 100% Pure-Java Implementation of the Ruby Programming Language

Download: http://jruby.org/download

Revised BSD license