The Q6600
Benchmarks Game

C# .NET Core versus C++ g++ fastest programs

Always look at the source code.

These are only the fastest programs. Look at the other programs. They may seem more-like a fair comparison to you.

pidigits
source secs mem gz busy cpu load
C# .NET Core 1.86 33,240 1168 2.35 2% 20% 5% 99%
C++ g++ 1.82 4,312 513 1.87 1% 1% 2% 100%
fannkuch-redux
source secs mem gz busy cpu load
C# .NET Core 11.41 32,388 1225 45.24 99% 100% 99% 99%
C++ g++ 10.71 1,708 980 42.33 100% 96% 100% 100%
spectral-norm
source secs mem gz busy cpu load
C# .NET Core 2.16 35,800 764 8.21 94% 93% 99% 94%
C++ g++ 1.99 2,408 1044 7.89 99% 99% 99% 99%
fasta
source secs mem gz busy cpu load
C# .NET Core 1.69 75,044 1691 6.28 90% 91% 96% 95%
C++ g++ 1.46 2,024 2711 4.40 75% 76% 75% 76%
k-nucleotide
source secs mem gz busy cpu load
C# .NET Core 5.63 184,992 2044 19.00 80% 88% 96% 73%
C++ g++ 3.88 156,164 1631 12.09 72% 92% 71% 77%
binary-trees
source secs mem gz busy cpu load
C# .NET Core 5.77 844,952 753 20.47 93% 87% 89% 86%
C++ g++ 3.96 113,236 809 12.86 74% 84% 98% 69%
regex-redux
source secs mem gz busy cpu load
C# .NET Core 2.82 365,156 1869 4.97 27% 86% 26% 38%
C++ g++ 1.86 203,856 1315 4.49 99% 50% 48% 44%
reverse-complement
source secs mem gz busy cpu load
C# .NET Core 3.16 1,029,156 1621 7.90 57% 77% 63% 53%
C++ g++ 1.89 499,672 2093 1.94 100% 2% 1% 1%
n-body
source secs mem gz busy cpu load
C# .NET Core 21.74 34,000 1305 22.85 0% 0% 32% 73%
C++ g++ 7.70 1,612 1879 7.81 100% 0% 1% 1%
mandelbrot
source secs mem gz busy cpu load
C# .NET Core 5.60 65,320 816 22.00 98% 97% 99% 99%
C++ g++ 1.51 26,256 1791 6.01 100% 99% 99% 99%
C# .NET Core

.NET Core SDK 3.1.201
Host Version: 3.1.3; Commit: 4a9f85e9f8
<ServerGarbageCollection>true
<ConcurrentGarbageCollection>true

C++ g++

g++ (Ubuntu 9.3.0-10ubuntu2) 9.3.0