PHP vs Python
Python va por delante con una puntuación de 2.9 frente a 1.9 de PHP (1.0 puntos).
En 10 benchmarks comunes, PHP gana 4 y Python gana 6.
Python lidera en Eficiencia de memoria. Python lidera en Popularidad.
Cara a cara
Benchmarks comunes (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 |