C vs C++
C++ води с оценка 56.6 срещу 56.1 за C (0.5 точки).
В 13 общи бенчмарка C печели 6, а C++ печели 7.
C води в категория Ефективност на паметта. C води в категория Популярност.
Директен двубой
Общи бенчмаркове (13)
| Бенчмарк | C | C++ |
|---|---|---|
nbody time (s) ↓ Programming Language Benchmarks | 0.268 | 0.167 |
nsieve time (s) ↓ Programming Language Benchmarks | 0.266 | 0.485 |
spectral-norm time (s) ↓ Programming Language Benchmarks | 0.744 | 0.469 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 1.56 | 1.01 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 2.14 | 3.33 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.79 | 0.78 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 3.58 | 2.02 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 1.29 | 0.89 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 2.1 | 2.15 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 0.72 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.81 | 1.14 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 0.44 | 0.76 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.4 | 0.72 |