÷

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


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

 Groovy used what fraction? used how many times more? 
Benchmark Time Memory Code Reduced N
 binary-trees1/5±±
 spectral-norm1/315×±
 fasta1/221×±
 nsieve1/21/3±
 recursive1/2±
 mandelbrot±30×
 nsieve-bits±10×±
 fannkuch±33×±
 n-body±28×±
 sum-file±22×±
 regex-dna±
 partial-sums41×±
 pidigits16×±
 reverse-complement16×

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

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

Program Source Code CPU secs Elapsed secs Memory KB Code B ~ CPU Load
 binary-trees 
Groovy47.3651,108506  
Perl239.3647,936541  
 spectral-norm 
Groovy1,400.0035,828425  
Perl4,089.082,468334  
 fasta 
Groovy565.9138,7481106  
Perl950.041,872934  
 nsieve 
Groovy15.7940,248387  
Perl25.45121,904290  
 recursive 
Groovy561.4763,848361  
Perl898.7810,836380  
 mandelbrot 
Groovy295.9851,272475  
Perl403.201,724311  
 nsieve-bits 
Groovy75.6738,396281  
Perl100.184,004253  
 fannkuch 
Groovy681.4948,680464  
Perl855.721,492348  
 n-body 
Groovy1,528.6555,0201214  
Perl1,697.591,9361140  
 sum-file 
Groovy21.1333,01688  
Perl18.171,46884  
 regex-dna 
Groovy22.73112,176366  
Perl11.8121,408431  
 partial-sums 
Groovy83.5460,176373  
Perl17.411,476389  
 pidigits 
Groovy20.8239,372496  
Perl3.612,532385  
 reverse-complement 
Groovy31.8468,688567  
Perl1.9938,360298  
 chameneos-redux
   No program
 k-nucleotide
   No program

 Measurements for all the accepted programs

 Groovy : “agile” “dynamic” “java compatible” for jvm 

Groovy Version: 1.6-beta-1 JVM: 1.6.0_06

Home Page: http://groovy.codehaus.org/

Download: http://groovy.codehaus.org/

Revised BSD license