PHP vs Python
يتقدم Python بدرجة 2.9 مقابل 1.9 لـ PHP (بفارق 1.0 نقطة).
في 10 معيارًا مشتركًا، يفوز PHP في 4 ويفوز Python في 6.
يتقدم Python في كفاءة الذاكرة. يتقدم Python في الشعبية.
وجهًا لوجه
المعايير المشتركة (10)
| المعيار | 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 |