PHP vs Python
Python pirmauja su įverčiu 2.9 prieš 1.9 (PHP), skirtumas 1.0 balų.
Iš 10 bendrų testų PHP laimi 4, o Python laimi 6.
Kategorijoje Atminties efektyvumas pirmauja Python. Kategorijoje Populiarumas pirmauja Python.
Akis į akį
Bendri testai (10)
| Testas | 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 |