The Computer Language
Benchmarks Game

F# Mono programs versus OCaml

by benchmark task performance

n-body
secs KB gz cpu cpu load
F# Mono 26.20 46,256 1259 26.19 0% 1% 1% 100%
OCaml 66.45 912 1239 66.43 0% 1% 1% 100%
mandelbrot
secs KB gz cpu cpu load
F# Mono 36.61 80,376 869 36.60 1% 0% 0% 100%
OCaml 85.09 3,584 710 84.94 0% 1% 1% 100%
binary-trees
secs KB gz cpu cpu load
F# Mono 25.87 126,676 537 25.83 1% 1% 100% 100%
OCaml 34.05 139,200 496 34.00 0% 1% 1% 100%
fannkuch-redux
secs KB gz cpu cpu load
F# Mono 70.13 39,084 612 70.10 1% 1% 0% 100%
OCaml 84.12 912 473 84.09 1% 0% 0% 100%
spectral-norm
secs KB gz cpu cpu load
F# Mono 18.45 42,768 720 18.44 0% 1% 0% 100%
OCaml 18.93 4,588 907 17.98 0% 1% 1% 100%
fasta
secs KB gz cpu cpu load
F# Mono 10.45 40,624 978 10.44 0% 1% 1% 100%
OCaml 10.10 2,124 1042 10.10 1% 0% 0% 100%
k-nucleotide
secs KB gz cpu cpu load
F# Mono 7.98 153,932 1505 7.97 0% 1% 1% 100%
OCaml 5.45 61,824 870 5.44 1% 1% 0% 100%
regex-dna
secs KB gz cpu cpu load
F# Mono 12.34 128,492 639 12.24 0% 1% 0% 99%
OCaml 1.73 46,712 615 1.73 2% 1% 1% 100%
fasta-redux
secs KB gz cpu cpu load
F# Mono 0.90 43,916 1074 0.90 0% 3% 9% 100%
  No program contribute your program
reverse-complement
secs KB gz cpu cpu load
  No program contribute your program
OCaml 0.31 800 2064 0.31 10% 3% 0% 100%
pidigits
secs KB gz cpu cpu load
F# Mono 0.33 952 903 0.32 3% 9% 0% 100%
OCaml   Make Error
F# Mono

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

Mono JIT compiler version 4.3.0 (master/42456cd Mon Aug 10 20:27:36 PDT 2015)
LLVM: yes(3.6.0svn-mono-master/a92ada2)
GC: sgen

OCaml

The OCaml native-code compiler, version 4.03.0