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 Pike 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 Pike program used compared to the fastest Perl program.
| Pike used what fraction? used how many times more? | ||||
|---|---|---|---|---|
| Benchmark | Time | Memory | Code | Reduced N |
| recursive | 1/8 | 1/2 | ± | |
| binary-trees | 1/3 | 1/2 | ± | |
| nsieve | 1/3 | 1/3 | ± | |
| sum-file | 1/2 | ± | 2× | |
| fannkuch | ± | ± | ± | |
| fasta | ± | ± | ± | |
| k-nucleotide | ± | ± | 2× | |
| pidigits | 2× | ± | ± | |
| nsieve-bits | 3× | 11× | ± | |
| reverse-complement | 3× | ± | ± | |
| regex-dna | 590× | ± | 2× | 100,000 |
± 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 Pike 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 |
|---|---|---|---|---|---|
| recursive | |||||
| Pike | 113.30 | 5,224 | 403 | ||
| Perl | 956.31 | 10,812 | 380 | ||
| binary-trees | |||||
| Pike | 73.48 | 17,728 | 520 | ||
| Perl | 224.06 | 37,588 | 481 | ||
| nsieve | |||||
| Pike | 21.15 | 83,472 | 266 | ||
| Perl | 60.70 | 242,316 | 290 | ||
| sum-file | |||||
| Pike | 8.85 | 15,728 | 199 | ||
| Perl | 15.55 | 14,916 | 84 | ||
| fannkuch | |||||
| Pike | 537.76 | 3,312 | 492 | ||
| Perl | 728.50 | 3,144 | 348 | ||
| fasta | |||||
| Pike | 825.01 | 3,540 | 971 | ||
| Perl | 850.67 | 3,156 | 934 | ||
| k-nucleotide | |||||
| Pike | 40.03 | 29,248 | 750 | ||
| Perl | 27.54 | 42,836 | 359 | ||
| pidigits | |||||
| Pike | 10.39 | 3,792 | 389 | ||
| Perl | 6.21 | 3,144 | 385 | ||
| nsieve-bits | |||||
| Pike | 271.34 | 43,452 | 306 | ||
| Perl | 93.55 | 4,024 | 253 | ||
| reverse-complement | |||||
| Pike | 6.30 | 29,012 | 337 | ||
| Perl | 1.99 | 38,356 | 298 | ||
| regex-dna N = 100,000 reduced workload | |||||
| Pike | 1,633.95 | 6,252 | 892 | ||
| Perl | 2.77 | 6,508 | 449 | ||
| mandelbrot | |||||
| Pike | |||||
| n-body | |||||
| Pike | |||||
| spectral-norm | |||||
| Pike | |||||
| chameneos-redux | |||||
| partial-sums | |||||
Pike v7.6 release 93
Home Page: http://pike.roxen.com/
Download: http://pike.roxen.com/download/