The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.53.0 (53cb7b09b 2021-06-17)
LLVM version: 12.0.1

source secs N mem gz cpu cpu load
binary-trees  0.10  7 8 751 0.00 10% 27% 0% 67%
binary-trees  0.02  14 0 751 0.04 50% 100% 0% 100%
binary-trees  2.21  21 132,576 751 7.75 86% 85% 86% 98%
source secs N mem gz cpu cpu load
binary-trees  #2 0.14  7 8 721 0.01 8% 36% 0% 62%
binary-trees  #2 0.01  14 0 721 0.03 100% 100% 50% 0%
binary-trees  #2 1.19  21 199,944 721 4.26 100% 88% 87% 87%
source secs N mem gz cpu cpu load
binary-trees  #3 0.17  7 8 754 0.01 25% 18% 29% 13%
binary-trees  #3  14 0 754 0.03
binary-trees  #3 1.35  21 162,572 754 4.88 89% 90% 99% 90%
source secs N mem gz cpu cpu load
binary-trees  #4 0.14  7 8 756 0.01 29% 31% 0% 7%
binary-trees  #4 0.01  14 0 756 0.02 0% 50% 100% 50%
binary-trees  #4 1.25  21 169,768 756 4.53 89% 88% 90% 100%
source secs N mem gz cpu cpu load
binary-trees  #5 0.12  7 8 765 0.01 8% 8% 18% 73%
binary-trees  #5  14 0 765 0.02
binary-trees  #5 1.02  21 198,720 765 3.59 87% 86% 85% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.19  10 1,772 1191 0.26 45% 45% 55% 42%
fannkuch-redux  #2 0.78  11 872 1191 2.96 100% 95% 94% 96%
fannkuch-redux  #2 9.95  12 1,012 1191 38.78 99% 98% 100% 94%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.22  10 8 1020 0.21 58% 43% 23% 55%
fannkuch-redux  #4 0.63  11 1,064 1020 2.29 100% 92% 89% 92%
fannkuch-redux  #4 7.61  12 1,200 1020 29.81 94% 100% 99% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.19  10 380 1016 0.19 28% 28% 56% 44%
fannkuch-redux  #5 0.57  11 1,192 1016 2.22 100% 98% 100% 100%
fannkuch-redux  #5 7.70  12 1,200 1016 30.18 95% 100% 99% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.22  10 8 1020 0.20 41% 48% 43% 24%
fannkuch-redux  #3 0.59  11 1,200 1020 2.28 95% 97% 98% 98%
fannkuch-redux  #3 7.73  12 1,200 1020 30.26 100% 98% 95% 100%
source secs N mem gz cpu cpu load
fasta  0.25  250,000 796 1237 0.13 13% 0% 15% 84%
fasta  0.97  2,500,000 856 1237 0.97 2% 99% 0% 1%
fasta  4.47  25,000,000 868 1237 4.47 100% 0% 4% 0%
source secs N mem gz cpu cpu load
fasta  #6 0.19  250,000 2,216 955 0.07 57% 0% 21% 11%
fasta  #6 0.42  2,500,000 12,304 955 0.42 98% 0% 0% 7%
fasta  #6 3.87  25,000,000 123,804 955 3.87 100% 1% 0% 0%
source secs N mem gz cpu cpu load
fasta  #4 0.24  250,000 1,932 939 0.08 4% 9% 43% 27%
fasta  #4 0.42  2,500,000 12,392 939 0.42 100% 0% 0% 7%
fasta  #4 3.88  25,000,000 123,812 939 3.88 1% 0% 4% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.12  250,000 8 1906 0.05 17% 9% 58% 46%
fasta  #2 0.12  2,500,000 2,088 1906 0.35 73% 75% 91% 70%
fasta  #2 0.92  25,000,000 2,364 1906 3.02 80% 80% 81% 87%
source secs N mem gz cpu cpu load
fasta  #7 1.03  250,000 2,920 2529 1.75 85% 84% 4% 13%
fasta  #7 0.09  2,500,000 1,840 2529 0.17 11% 89% 64% 44%
fasta  #7 0.76  25,000,000 1,836 2529 1.52 99% 63% 38% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.18  250,000 8 1233 0.05 0% 12% 18% 68%
fasta  #3 0.24  2,500,000 860 1233 0.24 0% 0% 0% 100%
fasta  #3 2.04  25,000,000 872 1233 2.04 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #5 0.16  250,000 8 1961 0.06 12% 19% 31% 69%
fasta  #5 0.12  2,500,000 2,028 1961 0.37 75% 73% 77% 92%
fasta  #5 0.93  25,000,000 2,364 1961 3.16 83% 83% 90% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #8 0.18  250,000 800 1543 0.13 28% 50% 33% 26%
k-nucleotide  #8 0.65  2,500,000 23,800 1543 1.06 52% 28% 40% 62%
k-nucleotide  #8 3.28  25,000,000 137,564 1543 10.26 93% 53% 74% 94%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.22  250,000 1,200 1739 0.15 5% 26% 41% 45%
k-nucleotide  #5 0.60  2,500,000 23,992 1739 1.17 66% 72% 43% 31%
k-nucleotide  #5 3.76  25,000,000 134,260 1739 11.24 68% 95% 94% 46%
source secs N mem gz cpu cpu load
k-nucleotide  #9 0.25  250,000 14,580 1841 0.25 56% 30% 44% 12%
k-nucleotide  #9 1.00  2,500,000 25,060 1841 2.04 24% 77% 77% 34%
k-nucleotide  #9 6.59  25,000,000 135,048 1841 18.85 52% 44% 97% 97%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.23  250,000 6,276 1347 0.19 14% 39% 35% 65%
k-nucleotide  #2 0.83  2,500,000 23,572 1347 1.72 59% 62% 32% 69%
k-nucleotide  #2 6.34  25,000,000 137,844 1347 16.29 69% 42% 75% 73%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.19  250,000 1,136 1691 0.17 32% 50% 25% 21%
k-nucleotide  #6 0.50  2,500,000 49,256 1691 1.08 53% 61% 52% 54%
k-nucleotide  #6 2.68  25,000,000 159,104 1691 9.99 92% 91% 100% 91%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.25  250,000 15,096 1749 0.27 44% 35% 22% 50%
k-nucleotide  #4 0.93  2,500,000 26,080 1749 2.04 29% 76% 77% 62%
k-nucleotide  #4 6.97  25,000,000 137,388 1749 19.19 41% 91% 50% 97%
source secs N mem gz cpu cpu load
k-nucleotide  0.44  250,000 28,776 1078 0.74 67% 41% 60% 30%
k-nucleotide  2.42  2,500,000 42,324 1078 6.46 85% 50% 89% 45%
k-nucleotide  21.57  25,000,000 152,376 1078 63.77 62% 94% 50% 90%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.20  250,000 1,088 1578 0.14 35% 30% 37% 47%
k-nucleotide  #7 0.50  2,500,000 21,376 1578 0.96 54% 52% 51% 42%
k-nucleotide  #7 2.82  25,000,000 133,332 1578 9.13 77% 85% 93% 71%
source secs N mem gz cpu cpu load
mandelbrot  #5 0.13  1,000 8 719 0.03 33% 0% 47% 8%
mandelbrot  #5 0.09  4,000 500 719 0.30 88% 78% 88% 89%
mandelbrot  #5 1.16  16,000 33,392 719 4.57 98% 100% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  #8 0.13  1,000 8 763 0.03 54% 8% 15% 62%
mandelbrot  #8 0.07  4,000 496 763 0.24 100% 86% 86% 100%
mandelbrot  #8 0.93  16,000 32,648 763 3.68 99% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.15  1,000 8 1007 0.03 33% 19% 53% 44%
mandelbrot  #3 0.11  4,000 4,572 1007 0.40 100% 91% 91% 92%
mandelbrot  #3 1.49  16,000 13,748 1007 5.88 100% 100% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.12  1,000 8 868 0.06 33% 38% 18% 45%
mandelbrot  0.21  4,000 4,448 868 0.75 95% 95% 90% 86%
mandelbrot  3.00  16,000 38,740 868 11.81 100% 99% 99% 96%
source secs N mem gz cpu cpu load
mandelbrot  #7 0.13  1,000 8 757 0.02 8% 38% 7% 62%
mandelbrot  #7 0.07  4,000 1,064 757 0.24 88% 100% 88% 100%
mandelbrot  #7 0.93  16,000 32,720 757 3.70 99% 100% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.13  1,000 8 1332 0.03 23% 43% 15% 23%
mandelbrot  #6 0.10  4,000 1,456 1332 0.34 91% 80% 89% 80%
mandelbrot  #6 1.35  16,000 33,700 1332 5.32 99% 99% 100% 99%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 1,848 1480 0.09 19% 64% 62% 9%
n-body  0.60  5,000,000 864 1480 0.60 2% 0% 100% 2%
n-body  5.80  50,000,000 868 1480 5.80 0% 100% 5% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.23  500,000 1,700 2220 0.10 14% 64% 0% 13%
n-body  #5 0.62  5,000,000 800 2220 0.62 100% 0% 0% 0%
n-body  #5 6.10  50,000,000 868 2220 6.10 1% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #3 0.21  500,000 1,852 1540 0.09 15% 70% 5% 10%
n-body  #3 0.59  5,000,000 804 1540 0.59 100% 2% 2% 12%
n-body  #3 5.72  50,000,000 872 1540 5.72 2% 100% 2% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.23  500,000 872 1805 0.09 14% 68% 5% 26%
n-body  #2 0.62  5,000,000 800 1805 0.62 3% 2% 0% 100%
n-body  #2 6.12  50,000,000 864 1805 6.12 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #6 0.22  500,000 8 1790 0.08 64% 5% 14% 19%
n-body  #6 0.46  5,000,000 876 1790 0.46 0% 100% 0% 7%
n-body  #6 4.49  50,000,000 872 1790 4.49 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  #8 0.22  500,000 1,700 1767 0.10 15% 14% 64% 0%
n-body  #8 0.60  5,000,000 868 1767 0.60 2% 0% 100% 5%
n-body  #8 5.97  50,000,000 864 1767 5.96 1% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #7 0.19  500,000 1,824 1753 0.07 17% 10% 61% 0%
n-body  #7 0.36  5,000,000 796 1753 0.36 11% 0% 100% 0%
n-body  #7 3.42  50,000,000 872 1753 3.42 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.24  500,000 872 1803 0.10 0% 13% 54% 25%
n-body  #4 0.64  5,000,000 808 1803 0.64 0% 100% 0% 0%
n-body  #4 6.29  50,000,000 876 1803 6.29 0% 0% 0% 100%
source secs N mem gz cpu cpu load
pidigits  #3 0.22  2,000 912 1366 0.06 5% 18% 55% 5%
pidigits  #3 0.31  6,000 2,520 1366 0.31 3% 100% 3% 0%
pidigits  #3 0.88  10,000 2,920 1366 0.88 100% 0% 1% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.19  2,000 912 1306 0.05 -6% 53% 5% 26%
pidigits  #2 0.31  6,000 2,588 1306 0.31 0% 0% 0% 100%
pidigits  #2 0.89  10,000 2,908 1306 0.88 2% 0% 1% 99%
source secs N mem gz cpu cpu load
pidigits  #4 0.17  2,000 464 799 0.05 65% 0% 6% 18%
pidigits  #4 0.25  6,000 2,172 799 0.25 100% 0% 4% 4%
pidigits  #4 0.72  10,000 2,660 799 0.71 100% 0% 0% 7%
source secs N mem gz cpu cpu load
pidigits  0.20  2,000 2,036 1420 0.06 15% 0% 65% 25%
pidigits  0.31  6,000 2,588 1420 0.31 100% 0% 0% 7%
pidigits  0.88  10,000 2,912 1420 0.88 100% 0% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  #7 0.19  50,000 8 2458 0.04 55% 30% 11% 52%
regex-redux  #7 0.15  500,000 12,584 2458 0.23 53% 33% 64% 47%
regex-redux  #7 0.77  5,000,000 147,384 2458 1.98 55% 59% 55% 91%
source secs N mem gz cpu cpu load
regex-redux  #4 0.16  50,000 1,152 765 0.04 6% 44% 19% 24%
regex-redux  #4 0.22  500,000 22,952 765 0.23 29% 0% 57% 27%
regex-redux  #4 1.45  5,000,000 202,192 765 1.88 19% 0% 82% 30%
source secs N mem gz cpu cpu load
regex-redux  #6 0.17  50,000 388 986 0.04 0% 24% 44% 29%
regex-redux  #6 0.22  500,000 18,316 986 0.22 14% 9% 48% 55%
regex-redux  #6 1.37  5,000,000 153,488 986 1.80 10% 84% 29% 14%
source secs N mem gz cpu cpu load
regex-redux  #3 0.16  50,000 8 719 0.04 50% 29% 0% 19%
regex-redux  #3 0.24  500,000 29,768 719 0.23 9% 5% 57% 50%
regex-redux  #3 1.46  5,000,000 200,908 719 1.89 30% 9% 10% 82%
source secs N mem gz cpu cpu load
regex-redux  #5 0.18  50,000 8 771 0.04 0% 6% 33% 61%
regex-redux  #5 0.22  500,000 26,144 771 0.23 57% 59% 9% 0%
regex-redux  #5 1.41  5,000,000 199,824 771 1.83 47% 83% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  0.17  50,000 1,148 804 0.03 63% 11% 18% 6%
regex-redux  0.23  500,000 22,964 804 0.22 59% 5% 43% 5%
regex-redux  1.50  5,000,000 152,696 804 1.88 84% 8% 9% 25%
source secs N mem gz cpu cpu load
regex-redux  #2 0.16  50,000 8 701 0.04 19% 19% 24% 63%
regex-redux  #2 0.22  500,000 22,940 701 0.22 21% 59% 41% 17%
regex-redux  #2 1.51  5,000,000 152,812 701 1.91 10% 9% 9% 100%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.17  250,000 8 1330 0.02 21% 21% 0% 67%
reverse-complement  #2 0.77  100,000,000 995,072 1330 1.41 47% 30% 49% 59%
source secs N mem gz cpu cpu load
reverse-complement  0.18  250,000 384 3040 0.02 11% 50% 18% 16%
reverse-complement  0.45  100,000,000 498,880 3040 0.75 61% 23% 60% 24%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.17  250,000 8 1097 0.02 24% 41% 0% 13%
reverse-complement  #3 0.77  100,000,000 994,996 1097 1.43 51% 61% 29% 52%
source secs N mem gz cpu cpu load
spectral-norm  0.14  500 8 1254 0.04 13% 14% 47% 69%
spectral-norm  0.23  3,000 944 1254 0.86 96% 96% 95% 96%
spectral-norm  0.73  5,500 2,268 1254 2.87 100% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.14  500 8 1055 0.04 29% 29% 7% 67%
spectral-norm  #5 0.22  3,000 1,196 1055 0.86 96% 95% 100% 100%
spectral-norm  #5 0.72  5,500 2,504 1055 2.86 100% 100% 99% 100%
source secs N mem gz cpu cpu load
spectral-norm  #7 0.13  500 8 932 0.04 15% 38% 8% 33%
spectral-norm  #7 0.22  3,000 1,136 932 0.85 96% 100% 95% 100%
spectral-norm  #7 0.72  5,500 2,660 932 2.84 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.11  500 8 817 0.03 55% 17% 18% 36%
spectral-norm  #4 0.22  3,000 1,200 817 0.86 100% 95% 96% 96%
spectral-norm  #4 0.71  5,500 2,660 817 2.84 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.12  500 8 1053 0.04 36% 15% 9% 42%
spectral-norm  #3 0.24  3,000 888 1053 0.91 100% 96% 100% 96%
spectral-norm  #3 0.76  5,500 2,260 1053 3.01 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #6 0.13  500 8 1126 0.04 29% 43% 14% 27%
spectral-norm  #6 0.22  3,000 1,192 1126 0.86 100% 100% 100% 96%
spectral-norm  #6 0.72  5,500 2,668 1126 2.86 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.17  500 8 1110 0.04 35% 24% 11% 50%
spectral-norm  #2 0.23  3,000 884 1110 0.86 96% 96% 100% 96%
spectral-norm  #2 0.73  5,500 2,160 1110 2.87 99% 99% 99% 99%