OCaml vs Python
OCaml води с оценка 8.7 срещу 2.9 за Python (5.8 точки).
В 12 общи бенчмарка OCaml печели 7, а Python печели 5.
OCaml води в категория Ефективност на паметта. Python води в категория Популярност.
Директен двубой
Общи бенчмаркове (12)
| Бенчмарк | OCaml | Python |
|---|---|---|
fasta time (s) ↓ Programming Language Benchmarks | 0.346 | 3.347 |
lru time (s) ↓ Programming Language Benchmarks | 0.187 | 1.149 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 3.55 | 33.4 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 8.84 | 5 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 3.37 | 27.9 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 16.2 | 46.5 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 7.6 | 14.0 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.95 | 6 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.77 | 1.35 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.2 | 1.41 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 2.27 | 4.18 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 5.34 | 5 |