OCaml vs Python
OCaml ir priekšā ar vērtējumu 8.7 pret 2.9 (Python), starpība 5.8 punkti.
No 12 kopīgiem testiem OCaml uzvar 7, bet Python uzvar 5.
Kategorijā Atmiņas efektivitāte vadībā ir OCaml. Kategorijā Popularitāte vadībā ir Python.
Aci pret aci
Kopīgie testi (12)
| Tests | 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 |