C++ vs Python
C++ è in vantaggio con un punteggio di 56.6 contro 2.9 di Python (53.7 punti).
Su 10 benchmark in comune, C++ ne vince 10 e Python ne vince 0.
C++ è in testa nella categoria Efficienza di memoria. Python è in testa nella categoria Popolarità.
Testa a testa
Benchmark in comune (10)
| Benchmark | C++ | Python |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 33.4 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 3.33 | 5 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.78 | 27.9 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 2.02 | 46.5 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 0.89 | 14.0 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 2.15 | 6 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 1.35 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.14 | 1.41 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 0.76 | 4.18 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 5 |