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 2.95 1,032,860 1621 7.17 41% 35% 94% 75%
F# .NET Core 269.16 3,308,844 595 273.26 30% 62% 41% 78%
fannkuch-redux
source secs mem gz cpu cpu load
C# .NET Core 14.44 32,724 1049 55.77 97% 92% 98% 99%
F# .NET Core 16.65 36,904 953 64.80 100% 98% 97% 95%
mandelbrot
source secs mem gz cpu cpu load
C# .NET Core 5.83 65,344 794 22.93 99% 98% 98% 99%
F# .NET Core 6.66 67,124 877 26.20 98% 100% 99% 98%
n-body
source secs mem gz cpu cpu load
C# .NET Core 21.37 34,120 1542 21.36 100% 1% 0% 1%
F# .NET Core 22.86 38,500 1381 22.86 100% 0% 1% 1%
spectral-norm
source secs mem gz cpu cpu load
C# .NET Core 4.07 32,608 878 15.82 99% 97% 97% 97%
F# .NET Core 4.22 36,760 732 16.21 99% 95% 96% 96%
binary-trees
source secs mem gz cpu cpu load
C# .NET Core 8.26 877,360 810 26.13 80% 80% 81% 79%
F# .NET Core 8.54 1,049,740 619 28.64 87% 88% 83% 82%
regex-redux
source secs mem gz cpu cpu load
C# .NET Core 30.74 1,483,936 659 110.24 92% 89% 90% 88%
F# .NET Core 31.02 1,446,740 529 111.00 92% 89% 85% 91%
pidigits
source secs mem gz cpu cpu load
C# .NET Core 3.03 35,360 1026 3.03 1% 0% 0% 100%
F# .NET Core 3.05 38,168 874 3.04 1% 0% 99% 3%
k-nucleotide
source secs mem gz cpu cpu load
C# .NET Core 11.47 189,036 2044 40.36 96% 95% 74% 87%
F# .NET Core 10.43 195,348 1926 36.77 96% 88% 84% 86%
fasta
source secs mem gz cpu cpu load
C# .NET Core 2.09 65,216 2098 7.97 95% 99% 95% 95%
F# .NET Core 1.67 123,472 1350 6.27 93% 99% 93% 93%
C# .NET Core

2.0.2 a04b4bf512
"System.GC.Server": true

F# .NET Core

2.0.2 a04b4bf512
"System.GC.Server": true