The Computer Language
Benchmarks Game

F# .NET Core versus Haskell GHC fastest programs

by faster benchmark performance

fasta
source secs mem gz cpu cpu load
F# .NET Core 1.63 103,520 1350 6.07 96% 93% 91% 96%
Haskell GHC 9.47 4,984 969 9.95 83% 2% 3% 18%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 9.63 199,368 1926 34.97 87% 85% 96% 95%
Haskell GHC 35.19 617,884 1486 122.75 87% 87% 88% 88%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 3.03 1,037,000 1140 8.38 95% 90% 54% 41%
Haskell GHC 5.69 501,244 1020 7.57 59% 12% 11% 53%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 6.65 66,804 897 26.16 98% 98% 98% 100%
Haskell GHC 11.61 38,728 782 46.32 100% 100% 100% 100%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core 7.80 1,128,860 611 27.62 93% 91% 86% 87%
Haskell GHC 13.25 474,224 592 48.76 90% 93% 91% 97%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.07 37,184 874 3.08 0% 1% 1% 100%
Haskell GHC 4.22 9,728 379 5.17 45% 11% 10% 64%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 17.05 37,756 949 66.34 98% 100% 95% 97%
Haskell GHC 18.17 4,024 842 71.56 96% 99% 100% 99%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.13 37,268 732 15.91 98% 95% 97% 95%
Haskell GHC 4.06 3,620 987 15.71 97% 99% 97% 95%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.90 38,416 1381 22.90 0% 0% 1% 100%
Haskell GHC 21.99 3,984 1883 86.80 99% 98% 100% 99%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core 3.42 ? 611 ? 74% 48% 5% 6%
Haskell GHC   Bad Output
F# .NET Core

.NET Core SDK 2.2.100
Commit: 1249f08fed
Host 2.2.0
<ServerGarbageCollection>true
<ConcurrentGarbageCollection>true

Haskell GHC

The Glorious Glasgow Haskell Compilation System, version 8.6.2