/mobile Handheld Friendly website

÷

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

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

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


Look at speed another way - look at a box plot of Time-used data.

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

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

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

 Ruby JRuby used what fraction? used how many times more? 
Benchmark Time Memory Code
 mandelbrot1/337×±
 fannkuch-redux1/217×±
 n-body1/213×±
 k-nucleotide±±
 spectral-norm±16×±
 regex-dna±±
 pidigits±
 fasta±±
 binary-trees±
 reverse-complement±
 Ruby JRuby used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(Elapsed secs)1/31/31/2±

± 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 ~ speed and size.

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 mandelbrot 
Ruby JRuby1,446.181,448.31126,532307  0% 0% 0% 100%
Ruby 1.93,944.743,946.013,400307  0% 0% 0% 100%
 fannkuch-redux 
Ruby JRuby1,706.071,707.0156,692422  0% 0% 0% 100%
Ruby 1.94,228.374,229.753,404422  0% 0% 0% 100%
 n-body 
Ruby JRuby842.51842.9346,1681137  0% 0% 0% 100%
Ruby 1.91,401.381,401.753,6641137  0% 0% 0% 100%
 k-nucleotide 
Ruby JRuby427.39428.18497,736420  0% 0% 0% 100%
Ruby 1.9521.71521.96157,836420  0% 0% 0% 100%
 spectral-norm 
Ruby JRuby553.12553.8366,940292  0% 0% 0% 100%
Ruby 1.9630.77630.954,196292  0% 0% 0% 100%
 regex-dna 
Ruby JRuby41.2241.28555,912501  0% 0% 0% 100%
Ruby 1.937.6637.70294,988501  0% 0% 0% 100%
 pidigits 
Ruby JRuby26.1726.2046,980242  0% 0% 0% 100%
Ruby 1.916.9316.9511,424242  1% 0% 0% 100%
 fasta 
Ruby JRuby250.18253.95120,280987  0% 0% 0% 100%
Ruby 1.9135.43136.85179,756762  0% 0% 0% 100%
 binary-trees 
Ruby JRuby452.58453.05859,252413  0% 0% 0% 100%
Ruby 1.9227.56227.67210,384413  0% 0% 0% 100%
 reverse-complement 
Ruby JRuby20.0320.07538,832255  0% 0% 0% 100%
Ruby 1.98.508.52174,748255  1% 0% 0% 100%
 fasta-redux
   No programs

 Step 4 : Are there other Ruby JRuby programs for these benchmarks?

Remember - those are just the fastest Ruby JRuby and Ruby 1.9 programs measured on this OS/machine. Check if there are other implementations of these benchmark programs for Ruby JRuby.

Maybe one of those other Ruby JRuby programs is fastest on a different OS/machine.

 Step 5 : Are there other faster programs for these benchmarks?

Remember - those are just the fastest Ruby JRuby and Ruby 1.9 programs measured on this OS/machine. Check if there are faster implementations of these benchmark programs for other programming languages.

Maybe one of those other programs is fastest on a different OS/machine.

 Ruby JRuby : everything is an object scripting for jvm 

jruby 1.6.7 (ruby-1.8.7-p357) (2012-02-22 3e82bc8) (Java HotSpot(TM) Server VM 1.7.0_04) [linux-i386-java]

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

Download: http://jruby.org/download

Revised BSD license

  Home   Conclusions   License   Help