OCaml vs Ruby
OCaml est en tête avec un score de 8.7 contre 1.4 pour Ruby (7.3 points d’écart).
Sur 13 benchmarks communs, OCaml en remporte 11 et Ruby en remporte 2.
OCaml mène dans la catégorie Efficacité mémoire. Ruby mène dans la catégorie Popularité.
Face-à-face
Benchmarks communs (13)
| Benchmark | OCaml | Ruby |
|---|---|---|
binarytrees time (s) ↓ Programming Language Benchmarks | 3.02 | 4.961 |
fasta time (s) ↓ Programming Language Benchmarks | 0.346 | 2.039 |
lru time (s) ↓ Programming Language Benchmarks | 0.187 | 0.34 |
binary-trees time (s) ↓ The Computer Language Benchmarks Game | 3.55 | 18.9 |
fannkuch-redux time (s) ↓ The Computer Language Benchmarks Game | 8.84 | 23.0 |
fasta time (s) ↓ The Computer Language Benchmarks Game | 3.37 | 34.2 |
k-nucleotide time (s) ↓ The Computer Language Benchmarks Game | 16.2 | 8 |
mandelbrot time (s) ↓ The Computer Language Benchmarks Game | 7.6 | 9 |
n-body time (s) ↓ The Computer Language Benchmarks Game | 6.95 | 5 |
pidigits time (s) ↓ The Computer Language Benchmarks Game | 2.77 | 17.9 |
regex-redux time (s) ↓ The Computer Language Benchmarks Game | 2.2 | 12.4 |
reverse-complement time (s) ↓ The Computer Language Benchmarks Game | 2.27 | 6.01 |
spectral-norm time (s) ↓ The Computer Language Benchmarks Game | 5.34 | 56.5 |