The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.17.0 (56124baa9 2017-04-24)

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% 100% 67% 67%
binary-trees  #2 4.33  21 194,824 717 15.92 100% 91% 91% 92%
source secs N mem gz cpu cpu load
binary-trees   7 ? 746 0.00
binary-trees  0.05  14 ? 746 0.13 60% 50% 80% 80%
binary-trees  7.02  21 148,344 746 24.96 92% 78% 90% 98%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.02  60,000 ? 2882 0.02 50% 67% 0% 0%
chameneos-redux  #2 0.14  600,000 ? 2882 0.50 93% 79% 88% 100%
chameneos-redux  #2 1.98  6,000,000 58,872 2882 7.70 97% 98% 98% 98%
source secs N mem gz cpu cpu load
chameneos-redux  1.15  60,000 36,456 1450 1.98 79% 34% 22% 30%
chameneos-redux  10.41  600,000 34,388 1450 19.60 37% 74% 48% 30%
chameneos-redux  95.36  6,000,000 36,464 1450 168.23 33% 71% 58% 13%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.10  10 ? 1191 0.34 89% 91% 78% 100%
fannkuch-redux  #2 1.01  11 17,952 1191 3.90 99% 93% 98% 97%
fannkuch-redux  #2 13.33  12 17,976 1191 51.94 99% 95% 98% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.07  10 ? 1020 0.26 86% 88% 100% 88%
fannkuch-redux  #3 0.79  11 18,064 1020 3.06 99% 94% 99% 99%
fannkuch-redux  #3 10.74  12 20,056 1020 42.08 100% 99% 94% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.03  250,000 ? 1887 0.07 100% 33% 75% 50%
fasta  #2 0.18  2,500,000 ? 1887 0.53 72% 78% 65% 70%
fasta  #2 1.48  25,000,000 18,524 1887 4.56 82% 76% 75% 76%
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1214 0.04 0% 100% 0% 0%
fasta  #3 0.39  2,500,000 740 1214 0.38 3% 100% 0% 0%
fasta  #3 3.45  25,000,000 5,936 1214 3.44 0% 100% 2% 0%
source secs N mem gz cpu cpu load
fasta  0.13  250,000 ? 1211 0.12 92% 0% 0% 8%
fasta  1.21  2,500,000 5,604 1211 1.21 100% 2% 1% 2%
fasta  4.96  25,000,000 5,740 1211 4.95 100% 2% 1% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.52  250,000 46,632 1072 1.24 73% 72% 40% 65%
k-nucleotide  4.47  2,500,000 65,120 1072 11.60 46% 73% 48% 100%
k-nucleotide  42.84  25,000,000 177,720 1072 114.73 69% 76% 46% 78%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.13  250,000 ? 1716 0.30 38% 91% 27% 85%
k-nucleotide  #5 0.94  2,500,000 40,164 1716 2.46 31% 94% 45% 94%
k-nucleotide  #5 9.09  25,000,000 152,840 1716 24.08 94% 95% 45% 33%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.09  250,000 ? 1652 0.22 78% 50% 89% 38%
k-nucleotide  #6 0.71  2,500,000 47,640 1652 1.99 87% 100% 54% 49%
k-nucleotide  #6 5.54  25,000,000 158,256 1652 16.91 55% 81% 86% 87%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.22  250,000 964 1324 0.56 50% 48% 86% 77%
k-nucleotide  #2 1.77  2,500,000 48,200 1324 5.00 57% 88% 44% 96%
k-nucleotide  #2 17.30  25,000,000 162,880 1324 49.48 46% 88% 67% 88%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.12  250,000 ? 1641 0.29 42% 29% 92% 85%
k-nucleotide  #3 1.03  2,500,000 40,016 1641 2.60 95% 92% 32% 37%
k-nucleotide  #3 9.22  25,000,000 150,724 1641 24.09 34% 38% 100% 92%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.08  250,000 ? 1728 0.22 50% 100% 44% 86%
k-nucleotide  #4 0.57  2,500,000 43,548 1728 1.71 90% 86% 67% 65%
k-nucleotide  #4 5.27  25,000,000 158,224 1728 16.66 99% 58% 91% 71%
source secs N mem gz cpu cpu load
mandelbrot  0.04  1,000 ? 868 0.11 67% 67% 50% 67%
mandelbrot  0.35  4,000 1,616 868 1.30 94% 94% 94% 97%
mandelbrot  4.95  16,000 67,116 868 19.57 99% 99% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3  1,000 ? 1007 0.05
mandelbrot  #3 0.14  4,000 ? 1007 0.54 100% 100% 93% 93%
mandelbrot  #3 1.95  16,000 28,236 1007 7.73 99% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.02  1,000 ? 1160 0.05 100% 50% 50% 67%
mandelbrot  #4 0.14  4,000 ? 1160 0.50 92% 100% 86% 100%
mandelbrot  #4 1.89  16,000 52,740 1160 7.47 100% 99% 99% 99%
source secs N mem gz cpu cpu load
meteor-contest  0.07  2,098 ? 2224 0.15 50% 43% 83% 50%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.04  2,098 ? 3837 0.11 80% 75% 75% 60%
source secs N mem gz cpu cpu load
n-body  0.15  500,000 ? 1474 0.14 100% 0% 0% 7%
n-body  1.36  5,000,000 5,628 1474 1.36 1% 1% 100% 1%
n-body  13.56  50,000,000 5,688 1474 13.55 0% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.14  500,000 ? 1799 0.14 0% 100% 0% 7%
n-body  #2 1.33  5,000,000 5,672 1799 1.32 1% 100% 3% 1%
n-body  #2 13.16  50,000,000 5,768 1799 13.16 100% 1% 1% 0%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.06 100% 0% 0% 0%
pidigits  0.60  6,000 5,720 1420 0.60 0% 100% 0% 3%
pidigits  1.74  10,000 7,820 1420 1.74 1% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  #2 0.08  2,000 ? 1306 0.06 0% 100% 0% 0%
pidigits  #2 0.60  6,000 5,680 1306 0.60 2% 100% 2% 3%
pidigits  #2 1.74  10,000 7,792 1306 1.74 99% 2% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  #2 0.06  50,000 ? 701 0.06 67% 14% 0% 50%
regex-redux  #2 0.41  500,000 1,672 701 0.45 15% 13% 53% 60%
regex-redux  #2 2.80  5,000,000 175,368 701 4.26 18% 18% 18% 100%
source secs N mem gz cpu cpu load
regex-redux  0.04  50,000 ? 804 0.06 100% 20% 25% 25%
regex-redux  0.29  500,000 964 804 0.45 23% 83% 37% 14%
regex-redux  2.70  5,000,000 173,336 804 4.24 20% 33% 88% 20%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.08  250,000 ? 1324 ? 0% 88% 0% 13%
reverse-complement  #2 0.49  2,500,000 ? 1324 ? 8% 92% 6% 2%
reverse-complement  #2 0.33  25,000,000 270,356 1324 0.61 30% 100% 35% 33%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1807 0.02 33% 100% 0% 0%
reverse-complement  0.12  2,500,000 ? 1807 0.14 0% 83% 17% 18%
reverse-complement  0.71  25,000,000 265,408 1807 0.98 75% 16% 26% 27%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 1330 0.02 0% 100% 33% 0%
reverse-complement  #3 0.09  2,500,000 ? 1330 0.12 100% 11% 13% 25%
reverse-complement  #3 0.46  25,000,000 268,328 1330 0.75 26% 22% 23% 98%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1107 0.16 57% 67% 67% 83%
spectral-norm  #2 1.40  3,000 13,964 1107 4.74 91% 85% 84% 81%
spectral-norm  #2 4.18  5,500 14,024 1107 15.74 96% 92% 96% 94%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1050 0.10 33% 50% 50% 50%
spectral-norm  #3 0.82  3,000 13,924 1050 2.82 85% 86% 88% 85%
spectral-norm  #3 2.50  5,500 13,956 1050 9.33 95% 93% 90% 97%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.10 75% 67% 80% 100%
spectral-norm  #4 0.79  3,000 17,976 817 3.07 99% 97% 97% 99%
spectral-norm  #4 2.65  5,500 20,004 817 10.47 99% 100% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.07  500 ? 1251 0.16 71% 50% 57% 63%
spectral-norm  1.32  3,000 13,916 1251 4.90 95% 90% 92% 98%
spectral-norm  4.31  5,500 13,968 1251 16.38 96% 93% 96% 96%
source secs N mem gz cpu cpu load
thread-ring  #2 1.66  500,000 177,920 940 3.50 57% 59% 49% 48%
thread-ring  #2 15.23  5,000,000 104,236 940 31.89 62% 44% 47% 55%
thread-ring  #2 133.12  50,000,000 97,996 940 285.95 62% 54% 52% 44%
source secs N mem gz cpu cpu load
thread-ring  3.25  500,000 95,968 473 3.61 27% 26% 27% 27%
thread-ring  30.32  5,000,000 102,192 473 33.74 25% 28% 28% 27%
thread-ring  296.87  50,000,000 104,228 473 324.48 27% 26% 32% 22%