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 103,520 1350 6.07 96% 93% 91% 96%
Java 2.32 42,212 2473 6.30 65% 85% 47% 76%
reverse-complement
source secs mem gz cpu cpu load
F# .NET Core 3.03 1,037,000 1140 8.38 95% 90% 54% 41%
Java 3.32 609,712 2183 7.54 64% 44% 44% 76%
binary-trees
source secs mem gz cpu cpu load
F# .NET Core 7.80 1,128,860 611 27.62 93% 91% 86% 87%
Java 8.39 960,056 835 27.39 81% 85% 74% 90%
fannkuch-redux
source secs mem gz cpu cpu load
F# .NET Core 17.05 37,756 949 66.34 98% 100% 95% 97%
Java 17.98 31,180 1282 70.57 97% 99% 97% 99%
mandelbrot
source secs mem gz cpu cpu load
F# .NET Core 6.65 66,804 897 26.16 98% 98% 98% 100%
Java 6.96 76,316 796 27.06 97% 97% 97% 97%
spectral-norm
source secs mem gz cpu cpu load
F# .NET Core 4.13 37,268 732 15.91 98% 95% 97% 95%
Java 4.26 33,572 950 16.39 96% 96% 98% 95%
pidigits
source secs mem gz cpu cpu load
F# .NET Core 3.07 37,184 874 3.08 0% 1% 1% 100%
Java 3.13 37,364 938 3.36 99% 2% 3% 4%
n-body
source secs mem gz cpu cpu load
F# .NET Core 22.90 38,416 1381 22.90 0% 0% 1% 100%
Java 22.00 32,272 1489 22.07 1% 0% 0% 100%
k-nucleotide
source secs mem gz cpu cpu load
F# .NET Core 9.63 199,368 1926 34.97 87% 85% 96% 95%
Java 8.74 470,116 1812 27.12 71% 73% 93% 74%
regex-redux
source secs mem gz cpu cpu load
F# .NET Core 14.15 1,497,924 611 46.73 82% 76% 82% 92%
Java 10.50 571,736 929 31.63 71% 73% 66% 92%
F# .NET Core

.NET Core SDK 2.2.100
Commit: 1249f08fed
Host 2.2.0
<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)