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 105,528 1350 6.08 93% 91% 91% 99%
Java 2.32 42,556 2473 6.24 73% 85% 49% 63%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 2.92 1,034,852 1140 8.12 91% 93% 36% 59%
Java 3.31 626,956 2183 7.44 56% 60% 83% 45%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 16.84 37,296 949 65.43 99% 98% 95% 97%
Java 17.91 31,560 1282 70.25 99% 98% 99% 97%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 6.67 67,060 877 26.23 99% 98% 98% 99%
Java 6.96 76,748 796 27.07 98% 98% 96% 98%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core 7.94 1,078,352 611 28.07 89% 87% 88% 91%
Java 8.28 982,224 835 27.19 79% 86% 83% 83%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.13 37,072 732 15.90 96% 95% 95% 99%
Java 4.27 32,960 950 16.41 95% 97% 98% 96%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.08 37,256 874 3.09 98% 1% 0% 3%
Java 3.13 37,324 938 3.35 98% 5% 3% 3%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.89 38,188 1381 22.90 0% 0% 100% 0%
Java 22.00 32,496 1489 22.07 1% 100% 0% 1%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 9.75 195,992 1926 34.82 95% 92% 87% 84%
Java 8.66 385,768 1812 26.52 76% 81% 74% 76%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core 14.06 1,510,900 611 46.47 81% 77% 92% 81%
Java 10.52 637,380 929 31.89 75% 80% 77% 72%
F# .NET Core

.NET Core SDK 2.1.402
Commit: 3599f217f4
Host 2.1.4
<ServerGarbageCollection>true
<ConcurrentGarbageCollection>true

Java

openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)