The Q6600
Benchmarks Game

Ada 2012 GNAT 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
Ada 2012 GNAT 1.75 4,600 1130 1.79 0% 2% 1% 100%
Rust 1.75 3,012 1366 1.78 1% 100% 1% 0%
spectral-norm
source secs mem gz busy cpu load
Ada 2012 GNAT 2.00 4,248 2770 7.88 99% 98% 99% 99%
Rust 1.97 2,440 1126 7.86 100% 99% 99% 99%
fannkuch-redux
source secs mem gz busy cpu load
Ada 2012 GNAT 10.23 4,332 2113 40.80 100% 100% 100% 100%
Rust 10.06 1,020 1016 39.36 93% 100% 100% 99%
n-body
source secs mem gz busy cpu load
Ada 2012 GNAT 9.71 1,784 2617 9.89 1% 0% 100% 1%
Rust 5.98 688 1753 6.02 0% 1% 100% 0%
k-nucleotide
source secs mem gz busy cpu load
Ada 2012 GNAT 10.22 258,500 4908 23.76 37% 19% 89% 87%
Rust 5.21 135,388 1841 15.94 82% 54% 100% 70%
reverse-complement
source secs mem gz busy cpu load
Ada 2012 GNAT 4.05 789,068 3283 4.64 40% 1% 72% 1%
Rust 1.69 994,988 1330 2.95 26% 45% 79% 24%
fasta
source secs mem gz busy cpu load
Ada 2012 GNAT 4.18 1,784 2153 4.25 95% 0% 0% 6%
Rust 1.51 2,180 1906 4.66 76% 76% 83% 74%
binary-trees
source secs mem gz busy cpu load
Ada 2012 GNAT 9.82 202,292 2107 33.89 84% 94% 82% 85%
Rust 3.48 199,856 721 12.62 88% 100% 87% 88%
regex-redux
source secs mem gz busy cpu load
Ada 2012 GNAT 7.02 154,252 3640 19.93 59% 61% 84% 79%
Rust 2.20 153,504 986 3.23 15% 32% 84% 16%
mandelbrot
source secs mem gz busy cpu load
Ada 2012 GNAT 5.60 35,640 1819 22.24 100% 99% 99% 99%
Rust 1.70 32,656 1332 6.70 98% 98% 99% 98%
Ada 2012 GNAT

GNATMAKE 9.3.0

gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0

Rust

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