÷

 Step 1 : Are the 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 program used compared to the fastest program.


 Step 2 : Are the 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 program used compared to the fastest program.

  used what fraction? used how many times more? 
Benchmark Time Memory Code
 binary-trees1/5±
 fannkuch1/485×±
 mandelbrot1/3105×±
 n-body1/3105×±
 spectral-norm1/354×±
 k-nucleotide1/2±
 fasta±±
 pidigits±16×±
 regex-dna±±
 reverse-complement±

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

 Step 3 : Are the 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 program are shown for comparison against measurements of the fastest program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 binary-trees 
347.74264.082,053,612412  20% 74% 23% 15%
1,253.731,253.65781,228412  0% 0% 100% 0%
 fannkuch 
1,804.831,792.36220,648340  65% 1% 1% 33%
6,738.696,738.272,584340  0% 0% 0% 100%
 mandelbrot 
3,613.293,596.58217,384313  17% 30% 30% 23%
12,196.2812,195.562,064313  26% 0% 39% 34%
 n-body 
1,399.401,391.41228,3721137  1% 47% 52% 0%
4,058.304,058.052,1681137  0% 0% 100% 0%
 spectral-norm 
793.01788.60230,184292  1% 1% 1% 99%
2,247.442,247.314,288292  0% 1% 0% 100%
 k-nucleotide 
515.11499.20534,384420  2% 33% 66% 2%
853.73853.68166,340420  0% 0% 100% 0%
 fasta 
458.88455.88311,544744  26% 23% 18% 34%
654.81654.84197,644732  0% 1% 0% 100%
 pidigits 
42.4140.19235,772518  2% 1% 99% 4%
27.6027.6014,324518  0% 0% 100% 0%
 regex-dna 
64.5360.87510,264396  76% 8% 9% 12%
40.0040.00424,724396  0% 0% 100% 0%
 reverse-complement 
19.8218.26504,052255  5% 42% 6% 55%
8.508.50246,712255  0% 0% 100% 0%
 chameneos-redux 
Make Error
Make Error

 Step 4 : Are there other programs for these benchmarks?

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

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

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

Remember - those are just the fastest and 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.

  :  

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

  Home   Flawed   Fastest   License   Help