C vs OCaml
C pirmauja su įverčiu 56.1 prieš 8.7 (OCaml), skirtumas 47.4 balų.
Iš 13 bendrų testų C laimi 13, o OCaml laimi 0.
Kategorijoje Atminties efektyvumas pirmauja C. Kategorijoje Populiarumas pirmauja C.
Akis į akį
Bendri testai (13)
| Testas | C | OCaml |
|---|---|---|
nbody time (s) ↓ Programming Language Benchmarks | 0.268 | 0.373 |
nsieve time (s) ↓ Programming Language Benchmarks | 0.266 | 0.932 |
spectral-norm time (s) ↓ Programming Language Benchmarks | 0.744 | 4.574 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 1.56 | 3.55 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 2.14 | 8.84 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.79 | 3.37 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 3.58 | 16.2 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 1.29 | 7.6 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 2.1 | 6.95 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 0.74 | 2.77 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 0.81 | 2.2 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 0.44 | 2.27 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 0.4 | 5.34 |