The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.31.0 (abe02cefd 2018-12-04)
LLVM version 7.0.0

source secs N mem gz cpu cpu load
binary-trees  0.23  7 ? 751 ? 4% 61% 52% 0%
binary-trees  0.05  14 ? 751 0.12 50% 40% 80% 67%
binary-trees  6.86  21 133,512 751 23.53 80% 78% 90% 99%
source secs N mem gz cpu cpu load
binary-trees  #2 0.19  7 ? 721 ? 5% 100% 0% 0%
binary-trees  #2 0.03  14 ? 721 0.08 100% 100% 75% 67%
binary-trees  #2 4.11  21 175,320 721 15.08 100% 90% 90% 90%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.26  10 ? 1020 0.24 23% 58% 64% 20%
fannkuch-redux  #3 0.74  11 1,672 1020 2.79 96% 95% 100% 89%
fannkuch-redux  #3 10.01  12 1,864 1020 39.03 100% 92% 99% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.28  10 ? 1020 0.24 21% 61% 74% 21%
fannkuch-redux  #4 0.73  11 1,632 1020 2.78 95% 97% 96% 99%
fannkuch-redux  #4 10.01  12 1,828 1020 39.03 99% 100% 100% 92%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.26  10 ? 1191 0.29 67% 27% 28% 44%
fannkuch-redux  #2 0.87  11 1,572 1191 3.38 100% 98% 99% 94%
fannkuch-redux  #2 11.80  12 2,024 1191 46.07 94% 98% 100% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.29  250,000 ? 1906 ? 7% 100% 31% 7%
fasta  #2 0.17  2,500,000 ? 1906 0.55 83% 94% 83% 88%
fasta  #2 1.47  25,000,000 3,032 1906 4.97 83% 84% 83% 90%
source secs N mem gz cpu cpu load
fasta  0.48  250,000 ? 1237 ? 0% 62% 39% 9%
fasta  1.72  2,500,000 1,616 1237 1.72 3% 1% 1% 99%
fasta  6.58  25,000,000 1,808 1237 6.57 1% 100% 0% 0%
source secs N mem gz cpu cpu load
fasta  #5 0.38  250,000 ? 1961 ? 34% 8% 16% 47%
fasta  #5 0.17  2,500,000 ? 1961 0.52 82% 88% 71% 78%
fasta  #5 1.47  25,000,000 2,984 1961 4.56 83% 77% 77% 76%
source secs N mem gz cpu cpu load
fasta  #3 0.35  250,000 ? 1233 ? 0% 57% 71% 3%
fasta  #3 0.40  2,500,000 1,156 1233 0.39 3% 3% 0% 100%
fasta  #3 3.43  25,000,000 2,828 1233 3.43 100% 0% 1% 0%
source secs N mem gz cpu cpu load
fasta  #4 0.33  250,000 ? 939 ? 31% 16% 3% 41%
fasta  #4 0.75  2,500,000 7,704 939 0.75 3% 3% 100% 0%
fasta  #4 6.98  25,000,000 124,432 939 6.98 100% 0% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #9 0.36  250,000 8 1841 0.23 17% 11% 22% 68%
k-nucleotide  #9 1.25  2,500,000 25,612 1841 2.18 58% 73% 35% 28%
k-nucleotide  #9 5.63  25,000,000 135,824 1841 16.99 91% 49% 76% 89%
k-nucleotide  #8 Make Error  250,000
source secs N mem gz cpu cpu load
k-nucleotide  0.74  250,000 32,664 1078 1.23 54% 72% 55% 30%
k-nucleotide  4.26  2,500,000 42,656 1078 11.58 63% 77% 54% 85%
k-nucleotide  39.58  25,000,000 152,808 1078 115.63 72% 87% 62% 72%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.47  250,000 ? 1671 ? 15% 72% 45% 13%
k-nucleotide  #6 0.92  2,500,000 27,800 1671 1.88 57% 36% 55% 62%
k-nucleotide  #6 5.74  25,000,000 137,980 1671 17.75 84% 84% 54% 89%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.42  250,000 8 1749 0.23 10% 61% 68% 19%
k-nucleotide  #4 1.22  2,500,000 28,136 1749 2.43 35% 99% 67% 27%
k-nucleotide  #4 5.41  25,000,000 137,908 1749 17.41 77% 89% 57% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.43  250,000 8 1739 0.30 12% 62% 55% 30%
k-nucleotide  #5 1.34  2,500,000 27,408 1739 2.48 67% 20% 68% 69%
k-nucleotide  #5 10.28  25,000,000 137,464 1739 25.71 35% 88% 34% 94%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.64  250,000 8 1347 0.60 32% 62% 39% 31%
k-nucleotide  #2 2.11  2,500,000 27,752 1347 4.96 41% 45% 75% 80%
k-nucleotide  #2 17.87  25,000,000 137,920 1347 48.98 57% 49% 83% 85%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.58  250,000 ? 1648 ? 9% 81% 78% 12%
k-nucleotide  #7 0.93  2,500,000 27,792 1648 1.88 47% 36% 54% 70%
k-nucleotide  #7 5.77  25,000,000 137,812 1648 17.74 84% 73% 82% 70%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.64  250,000 ? 1661 ? 17% 83% 73% 8%
k-nucleotide  #3 1.33  2,500,000 27,408 1661 2.53 85% 68% 19% 32%
k-nucleotide  #3 9.98  25,000,000 137,448 1661 24.82 29% 61% 69% 90%
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #6 0.26  1,000 ? 1332 ? 7% 67% 52% 4%
mandelbrot  #6 0.13  4,000 ? 1332 0.44 92% 83% 92% 92%
mandelbrot  #6 1.75  16,000 33,800 1332 6.86 98% 98% 100% 98%
source secs N mem gz cpu cpu load
mandelbrot  0.29  1,000 ? 868 ? 7% 62% 62% 7%
mandelbrot  0.28  4,000 1,648 868 1.05 96% 93% 96% 93%
mandelbrot  4.07  16,000 40,412 868 16.02 100% 97% 98% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.26  1,000 ? 1007 ? 4% 58% 62% 4%
mandelbrot  #3 0.14  4,000 ? 1007 0.54 100% 100% 100% 93%
mandelbrot  #3 1.98  16,000 13,568 1007 7.87 100% 99% 99% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.50  500,000 ? 1540 ? 24% 40% 69% 0%
n-body  #3 2.03  5,000,000 1,680 1540 2.02 6% 2% 2% 100%
n-body  #3 20.20  50,000,000 1,812 1540 20.20 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.49  500,000 ? 1803 ? 15% 78% 29% 2%
n-body  #4 1.86  5,000,000 1,584 1803 1.85 6% 0% 1% 100%
n-body  #4 18.48  50,000,000 1,816 1803 18.47 0% 0% 1% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.54  500,000 ? 1805 ? 38% 43% 80% 2%
n-body  #2 1.33  5,000,000 1,648 1805 1.33 99% 0% 3% 0%
n-body  #2 13.27  50,000,000 1,796 1805 13.26 0% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  0.38  500,000 ? 1480 ? 3% 39% 72% 0%
n-body  1.35  5,000,000 1,604 1480 1.35 1% 1% 2% 100%
n-body  13.47  50,000,000 1,832 1480 13.47 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #6 0.43  500,000 ? 1790 ? 0% 34% 74% 2%
n-body  #6 2.08  5,000,000 1,612 1790 2.08 5% 1% 2% 100%
n-body  #6 20.33  50,000,000 1,824 1790 20.33 0% 0% 1% 100%
source secs N mem gz cpu cpu load
n-body  #5 0.48  500,000 ? 2220 ? 45% 8% 2% 53%
n-body  #5 2.01  5,000,000 1,628 2220 2.01 0% 2% 100% 1%
n-body  #5 20.09  50,000,000 1,804 2220 20.09 0% 100% 1% 0%
source secs N mem gz cpu cpu load
pidigits  0.44  27 ? 1420 ? 5% 0% 55% 44%
pidigits  0.07  2,000 ? 1420 0.06 0% 100% 0% 14%
pidigits  0.60  6,000 3,140 1420 0.60 5% 3% 3% 100%
pidigits  1.75  10,000 4,416 1420 1.74 1% 2% 100% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.23  27 ? 1306 ? 43% 61% 0% 0%
pidigits  #2 0.07  2,000 ? 1306 0.06 0% 0% 0% 88%
pidigits  #2 0.60  6,000 3,284 1306 0.60 0% 3% 5% 98%
pidigits  #2 1.75  10,000 4,412 1306 1.74 1% 0% 3% 100%
source secs N mem gz cpu cpu load
pidigits  #3 0.39  27 ? 1366 ? 100% 45% 0% 11%
pidigits  #3 0.07  2,000 ? 1366 0.07 0% 0% 100% 0%
pidigits  #3 0.60  6,000 3,236 1366 0.59 18% 3% 0% 98%
pidigits  #3 1.74  10,000 4,420 1366 1.74 2% 0% 1% 99%
source secs N mem gz cpu cpu load
regex-redux  #2 0.30  50,000 ? 701 ? 10% 52% 58% 3%
regex-redux  #2 0.37  500,000 1,900 701 0.40 11% 14% 19% 81%
regex-redux  #2 2.65  5,000,000 198,860 701 3.86 16% 18% 31% 85%
source secs N mem gz cpu cpu load
regex-redux  #3 0.32  50,000 ? 719 ? 6% 16% 91% 9%
regex-redux  #3 0.37  500,000 1,960 719 0.40 54% 62% 19% 16%
regex-redux  #3 2.50  5,000,000 248,016 719 3.87 18% 19% 99% 20%
source secs N mem gz cpu cpu load
regex-redux  0.30  50,000 ? 804 ? 0% 25% 90% 6%
regex-redux  0.38  500,000 1,144 804 0.40 13% 16% 61% 32%
regex-redux  2.58  5,000,000 149,628 804 3.82 16% 87% 17% 28%
source secs N mem gz cpu cpu load
regex-redux  #4 0.30  50,000 ? 765 ? 0% 54% 54% 10%
regex-redux  #4 0.35  500,000 1,860 765 0.40 44% 25% 41% 44%
regex-redux  #4 2.44  5,000,000 205,624 765 3.86 11% 91% 0% 59%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.31  250,000 ? 1382 ? 0% 64% 48% 0%
reverse-complement  #3 2.28  100,000,000 995,156 1382 3.40 97% 17% 21% 17%
source secs N mem gz cpu cpu load
reverse-complement  0.38  250,000 ? 1871 ? 3% 95% 11% 0%
reverse-complement  3.32  100,000,000 1,006,100 1871 4.15 78% 0% 32% 16%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.37  250,000 ? 1376 ? 3% 95% 19% 0%
reverse-complement  #2 1.61  100,000,000 995,072 1376 2.71 24% 31% 95% 24%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.26  500 ? 817 ? 8% 38% 69% 8%
spectral-norm  #4 0.61  3,000 2,636 817 2.37 100% 98% 98% 100%
spectral-norm  #4 2.00  5,500 2,652 817 7.92 99% 99% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.33  500 ? 1053 ? 9% 19% 91% 9%
spectral-norm  #3 0.72  3,000 2,740 1053 2.63 92% 92% 92% 93%
spectral-norm  #3 2.30  5,500 2,800 1053 8.79 96% 96% 96% 96%
source secs N mem gz cpu cpu load
spectral-norm  #6 0.32  500 ? 1126 ? 25% 72% 52% 6%
spectral-norm  #6 0.60  3,000 2,420 1126 2.35 98% 98% 98% 100%
spectral-norm  #6 1.98  5,500 2,460 1126 7.87 100% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.34  500 ? 1110 ? 20% 24% 97% 14%
spectral-norm  #2 1.35  3,000 2,780 1110 4.96 93% 92% 93% 92%
spectral-norm  #2 4.28  5,500 2,800 1110 16.57 97% 97% 98% 97%
source secs N mem gz cpu cpu load
spectral-norm  0.34  500 ? 1254 ? 14% 6% 91% 9%
spectral-norm  1.40  3,000 2,780 1254 4.97 90% 90% 89% 91%
spectral-norm  4.27  5,500 2,760 1254 16.56 97% 98% 97% 98%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.31  500 ? 1055 ? 13% 18% 97% 6%
spectral-norm  #5 0.60  3,000 2,512 1055 2.37 100% 100% 100% 100%
spectral-norm  #5 2.00  5,500 2,512 1055 7.92 100% 100% 100% 99%