The Computer Language
Benchmarks Game

F# .NET Core programs versus OCaml

by benchmark task performance

n-body
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.22 1,204 1239 0.22 100% 0% 0% 0%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.13 ? 907 0.07 75% 69% 73% 71%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.11 ? 1004 ? 100% 100% 100% 91%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.20 ? 622 0.20 0% 0% 100% 0%
fasta
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.07 ? 1161 0.06 0% 0% 100% 0%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml ? ? 746 ?
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.28 34,308 1789 0.72 57% 44% 100% 67%
pidigits
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml   Make Error
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.10 ? 710 0.16 70% 70% 75% 63%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core   Failed
OCaml 0.03 ? 1314 ? 33% 33% 50% 75%
F# .NET Core

2.0.0-preview1-005977
"System.GC.Server": true

OCaml

The OCaml native-code compiler, version 4.04.0