The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.25.0 (84203cac6 2018-03-25)

source secs N mem gz cpu cpu load
binary-trees  0.02  7 ? 751 ? 0% 100% 0% 0%
binary-trees  0.05  14 ? 751 0.11 80% 75% 80% 50%
binary-trees  6.36  21 119,720 751 21.40 94% 77% 78% 90%
binary-trees  #2 Make Error  7
source secs N mem gz cpu cpu load
chameneos-redux  1.70  60,000 2,116 1455 3.14 54% 58% 37% 37%
chameneos-redux  12.28  600,000 2,004 1455 25.72 48% 46% 61% 59%
chameneos-redux  121.84  6,000,000 2,000 1455 261.12 60% 57% 52% 51%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.01  60,000 ? 2890 0.01 50% 0% 100% 0%
chameneos-redux  #2 0.18  600,000 ? 2890 0.66 94% 89% 89% 100%
chameneos-redux  #2 1.80  6,000,000 2,148 2890 6.99 98% 97% 98% 98%
fannkuch-redux  #3 Make Error  10
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.09  10 ? 1191 0.29 89% 80% 78% 80%
fannkuch-redux  #2 0.89  11 1,652 1191 3.44 99% 100% 94% 98%
fannkuch-redux  #2 12.07  12 1,832 1191 47.32 99% 100% 95% 99%
fasta  #2 Make Error  250,000
source secs N mem gz cpu cpu load
fasta  0.19  250,000 ? 1237 0.19 0% 0% 100% 0%
fasta  1.89  2,500,000 1,704 1237 1.89 1% 1% 100% 2%
fasta  7.48  25,000,000 1,752 1237 7.48 1% 100% 0% 0%
fasta  #5 Make Error  250,000
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1233 0.05 20% 100% 0% 20%
fasta  #3 0.44  2,500,000 2,816 1233 0.43 0% 0% 100% 2%
fasta  #3 3.84  25,000,000 2,904 1233 3.84 0% 0% 1% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.08  250,000 ? 939 0.08 0% 100% 0% 11%
fasta  #4 0.76  2,500,000 7,184 939 0.76 5% 100% 0% 0%
fasta  #4 7.15  25,000,000 124,384 939 7.14 100% 1% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.48  250,000 36,992 1078 1.22 84% 52% 77% 44%
k-nucleotide  3.92  2,500,000 42,796 1078 11.24 86% 51% 52% 99%
k-nucleotide  39.11  25,000,000 152,768 1078 111.27 100% 48% 51% 87%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.10  250,000 ? 1671 0.24 64% 40% 60% 90%
k-nucleotide  #6 0.60  2,500,000 27,848 1671 1.71 47% 82% 66% 98%
k-nucleotide  #6 5.53  25,000,000 140,784 1671 16.44 83% 51% 67% 99%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.08  250,000 ? 1749 0.21 38% 88% 78% 56%
k-nucleotide  #4 0.58  2,500,000 27,748 1749 1.69 49% 84% 74% 89%
k-nucleotide  #4 5.86  25,000,000 137,956 1749 17.27 69% 62% 66% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.16  250,000 ? 1739 0.37 31% 27% 100% 93%
k-nucleotide  #5 0.98  2,500,000 27,584 1739 2.46 92% 24% 99% 36%
k-nucleotide  #5 9.57  25,000,000 137,456 1739 24.16 92% 36% 32% 93%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.22  250,000 1,612 1347 0.53 32% 82% 48% 86%
k-nucleotide  #2 1.78  2,500,000 27,928 1347 4.73 42% 85% 94% 49%
k-nucleotide  #2 17.10  25,000,000 137,832 1347 47.11 45% 85% 58% 90%
k-nucleotide  #7 Make Error  250,000
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.17  250,000 ? 1661 0.30 67% 28% 67% 41%
k-nucleotide  #3 1.63  2,500,000 27,504 1661 3.11 75% 74% 21% 35%
k-nucleotide  #3 9.81  25,000,000 137,472 1661 24.41 90% 26% 100% 35%
mandelbrot  #4 Make Error  1,000
mandelbrot  #6 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  0.03  1,000 ? 868 0.08 67% 100% 50% 33%
mandelbrot  0.30  4,000 1,692 868 1.06 87% 93% 90% 97%
mandelbrot  4.13  16,000 40,468 868 16.18 97% 98% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.05 100% 100% 100% 50%
mandelbrot  #3 0.14  4,000 ? 1007 0.52 93% 100% 93% 100%
mandelbrot  #3 1.89  16,000 13,712 1007 7.51 100% 99% 100% 99%
source secs N mem gz cpu cpu load
meteor-contest  0.06  2,098 ? 2238 0.14 67% 67% 80% 57%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.03  2,098 ? 3848 0.09 67% 100% 100% 75%
source secs N mem gz cpu cpu load
n-body  #3 0.21  500,000 1,644 1540 0.21 9% 95% 0% 0%
n-body  #3 2.04  5,000,000 1,648 1540 2.04 0% 0% 1% 100%
n-body  #3 20.34  50,000,000 1,772 1540 20.34 100% 1% 0% 2%
source secs N mem gz cpu cpu load
n-body  #4 0.19  500,000 ? 1803 0.19 95% 0% 0% 0%
n-body  #4 1.83  5,000,000 1,752 1803 1.83 100% 2% 0% 0%
n-body  #4 18.28  50,000,000 1,712 1803 18.27 0% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.14  500,000 ? 1805 0.14 8% 0% 29% 100%
n-body  #2 1.34  5,000,000 1,648 1805 1.34 1% 11% 28% 100%
n-body  #2 13.35  50,000,000 1,704 1805 13.35 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  0.15  500,000 ? 1480 0.15 0% 0% 100% 0%
n-body  1.33  5,000,000 1,648 1480 1.33 0% 0% 100% 3%
n-body  13.24  50,000,000 1,704 1480 13.23 1% 1% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.06 100% 0% 0% 14%
pidigits  0.60  6,000 3,440 1420 0.60 3% 2% 7% 100%
pidigits  1.75  10,000 4,572 1420 1.75 2% 100% 1% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.07 0% 0% 100% 13%
pidigits  #2 0.61  6,000 3,352 1306 0.60 0% 0% 7% 100%
pidigits  #2 1.75  10,000 4,560 1306 1.75 100% 2% 3% 1%
source secs N mem gz cpu cpu load
pidigits  #3 0.07  2,000 ? 1366 0.06 0% 0% 86% 0%
pidigits  #3 0.60  6,000 3,428 1366 0.60 3% 3% 100% 3%
pidigits  #3 1.74  10,000 4,592 1366 1.74 1% 1% 3% 100%
source secs N mem gz cpu cpu load
regex-redux  #2 0.05  50,000 ? 701 0.06 60% 20% 0% 40%
regex-redux  #2 0.32  500,000 588 701 0.46 19% 13% 26% 97%
regex-redux  #2 3.12  5,000,000 149,140 701 4.48 29% 15% 17% 86%
regex-redux  #3 Make Error  50,000
source secs N mem gz cpu cpu load
regex-redux  0.06  50,000 ? 804 0.06 86% 0% 0% 0%
regex-redux  0.41  500,000 1,240 804 0.46 14% 64% 22% 40%
regex-redux  3.02  5,000,000 189,036 804 4.40 87% 15% 17% 29%
reverse-complement  #3 Make Error  250,000
source secs N mem gz cpu cpu load
reverse-complement  0.06  250,000 ? 1871 ? 100% 0% 17% 0%
reverse-complement  3.29  100,000,000 1,044,220 1871 4.33 33% 20% 77% 26%
reverse-complement  #2 Make Error  250,000
spectral-norm  #4 Make Error  500
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1053 0.10 50% 50% 67% 0%
spectral-norm  #3 0.86  3,000 2,724 1053 2.80 79% 84% 86% 79%
spectral-norm  #3 2.51  5,500 2,752 1053 9.20 91% 93% 95% 90%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1110 0.16 57% 71% 50% 71%
spectral-norm  #2 1.49  3,000 2,724 1110 4.75 76% 74% 88% 84%
spectral-norm  #2 4.19  5,500 2,752 1110 15.75 95% 95% 94% 94%
source secs N mem gz cpu cpu load
spectral-norm  0.06  500 ? 1254 0.15 60% 60% 80% 50%
spectral-norm  1.50  3,000 2,764 1254 4.76 79% 82% 82% 80%
spectral-norm  4.22  5,500 2,776 1254 15.76 95% 93% 93% 93%
source secs N mem gz cpu cpu load
thread-ring  3.48  500,000 6,648 473 4.74 1% 1% 67% 66%
thread-ring  34.34  5,000,000 6,788 473 46.58 24% 23% 41% 41%
thread-ring  345.08  50,000,000 6,852 473 467.72 26% 26% 39% 39%
source secs N mem gz cpu cpu load
thread-ring  #2 1.51  500,000 6,640 940 4.09 67% 67% 66% 66%
thread-ring  #2 16.10  5,000,000 6,832 940 36.42 77% 77% 34% 34%
thread-ring  #2 165.77  50,000,000 6,804 940 335.52 61% 61% 40% 40%