The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.18.0 (03fc9d622 2017-06-06)

source secs N mem gz cpu cpu load
binary-trees  #2 0.01  7 ? 717 0.01 0% 100% 0% 100%
binary-trees  #2 0.03  14 ? 717 0.08 100% 67% 67% 67%
binary-trees  #2 4.43  21 196,468 717 16.56 92% 92% 100% 93%
source secs N mem gz cpu cpu load
binary-trees   7 ? 746 0.00
binary-trees  0.05  14 ? 746 0.12 80% 50% 50% 80%
binary-trees  6.39  21 148,332 746 22.38 78% 91% 86% 99%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.02  60,000 ? 2882 0.02 0% 0% 0% 0%
chameneos-redux  #2 0.12  600,000 ? 2882 0.39 92% 85% 82% 85%
chameneos-redux  #2 1.92  6,000,000 52,828 2882 7.43 98% 98% 97% 98%
source secs N mem gz cpu cpu load
chameneos-redux  1.16  60,000 30,324 1450 2.12 48% 39% 59% 42%
chameneos-redux  9.76  600,000 28,216 1450 19.62 68% 63% 35% 36%
chameneos-redux  88.36  6,000,000 32,288 1450 175.93 32% 38% 69% 60%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.09  10 ? 1191 0.33 89% 89% 100% 88%
fannkuch-redux  #2 1.00  11 19,980 1191 3.88 98% 95% 100% 99%
fannkuch-redux  #2 13.29  12 20,120 1191 51.73 100% 99% 98% 94%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.08  10 ? 1020 0.26 88% 75% 71% 89%
fannkuch-redux  #3 0.80  11 19,976 1020 3.08 99% 100% 99% 94%
fannkuch-redux  #3 10.82  12 18,084 1020 42.18 99% 100% 93% 98%
source secs N mem gz cpu cpu load
fasta  #2 0.03  250,000 ? 1887 0.07 67% 50% 33% 50%
fasta  #2 0.19  2,500,000 ? 1887 0.53 75% 72% 85% 63%
fasta  #2 1.48  25,000,000 18,524 1887 4.56 83% 76% 76% 75%
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1214 0.04 0% 17% 0% 100%
fasta  #3 0.40  2,500,000 1,700 1214 0.39 5% 3% 3% 100%
fasta  #3 3.52  25,000,000 5,896 1214 3.52 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  0.13  250,000 ? 1211 0.12 0% 100% 0% 0%
fasta  1.22  2,500,000 5,640 1211 1.22 1% 100% 2% 2%
fasta  4.94  25,000,000 5,700 1211 4.94 2% 100% 0% 1%
source secs N mem gz cpu cpu load
k-nucleotide  0.50  250,000 44,604 1072 1.22 96% 35% 76% 44%
k-nucleotide  4.26  2,500,000 67,256 1072 11.33 45% 50% 100% 74%
k-nucleotide  42.12  25,000,000 179,532 1072 112.26 78% 45% 98% 47%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.12  250,000 ? 1716 0.28 91% 92% 33% 40%
k-nucleotide  #5 0.93  2,500,000 40,196 1716 2.37 35% 95% 39% 94%
k-nucleotide  #5 8.91  25,000,000 150,916 1716 23.16 30% 38% 100% 94%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.12  250,000 ? 1652 0.30 25% 83% 92% 46%
k-nucleotide  #6 0.59  2,500,000 45,636 1652 1.78 68% 85% 57% 98%
k-nucleotide  #6 5.56  25,000,000 158,324 1652 17.32 86% 56% 100% 73%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.20  250,000 ? 1324 0.52 85% 90% 50% 40%
k-nucleotide  #2 1.74  2,500,000 52,332 1324 4.70 100% 79% 43% 51%
k-nucleotide  #2 16.80  25,000,000 162,860 1324 46.87 50% 85% 59% 88%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.17  250,000 ? 1641 0.37 25% 94% 93% 19%
k-nucleotide  #3 1.14  2,500,000 40,124 1641 2.75 69% 54% 33% 93%
k-nucleotide  #3 9.12  25,000,000 150,768 1641 23.39 45% 29% 92% 92%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.08  250,000 ? 1728 0.22 63% 44% 78% 78%
k-nucleotide  #4 0.57  2,500,000 45,668 1728 1.75 65% 88% 71% 91%
k-nucleotide  #4 5.27  25,000,000 156,408 1728 17.06 77% 91% 68% 91%
source secs N mem gz cpu cpu load
mandelbrot  0.04  1,000 ? 868 0.11 75% 50% 75% 100%
mandelbrot  0.35  4,000 1,536 868 1.30 97% 91% 91% 94%
mandelbrot  4.95  16,000 73,260 868 19.56 100% 98% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.05 50% 100% 100% 100%
mandelbrot  #3 0.15  4,000 ? 1007 0.56 94% 93% 100% 100%
mandelbrot  #3 2.01  16,000 30,272 1007 7.98 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.02  1,000 ? 1160 0.05 100% 50% 100% 67%
mandelbrot  #4 0.14  4,000 ? 1160 0.51 92% 100% 93% 93%
mandelbrot  #4 1.93  16,000 52,796 1160 7.65 100% 99% 100% 99%
source secs N mem gz cpu cpu load
meteor-contest  0.06  2,098 ? 2224 0.15 71% 57% 57% 33%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.04  2,098 ? 3837 0.11 67% 100% 60% 60%
source secs N mem gz cpu cpu load
n-body  0.14  500,000 ? 1474 0.14 7% 7% 100% 0%
n-body  1.36  5,000,000 5,600 1474 1.36 1% 2% 1% 100%
n-body  13.55  50,000,000 5,688 1474 13.54 0% 1% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.14  500,000 ? 1799 0.13 0% 100% 0% 0%
n-body  #2 1.33  5,000,000 5,680 1799 1.32 100% 1% 2% 1%
n-body  #2 13.15  50,000,000 5,764 1799 13.14 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.14  500,000 ? 1540 0.13 100% 7% 0% 0%
n-body  #3 1.32  5,000,000 5,632 1540 1.31 1% 4% 100% 1%
n-body  #3 13.08  50,000,000 5,704 1540 13.08 0% 1% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.08  2,000 ? 1420 0.06 100% 0% 0% 0%
pidigits  0.60  6,000 5,740 1420 0.60 0% 2% 100% 3%
pidigits  1.74  10,000 7,892 1420 1.74 0% 1% 100% 2%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.06 0% 0% 0% 86%
pidigits  #2 0.60  6,000 5,736 1306 0.60 0% 100% 0% 3%
pidigits  #2 1.74  10,000 7,812 1306 1.74 0% 1% 100% 2%
source secs N mem gz cpu cpu load
regex-redux  #2 0.07  50,000 ? 701 0.07 43% 14% 43% 0%
regex-redux  #2 0.40  500,000 1,652 701 0.45 17% 98% 15% 18%
regex-redux  #2 2.85  5,000,000 175,380 701 4.27 18% 19% 17% 100%
source secs N mem gz cpu cpu load
regex-redux  0.05  50,000 ? 804 0.06 20% 50% 100% 43%
regex-redux  0.31  500,000 1,600 804 0.45 27% 36% 53% 87%
regex-redux  2.83  5,000,000 179,428 804 4.22 88% 17% 17% 29%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.07  250,000 ? 1324 ? 13% 13% 13% 88%
reverse-complement  #2 0.49  2,500,000 ? 1324 ? 56% 4% 44% 10%
reverse-complement  #2 0.33  25,000,000 268,344 1324 0.61 34% 100% 31% 28%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1807 0.02 33% 0% 0% 50%
reverse-complement  0.12  2,500,000 ? 1807 0.14 8% 82% 31% 0%
reverse-complement  0.71  25,000,000 265,392 1807 0.98 73% 30% 25% 26%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 1330 0.02 0% 67% 33% 0%
reverse-complement  #3 0.09  2,500,000 ? 1330 0.12 13% 50% 0% 56%
reverse-complement  #3 0.46  25,000,000 268,300 1330 0.75 22% 22% 98% 24%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.08  500 ? 1107 0.17 75% 57% 50% 57%
spectral-norm  #2 1.38  3,000 13,848 1107 4.72 90% 89% 84% 82%
spectral-norm  #2 4.08  5,500 13,968 1107 15.85 99% 97% 97% 97%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1050 0.11 67% 50% 50% 67%
spectral-norm  #3 0.84  3,000 13,908 1050 2.83 81% 87% 84% 88%
spectral-norm  #3 2.42  5,500 13,944 1050 9.32 95% 96% 98% 97%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.09 75% 100% 67% 67%
spectral-norm  #4 0.70  3,000 15,924 817 2.76 100% 99% 99% 99%
spectral-norm  #4 2.34  5,500 20,064 817 9.27 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.07  500 ? 1251 0.16 63% 63% 57% 57%
spectral-norm  1.41  3,000 13,960 1251 4.92 89% 87% 87% 88%
spectral-norm  4.24  5,500 13,964 1251 16.39 97% 97% 97% 97%
source secs N mem gz cpu cpu load
thread-ring  #2 1.58  500,000 120,616 940 3.02 53% 47% 37% 56%
thread-ring  #2 13.91  5,000,000 108,380 940 29.07 57% 41% 60% 49%
thread-ring  #2 125.78  50,000,000 98,068 940 266.13 57% 51% 49% 52%
source secs N mem gz cpu cpu load
thread-ring  3.43  500,000 100,072 473 3.70 29% 31% 21% 25%
thread-ring  31.91  5,000,000 98,068 473 34.52 34% 23% 24% 26%
thread-ring  301.63  50,000,000 96,108 473 332.15 25% 30% 23% 29%