Perl vs Python
Python loopt voor met een score van 2.9 tegen 1.4 voor Perl (1.5 punten).
In 11 gedeelde benchmarks wint Perl er 2 en Python er 9.
Python loopt voor bij Geheugenefficiëntie. Python loopt voor bij Populariteit.
Direct duel
Gedeelde benchmarks (11)
| Benchmark | Perl | Python |
|---|---|---|
fasta time (s) ↓ Programming Language Benchmarks | 3.986 | 3.347 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 39.2 | 33.4 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 7 | 5 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 59.6 | 27.9 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 35.1 | 46.5 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 8 | 14.0 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 7 | 6 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 13.5 | 1.35 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 10.4 | 1.41 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 5.8 | 4.18 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 8 | 5 |