C++ vs OCaml
C++ がスコア 56.6 で、OCaml の 8.7 を上回っています(差は 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 |