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 105,528 1350 6.08 93% 91% 91% 99%
Haskell GHC 9.46 4,980 969 9.93 100% 2% 2% 3%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 9.75 195,992 1926 34.82 95% 92% 87% 84%
Haskell GHC 35.51 604,996 1486 123.30 89% 93% 90% 87%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 2.92 1,034,852 1140 8.12 91% 93% 36% 59%
Haskell GHC 5.67 501,336 1020 7.64 26% 12% 12% 86%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 6.67 67,060 877 26.23 99% 98% 98% 99%
Haskell GHC 11.60 38,744 782 46.30 100% 100% 100% 100%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core 7.94 1,078,352 611 28.07 89% 87% 88% 91%
Haskell GHC 12.59 478,012 592 46.02 95% 90% 88% 94%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.08 37,256 874 3.09 98% 1% 0% 3%
Haskell GHC 4.20 9,724 585 5.12 27% 8% 8% 81%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 16.84 37,296 949 65.43 99% 98% 95% 97%
Haskell GHC 18.20 4,024 842 71.63 99% 100% 95% 100%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.13 37,072 732 15.90 96% 95% 95% 99%
Haskell GHC 4.17 3,812 987 15.74 99% 97% 99% 98%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.89 38,188 1381 22.90 0% 0% 100% 0%
Haskell GHC 22.01 3,936 1883 86.84 99% 99% 100% 99%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core 0.39 788 611 0.78 42% 90% 44% 32%
Haskell GHC   Bad Output
F# .NET Core

.NET Core SDK 2.1.402
Commit: 3599f217f4
Host 2.1.4
<ServerGarbageCollection>true
<ConcurrentGarbageCollection>true

Haskell GHC

The Glorious Glasgow Haskell Compilation System, version 8.6.2