C++ vs Go
Rebbieħ: C++, b'punteġġ ta' 56.6 kontra 20.8 ta' Go (35.8 punti differenza).
Fi 14 benchmarks komuni, C++ jirbaħ 13 u Go jirbaħ 1.
Fi Effiċjenza tal-memorja jaħkem: C++. Fi Popolarità jaħkem: C++.
Wiċċ imb'wiċċ
Benchmarks komuni (14)
| Benchmark | C++ | Go |
|---|---|---|
fannkuch-redux time (s) ↓ Programming Language Benchmarks | 0.401 | 0.724 |
nbody time (s) ↓ Programming Language Benchmarks | 0.167 | 0.35 |
nsieve time (s) ↓ Programming Language Benchmarks | 0.485 | 0.31 |
spectral-norm time (s) ↓ Programming Language Benchmarks | 0.469 | 1.906 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 14.2 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 3.33 | 8.36 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.78 | 1.27 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 2.02 | 7.58 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 0.89 | 3.77 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 2.15 | 6.39 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 0.82 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.14 | 3.23 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 0.76 | 1.93 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 1.43 |