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 103,520 1350 6.07 96% 93% 91% 96%
C# .NET Core 2.27 68,140 2098 8.40 94% 90% 92% 98%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 17.05 37,756 949 66.34 98% 100% 95% 97%
C# .NET Core 17.46 34,728 1068 69.44 100% 99% 99% 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%
C# .NET Core 7.73 809,848 810 25.41 82% 89% 83% 79%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 3.03 1,037,000 1140 8.38 95% 90% 54% 41%
C# .NET Core 2.99 1,035,748 1621 7.23 26% 52% 91% 76%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.13 37,268 732 15.91 98% 95% 97% 95%
C# .NET Core 4.07 35,988 878 15.85 97% 100% 97% 97%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.90 38,416 1381 22.90 0% 0% 1% 100%
C# .NET Core 21.41 36,520 1542 21.41 28% 0% 1% 72%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 6.65 66,804 897 26.16 98% 98% 98% 100%
C# .NET Core 5.54 66,356 816 21.64 98% 98% 100% 98%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.07 37,184 874 3.08 0% 1% 1% 100%
C# .NET Core 2.06 38,564 973 2.07 100% 1% 4% 1%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 9.63 199,368 1926 34.97 87% 85% 96% 95%
C# .NET Core 5.48 186,672 2574 18.26 93% 85% 91% 67%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core 14.15 1,497,924 611 46.73 82% 76% 82% 92%
C# .NET Core 2.22 295,364 1869 4.20 24% 39% 32% 98%
F# .NET Core

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

C# .NET Core

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