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  #2  7 ? 717 0.01
binary-trees  #2 0.03  14 ? 717 0.08 100% 67% 80% 75%
binary-trees  #2 3.98  21 213,448 717 14.66 92% 90% 90% 100%
source secs N mem gz cpu cpu load
binary-trees   7 ? 746 0.00
binary-trees  0.05  14 ? 746 0.11 80% 75% 60% 60%
binary-trees  6.13  21 147,564 746 21.57 97% 92% 85% 80%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.02  60,000 ? 2882 0.03 50% 0% 67% 0%
chameneos-redux  #2 0.19  600,000 ? 2882 0.67 89% 94% 94% 90%
chameneos-redux  #2 1.97  6,000,000 54,936 2882 7.62 98% 97% 98% 97%
source secs N mem gz cpu cpu load
chameneos-redux  1.43  60,000 32,408 1450 2.36 19% 44% 51% 57%
chameneos-redux  10.13  600,000 36,500 1450 20.01 35% 65% 56% 40%
chameneos-redux  103.85  6,000,000 38,528 1450 189.18 58% 57% 16% 54%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.13  10 ? 1191 0.32 100% 69% 62% 80%
fannkuch-redux  #2 1.36  11 18,064 1191 3.82 87% 99% 88% 67%
fannkuch-redux  #2 12.70  12 20,016 1191 49.48 95% 100% 98% 98%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.08  10 ? 1020 0.26 88% 86% 88% 75%
fannkuch-redux  #3 0.83  11 17,984 1020 3.19 94% 99% 99% 98%
fannkuch-redux  #3 11.21  12 20,064 1020 43.78 100% 100% 95% 97%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1887 0.09 50% 60% 67% 33%
fasta  #2 0.18  2,500,000 ? 1887 0.52 76% 84% 72% 78%
fasta  #2 1.48  25,000,000 20,252 1887 4.60 83% 76% 76% 77%
source secs N mem gz cpu cpu load
fasta  #3 0.04  250,000 ? 1214 0.04 100% 0% 0% 0%
fasta  #3 0.40  2,500,000 1,868 1214 0.39 0% 100% 3% 0%
fasta  #3 3.52  25,000,000 5,988 1214 3.52 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  0.13  250,000 ? 1211 0.13 0% 0% 100% 0%
fasta  1.22  2,500,000 5,748 1211 1.22 100% 2% 2% 1%
fasta  5.10  25,000,000 5,796 1211 5.10 0% 0% 100% 4%
source secs N mem gz cpu cpu load
k-nucleotide  0.53  250,000 46,732 1072 1.29 96% 45% 68% 38%
k-nucleotide  4.39  2,500,000 63,152 1072 12.01 73% 71% 80% 51%
k-nucleotide  43.16  25,000,000 175,788 1072 118.98 79% 81% 50% 68%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.12  250,000 ? 1716 0.29 83% 46% 82% 25%
k-nucleotide  #5 0.92  2,500,000 38,140 1716 2.36 38% 29% 99% 94%
k-nucleotide  #5 8.90  25,000,000 152,956 1716 23.01 39% 28% 94% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.13  250,000 ? 1652 0.21 33% 50% 31% 91%
k-nucleotide  #6 0.91  2,500,000 40,396 1652 1.70 87% 54% 31% 54%
k-nucleotide  #6 5.55  25,000,000 155,136 1652 16.43 49% 79% 84% 86%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.23  250,000 1,016 1324 0.59 59% 78% 78% 39%
k-nucleotide  #2 1.78  2,500,000 50,276 1324 4.82 88% 90% 46% 52%
k-nucleotide  #2 16.43  25,000,000 160,920 1324 46.26 87% 56% 88% 53%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.12  250,000 ? 1641 0.28 30% 31% 85% 83%
k-nucleotide  #3 0.95  2,500,000 38,128 1641 2.39 40% 99% 28% 91%
k-nucleotide  #3 9.17  25,000,000 156,304 1641 23.28 92% 27% 91% 46%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.08  250,000 ? 1728 0.21 50% 63% 78% 88%
k-nucleotide  #4 0.92  2,500,000 42,436 1728 2.39 94% 31% 42% 99%
k-nucleotide  #4 5.20  25,000,000 155,200 1728 16.14 91% 54% 100% 71%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.12  250,000 ? 1627 0.21 31% 85% 57% 55%
k-nucleotide  #7 1.06  2,500,000 40,388 1627 2.01 97% 62% 41% 24%
k-nucleotide  #7 5.51  25,000,000 155,052 1627 16.32 45% 84% 86% 83%
source secs N mem gz cpu cpu load
mandelbrot  0.04  1,000 ? 868 0.11 80% 80% 60% 80%
mandelbrot  0.38  4,000 1,616 868 1.44 95% 95% 97% 97%
mandelbrot  5.53  16,000 79,420 868 21.78 98% 99% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.06 100% 67% 100% 100%
mandelbrot  #3 0.16  4,000 ? 1007 0.59 94% 94% 100% 94%
mandelbrot  #3 2.12  16,000 30,280 1007 8.40 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.02  1,000 ? 1332 0.05 67% 50% 0% 67%
mandelbrot  #6 0.15  4,000 ? 1332 0.52 93% 93% 93% 87%
mandelbrot  #6 2.03  16,000 44,720 1332 8.00 99% 100% 99% 99%
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
meteor-contest  0.06  2,098 ? 2224 0.15 60% 67% 67% 83%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.04  2,098 ? 3837 0.09 75% 75% 100% 33%
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.79  5,000,000 5,680 1803 1.78 1% 100% 2% 3%
n-body  #4 17.84  50,000,000 5,736 1803 17.83 1% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  0.15  500,000 ? 1474 0.14 0% 0% 0% 100%
n-body  1.36  5,000,000 5,732 1474 1.36 0% 100% 2% 0%
n-body  13.57  50,000,000 5,824 1474 13.56 1% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.18  500,000 ? 1799 0.18 0% 0% 0% 100%
n-body  #2 1.71  5,000,000 5,688 1799 1.70 100% 2% 1% 1%
n-body  #2 17.03  50,000,000 5,832 1799 17.02 0% 100% 0% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.16  500,000 ? 1540 0.16 0% 0% 100% 0%
n-body  #3 1.50  5,000,000 5,728 1540 1.49 99% 1% 1% 1%
n-body  #3 14.91  50,000,000 5,824 1540 14.90 1% 100% 0% 1%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.06 0% 89% 0% 0%
pidigits  0.60  6,000 5,756 1420 0.60 100% 0% 0% 2%
pidigits  1.74  10,000 7,892 1420 1.74 100% 1% 2% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.06 14% 0% 0% 100%
pidigits  #2 0.60  6,000 5,716 1306 0.60 5% 5% 3% 98%
pidigits  #2 1.74  10,000 7,876 1306 1.74 1% 100% 1% 1%
source secs N mem gz cpu cpu load
regex-redux  #2 0.06  50,000 ? 701 0.06 33% 57% 17% 50%
regex-redux  #2 0.43  500,000 44,828 701 0.46 14% 60% 49% 14%
regex-redux  #2 2.90  5,000,000 173,548 701 4.30 17% 86% 30% 17%
source secs N mem gz cpu cpu load
regex-redux  0.05  50,000 ? 804 0.07 20% 67% 20% 25%
regex-redux  0.31  500,000 668 804 0.46 20% 83% 17% 34%
regex-redux  2.81  5,000,000 211,044 804 4.30 19% 100% 18% 19%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.08  250,000 ? 1324 ? 0% 100% 13% 0%
reverse-complement  #2 0.49  2,500,000 ? 1324 ? 6% 98% 6% 8%
reverse-complement  #2 0.33  25,000,000 254,596 1324 0.62 31% 36% 100% 34%
source secs N mem gz cpu cpu load
reverse-complement  0.09  250,000 ? 1807 ? 100% 0% 10% 13%
reverse-complement  0.50  2,500,000 ? 1807 ? 16% 2% 2% 88%
reverse-complement  0.69  25,000,000 263,404 1807 0.95 16% 3% 100% 25%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 1330 0.02 0% 50% 0% 100%
reverse-complement  #3 0.09  2,500,000 ? 1330 0.12 13% 89% 22% 20%
reverse-complement  #3 0.48  25,000,000 270,568 1330 0.76 21% 22% 19% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1107 0.16 60% 57% 50% 67%
spectral-norm  #2 1.40  3,000 14,008 1107 4.73 88% 89% 84% 81%
spectral-norm  #2 4.09  5,500 14,008 1107 15.73 97% 95% 96% 98%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1050 0.10 71% 50% 50% 40%
spectral-norm  #3 0.84  3,000 13,944 1050 2.80 77% 90% 88% 82%
spectral-norm  #3 2.43  5,500 13,984 1050 9.24 97% 95% 96% 96%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.10 50% 100% 67% 67%
spectral-norm  #4 0.71  3,000 18,060 817 2.76 99% 99% 100% 97%
spectral-norm  #4 2.33  5,500 18,048 817 9.26 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.07  500 ? 1251 0.16 71% 43% 71% 50%
spectral-norm  1.34  3,000 13,976 1251 4.71 90% 89% 84% 90%
spectral-norm  4.12  5,500 14,124 1251 15.73 98% 93% 95% 97%
source secs N mem gz cpu cpu load
thread-ring  #2 1.42  500,000 100,148 940 2.82 52% 55% 53% 43%
thread-ring  #2 13.38  5,000,000 94,032 940 28.63 46% 61% 51% 54%
thread-ring  #2 138.90  50,000,000 98,144 940 289.54 51% 55% 45% 59%
source secs N mem gz cpu cpu load
thread-ring  3.06  500,000 102,212 473 3.26 23% 30% 19% 36%
thread-ring  33.50  5,000,000 89,968 473 36.03 27% 29% 22% 28%
thread-ring  290.39  50,000,000 89,988 473 305.00 28% 25% 23% 31%