OCaml vs Python
Μπροστά είναι το OCaml με βαθμολογία 8.7 έναντι 2.9 του Python (5.8 πόντοι).
Σε 12 κοινά benchmark, το OCaml κερδίζει σε 7 και το Python σε 5.
Στην κατηγορία Αποδοτικότητα μνήμης προηγείται: OCaml. Στην κατηγορία Δημοφιλία προηγείται: Python.
Αντιπαράθεση
Κοινά benchmark (12)
| Benchmark | 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 |