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 5,492 710 54.89 100% 100% 100% 100%
binary-trees
secs KB gz cpu cpu load
F# Mono 25.25 163,392 537 26.80 6% 29% 71% 2%
OCaml 24.56 204,308 784 70.78 72% 96% 38% 85%
k-nucleotide
secs KB gz cpu cpu load
F# Mono 23.61 863,256 1505 66.08 64% 64% 77% 76%
OCaml 20.22 362,324 1789 54.07 93% 88% 40% 49%
n-body
secs KB gz cpu cpu load
F# Mono 26.42 53,188 1259 26.41 1% 1% 0% 100%
OCaml 22.27 708 1239 22.26 1% 0% 100% 1%
spectral-norm
secs KB gz cpu cpu load
F# Mono 5.61 51,728 720 18.63 81% 84% 80% 88%
OCaml 4.31 3,496 938 16.02 93% 94% 93% 92%
fannkuch-redux
secs KB gz cpu cpu load
F# Mono 22.46 52,492 945 84.50 94% 94% 94% 94%
OCaml 16.25 22,308 1017 0.01 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 6.05 200,872 1161 6.04 1% 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 9.43 268,480 1050 1.39 83% 83% 83% 100%
pidigits
secs KB gz cpu cpu load
F# Mono 11.22 42,344 903 11.21 0% 0% 100% 1%
OCaml 2.83 9,192 560 2.83 1% 0% 0% 100%
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
reverse-complement
secs KB gz cpu cpu load
  No program contribute your program
OCaml 0.02 ? 1314 0.00 0% 50% 33% 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.02.1