PHP vs Python
Python è in vantaggio con un punteggio di 2.9 contro 1.9 di PHP (1.0 punti).
Su 10 benchmark in comune, PHP ne vince 4 e Python ne vince 6.
Python è in testa nella categoria Efficienza di memoria. Python è in testa nella categoria Popolarità.
Testa a testa
Benchmark in comune (10)
| Benchmark | PHP | Python |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 22.2 | 33.4 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 7 | 5 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 31.1 | 27.9 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 25.8 | 46.5 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 7 | 14.0 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 204 | 6 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 1.35 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.88 | 1.41 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 8.29 | 4.18 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 18.3 | 5 |