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.19 46,636 1259 26.18 0% 1% 1% 100%
OCaml 75.25 600 1239 75.23 1% 0% 0% 100%
mandelbrot
source secs KB gz cpu cpu load
F# Mono LLVM 9.74 80,552 869 36.78 94% 94% 94% 96%
OCaml 21.32 1,740 710 84.93 100% 100% 100% 100%
fasta
source secs KB gz cpu cpu load
F# Mono LLVM 10.49 40,612 978 10.49 100% 0% 1% 1%
OCaml 12.06 600 1042 12.05 1% 1% 100% 0%
pidigits
source secs KB gz cpu cpu load
F# Mono LLVM 4.05 40,884 903 4.05 1% 1% 2% 100%
OCaml 3.84 7,024 560 3.84 0% 1% 100% 1%
spectral-norm
source secs KB gz cpu cpu load
F# Mono LLVM 5.76 43,360 720 18.70 80% 77% 87% 82%
OCaml 5.10 3,192 938 18.14 93% 93% 95% 93%
fannkuch-redux
source secs KB gz cpu cpu load
F# Mono LLVM 32.01 46,152 945 121.39 96% 97% 94% 93%
OCaml 27.08 ? 1017 ? 100% 100% 100% 100%
k-nucleotide
source secs KB gz cpu cpu load
F# Mono LLVM 3.86 153,904 1505 8.04 46% 50% 41% 76%
OCaml 2.35 252,844 1789 5.60 62% 40% 93% 47%
binary-trees
source secs KB gz cpu cpu load
F# Mono LLVM 25.02 126,628 537 26.31 6% 80% 20% 1%
OCaml 14.41 102,344 784 38.41 77% 33% 100% 60%
regex-dna
source secs KB gz cpu cpu load
F# Mono LLVM 7.49 125,328 639 12.83 59% 38% 41% 36%
OCaml 0.60 ? 1050 ? 77% 77% 80% 93%
reverse-complement
source secs KB gz cpu cpu load
  No program contribute your program
OCaml 0.03 ? 1314 ? 0% 50% 67% 50%
F# Mono LLVM

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