Haskell vs OCaml
Haskell впереди с оценкой 21.0 против 8.7 у OCaml (отрыв: 12.3).
В общих бенчмарках (10) Haskell побеждает в 7, а OCaml – в 3.
OCaml лидирует в категории «Эффективность памяти». OCaml лидирует в категории «Популярность».
Лицом к лицу
Общие бенчмарки (10)
| Бенчмарк | Haskell | OCaml |
|---|---|---|
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 2.16 | 3.55 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 9.69 | 8.84 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 0.87 | 3.37 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 23.3 | 16.2 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 1.39 | 7.6 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.41 | 6.95 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 1.49 | 2.77 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 1.1 | 2.2 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 3.11 | 2.27 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 1.49 | 5.34 |