OUT-OF-DATE! Read http://shootout.alioth.debian.org/ |
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.
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-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× | |
± read the measurements and then read the program source code.
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 | |||||
| Groovy | 47.36 | 51,108 | 506 | ||
| Perl | 239.36 | 47,936 | 541 | ||
| spectral-norm | |||||
| Groovy | 1,400.00 | 35,828 | 425 | ||
| Perl | 4,089.08 | 2,468 | 334 | ||
| fasta | |||||
| Groovy | 565.91 | 38,748 | 1106 | ||
| Perl | 950.04 | 1,872 | 934 | ||
| nsieve | |||||
| Groovy | 15.79 | 40,248 | 387 | ||
| Perl | 25.45 | 121,904 | 290 | ||
| recursive | |||||
| Groovy | 561.47 | 63,848 | 361 | ||
| Perl | 898.78 | 10,836 | 380 | ||
| mandelbrot | |||||
| Groovy | 295.98 | 51,272 | 475 | ||
| Perl | 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 | 11.81 | 21,408 | 431 | ||
| partial-sums | |||||
| Groovy | 83.54 | 60,176 | 373 | ||
| Perl | 17.41 | 1,476 | 389 | ||
| pidigits | |||||
| Groovy | 20.82 | 39,372 | 496 | ||
| Perl | 3.61 | 2,532 | 385 | ||
| reverse-complement | |||||
| Groovy | 31.84 | 68,688 | 567 | ||
| Perl | 1.99 | 38,360 | 298 | ||
| chameneos-redux | |||||
| k-nucleotide | |||||
Groovy Version: 1.6-beta-1 JVM: 1.6.0_06
Home Page: http://groovy.codehaus.org/
Download: http://groovy.codehaus.org/