The Q6600
Benchmarks Game

Go versus Rust 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
Go 2.04 8,724 603 2.36 20% 32% 33% 31%
Rust 1.75 3,012 1366 1.78 1% 100% 1% 0%
fasta
source secs mem gz busy cpu load
Go 2.11 4,228 1358 5.66 69% 65% 64% 70%
Rust 1.51 2,180 1906 4.66 76% 76% 83% 74%
fannkuch-redux
source secs mem gz busy cpu load
Go 14.93 3,484 969 59.67 100% 100% 100% 100%
Rust 10.06 1,020 1016 39.36 93% 100% 100% 99%
spectral-norm
source secs mem gz busy cpu load
Go 4.12 2,704 548 15.93 96% 98% 97% 96%
Rust 1.97 2,440 1126 7.86 100% 99% 99% 99%
reverse-complement
source secs mem gz busy cpu load
Go 3.73 826,488 611 4.10 88% 6% 2% 14%
Rust 1.69 994,988 1330 2.95 26% 45% 79% 24%
k-nucleotide
source secs mem gz busy cpu load
Go 12.67 150,584 1722 47.44 95% 90% 93% 96%
Rust 5.21 135,388 1841 15.94 82% 54% 100% 70%
mandelbrot
source secs mem gz busy cpu load
Go 5.55 30,300 894 22.11 99% 99% 99% 100%
Rust 1.70 32,656 1332 6.70 98% 98% 99% 98%
regex-redux
source secs mem gz busy cpu load
Go 7.21 326,552 810 10.19 22% 18% 87% 14%
Rust 2.20 153,504 986 3.23 15% 32% 84% 16%
n-body
source secs mem gz busy cpu load
Go 21.26 1,888 1310 22.28 3% 0% 100% 2%
Rust 5.98 688 1753 6.02 0% 1% 100% 0%
binary-trees
source secs mem gz busy cpu load
Go 25.19 397,116 1007 86.01 88% 86% 84% 83%
Rust 3.48 199,856 721 12.62 88% 100% 87% 88%
Go

go version go1.14 linux/amd64

Rust

rustc 1.44.0 (49cae5576 2020-06-01)
LLVM version: 9.0