The Computer Language
Benchmarks Game

F# Mono LLVM programs versus OCaml

by benchmark task performance

binary-trees
source secs KB gz cpu cpu load
F# Mono LLVM 25.96 163,572 537 25.92 1% 0% 0% 100%
OCaml 43.39 202,856 784 43.32 2% 0% 0% 100%
mandelbrot
source secs KB gz cpu cpu load
F# Mono LLVM 35.89 85,860 869 35.88 0% 1% 1% 100%
OCaml 54.88 5,960 710 54.86 0% 1% 0% 100%
fannkuch-redux
source secs KB gz cpu cpu load
F# Mono LLVM 64.42 40,708 612 64.40 1% 0% 0% 100%
OCaml 64.75 ? 1017 ? 0% 0% 1% 100%
spectral-norm
source secs KB gz cpu cpu load
F# Mono LLVM 18.42 49,432 720 18.40 1% 0% 1% 100%
OCaml 15.69 3,012 377 15.69 1% 1% 0% 100%
n-body
source secs KB gz cpu cpu load
F# Mono LLVM 26.42 52,784 1259 26.41 0% 1% 1% 100%
OCaml 22.27 708 1239 22.26 1% 0% 0% 100%
k-nucleotide
source secs KB gz cpu cpu load
F# Mono LLVM 66.62 864,620 1505 66.56 0% 0% 1% 100%
OCaml 54.28 362,440 1789 54.23 1% 0% 0% 100%
fasta
source secs KB gz cpu cpu load
F# Mono LLVM 8.42 42,192 978 8.41 2% 0% 1% 100%
OCaml 6.05 204,520 1161 6.04 0% 1% 1% 100%
pidigits
source secs KB gz cpu cpu load
F# Mono LLVM 11.22 42,660 903 11.21 0% 1% 1% 100%
OCaml 2.83 8,472 560 2.83 1% 0% 0% 100%
regex-dna
source secs KB gz cpu cpu load
F# Mono LLVM 79.27 672,008 413 79.23 1% 1% 0% 100%
OCaml 18.95 517,500 615 18.93 1% 0% 0% 100%
fasta-redux
source secs KB gz cpu cpu load
F# Mono LLVM 0.77 45,396 1074 0.76 4% 1% 3% 100%
  No program contribute your program
reverse-complement
source secs KB gz cpu cpu load
  No program contribute your program
OCaml 0.06 ? 1314 ? 0% 0% 0% 100%
F# Mono LLVM

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