The Computer Language
Benchmarks Game

F# .NET Core versus C# .NET Core fastest programs

by faster benchmark performance

fasta
source secs mem gz cpu cpu load
F# .NET Core 1.63 100,352 1350 6.07 93% 92% 91% 98%
C# .NET Core 2.21 67,936 2098 8.22 93% 93% 91% 97%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 16.76 36,944 953 65.14 97% 95% 99% 98%
C# .NET Core 17.46 33,584 1068 69.41 100% 99% 99% 100%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core 14.14 1,504,112 611 46.71 80% 73% 80% 97%
C# .NET Core 14.72 1,638,768 673 48.67 79% 79% 98% 76%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.07 36,768 874 3.08 1% 94% 8% 1%
C# .NET Core 3.06 36,188 1121 3.07 1% 3% 98% 0%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 3.01 1,036,024 1140 8.42 98% 35% 91% 59%
C# .NET Core 2.98 1,034,444 1621 7.15 37% 93% 39% 75%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.12 36,860 732 15.89 96% 97% 98% 95%
C# .NET Core 4.06 34,984 878 15.84 98% 97% 98% 97%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core 8.23 1,050,104 611 28.72 88% 89% 89% 85%
C# .NET Core 7.83 879,216 810 25.75 81% 79% 86% 86%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.89 37,872 1381 22.89 0% 100% 1% 0%
C# .NET Core 21.39 35,852 1542 21.40 100% 1% 1% 1%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 6.66 67,252 897 26.17 98% 98% 100% 98%
C# .NET Core 5.85 66,720 794 23.00 98% 100% 98% 98%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 9.62 195,496 1959 34.93 93% 86% 95% 90%
C# .NET Core 5.41 186,900 2574 18.23 65% 95% 83% 95%
F# .NET Core

sdk/2.1.300
.NETCore.App 2.1.0
"System.GC.Server": true

C# .NET Core

sdk/2.1.302
.NETCore.App 2.1.0
<ServerGarbageCollection>true
<ConcurrentGarbageCollection>true