The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.30.0 (da5f414c2 2018-10-24)
LLVM version 7.0.0

source secs N mem gz cpu cpu load
binary-trees  0.02  7 ? 751 ? 0% 0% 50% 67%
binary-trees  0.06  14 ? 751 0.13 80% 80% 40% 80%
binary-trees  6.89  21 133,472 751 23.74 89% 91% 90% 78%
source secs N mem gz cpu cpu load
binary-trees  #2 0.01  7 ? 721 0.00 0% 0% 0% 0%
binary-trees  #2 0.03  14 ? 721 0.08 100% 67% 67% 67%
binary-trees  #2 4.14  21 175,692 721 15.18 90% 90% 91% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.07  10 ? 1020 0.23 100% 83% 86% 100%
fannkuch-redux  #3 0.74  11 1,804 1020 2.77 96% 99% 89% 95%
fannkuch-redux  #3 9.92  12 1,812 1020 38.67 99% 92% 99% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.06  10 ? 1020 0.23 86% 100% 100% 86%
fannkuch-redux  #4 0.72  11 1,780 1020 2.78 97% 99% 99% 93%
fannkuch-redux  #4 9.87  12 1,848 1020 38.71 100% 95% 100% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.08  10 ? 1191 0.29 88% 86% 100% 100%
fannkuch-redux  #2 0.88  11 1,708 1191 3.41 98% 100% 99% 96%
fannkuch-redux  #2 11.90  12 2,012 1191 46.58 100% 95% 99% 98%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1906 0.08 75% 33% 67% 67%
fasta  #2 0.17  2,500,000 ? 1906 0.55 81% 88% 82% 82%
fasta  #2 1.46  25,000,000 3,112 1906 4.95 84% 83% 84% 89%
source secs N mem gz cpu cpu load
fasta  0.18  250,000 ? 1237 0.17 0% 6% 94% 0%
fasta  1.73  2,500,000 1,688 1237 1.72 99% 2% 0% 3%
fasta  6.56  25,000,000 1,784 1237 6.56 81% 19% 1% 1%
source secs N mem gz cpu cpu load
fasta  #5 0.03  250,000 ? 1961 0.07 67% 60% 75% 67%
fasta  #5 0.18  2,500,000 ? 1961 0.53 82% 71% 76% 76%
fasta  #5 1.47  25,000,000 3,116 1961 4.54 77% 77% 76% 82%
source secs N mem gz cpu cpu load
fasta  #3 0.04  250,000 ? 1233 0.04 0% 100% 0% 0%
fasta  #3 0.39  2,500,000 1,212 1233 0.39 0% 100% 5% 3%
fasta  #3 3.42  25,000,000 2,852 1233 3.42 100% 1% 1% 0%
source secs N mem gz cpu cpu load
fasta  #4 0.08  250,000 ? 939 0.08 0% 100% 0% 0%
fasta  #4 0.75  2,500,000 7,440 939 0.75 99% 1% 3% 3%
fasta  #4 6.98  25,000,000 124,404 939 6.98 0% 100% 0% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #8 0.11  250,000 ? 1900 0.27 45% 30% 90% 90%
k-nucleotide  #8 0.61  2,500,000 25,816 1900 1.75 51% 85% 89% 66%
k-nucleotide  #8 7.15  25,000,000 135,724 1900 19.98 63% 87% 63% 68%
source secs N mem gz cpu cpu load
k-nucleotide  0.48  250,000 32,528 1078 1.28 40% 50% 86% 92%
k-nucleotide  4.07  2,500,000 42,796 1078 11.48 89% 54% 52% 89%
k-nucleotide  39.14  25,000,000 152,848 1078 114.23 88% 63% 55% 89%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.14  250,000 ? 1671 0.23 50% 79% 29% 50%
k-nucleotide  #6 0.91  2,500,000 27,664 1671 1.85 79% 56% 49% 57%
k-nucleotide  #6 6.25  25,000,000 137,712 1671 18.66 67% 83% 51% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.11  250,000 ? 1749 0.29 91% 91% 36% 36%
k-nucleotide  #4 0.93  2,500,000 27,772 1749 2.47 41% 45% 91% 92%
k-nucleotide  #4 7.55  25,000,000 137,724 1749 21.54 77% 49% 92% 70%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.16  250,000 ? 1739 0.36 94% 94% 19% 27%
k-nucleotide  #5 1.30  2,500,000 27,400 1739 3.07 47% 34% 79% 79%
k-nucleotide  #5 9.56  25,000,000 137,424 1739 24.33 26% 94% 100% 36%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.25  250,000 1,688 1347 0.60 84% 92% 40% 31%
k-nucleotide  #2 1.91  2,500,000 27,888 1347 5.14 61% 84% 65% 61%
k-nucleotide  #2 18.29  25,000,000 137,904 1347 49.29 95% 49% 41% 86%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.09  250,000 ? 1648 0.23 82% 40% 78% 75%
k-nucleotide  #7 0.62  2,500,000 28,040 1648 1.86 87% 84% 82% 56%
k-nucleotide  #7 5.98  25,000,000 137,956 1648 18.00 78% 49% 90% 85%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.13  250,000 ? 1661 0.30 83% 33% 87% 23%
k-nucleotide  #3 1.02  2,500,000 27,532 1661 2.51 90% 25% 34% 98%
k-nucleotide  #3 9.96  25,000,000 137,464 1661 24.78 25% 91% 44% 90%
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #6 0.01  1,000 ? 1332 0.04 50% 100% 100% 0%
mandelbrot  #6 0.13  4,000 ? 1332 0.45 85% 85% 85% 93%
mandelbrot  #6 1.74  16,000 33,712 1332 6.86 98% 100% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  0.03  1,000 ? 868 0.08 67% 50% 67% 67%
mandelbrot  0.29  4,000 1,776 868 1.05 93% 90% 96% 89%
mandelbrot  4.06  16,000 40,492 868 16.03 98% 99% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.04 100% 100% 50% 100%
mandelbrot  #3 0.14  4,000 ? 1007 0.53 100% 93% 93% 100%
mandelbrot  #3 1.94  16,000 13,912 1007 7.72 99% 100% 99% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 1,736 1540 0.21 0% 9% 91% 0%
n-body  #3 2.03  5,000,000 1,720 1540 2.03 100% 0% 1% 1%
n-body  #3 20.20  50,000,000 1,796 1540 20.19 0% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  #4 0.19  500,000 ? 1803 0.19 0% 0% 0% 95%
n-body  #4 1.84  5,000,000 1,688 1803 1.83 100% 2% 19% 2%
n-body  #4 18.31  50,000,000 1,740 1803 18.30 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.14  500,000 ? 1805 0.14 0% 0% 0% 100%
n-body  #2 1.33  5,000,000 1,772 1805 1.33 1% 1% 2% 100%
n-body  #2 13.25  50,000,000 1,808 1805 13.25 0% 0% 1% 100%
source secs N mem gz cpu cpu load
n-body  0.14  500,000 ? 1480 0.14 7% 0% 100% 0%
n-body  1.35  5,000,000 1,788 1480 1.35 99% 1% 3% 1%
n-body  13.47  50,000,000 1,780 1480 13.47 0% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  #6 0.22  500,000 836 1790 0.22 5% 0% 100% 0%
n-body  #6 2.09  5,000,000 1,728 1790 2.08 1% 0% 1% 100%
n-body  #6 20.59  50,000,000 1,804 1790 20.58 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.22  500,000 900 2220 0.21 95% 0% 9% 0%
n-body  #5 2.03  5,000,000 1,788 2220 2.02 1% 0% 0% 100%
n-body  #5 20.18  50,000,000 1,812 2220 20.17 0% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.06 0% 0% 86% 0%
pidigits  0.60  6,000 3,412 1420 0.60 100% 0% 3% 0%
pidigits  1.74  10,000 4,560 1420 1.74 0% 99% 1% 2%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.06 100% 0% 0% 0%
pidigits  #2 0.60  6,000 3,408 1306 0.60 3% 2% 0% 98%
pidigits  #2 1.74  10,000 4,544 1306 1.74 0% 1% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.06  2,000 ? 1366 0.06 25% 0% 100% 0%
pidigits  #3 0.60  6,000 3,408 1366 0.59 2% 0% 0% 100%
pidigits  #3 1.74  10,000 4,520 1366 1.74 1% 3% 0% 99%
source secs N mem gz cpu cpu load
regex-redux  #2 0.04  50,000 ? 701 0.05 25% 100% 25% 0%
regex-redux  #2 0.27  500,000 476 701 0.40 23% 12% 19% 96%
regex-redux  #2 2.62  5,000,000 151,644 701 3.85 16% 17% 62% 54%
source secs N mem gz cpu cpu load
regex-redux  #3 0.06  50,000 ? 719 0.05 0% 60% 50% 0%
regex-redux  #3 0.35  500,000 512 719 0.41 18% 57% 14% 43%
regex-redux  #3 2.51  5,000,000 226,608 719 3.87 84% 19% 35% 17%
source secs N mem gz cpu cpu load
regex-redux  0.04  50,000 ? 804 0.05 50% 67% 0% 25%
regex-redux  0.28  500,000 520 804 0.40 19% 15% 81% 30%
regex-redux  2.57  5,000,000 150,388 804 3.81 28% 87% 17% 19%
source secs N mem gz cpu cpu load
regex-redux  #4 0.04  50,000 ? 765 0.05 50% 33% 25% 75%
regex-redux  #4 0.26  500,000 472 765 0.41 44% 16% 63% 40%
regex-redux  #4 2.44  5,000,000 194,804 765 3.87 85% 41% 20% 16%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.06  250,000 ? 1382 ? 14% 100% 0% 33%
reverse-complement  #3 2.28  100,000,000 995,260 1382 3.41 17% 18% 17% 100%
source secs N mem gz cpu cpu load
reverse-complement  0.07  250,000 ? 1871 ? 0% 0% 0% 43%
reverse-complement  3.32  100,000,000 1,012,492 1871 4.14 0% 32% 20% 78%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.07  250,000 ? 1376 ? 67% 0% 0% 17%
reverse-complement  #2 1.60  100,000,000 995,212 1376 2.73 24% 25% 96% 30%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.09 67% 67% 100% 100%
spectral-norm  #4 0.60  3,000 2,592 817 2.36 98% 100% 98% 98%
spectral-norm  #4 1.99  5,500 2,596 817 7.91 100% 99% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1053 0.10 43% 50% 40% 60%
spectral-norm  #3 0.73  3,000 2,856 1053 2.63 92% 91% 92% 91%
spectral-norm  #3 2.32  5,500 2,884 1053 8.79 95% 94% 95% 95%
source secs N mem gz cpu cpu load
spectral-norm  #6 0.02  500 ? 1126 0.08 100% 100% 67% 100%
spectral-norm  #6 0.60  3,000 2,600 1126 2.35 100% 100% 98% 100%
spectral-norm  #6 1.97  5,500 2,600 1126 7.86 100% 100% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1110 0.17 56% 57% 67% 57%
spectral-norm  #2 1.31  3,000 2,792 1110 4.95 94% 95% 95% 95%
spectral-norm  #2 4.22  5,500 2,864 1110 16.53 98% 98% 98% 98%
source secs N mem gz cpu cpu load
spectral-norm  0.07  500 ? 1254 0.16 63% 63% 40% 63%
spectral-norm  1.35  3,000 2,920 1254 4.95 92% 91% 93% 92%
spectral-norm  4.22  5,500 2,924 1254 16.54 98% 98% 99% 98%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.03  500 ? 1055 0.08 50% 100% 100% 100%
spectral-norm  #5 0.60  3,000 2,512 1055 2.36 100% 100% 100% 98%
spectral-norm  #5 1.99  5,500 2,640 1055 7.92 99% 99% 99% 100%