/mobile Handheld Friendly website

÷

 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 Zonnon Mono program.


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

 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 Zonnon Mono program.

  used what fraction? used how many times more? 
Benchmark Time Memory Code
 nsieve18×±
 n-body140×1/3±
  used what fraction? used how many times more? 
Time-used  |-  |---  25% median  75%  ---|  -|
(CPU secs)18×18×18×79×140×140×140×

± 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 Zonnon Mono program.

Program Source Code CPU secs Elapsed secs Memory KB Code B ≈ CPU Load
 nsieve 
41.5130,408270  
Zonnon Mono2.329,744368  
 n-body 
4,847.571,7121137  
Zonnon Mono34.615,1681524  
 partial-sums 
0.602,876362  
Zonnon MonoFailed
 k-nucleotide 
1.8564,384420  
No program
 mandelbrot 
2.342,836349  
No program
 recursive 
6.082,044301  
Zonnon MonoFailed
 fasta 
41.974,192744  
No program
 reverse-complement 
0.0830,052266  
No program
 pidigits 
0.306,032653  
No program
 regex-dna 
1.8960,816323  
No program
 binary-trees 
7.783,532409  
No program
 spectral-norm 
80.551,640292  
No program
 nsieve-bits 
139.662,740346  
No program

 Step 4 : Are there other programs for these benchmarks?

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

  :  

online book "Programming Ruby: The Pragmatic Programmer's Guide

ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]

Home Page: Ruby is…

Download: Download Ruby

Revised BSD license

  Home   Conclusions   License   Help