The Computer Language
Benchmarks Game

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

by benchmark task performance

regex-redux
source secs mem gz cpu cpu load
F# .NET Core 30.77 1,450,708 529 110.41 87% 90% 97% 86%
C# .NET Core 31.19 1,696,208 673 111.64 97% 89% 92% 80%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.06 43,472 903 3.05 1% 99% 1% 2%
C# .NET Core 3.03 43,064 1026 3.03 3% 99% 1% 3%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.87 46,672 1381 22.86 0% 0% 100% 1%
C# .NET Core 21.37 39,628 1542 21.36 1% 0% 100% 1%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.34 46,716 853 16.64 95% 96% 98% 96%
C# .NET Core 4.05 42,828 878 15.80 99% 97% 97% 98%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 19.45 46,904 912 76.34 99% 99% 98% 98%
C# .NET Core 14.45 40,556 1049 55.82 98% 93% 99% 98%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 19.25 1,117,236 1477 62.56 80% 96% 74% 77%
C# .NET Core 11.31 217,116 2009 40.92 91% 88% 97% 88%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 12.43 89,108 800 49.11 99% 99% 99% 100%
C# .NET Core 6.51 78,616 923 25.62 99% 98% 100% 99%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core 22.63 844,248 531 24.99 45% 20% 10% 38%
C# .NET Core 7.26 716,568 851 23.98 84% 82% 81% 87%
fasta
source secs mem gz cpu cpu load
F# .NET Core 8.81 41,448 978 8.80 0% 1% 100% 1%
C# .NET Core 2.09 90,540 2087 7.85 94% 93% 97% 93%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 11.90 1,199,404 588 13.20 7% 96% 6% 6%
C# .NET Core 0.79 307,604 1584 1.84 89% 75% 51% 24%
F# .NET Core

2.0.0 cdcd1928c9
"System.GC.Server": true

C# .NET Core

2.0.0 cdcd1928c9
"System.GC.Server": true