C++ vs Python
Sigurvegari: C++ með einkunnina 56.6 á móti 2.9 hjá Python (53.7 stig).
Í 10 sameiginlegum prófum vinnur C++ 10 og Python vinnur 0.
C++ leiðir í flokknum Minnisnýtni. Python leiðir í flokknum Vinsældir.
Bein viðureign
Sameiginleg próf (10)
| Próf | 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 |