The Computer Language
Benchmarks Game

F# Mono LLVM programs versus OCaml

by benchmark task performance

n-body
source secs KB gz cpu cpu load
F# Mono LLVM 26.12 46,620 1259 26.11 1% 1% 0% 100%
OCaml 66.45 912 1239 66.43 0% 1% 1% 100%
mandelbrot
source secs KB gz cpu cpu load
F# Mono LLVM 36.52 79,752 869 36.50 1% 1% 0% 100%
OCaml 85.09 3,584 710 84.94 0% 1% 1% 100%
binary-trees
source secs KB gz cpu cpu load
F# Mono LLVM 26.02 142,892 537 25.98 1% 1% 0% 100%
OCaml 34.05 139,200 496 34.00 0% 1% 1% 100%
fannkuch-redux
source secs KB gz cpu cpu load
F# Mono LLVM 70.54 38,512 612 70.51 1% 1% 0% 100%
OCaml 84.12 912 473 84.09 1% 0% 0% 100%
spectral-norm
source secs KB gz cpu cpu load
F# Mono LLVM 18.62 43,044 720 18.25 1% 1% 0% 98%
OCaml 18.93 4,588 907 17.98 0% 1% 1% 100%
fasta
source secs KB gz cpu cpu load
F# Mono LLVM 10.90 40,684 978 10.89 0% 0% 1% 100%
OCaml 10.10 2,124 1042 10.10 1% 0% 0% 100%
k-nucleotide
source secs KB gz cpu cpu load
F# Mono LLVM 7.51 152,824 1477 7.50 1% 1% 0% 100%
OCaml 5.45 61,824 870 5.44 1% 1% 0% 100%
regex-dna
source secs KB gz cpu cpu load
F# Mono LLVM 12.30 141,664 899 12.02 1% 0% 1% 98%
OCaml 1.73 46,712 615 1.73 2% 1% 1% 100%
fasta-redux
source secs KB gz cpu cpu load
F# Mono LLVM 0.94 43,680 1074 0.93 3% 0% 2% 100%
  No program contribute your program
reverse-complement
source secs KB gz cpu cpu load
  No program contribute your program
OCaml 0.31 800 2064 0.31 10% 3% 0% 100%
pidigits
source secs KB gz cpu cpu load
F# Mono LLVM 0.37 844 903 0.35 5% 5% 5% 97%
OCaml   Make Error
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

OCaml

The OCaml native-code compiler, version 4.03.0