Compare the performance of Groovy programs against some other language implementation.

For more information about the Groovy implementation we measured see ↓ about Groovy.

Compare to:

 Groovy comparison summary


1/2 1/3 1/4 … Groovy is better
Programs Time Memory Use Source Size Reduced N
chameneos-reduxNo program
k-nucleotideNo program
binary-trees1/5±±
spectral-norm1/315±
fasta1/221±
nsieve1/21/3±
recursive1/26±
mandelbrot±302
nsieve-bits±10±
fannkuch±33±
n-body±28±
sum-file±22±
regex-dna25±
partial-sums541±
pidigits616±
reverse-complement1622

± look at the measurements

 Groovy comparison measurements

Program & Logs CPU secs Memory KB Size B Elapsed secs ~ CPU Load
 binary-trees 
Groovy #247.3651,108506  
Perl #2239.3647,936541  
 spectral-norm 
Groovy1,400.0035,828425  
Perl #24,089.082,468334  
 fasta 
Groovy #2565.9138,7481106  
Perl #4950.041,872934  
 nsieve 
Groovy15.7940,248387  
Perl #225.45121,904290  
 recursive 
Groovy561.4763,848361  
Perl #2898.7810,836380  
 mandelbrot 
Groovy295.9851,272475  
Perl #2403.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  
Perl #411.8121,408431  
 partial-sums 
Groovy83.5460,176373  
Perl #317.411,476389  
 pidigits 
Groovy20.8239,372496  
Perl #23.612,532385  
 reverse-complement 
Groovy #331.8468,688567  
Perl #21.9938,360298  

 about Groovy

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