PLEASE CHOOSE THE UP-TO-DATE MEASUREMENTS INSTEAD OF THESE! (Read the FAQ!) |
Compare the performance of Groovy programs against some other language implementation.
For more information about the Groovy implementation we measured see ↓ about Groovy.
| 1/2 1/3 1/4 Groovy is better | ||||
|---|---|---|---|---|
| Programs | Time | Memory Use | Source Size | Reduced N |
| chameneos-redux | ||||
| k-nucleotide | ||||
| binary-trees | 1/5 | ± | ± | |
| spectral-norm | 1/3 | 15 | ± | |
| fasta | 1/2 | 21 | ± | |
| nsieve | 1/2 | 1/3 | ± | |
| recursive | 1/2 | 6 | ± | |
| mandelbrot | ± | 30 | 2 | |
| nsieve-bits | ± | 10 | ± | |
| fannkuch | ± | 33 | ± | |
| n-body | ± | 28 | ± | |
| sum-file | ± | 22 | ± | |
| regex-dna | 2 | 5 | ± | |
| partial-sums | 5 | 41 | ± | |
| pidigits | 6 | 16 | ± | |
| reverse-complement | 16 | 2 | 2 | |
± look at the measurements
| Program & Logs | CPU secs | Memory KB | Size B | Elapsed secs | ~ CPU Load |
|---|---|---|---|---|---|
| binary-trees | |||||
| Groovy #2 | 47.36 | 51,108 | 506 | ||
| Perl #2 | 239.36 | 47,936 | 541 | ||
| spectral-norm | |||||
| Groovy | 1,400.00 | 35,828 | 425 | ||
| Perl #2 | 4,089.08 | 2,468 | 334 | ||
| fasta | |||||
| Groovy #2 | 565.91 | 38,748 | 1106 | ||
| Perl #4 | 950.04 | 1,872 | 934 | ||
| nsieve | |||||
| Groovy | 15.79 | 40,248 | 387 | ||
| Perl #2 | 25.45 | 121,904 | 290 | ||
| recursive | |||||
| Groovy | 561.47 | 63,848 | 361 | ||
| Perl #2 | 898.78 | 10,836 | 380 | ||
| mandelbrot | |||||
| Groovy | 295.98 | 51,272 | 475 | ||
| Perl #2 | 403.20 | 1,724 | 311 | ||
| nsieve-bits | |||||
| Groovy | 75.67 | 38,396 | 281 | ||
| Perl | 100.18 | 4,004 | 253 | ||
| fannkuch | |||||
| Groovy | 681.49 | 48,680 | 464 | ||
| Perl | 855.72 | 1,492 | 348 | ||
| n-body | |||||
| Groovy | 1,528.65 | 55,020 | 1214 | ||
| Perl | 1,697.59 | 1,936 | 1140 | ||
| sum-file | |||||
| Groovy | 21.13 | 33,016 | 88 | ||
| Perl | 18.17 | 1,468 | 84 | ||
| regex-dna | |||||
| Groovy | 22.73 | 112,176 | 366 | ||
| Perl #4 | 11.81 | 21,408 | 431 | ||
| partial-sums | |||||
| Groovy | 83.54 | 60,176 | 373 | ||
| Perl #3 | 17.41 | 1,476 | 389 | ||
| pidigits | |||||
| Groovy | 20.82 | 39,372 | 496 | ||
| Perl #2 | 3.61 | 2,532 | 385 | ||
| reverse-complement | |||||
| Groovy #3 | 31.84 | 68,688 | 567 | ||
| Perl #2 | 1.99 | 38,360 | 298 | ||
Groovy Version: 1.6-beta-1 JVM: 1.6.0_06
Home Page: http://groovy.codehaus.org/
Download: http://groovy.codehaus.org/