nrzVS
Rust/UI Icons - Languages

OCaml vs Ruby

OCaml is ahead with a score of 8.7 versus 1.4 for Ruby (7.3 points).

In 13 shared benchmarks, OCaml wins 11 and Ruby wins 2.

OCaml leads in Memory efficiency. Ruby leads in Popularity.

Head to head

Shared benchmarks (13)

BenchmarkOCamlRuby

binarytrees time (s) ↓

Programming Language Benchmarks

3.024.961

fasta time (s) ↓

Programming Language Benchmarks

0.3462.039

lru time (s) ↓

Programming Language Benchmarks

0.1870.34

binary-trees time (s) ↓

The Computer Language Benchmarks Game

3.5518.9

fannkuch-redux time (s) ↓

The Computer Language Benchmarks Game

8.8423.0

fasta time (s) ↓

The Computer Language Benchmarks Game

3.3734.2

k-nucleotide time (s) ↓

The Computer Language Benchmarks Game

16.28

mandelbrot time (s) ↓

The Computer Language Benchmarks Game

7.69

n-body time (s) ↓

The Computer Language Benchmarks Game

6.955

pidigits time (s) ↓

The Computer Language Benchmarks Game

2.7717.9

regex-redux time (s) ↓

The Computer Language Benchmarks Game

2.212.4

reverse-complement time (s) ↓

The Computer Language Benchmarks Game

2.276.01

spectral-norm time (s) ↓

The Computer Language Benchmarks Game

5.3456.5
Compare OCaml with
Rust/UI Icons - Search
Compare Ruby with
Rust/UI Icons - Search

More comparisons