C++ vs Python
Μπροστά είναι το C++ με βαθμολογία 56.6 έναντι 2.9 του Python (53.7 πόντοι).
Σε 10 κοινά benchmark, το C++ κερδίζει σε 10 και το Python σε 0.
Στην κατηγορία Αποδοτικότητα μνήμης προηγείται: C++. Στην κατηγορία Δημοφιλία προηγείται: Python.
Αντιπαράθεση
Κοινά benchmark (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 |