The Q6600
Benchmarks Game

F# .NET Core versus OCaml fastest programs

Always look at the source code.

These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you.

k-nucleotide
source secs mem gz busy cpu load
F# .NET Core 5.80 183,360 1907 19.47 86% 66% 88% 96%
OCaml 21.32 255,548 1833 59.79 91% 48% 100% 42%
spectral-norm
source secs mem gz busy cpu load
F# .NET Core 4.29 35,228 853 16.12 92% 92% 97% 94%
OCaml 15.70 3,704 377 16.86 100% 3% 5% 0%
fasta
source secs mem gz busy cpu load
F# .NET Core 1.70 138,596 1350 6.45 95% 98% 93% 93%
OCaml 6.00 199,124 1189 6.32 100% 1% 1% 4%
regex-redux
source secs mem gz busy cpu load
F# .NET Core 7.87 971,632 599 11.18 64% 37% 28% 13%
OCaml 25.23 901,944 637 27.09 4% 1% 100% 3%
mandelbrot
source secs mem gz busy cpu load
F# .NET Core 5.78 65,644 933 22.72 99% 98% 98% 98%
OCaml 14.02 5,048 717 55.89 99% 100% 100% 100%
binary-trees
source secs mem gz busy cpu load
F# .NET Core 6.28 724,124 635 22.76 91% 93% 90% 88%
OCaml 9.89 152,992 751 28.64 49% 64% 98% 79%
reverse-complement
source secs mem gz busy cpu load
F# .NET Core 2.93 1,031,696 1140 8.52 94% 45% 60% 90%
OCaml 3.74 33,944 1368 8.90 62% 58% 60% 59%
fannkuch-redux
source secs mem gz busy cpu load
F# .NET Core 16.68 35,816 1097 65.52 98% 97% 100% 98%
OCaml 16.37 19,584 1004 65.39 100% 100% 100% 100%
n-body
source secs mem gz busy cpu load
F# .NET Core 22.20 33,660 1290 23.03 0% 100% 1% 3%
OCaml 21.67 1,368 1251 23.26 3% 1% 100% 4%
pidigits
source secs mem gz busy cpu load
F# .NET Core 1.87 35,692 905 2.01 4% 2% 4% 98%
OCaml 1.76 6,056 593 1.98 100% 6% 3% 4%
F# .NET Core

.NET Core SDK 3.1.201
Host Version: 3.1.3; Commit: 4a9f85e9f8
<ServerGarbageCollection>true
<ConcurrentGarbageCollection>true

OCaml

The OCaml native-code compiler, version 4.10.0