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.26 67,756 2098 8.39 92% 95% 96% 91%
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.89 1,555,668 673 48.95 78% 76% 78% 99%
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.48 33,452 1068 69.42 99% 99% 99% 100%
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 9.94 190,148 2044 35.28 75% 99% 95% 89%
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.08 36,632 1026 3.08 2% 1% 1% 98%
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.08 34,988 878 15.83 97% 98% 98% 96%
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.79 755,336 810 25.57 89% 82% 77% 83%
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.40 35,528 1542 21.40 0% 100% 1% 0%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 3.19 1,035,792 1139 8.68 94% 37% 93% 55%
C# .NET Core 2.97 1,034,408 1621 7.18 25% 45% 76% 97%
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.86 66,928 794 23.00 98% 100% 98% 98%
F# .NET Core

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

C# .NET Core

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