OCaml vs Ruby
OCaml впереди с оценкой 8.7 против 1.4 у Ruby (отрыв: 7.3).
В общих бенчмарках (13) OCaml побеждает в 11, а Ruby – в 2.
OCaml лидирует в категории «Эффективность памяти». Ruby лидирует в категории «Популярность».
Лицом к лицу
Общие бенчмарки (13)
| Бенчмарк | 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 |