÷

 Are the Ruby MRI programs faster?

Do the Ruby MRI programs use optimized assembly code libraries? Are they small simple programs or very optimized programs? Do the Ruby MRI programs use a fraction of the time used by other programs or do they use several times more?


 Ruby MRI used what fraction? used how many times more? 
Programs Time Memory Code Reduced N
↓ binary-trees±±±
↓ regex-dna±±
↓ pidigits±11×
↓ nsieve1/4±
↓ recursive±
↓ fannkuch±±
↓ spectral-norm±±
↓ n-body±±
↓ partial-sums±±
↓ mandelbrot±±
↓ reverse-complement±
↓ sum-file±
↓ fasta127×±
↓ k-nucleotide±
↓ nsieve-bits±

± look at the measurements and then look at the programs.

 Are the Ruby MRI programs faster?

Program & Logs CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 binary-trees 
Ruby MRI172.3148,756409  
Perl239.3647,936541  
 regex-dna 
Ruby MRI9.3781,148323  
Perl11.8121,408431  
 pidigits 
Ruby MRI3.6828,196653  
Perl3.612,532385  
 nsieve 
Ruby MRI41.5130,408270  
Perl25.45121,904290  
 recursive 
Ruby MRI1,482.3948,360301  
Perl898.7810,836380  
 fannkuch 
Ruby MRI1,786.761,872326  
Perl855.721,492348  
 spectral-norm 
Ruby MRI9,862.172,732292  
Perl4,089.082,468334  
 n-body 
Ruby MRI4,847.571,7121137  
Perl1,697.591,9361140  
 partial-sums 
Ruby MRI59.611,640362  
Perl17.411,476389  
 mandelbrot 
Ruby MRI1,455.281,652349  
Perl403.201,724311  
 reverse-complement 
Ruby MRI8.0886,340266  
Perl1.9938,360298  
 sum-file 
Ruby MRI76.342,44875  
Perl18.171,46884  
 fasta 
Ruby MRI4,202.98238,156744  
Perl950.041,872934  
 k-nucleotide 
Ruby MRI160.0984,616420  
Perl32.0742,816359  
 nsieve-bits 
Ruby MRI588.266,020346  
Perl100.184,004253  
 chameneos-redux
   No program

 Ruby MRI : programmer fun - everything is an object scripting 

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