The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.21.0 (3b72af97e 2017-10-09)

source secs N mem gz cpu cpu load
binary-trees   7 ? 751 0.00
binary-trees  0.05  14 ? 751 0.11 50% 60% 80% 75%
binary-trees  6.11  21 130,500 751 20.89 81% 78% 99% 86%
source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 721 0.01
binary-trees  #2 0.03  14 ? 721 0.08 75% 67% 67% 67%
binary-trees  #2 3.95  21 171,796 721 14.30 89% 90% 88% 97%
source secs N mem gz cpu cpu load
chameneos-redux  1.10  60,000 1,940 1455 1.98 27% 73% 39% 35%
chameneos-redux  9.12  600,000 2,016 1455 18.29 67% 33% 27% 71%
chameneos-redux  92.43  6,000,000 1,944 1455 191.18 48% 58% 56% 46%
source secs N mem gz cpu cpu load
chameneos-redux  #2  60,000 ? 2890 0.02
chameneos-redux  #2 0.13  600,000 ? 2890 0.44 85% 92% 86% 82%
chameneos-redux  #2 2.01  6,000,000 2,164 2890 7.86 98% 99% 99% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.08  10 ? 1020 0.26 100% 88% 100% 71%
fannkuch-redux  #3 0.82  11 1,712 1020 3.15 98% 91% 100% 99%
fannkuch-redux  #3 11.04  12 1,768 1020 43.14 96% 99% 98% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.09  10 ? 1191 0.31 89% 100% 90% 89%
fannkuch-redux  #2 0.96  11 1,696 1191 3.74 99% 96% 99% 99%
fannkuch-redux  #2 12.82  12 1,896 1191 50.05 100% 95% 99% 98%
source secs N mem gz cpu cpu load
fasta  #2 0.03  250,000 ? 1906 0.07 67% 67% 50% 25%
fasta  #2 0.17  2,500,000 ? 1906 0.52 74% 76% 83% 67%
fasta  #2 1.48  25,000,000 2,980 1906 4.59 76% 78% 78% 83%
source secs N mem gz cpu cpu load
fasta  0.15  250,000 ? 1237 0.15 100% 0% 0% 0%
fasta  1.43  2,500,000 1,656 1237 1.43 100% 1% 0% 4%
fasta  5.07  25,000,000 1,684 1237 5.07 1% 1% 100% 1%
source secs N mem gz cpu cpu load
fasta  #3 0.04  250,000 ? 1233 0.04 100% 0% 0% 0%
fasta  #3 0.40  2,500,000 2,020 1233 0.40 100% 0% 0% 10%
fasta  #3 3.57  25,000,000 2,772 1233 3.56 3% 1% 100% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.54  250,000 29,000 1078 1.31 67% 47% 94% 35%
k-nucleotide  4.51  2,500,000 45,508 1078 12.42 78% 53% 99% 48%
k-nucleotide  44.80  25,000,000 152,612 1078 122.10 68% 78% 47% 81%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.08  250,000 ? 1668 0.21 71% 83% 29% 75%
k-nucleotide  #6 0.95  2,500,000 27,924 1668 2.42 29% 91% 100% 40%
k-nucleotide  #6 5.21  25,000,000 137,660 1668 15.81 70% 69% 83% 83%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.08  250,000 ? 1748 0.20 38% 50% 100% 63%
k-nucleotide  #4 0.65  2,500,000 27,740 1748 1.81 89% 44% 83% 66%
k-nucleotide  #4 4.98  25,000,000 137,872 1748 15.58 72% 88% 57% 98%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.17  250,000 ? 1739 0.29 59% 13% 63% 58%
k-nucleotide  #5 1.36  2,500,000 27,372 1739 2.55 76% 21% 71% 29%
k-nucleotide  #5 9.39  25,000,000 140,080 1739 23.88 94% 33% 93% 38%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.21  250,000 1,676 1347 0.52 36% 85% 33% 95%
k-nucleotide  #2 1.81  2,500,000 27,916 1347 4.93 88% 52% 86% 49%
k-nucleotide  #2 17.17  25,000,000 139,712 1347 47.53 87% 63% 88% 39%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.09  250,000 ? 1647 0.22 50% 100% 67% 89%
k-nucleotide  #7 0.85  2,500,000 27,956 1647 1.93 82% 66% 70% 51%
k-nucleotide  #7 5.30  25,000,000 137,912 1647 15.90 84% 76% 83% 68%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.16  250,000 ? 1661 0.35 88% 25% 25% 80%
k-nucleotide  #3 1.03  2,500,000 27,444 1661 2.52 32% 33% 88% 91%
k-nucleotide  #3 9.67  25,000,000 137,372 1661 24.18 35% 100% 25% 90%
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #6 0.01  1,000 ? 1332 0.04 0% 50% 100% 100%
mandelbrot  #6 0.15  4,000 ? 1332 0.52 93% 80% 100% 86%
mandelbrot  #6 2.02  16,000 34,644 1332 8.00 99% 99% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.04  1,000 ? 868 0.10 33% 67% 67% 67%
mandelbrot  0.39  4,000 1,736 868 1.39 89% 85% 85% 98%
mandelbrot  5.39  16,000 40,400 868 21.36 99% 100% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.06 67% 67% 67% 100%
mandelbrot  #3 0.15  4,000 ? 1007 0.58 93% 94% 100% 93%
mandelbrot  #3 2.10  16,000 13,736 1007 8.38 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.06  2,098 ? 2238 0.13 60% 83% 71% 50%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.03  2,098 ? 3848 0.09 67% 50% 75% 75%
source secs N mem gz cpu cpu load
n-body  #3 0.16  500,000 ? 1540 0.15 0% 100% 0% 0%
n-body  #3 1.49  5,000,000 1,756 1540 1.49 0% 99% 1% 1%
n-body  #3 14.91  50,000,000 1,724 1540 14.90 0% 0% 100% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.18  500,000 ? 1803 0.18 0% 100% 0% 0%
n-body  #4 1.80  5,000,000 1,692 1803 1.79 1% 0% 0% 99%
n-body  #4 17.88  50,000,000 1,740 1803 17.88 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.18  500,000 ? 1805 0.17 0% 94% 0% 6%
n-body  #2 1.71  5,000,000 1,572 1805 1.70 1% 100% 1% 1%
n-body  #2 17.02  50,000,000 1,756 1805 17.02 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  0.14  500,000 ? 1480 0.14 0% 0% 100% 0%
n-body  1.36  5,000,000 1,624 1480 1.36 100% 0% 1% 1%
n-body  13.57  50,000,000 1,728 1480 13.56 0% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.07 0% 88% 0% 0%
pidigits  0.60  6,000 3,256 1420 0.60 0% 100% 7% 0%
pidigits  1.74  10,000 4,448 1420 1.74 99% 1% 0% 2%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.06 0% 0% 100% 0%
pidigits  #2 0.60  6,000 3,340 1306 0.60 0% 2% 98% 0%
pidigits  #2 1.75  10,000 4,460 1306 1.74 100% 0% 1% 2%
source secs N mem gz cpu cpu load
pidigits  #3 0.07  2,000 ? 1366 0.07 100% 0% 0% 0%
pidigits  #3 0.60  6,000 3,368 1366 0.60 100% 0% 0% 5%
pidigits  #3 1.74  10,000 4,420 1366 1.74 100% 1% 0% 1%
source secs N mem gz cpu cpu load
regex-redux  #2 0.06  50,000 ? 701 0.06 0% 14% 17% 86%
regex-redux  #2 0.40  500,000 1,784 701 0.45 15% 98% 17% 13%
regex-redux  #2 3.04  5,000,000 192,956 701 4.39 86% 15% 15% 31%
source secs N mem gz cpu cpu load
regex-redux  0.05  50,000 ? 804 0.06 60% 33% 0% 0%
regex-redux  0.31  500,000 1,092 804 0.45 13% 100% 19% 16%
regex-redux  3.00  5,000,000 196,176 804 4.38 85% 16% 30% 16%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.07  250,000 ? 1382 ? 29% 13% 0% 0%
reverse-complement  #3 0.43  2,500,000 ? 1382 ? 33% 5% 2% 7%
reverse-complement  #3 0.55  25,000,000 250,760 1382 0.83 18% 22% 95% 19%
source secs N mem gz cpu cpu load
reverse-complement  0.07  250,000 ? 1871 ? 0% 0% 100% 0%
reverse-complement  0.48  2,500,000 ? 1871 ? 4% 49% 4% 48%
reverse-complement  0.80  25,000,000 250,736 1871 1.06 76% 21% 13% 24%
source secs N mem gz cpu cpu load
reverse-complement  #2  250,000 ? 1376 0.02
reverse-complement  #2 0.08  2,500,000 ? 1376 0.10 14% 100% 25% 14%
reverse-complement  #2 0.36  25,000,000 250,724 1376 0.65 26% 95% 35% 27%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.09 100% 75% 67% 67%
spectral-norm  #4 0.70  3,000 2,552 817 2.76 100% 97% 100% 99%
spectral-norm  #4 2.32  5,500 2,568 817 9.23 100% 100% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1053 0.10 50% 50% 60% 75%
spectral-norm  #3 0.84  3,000 2,780 1053 2.80 84% 80% 80% 89%
spectral-norm  #3 2.37  5,500 2,836 1053 9.23 99% 97% 97% 97%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1110 0.15 71% 57% 50% 40%
spectral-norm  #2 1.34  3,000 2,808 1110 4.73 90% 90% 83% 90%
spectral-norm  #2 4.02  5,500 2,816 1110 15.72 98% 98% 99% 97%
source secs N mem gz cpu cpu load
spectral-norm  0.07  500 ? 1254 0.16 63% 75% 57% 50%
spectral-norm  1.57  3,000 2,720 1254 4.75 79% 78% 67% 78%
spectral-norm  3.99  5,500 2,820 1254 15.72 99% 98% 99% 99%
source secs N mem gz cpu cpu load
thread-ring  2.69  500,000 6,888 473 3.52 64% 2% 2% 63%
thread-ring  26.21  5,000,000 6,848 473 34.22 32% 30% 30% 31%
thread-ring  263.82  50,000,000 6,912 473 343.08 38% 22% 22% 39%
source secs N mem gz cpu cpu load
thread-ring  #2 1.26  500,000 6,908 940 3.25 65% 62% 64% 64%
thread-ring  #2 12.39  5,000,000 6,948 940 28.20 72% 39% 39% 72%
thread-ring  #2 116.49  50,000,000 6,988 940 235.20 75% 26% 26% 75%