The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.22.1 (05e2e1c41 2017-11-22)

source secs N mem gz cpu cpu load
binary-trees  0.02  7 ? 751 ? 33% 67% 33% 33%
binary-trees  0.05  14 ? 751 0.11 100% 50% 50% 50%
binary-trees  5.95  21 128,344 751 20.92 83% 91% 91% 90%
source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 721 0.00
binary-trees  #2 0.03  14 ? 721 0.07 100% 100% 100% 75%
binary-trees  #2 3.88  21 173,136 721 14.24 90% 91% 100% 90%
source secs N mem gz cpu cpu load
chameneos-redux  1.09  60,000 2,012 1455 1.93 18% 83% 59% 14%
chameneos-redux  9.21  600,000 1,924 1455 18.75 39% 65% 67% 37%
chameneos-redux  94.65  6,000,000 2,008 1455 193.06 72% 37% 37% 58%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.03  60,000 ? 2890 0.08 67% 100% 67% 100%
chameneos-redux  #2 0.21  600,000 1,720 2890 0.78 90% 90% 95% 95%
chameneos-redux  #2 2.01  6,000,000 2,252 2890 7.85 98% 99% 99% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.07  10 ? 1020 0.25 100% 86% 88% 100%
fannkuch-redux  #3 0.80  11 1,656 1020 3.05 98% 100% 95% 98%
fannkuch-redux  #3 10.57  12 1,804 1020 41.41 99% 100% 100% 93%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.09  10 ? 1191 0.32 89% 100% 100% 89%
fannkuch-redux  #2 0.98  11 1,676 1191 3.78 100% 98% 97% 96%
fannkuch-redux  #2 12.96  12 1,876 1191 50.52 100% 98% 99% 94%
source secs N mem gz cpu cpu load
fasta  #2 0.03  250,000 ? 1906 0.07 100% 100% 50% 75%
fasta  #2 0.17  2,500,000 ? 1906 0.51 76% 76% 88% 76%
fasta  #2 1.47  25,000,000 2,992 1906 4.58 76% 76% 83% 77%
source secs N mem gz cpu cpu load
fasta  0.14  250,000 ? 1237 0.14 0% 0% 7% 100%
fasta  1.43  2,500,000 1,656 1237 1.43 0% 1% 3% 100%
fasta  5.09  25,000,000 1,720 1237 5.08 0% 60% 41% 0%
source secs N mem gz cpu cpu load
fasta  #3 0.04  250,000 ? 1233 0.04 0% 0% 100% 0%
fasta  #3 0.41  2,500,000 1,884 1233 0.40 100% 0% 2% 0%
fasta  #3 3.58  25,000,000 2,892 1233 3.58 100% 1% 1% 7%
source secs N mem gz cpu cpu load
fasta  #4 0.09  250,000 ? 939 0.08 0% 88% 0% 20%
fasta  #4 0.74  2,500,000 7,400 939 0.74 0% 100% 7% 1%
fasta  #4 6.95  25,000,000 124,276 939 6.95 100% 1% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.54  250,000 23,868 1078 1.32 38% 80% 96% 36%
k-nucleotide  4.59  2,500,000 42,724 1078 12.18 44% 45% 100% 79%
k-nucleotide  44.03  25,000,000 152,644 1078 120.30 99% 80% 48% 47%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.09  250,000 ? 1668 0.21 63% 67% 33% 56%
k-nucleotide  #6 0.67  2,500,000 27,732 1668 1.83 79% 45% 85% 69%
k-nucleotide  #6 5.24  25,000,000 137,932 1668 15.87 83% 100% 69% 52%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.11  250,000 ? 1748 0.26 42% 90% 91% 27%
k-nucleotide  #4 0.62  2,500,000 27,888 1748 1.79 89% 44% 89% 69%
k-nucleotide  #4 4.86  25,000,000 137,656 1748 15.42 57% 100% 75% 88%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.12  250,000 ? 1739 0.29 36% 18% 92% 92%
k-nucleotide  #5 1.00  2,500,000 27,444 1739 2.51 37% 26% 92% 99%
k-nucleotide  #5 9.48  25,000,000 145,204 1739 24.13 94% 99% 37% 27%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.22  250,000 1,708 1347 0.54 83% 35% 91% 38%
k-nucleotide  #2 2.04  2,500,000 27,828 1347 5.34 45% 95% 90% 34%
k-nucleotide  #2 17.07  25,000,000 138,080 1347 47.49 72% 87% 63% 57%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.08  250,000 ? 1647 0.22 86% 89% 50% 44%
k-nucleotide  #7 0.62  2,500,000 27,996 1647 1.76 64% 42% 98% 84%
k-nucleotide  #7 5.28  25,000,000 137,948 1647 15.84 68% 52% 100% 81%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.17  250,000 ? 1661 0.29 18% 53% 63% 65%
k-nucleotide  #3 1.34  2,500,000 27,348 1661 2.54 69% 49% 69% 25%
k-nucleotide  #3 9.61  25,000,000 137,372 1661 24.17 36% 100% 26% 91%
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #6 0.02  1,000 ? 1332 0.04 100% 67% 100% 100%
mandelbrot  #6 0.14  4,000 ? 1332 0.52 93% 92% 93% 93%
mandelbrot  #6 2.02  16,000 33,572 1332 8.00 99% 100% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.04  1,000 ? 868 0.10 100% 100% 50% 67%
mandelbrot  0.37  4,000 1,648 868 1.40 97% 94% 97% 97%
mandelbrot  5.38  16,000 40,336 868 21.36 100% 99% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.05 50% 100% 50% 50%
mandelbrot  #3 0.15  4,000 ? 1007 0.58 93% 100% 100% 100%
mandelbrot  #3 2.10  16,000 13,288 1007 8.37 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.06  2,098 ? 2238 0.13 83% 40% 50% 60%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.03  2,098 ? 3848 0.08 67% 67% 75% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.15  500,000 ? 1540 0.15 0% 0% 100% 0%
n-body  #3 1.50  5,000,000 1,656 1540 1.50 1% 4% 99% 0%
n-body  #3 14.91  50,000,000 1,784 1540 14.90 1% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  #4 0.19  500,000 ? 1803 0.18 0% 95% 0% 0%
n-body  #4 1.79  5,000,000 1,752 1803 1.79 0% 100% 2% 2%
n-body  #4 17.83  50,000,000 1,756 1803 17.82 1% 18% 3% 89%
source secs N mem gz cpu cpu load
n-body  #2 0.18  500,000 ? 1805 0.17 0% 0% 100% 0%
n-body  #2 1.71  5,000,000 1,004 1805 1.71 0% 100% 4% 0%
n-body  #2 16.85  50,000,000 1,776 1805 16.84 0% 1% 100% 0%
source secs N mem gz cpu cpu load
n-body  0.14  500,000 ? 1480 0.14 0% 100% 0% 0%
n-body  1.36  5,000,000 1,608 1480 1.36 100% 3% 2% 0%
n-body  13.57  50,000,000 1,756 1480 13.57 0% 1% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.06 86% 0% 13% 0%
pidigits  0.60  6,000 3,464 1420 0.60 100% 0% 2% 3%
pidigits  1.74  10,000 4,532 1420 1.74 1% 100% 1% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.06 100% 14% 0% 0%
pidigits  #2 0.60  6,000 3,352 1306 0.60 100% 0% 0% 2%
pidigits  #2 1.74  10,000 4,560 1306 1.74 0% 100% 1% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.06  2,000 ? 1366 0.06 0% 100% 0% 0%
pidigits  #3 0.60  6,000 3,500 1366 0.59 0% 100% 5% 2%
pidigits  #3 1.74  10,000 4,532 1366 1.74 100% 1% 0% 2%
source secs N mem gz cpu cpu load
regex-redux  #2 0.04  50,000 ? 701 0.06 75% 0% 0% 50%
regex-redux  #2 0.30  500,000 988 701 0.45 17% 100% 16% 17%
regex-redux  #2 3.01  5,000,000 178,968 701 4.37 15% 17% 30% 85%
source secs N mem gz cpu cpu load
regex-redux  0.06  50,000 ? 804 0.06 0% 57% 14% 50%
regex-redux  0.41  500,000 1,784 804 0.46 61% 13% 13% 53%
regex-redux  2.99  5,000,000 192,244 804 4.36 31% 16% 85% 16%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.07  250,000 ? 1382 ? 0% 75% 43% 0%
reverse-complement  #3 0.44  2,500,000 ? 1382 ? 2% 5% 100% 4%
reverse-complement  #3 0.55  25,000,000 250,784 1382 0.83 17% 19% 20% 100%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1871 0.02 100% 33% 33% 0%
reverse-complement  0.13  2,500,000 ? 1871 0.15 8% 8% 85% 15%
reverse-complement  0.80  25,000,000 250,692 1871 1.06 23% 27% 74% 14%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.01  250,000 ? 1376 0.02 0% 100% 0% 100%
reverse-complement  #2 0.08  2,500,000 ? 1376 0.11 14% 100% 25% 14%
reverse-complement  #2 0.37  25,000,000 250,708 1376 0.66 100% 28% 28% 31%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.08 100% 33% 100% 100%
spectral-norm  #4 0.60  3,000 2,716 817 2.37 98% 100% 100% 100%
spectral-norm  #4 1.98  5,500 2,580 817 7.90 100% 99% 100% 99%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1053 0.10 50% 67% 50% 33%
spectral-norm  #3 0.92  3,000 2,808 1053 2.81 85% 67% 77% 80%
spectral-norm  #3 2.36  5,500 2,816 1053 9.22 98% 97% 97% 98%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1110 0.16 57% 57% 71% 50%
spectral-norm  #2 1.29  3,000 2,724 1110 4.70 89% 93% 96% 88%
spectral-norm  #2 3.99  5,500 2,856 1110 15.71 98% 98% 98% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.06  500 ? 1254 0.15 50% 67% 57% 71%
spectral-norm  1.28  3,000 2,832 1254 4.70 93% 91% 91% 92%
spectral-norm  3.95  5,500 2,844 1254 15.70 99% 99% 100% 99%
source secs N mem gz cpu cpu load
thread-ring  2.62  500,000 6,724 473 3.42 53% 10% 7% 55%
thread-ring  26.78  5,000,000 7,012 473 34.39 31% 29% 28% 32%
thread-ring  263.95  50,000,000 6,900 473 339.64 41% 19% 19% 41%
source secs N mem gz cpu cpu load
thread-ring  #2 1.24  500,000 6,884 940 3.21 68% 60% 60% 66%
thread-ring  #2 11.92  5,000,000 6,588 940 26.83 68% 45% 43% 68%
thread-ring  #2 121.06  50,000,000 6,672 940 251.98 65% 39% 39% 65%