The Computer Language
Benchmarks Game

OCaml programs versus F# Mono LLVM

by benchmark task performance

k-nucleotide
source secs mem gz cpu cpu load
OCaml 5.45 61,824 870 5.44 1% 1% 0% 100%
F# Mono LLVM 7.51 152,824 1477 7.50 1% 1% 0% 100%
fasta
source secs mem gz cpu cpu load
OCaml 10.10 2,124 1042 10.10 1% 0% 0% 100%
F# Mono LLVM 10.90 40,684 978 10.89 0% 0% 1% 100%
spectral-norm
source secs mem gz cpu cpu load
OCaml 18.93 4,588 907 17.98 0% 1% 1% 100%
F# Mono LLVM 18.62 43,176 721 18.25 1% 1% 3% 98%
fannkuch-redux
source secs mem gz cpu cpu load
OCaml 84.12 912 473 84.09 1% 0% 0% 100%
F# Mono LLVM 70.54 38,512 612 70.51 1% 1% 0% 100%
binary-trees
source secs mem gz cpu cpu load
OCaml 34.05 139,200 496 34.00 0% 1% 1% 100%
F# Mono LLVM 19.30 110,552 511 19.26 0% 1% 1% 100%
mandelbrot
source secs mem gz cpu cpu load
OCaml 85.09 3,584 710 84.94 0% 1% 1% 100%
F# Mono LLVM 36.52 79,752 869 36.50 1% 1% 0% 100%
n-body
source secs mem gz cpu cpu load
OCaml 66.45 912 1239 66.43 0% 1% 1% 100%
F# Mono LLVM 26.12 46,620 1259 26.11 1% 1% 0% 100%
pidigits
source secs mem gz cpu cpu load
OCaml   Make Error
F# Mono LLVM 0.37 844 903 0.35 5% 5% 5% 97%
reverse-complement
source secs mem gz cpu cpu load
OCaml 0.31 800 2064 0.31 10% 3% 0% 100%
  No program contribute your program
OCaml

The OCaml native-code compiler, version 4.03.0

F# Mono LLVM

F# Compiler for F# 4.0 (Open Source Edition)

Mono JIT compiler version 4.5.1 (master/3e844dd Fri May 6 19:24:07 PDT 2016)
LLVM: yes(3.6.0svn-mono-master/9f79399)
GC: sgen