÷

 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
 fannkuch1/442×±
 mandelbrot1/355×±
 binary-trees1/3±
 n-body1/356×±
 spectral-norm1/331×±
 chameneos-redux1/329×±
 k-nucleotide1/2±
 fasta±±±
 pidigits±±
 regex-dna±±
 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
 fannkuch 
Ruby JRuby1,889.541,889.4678,636340  0% 0% 0% 100%
Ruby MRI6,749.926,749.501,884340  0% 0% 0% 100%
 mandelbrot 
Ruby JRuby3,397.583,397.3985,752313  0% 0% 0% 100%
Ruby MRI11,516.8911,516.181,564313  0% 0% 0% 100%
 binary-trees 
Ruby JRuby347.77348.091,184,816412  0% 0% 0% 100%
Ruby MRI1,069.741,069.68457,796412  0% 0% 0% 100%
 n-body 
Ruby JRuby1,415.481,415.4091,7761137  0% 0% 0% 100%
Ruby MRI3,997.423,997.171,6481137  0% 0% 0% 100%
 spectral-norm 
Ruby JRuby856.87856.8582,880292  4% 5% 6% 100%
Ruby MRI2,222.022,221.892,676292  0% 0% 0% 100%
 chameneos-redux 
Ruby JRuby50.5850.5857,276928  0% 0% 0% 100%
Ruby MRI130.64130.631,944928  0% 0% 0% 100%
 k-nucleotide 
Ruby JRuby520.23520.22423,656420  0% 0% 0% 100%
Ruby MRI850.30850.25147,984420  0% 0% 0% 100%
 fasta 
Ruby JRuby523.75524.47242,212744  0% 0% 0% 100%
Ruby MRI623.67623.67245,848732  0% 0% 0% 100%
 pidigits 
Ruby JRuby69.0469.0591,068518  0% 0% 0% 100%
Ruby MRI53.8453.8413,924518  0% 0% 0% 100%
 regex-dna 
Ruby JRuby86.8686.92538,728323  0% 0% 0% 100%
Ruby MRI58.6458.64254,336323  2% 3% 0% 100%
 reverse-complement 
Ruby JRuby19.1419.16430,192255  0% 0% 0% 100%
Ruby MRI9.959.96197,352255  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) Server VM 1.6.0_16) [i386-java]

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

Download: http://jruby.org/download

Revised BSD license