OCaml vs Ruby
OCaml がスコア 8.7 で、Ruby の 1.4 を上回っています(差は 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 |