The Computer Language
Benchmarks Game

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

by benchmark task performance

reverse-complement
source secs mem gz cpu cpu load
C# .NET Core 0.79 307,604 1584 1.84 89% 75% 51% 24%
F# .NET Core 11.90 1,199,404 588 13.20 7% 96% 6% 6%
fasta
source secs mem gz cpu cpu load
C# .NET Core 2.09 90,540 2087 7.85 94% 93% 97% 93%
F# .NET Core 8.81 41,448 978 8.80 0% 1% 100% 1%
binary-trees
source secs mem gz cpu cpu load
C# .NET Core 7.26 716,568 851 23.98 84% 82% 81% 87%
F# .NET Core 22.63 844,248 531 24.99 45% 20% 10% 38%
mandelbrot
source secs mem gz cpu cpu load
C# .NET Core 6.78 74,348 672 26.69 100% 99% 98% 99%
F# .NET Core 12.43 89,108 800 49.11 99% 99% 99% 100%
k-nucleotide
source secs mem gz cpu cpu load
C# .NET Core 12.37 231,336 2251 39.09 97% 70% 78% 72%
F# .NET Core 19.25 1,117,236 1477 62.56 80% 96% 74% 77%
fannkuch-redux
source secs mem gz cpu cpu load
C# .NET Core 14.98 40,740 1091 57.67 97% 93% 99% 97%
F# .NET Core 19.45 46,904 912 76.34 99% 99% 98% 98%
spectral-norm
source secs mem gz cpu cpu load
C# .NET Core 4.05 42,828 878 15.80 99% 97% 97% 98%
F# .NET Core 4.34 46,716 853 16.64 95% 96% 98% 96%
n-body
source secs mem gz cpu cpu load
C# .NET Core 21.71 39,848 1305 21.70 100% 0% 1% 0%
F# .NET Core 22.87 46,672 1381 22.86 0% 0% 100% 1%
pidigits
source secs mem gz cpu cpu load
C# .NET Core 3.03 43,064 1026 3.03 3% 99% 1% 3%
F# .NET Core 3.06 43,472 903 3.05 1% 99% 1% 2%
regex-redux
source secs mem gz cpu cpu load
C# .NET Core 31.19 1,696,208 673 111.64 97% 89% 92% 80%
F# .NET Core 30.77 1,450,708 529 110.41 87% 90% 97% 86%
C# .NET Core

2.0.0 cdcd1928c9
"System.GC.Server": true

F# .NET Core

2.0.0 cdcd1928c9
"System.GC.Server": true