C++ vs PHP
C++ este în față cu scorul 56.6, față de 1.9 pentru PHP (54.7 puncte).
În 10 benchmark-uri comune, C++ câștigă 10, iar PHP câștigă 0.
C++ conduce la categoria Eficiența memoriei. C++ conduce la categoria Popularitate.
Față în față
Benchmark-uri comune (10)
| Benchmark | C++ | PHP |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 22.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 3.33 | 7 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.78 | 31.1 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 2.02 | 25.8 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 0.89 | 7 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 2.15 | 204 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 1.01 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.14 | 1.88 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 0.76 | 8.29 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 18.3 |