Compare the performance of OCaml programs against some other language implementation, or check the OCaml CPU time and Memory use measurements.

For more information about the OCaml implementation we measured see ↓ about OCaml.

Compare to:

 Are the OCaml programs better?

For each of one our benchmarks, a white bar shows which language implementation had the faster program, and a black bar shows which used the least memory.

 How many times better?

How many times faster or smaller are the OCaml programs than the corresponding C GNU gcc programs?

OCaml x times better
~ C GNU gcc x times better
Program & Logs  Faster  Smaller: Memory Use Smaller: GZip Bytes Reduced N
binary-trees~1.3~1.91.5
chameneos-redux No program
fannkuch~1.4~1.51.3
fasta~1.4~1.41.3
k-nucleotide~2.11.11.4
mandelbrot~1.9~1.91.3
meteor-contest No program
n-body~4.5~1.6~1.1
nsieve~1.0~1.81.1
nsieve-bits~1.1~1.71.1
partial-sums~1.1~1.61.4
pidigitsError
recursive~2.9~2.31.1
regex-dna1.1~3.61.8
reverse-complement~1.5~3.51.4
spectral-norm~1.2~2.81.0
startup~2.4 3.2
sum-file~1.7~2.21.5
thread-ring~1.41.61.7

 about OCaml

The Objective Caml toplevel, version 3.10.1

Home Page: http://www.ocaml.org/

Download: http://caml.inria.fr/ocaml/distrib.html

Revised BSD license