The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.27.0 (3eda71b00 2018-06-19)

source secs N mem gz cpu cpu load
binary-trees   7 ? 751 0.01
binary-trees  0.05  14 ? 751 0.12 80% 60% 75% 50%
binary-trees  6.93  21 133,468 751 23.56 91% 88% 90% 74%
source secs N mem gz cpu cpu load
binary-trees  #2 0.02  7 ? 721 ? 0% 0% 0% 100%
binary-trees  #2 0.03  14 ? 721 0.08 67% 75% 100% 75%
binary-trees  #2 4.04  21 167,448 721 14.74 90% 99% 89% 89%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.07  10 ? 1020 0.24 86% 100% 100% 86%
fannkuch-redux  #3 0.74  11 1,692 1020 2.81 99% 99% 100% 89%
fannkuch-redux  #3 10.09  12 1,876 1020 39.42 100% 93% 100% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.08  10 ? 1191 0.29 100% 100% 88% 88%
fannkuch-redux  #2 0.90  11 1,752 1191 3.47 92% 98% 99% 100%
fannkuch-redux  #2 12.16  12 1,892 1191 47.72 94% 100% 99% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.03  250,000 ? 1906 0.08 60% 33% 67% 100%
fasta  #2 0.18  2,500,000 ? 1906 0.50 75% 72% 72% 68%
fasta  #2 1.48  25,000,000 3,072 1906 4.41 74% 73% 80% 74%
source secs N mem gz cpu cpu load
fasta  0.19  250,000 ? 1237 0.19 5% 0% 0% 95%
fasta  1.86  2,500,000 1,748 1237 1.86 100% 1% 1% 1%
fasta  7.70  25,000,000 1,808 1237 7.69 0% 100% 0% 1%
source secs N mem gz cpu cpu load
fasta  #5 0.03  250,000 ? 1961 0.07 67% 33% 67% 50%
fasta  #5 0.17  2,500,000 ? 1961 0.50 83% 76% 75% 75%
fasta  #5 1.47  25,000,000 3,008 1961 4.44 81% 76% 74% 74%
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1233 0.05 0% 0% 100% 0%
fasta  #3 0.43  2,500,000 2,872 1233 0.43 13% 100% 21% 18%
fasta  #3 3.79  25,000,000 2,956 1233 3.78 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.08  250,000 ? 939 0.08 13% 0% 0% 100%
fasta  #4 0.75  2,500,000 7,344 939 0.74 1% 4% 0% 100%
fasta  #4 6.97  25,000,000 124,400 939 6.97 0% 1% 100% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #8 0.11  250,000 ? 1900 0.25 27% 90% 80% 40%
k-nucleotide  #8 0.59  2,500,000 25,808 1900 1.61 76% 46% 83% 72%
k-nucleotide  #8 5.47  25,000,000 135,832 1900 15.21 46% 76% 74% 83%
source secs N mem gz cpu cpu load
k-nucleotide  0.46  250,000 32,536 1078 1.22 74% 54% 85% 53%
k-nucleotide  3.95  2,500,000 42,848 1078 11.44 88% 63% 87% 53%
k-nucleotide  38.65  25,000,000 159,608 1078 111.53 88% 61% 89% 52%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.11  250,000 ? 1671 0.27 36% 82% 83% 30%
k-nucleotide  #6 0.62  2,500,000 28,080 1671 1.75 47% 84% 73% 84%
k-nucleotide  #6 5.64  25,000,000 137,816 1671 16.56 64% 48% 84% 98%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.12  250,000 ? 1749 0.21 33% 55% 69% 58%
k-nucleotide  #4 1.05  2,500,000 27,892 1749 2.00 55% 38% 61% 44%
k-nucleotide  #4 5.32  25,000,000 138,012 1749 16.15 88% 98% 68% 52%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.16  250,000 ? 1739 0.36 88% 25% 19% 93%
k-nucleotide  #5 1.19  2,500,000 27,400 1739 2.84 50% 66% 92% 34%
k-nucleotide  #5 9.63  25,000,000 137,476 1739 24.35 93% 33% 93% 36%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.23  250,000 1,688 1347 0.57 42% 83% 95% 39%
k-nucleotide  #2 1.78  2,500,000 27,928 1347 4.78 85% 52% 82% 51%
k-nucleotide  #2 16.89  25,000,000 137,880 1347 46.88 100% 51% 85% 42%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.09  250,000 ? 1648 0.21 90% 38% 70% 22%
k-nucleotide  #7 0.75  2,500,000 28,040 1648 1.74 39% 87% 45% 66%
k-nucleotide  #7 5.59  25,000,000 138,028 1648 16.45 78% 85% 49% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.13  250,000 ? 1661 0.30 27% 92% 31% 92%
k-nucleotide  #3 1.03  2,500,000 27,648 1661 2.52 35% 24% 98% 90%
k-nucleotide  #3 10.52  25,000,000 137,460 1661 25.83 34% 81% 41% 91%
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #6 0.02  1,000 ? 1332 0.04 100% 100% 100% 0%
mandelbrot  #6 0.13  4,000 ? 1332 0.45 85% 85% 100% 86%
mandelbrot  #6 1.75  16,000 34,168 1332 6.86 98% 99% 98% 98%
source secs N mem gz cpu cpu load
mandelbrot  0.03  1,000 ? 868 0.08 50% 67% 67% 50%
mandelbrot  0.29  4,000 1,648 868 1.06 97% 93% 89% 100%
mandelbrot  4.14  16,000 40,576 868 16.26 98% 98% 99% 98%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.05 100% 100% 100% 50%
mandelbrot  #3 0.15  4,000 ? 1007 0.54 100% 100% 100% 100%
mandelbrot  #3 1.91  16,000 13,528 1007 7.60 100% 99% 99% 99%
source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 1,796 1540 0.21 0% 96% 0% 10%
n-body  #3 2.05  5,000,000 1,644 1540 2.05 1% 100% 0% 0%
n-body  #3 20.46  50,000,000 1,720 1540 20.45 1% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.19  500,000 ? 1803 0.19 11% 0% 0% 100%
n-body  #4 1.86  5,000,000 1,756 1803 1.86 1% 1% 1% 99%
n-body  #4 18.53  50,000,000 1,776 1803 18.53 1% 0% 100% 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.32  5,000,000 1,736 1805 1.32 0% 0% 100% 1%
n-body  #2 13.13  50,000,000 1,728 1805 13.12 1% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  0.14  500,000 ? 1480 0.14 93% 0% 0% 0%
n-body  1.35  5,000,000 1,652 1480 1.35 0% 0% 2% 100%
n-body  13.44  50,000,000 1,788 1480 13.43 1% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #5 0.22  500,000 1,104 2220 0.21 4% 5% 0% 95%
n-body  #5 2.03  5,000,000 1,736 2220 2.03 1% 1% 0% 100%
n-body  #5 20.24  50,000,000 1,800 2220 20.24 0% 1% 100% 0%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.07 0% 0% 0% 100%
pidigits  0.60  6,000 3,316 1420 0.60 3% 100% 3% 2%
pidigits  1.75  10,000 4,464 1420 1.74 1% 100% 3% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.07 100% 0% 0% 33%
pidigits  #2 0.60  6,000 3,504 1306 0.60 2% 2% 2% 100%
pidigits  #2 1.75  10,000 4,632 1306 1.74 1% 1% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.08  2,000 ? 1366 0.06 75% 11% 0% 14%
pidigits  #3 0.60  6,000 3,440 1366 0.59 2% 3% 100% 0%
pidigits  #3 1.74  10,000 4,592 1366 1.74 2% 1% 100% 2%
source secs N mem gz cpu cpu load
regex-redux  #2 0.04  50,000 ? 701 0.06 20% 60% 50% 20%
regex-redux  #2 0.29  500,000 636 701 0.41 21% 32% 18% 96%
regex-redux  #2 2.77  5,000,000 193,188 701 3.97 18% 16% 16% 96%
regex-redux  #3 Bad Output  50,000
source secs N mem gz cpu cpu load
regex-redux  0.05  50,000 ? 804 0.06 40% 0% 50% 17%
regex-redux  0.43  500,000 12,208 804 0.41 24% 49% 19% 57%
regex-redux  2.75  5,000,000 199,096 804 3.94 35% 20% 18% 88%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.07  250,000 ? 1382 ? 71% 44% 13% 0%
reverse-complement  #3 2.30  100,000,000 995,120 1382 3.43 17% 17% 18% 100%
source secs N mem gz cpu cpu load
reverse-complement  0.07  250,000 ? 1871 ? 14% 14% 0% 71%
reverse-complement  3.30  100,000,000 1,020,336 1871 4.13 16% 33% 1% 78%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.06  250,000 ? 1376 ? 60% 0% 0% 29%
reverse-complement  #2 1.62  100,000,000 995,240 1376 2.74 25% 25% 24% 99%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.08 100% 100% 67% 67%
spectral-norm  #4 0.69  3,000 2,608 817 2.71 100% 99% 99% 99%
spectral-norm  #4 2.30  5,500 2,576 817 9.16 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1053 0.10 60% 50% 33% 50%
spectral-norm  #3 0.75  3,000 2,728 1053 2.76 93% 93% 92% 93%
spectral-norm  #3 2.36  5,500 2,780 1053 9.25 98% 98% 98% 98%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1110 0.16 63% 67% 71% 57%
spectral-norm  #2 1.30  3,000 2,748 1110 4.71 91% 91% 91% 89%
spectral-norm  #2 4.02  5,500 2,820 1110 15.72 98% 98% 98% 98%
source secs N mem gz cpu cpu load
spectral-norm  0.07  500 ? 1254 0.16 75% 57% 57% 71%
spectral-norm  1.27  3,000 2,740 1254 4.71 93% 93% 94% 94%
spectral-norm  3.98  5,500 2,820 1254 15.71 99% 99% 99% 99%