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 75.23 600 1239 75.21 1% 0% 1% 100%
mandelbrot
secs KB gz cpu cpu load
F# Mono 36.61 80,376 869 36.60 1% 0% 0% 100%
OCaml 85.07 1,740 710 84.92 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 33.65 102,376 784 33.59 1% 1% 0% 100%
fannkuch-redux
secs KB gz cpu cpu load
F# Mono 70.13 39,084 612 70.10 1% 1% 0% 100%
OCaml 83.36 604 473 83.34 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 12.06 600 1042 12.05 0% 0% 1% 100%
spectral-norm
secs KB gz cpu cpu load
F# Mono 18.45 42,768 720 18.44 0% 1% 0% 100%
OCaml 18.86 1,656 377 18.85 0% 0% 0% 100%
pidigits
secs KB gz cpu cpu load
F# Mono 4.06 40,608 903 4.05 0% 2% 2% 100%
OCaml 3.84 7,020 560 3.84 1% 1% 1% 100%
k-nucleotide
secs KB gz cpu cpu load
F# Mono 7.98 153,932 1505 7.97 0% 1% 1% 100%
OCaml 5.69 58,884 870 5.68 0% 1% 1% 100%
regex-dna
secs KB gz cpu cpu load
F# Mono 12.34 128,492 639 12.24 0% 1% 0% 99%
OCaml 1.64 53,000 615 1.63 0% 1% 2% 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.27 356 2064 0.26 0% 0% 4% 100%
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.02.1