The Computer Language
Benchmarks Game

F# .NET Core versus Java 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%
Java 2.29 43,724 2473 6.16 67% 76% 59% 70%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.12 36,860 732 15.89 96% 97% 98% 95%
Java 4.41 35,028 950 16.79 96% 97% 98% 95%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 16.76 36,944 953 65.14 97% 95% 99% 98%
Java 17.74 31,900 1282 69.78 99% 98% 99% 98%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.07 36,768 874 3.08 1% 94% 8% 1%
Java 3.14 37,080 938 3.35 4% 4% 1% 98%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core 8.23 1,050,104 611 28.72 88% 89% 89% 85%
Java 8.29 930,040 835 28.13 78% 94% 85% 86%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 3.19 1,035,792 1139 8.68 94% 37% 93% 55%
Java 3.18 672,272 2183 7.17 67% 46% 43% 77%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.89 37,872 1381 22.89 0% 100% 1% 0%
Java 22.17 33,128 1489 22.26 0% 100% 2% 0%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 6.66 67,252 897 26.17 98% 98% 100% 98%
Java 6.13 76,876 796 23.60 96% 96% 96% 97%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 9.62 195,496 1959 34.93 93% 86% 95% 90%
Java 8.66 384,756 1812 26.91 69% 88% 81% 75%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core 14.14 1,504,112 611 46.71 80% 73% 80% 97%
Java 10.43 609,920 929 31.73 72% 78% 72% 83%
F# .NET Core

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

Java

java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)