The Computer Language
Benchmarks Game

F# Mono programs versus OCaml

by benchmark task performance

mandelbrot
secs KB gz cpu cpu load
F# Mono 9.40 87,616 869 35.97 96% 95% 97% 96%
OCaml 13.78 4,204 710 54.78 100% 100% 100% 100%
binary-trees
secs KB gz cpu cpu load
F# Mono 25.24 164,216 537 26.78 1% 100% 0% 7%
OCaml 25.82 173,372 784 77.00 89% 95% 54% 64%
k-nucleotide
secs KB gz cpu cpu load
F# Mono 23.61 863,256 1505 66.08 64% 64% 77% 76%
OCaml 21.48 259,876 1789 57.12 91% 100% 39% 38%
n-body
secs KB gz cpu cpu load
F# Mono 26.42 53,188 1259 26.41 1% 1% 0% 100%
OCaml 21.68 1,140 1239 21.67 1% 100% 1% 1%
spectral-norm
secs KB gz cpu cpu load
F# Mono 5.61 51,728 720 18.63 81% 84% 80% 88%
OCaml 4.47 4,680 907 15.53 92% 91% 89% 88%
fannkuch-redux
secs KB gz cpu cpu load
F# Mono 22.46 52,492 945 84.50 94% 94% 94% 94%
OCaml 16.13 27,476 1017 0.00 100% 100% 100% 100%
fasta
secs KB gz cpu cpu load
F# Mono 8.45 42,248 978 8.44 0% 1% 1% 100%
OCaml 5.86 203,780 1161 5.85 0% 1% 100% 0%
regex-dna
secs KB gz cpu cpu load
F# Mono 30.54 2,021,328 870 84.01 67% 65% 74% 71%
OCaml 10.26 599,024 1261 18.65 86% 28% 28% 42%
fasta-redux
secs KB gz cpu cpu load
F# Mono 0.77 45,536 1074 0.77 4% 0% 9% 96%
  No program contribute your program
pidigits
secs KB gz cpu cpu load
F# Mono 0.38 1,112 903 0.37 0% 15% 97% 0%
OCaml   Make Error
reverse-complement
secs KB gz cpu cpu load
  No program contribute your program
OCaml 0.03 ? 1314 0.00 0% 50% 50% 0%
F# Mono

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

Mono JIT compiler version 4.3.0 (master/906ff55 Sun Aug 9 22:49:27 PDT 2015)
LLVM: yes(3.6.0svn-mono-master/a92ada2)
GC: sgen

OCaml

The OCaml native-code compiler, version 4.03.0