Haskell vs OCaml
Haskell 21.0 स्कोर के साथ OCaml (8.7) से आगे है (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 |