C++ vs OCaml
C++ води с оценка 56.6 срещу 8.7 за OCaml (47.9 точки).
В 14 общи бенчмарка C++ печели 14, а OCaml печели 0.
C++ води в категория Ефективност на паметта. C++ води в категория Популярност.
Директен двубой
Общи бенчмаркове (14)
| Бенчмарк | C++ | OCaml |
|---|---|---|
fannkuch-redux time (s) ↓ Programming Language Benchmarks | 0.401 | 2.91 |
nbody time (s) ↓ Programming Language Benchmarks | 0.167 | 0.373 |
nsieve time (s) ↓ Programming Language Benchmarks | 0.485 | 0.932 |
spectral-norm time (s) ↓ Programming Language Benchmarks | 0.469 | 4.574 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 1.01 | 3.55 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 3.33 | 8.84 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.78 | 3.37 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 2.02 | 16.2 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 0.89 | 7.6 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 2.15 | 6.95 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 2.77 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.14 | 2.2 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 0.76 | 2.27 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.72 | 5.34 |