The Computer Language
Benchmarks Game

F# Mono LLVM programs versus OCaml

by benchmark task performance

mandelbrot
source secs KB gz cpu cpu load
F# Mono LLVM 9.23 85,556 869 35.24 94% 98% 96% 94%
OCaml 13.78 4,204 710 54.78 100% 100% 100% 100%
binary-trees
source secs KB gz cpu cpu load
F# Mono LLVM 23.50 160,992 537 25.42 9% 100% 1% 1%
OCaml 25.82 173,372 784 77.00 89% 95% 54% 64%
k-nucleotide
source secs KB gz cpu cpu load
F# Mono LLVM 23.49 993,192 1477 65.54 63% 58% 72% 88%
OCaml 21.48 259,876 1789 57.12 91% 100% 39% 38%
n-body
source secs KB gz cpu cpu load
F# Mono LLVM 26.42 49,308 1259 26.40 100% 1% 1% 0%
OCaml 21.68 1,140 1239 21.67 1% 100% 1% 1%
spectral-norm
source secs KB gz cpu cpu load
F# Mono LLVM 5.56 48,560 720 18.66 84% 89% 80% 84%
OCaml 4.47 4,680 907 15.53 92% 91% 89% 88%
fannkuch-redux
source secs KB gz cpu cpu load
F# Mono LLVM 22.27 52,828 945 83.34 95% 92% 93% 96%
OCaml 16.13 27,476 1017 0.00 100% 100% 100% 100%
fasta
source secs KB gz cpu cpu load
F# Mono LLVM 8.57 40,228 978 8.56 100% 0% 1% 1%
OCaml 5.86 203,780 1161 5.85 0% 1% 100% 0%
regex-dna
source secs KB gz cpu cpu load
F# Mono LLVM 26.90 781,120 639 85.04 74% 78% 89% 76%
OCaml 10.26 599,024 1261 18.65 86% 28% 28% 42%
fasta-redux
source secs KB gz cpu cpu load
F# Mono LLVM 0.79 45,672 1074 0.79 4% 95% 7% 0%
  No program contribute your program
pidigits
source secs KB gz cpu cpu load
F# Mono LLVM 0.40 1,168 903 0.38 10% 95% 7% 5%
OCaml   Make Error
reverse-complement
source secs KB gz cpu cpu load
  No program contribute your program
OCaml 0.03 ? 1314 0.00 0% 50% 50% 0%
F# Mono LLVM

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

Mono JIT compiler version 4.5.1 (master/3e844dd Fri May 6 17:25:40 PDT 2016)
LLVM: yes(3.6.0svn-mono-master/9f79399)
GC: sgen

OCaml

The OCaml native-code compiler, version 4.03.0