The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.16.0 (30cf806ef 2017-03-10)

source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 714 0.01
binary-trees  #2 0.04  14 ? 714 0.09 75% 100% 75% 0%
binary-trees  #2 4.27  21 184,600 714 15.84 98% 92% 92% 92%
source secs N mem gz cpu cpu load
binary-trees  0.01  7 ? 746 ? 100% 0% 0% 100%
binary-trees  0.05  14 ? 746 0.12 67% 25% 86% 80%
binary-trees  7.10  21 148,180 746 24.90 92% 89% 89% 83%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.02  60,000 ? 2882 0.03 0% 33% 50% 50%
chameneos-redux  #2 0.13  600,000 ? 2882 0.42 85% 86% 85% 86%
chameneos-redux  #2 2.01  6,000,000 56,936 2882 7.81 97% 98% 98% 98%
source secs N mem gz cpu cpu load
chameneos-redux  0.89  60,000 32,264 1450 1.66 21% 69% 66% 33%
chameneos-redux  10.18  600,000 34,448 1450 20.31 68% 31% 31% 66%
chameneos-redux  98.12  6,000,000 36,512 1450 207.88 62% 56% 33% 66%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.11  10 ? 1191 0.32 91% 73% 80% 80%
fannkuch-redux  #2 1.01  11 17,888 1191 3.92 94% 100% 98% 98%
fannkuch-redux  #2 13.31  12 17,980 1191 51.98 98% 99% 95% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.08  10 ? 1020 0.27 100% 88% 88% 86%
fannkuch-redux  #3 0.80  11 17,924 1020 3.15 100% 99% 100% 99%
fannkuch-redux  #3 10.80  12 20,028 1020 43.07 100% 100% 100% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1887 0.08 67% 67% 80% 33%
fasta  #2 0.17  2,500,000 ? 1887 0.50 72% 71% 82% 88%
fasta  #2 1.49  25,000,000 20,324 1887 4.55 75% 76% 75% 82%
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1214 0.04 0% 0% 100% 20%
fasta  #3 0.40  2,500,000 1,812 1214 0.39 100% 5% 3% 11%
fasta  #3 3.45  25,000,000 5,944 1214 3.45 100% 1% 1% 1%
source secs N mem gz cpu cpu load
fasta  0.15  250,000 ? 1211 0.15 63% 33% 0% 100%
fasta  1.53  2,500,000 5,612 1211 1.52 7% 14% 97% 100%
fasta  5.02  25,000,000 5,756 1211 5.02 1% 100% 0% 1%
source secs N mem gz cpu cpu load
k-nucleotide  0.52  250,000 37,696 1072 1.26 33% 38% 77% 96%
k-nucleotide  4.44  2,500,000 48,736 1072 11.79 46% 45% 98% 80%
k-nucleotide  43.55  25,000,000 155,136 1072 116.72 47% 46% 80% 97%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.14  250,000 ? 1716 0.33 93% 69% 31% 46%
k-nucleotide  #5 1.02  2,500,000 32,316 1716 2.55 30% 37% 97% 94%
k-nucleotide  #5 9.76  25,000,000 140,132 1716 25.01 94% 44% 94% 28%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.14  250,000 ? 1652 0.24 54% 50% 75% 23%
k-nucleotide  #6 0.94  2,500,000 45,508 1652 1.74 77% 51% 42% 53%
k-nucleotide  #6 5.69  25,000,000 143,940 1652 16.97 65% 66% 84% 86%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.24  250,000 1,600 1324 0.56 46% 35% 75% 84%
k-nucleotide  #2 1.84  2,500,000 40,400 1324 4.98 48% 41% 98% 89%
k-nucleotide  #2 17.62  25,000,000 140,368 1324 49.83 87% 100% 46% 52%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.15  250,000 ? 1641 0.34 73% 87% 40% 29%
k-nucleotide  #3 1.03  2,500,000 34,360 1641 2.57 92% 44% 92% 27%
k-nucleotide  #3 9.96  25,000,000 139,988 1641 25.14 45% 26% 91% 92%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.11  250,000 ? 1728 0.27 91% 55% 27% 80%
k-nucleotide  #4 0.72  2,500,000 40,024 1728 1.98 89% 90% 63% 40%
k-nucleotide  #4 5.30  25,000,000 140,364 1728 16.34 100% 86% 55% 70%
source secs N mem gz cpu cpu load
mandelbrot  0.04  1,000 ? 868 0.09 75% 75% 67% 75%
mandelbrot  0.35  4,000 1,500 868 1.25 91% 97% 97% 89%
mandelbrot  4.89  16,000 42,364 868 19.33 99% 100% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  #3 0.02  1,000 ? 1007 0.05 67% 100% 67% 50%
mandelbrot  #3 0.15  4,000 ? 1007 0.53 94% 94% 88% 100%
mandelbrot  #3 1.94  16,000 26,380 1007 7.72 99% 100% 100% 99%
source secs N mem gz cpu cpu load
mandelbrot  #4 0.02  1,000 ? 1160 0.04 50% 100% 50% 50%
mandelbrot  #4 0.14  4,000 ? 1160 0.49 100% 92% 92% 92%
mandelbrot  #4 1.90  16,000 38,724 1160 7.48 98% 98% 99% 98%
source secs N mem gz cpu cpu load
meteor-contest  0.07  2,098 ? 2224 0.14 71% 60% 83% 43%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.04  2,098 ? 3837 0.09 50% 75% 50% 75%
source secs N mem gz cpu cpu load
n-body  0.15  500,000 ? 1474 0.14 0% 7% 100% 0%
n-body  1.36  5,000,000 3,488 1474 1.36 1% 99% 0% 2%
n-body  13.56  50,000,000 3,720 1474 13.56 100% 1% 1% 0%
source secs N mem gz cpu cpu load
n-body  #2 0.14  500,000 ? 1799 0.13 100% 0% 0% 0%
n-body  #2 1.33  5,000,000 3,580 1799 1.33 0% 100% 2% 1%
n-body  #2 13.08  50,000,000 3,676 1799 13.08 1% 1% 100% 1%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.06 0% 0% 0% 100%
pidigits  0.61  6,000 5,152 1420 0.60 100% 3% 0% 3%
pidigits  1.75  10,000 6,264 1420 1.74 100% 1% 2% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.06 0% 100% 0% 0%
pidigits  #2 0.60  6,000 5,080 1306 0.60 100% 3% 0% 0%
pidigits  #2 1.75  10,000 6,280 1306 1.74 2% 1% 1% 100%
source secs N mem gz cpu cpu load
regex-redux  #2 0.05  50,000 ? 701 0.09 25% 80% 43% 20%
regex-redux  #2 0.30  500,000 1,692 701 0.67 84% 48% 41% 60%
regex-redux  #2 3.33  5,000,000 207,132 701 6.53 88% 33% 33% 45%
source secs N mem gz cpu cpu load
regex-redux  0.05  50,000 ? 804 0.08 60% 20% 60% 20%
regex-redux  0.35  500,000 1,680 804 0.65 31% 32% 32% 100%
regex-redux  3.28  5,000,000 222,916 804 6.46 33% 100% 32% 35%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.08  250,000 ? 1324 ? 0% 38% 33% 0%
reverse-complement  #2 0.45  2,500,000 ? 1324 ? 7% 11% 90% 2%
reverse-complement  #2 0.45  25,000,000 254,232 1324 0.76 25% 26% 28% 98%
source secs N mem gz cpu cpu load
reverse-complement  0.07  250,000 ? 1807 ? 0% 86% 14% 13%
reverse-complement  0.49  2,500,000 ? 1807 ? 6% 15% 85% 2%
reverse-complement  0.91  25,000,000 252,492 1807 1.16 98% 11% 23% 3%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.07  250,000 ? 1330 ? 100% 14% 14% 14%
reverse-complement  #3 0.43  2,500,000 ? 1330 ? 24% 12% 7% 81%
reverse-complement  #3 0.63  25,000,000 254,208 1330 0.89 23% 94% 15% 17%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.08  500 ? 1107 0.07 63% 38% 57% 71%
spectral-norm  #2 1.21  3,000 5,808 1107 4.42 98% 98% 97% 98%
spectral-norm  #2 3.96  5,500 5,852 1107 15.45 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.06  500 ? 1050 0.03 67% 50% 33% 67%
spectral-norm  #3 0.73  3,000 14,032 1050 2.51 97% 95% 97% 96%
spectral-norm  #3 2.36  5,500 14,036 1050 9.04 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.04  500 ? 817 0.12 50% 100% 80% 75%
spectral-norm  #4 0.62  3,000 17,996 817 2.40 98% 98% 98% 95%
spectral-norm  #4 2.01  5,500 20,080 817 7.96 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.08  500 ? 1251 0.07 44% 57% 67% 57%
spectral-norm  1.27  3,000 14,048 1251 4.63 97% 98% 97% 96%
spectral-norm  4.13  5,500 14,072 1251 16.08 99% 99% 100% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 1.34  500,000 89,900 940 3.30 60% 60% 60% 60%
thread-ring  #2 12.36  5,000,000 95,960 940 31.82 62% 61% 61% 61%
thread-ring  #2 123.93  50,000,000 91,896 940 312.22 60% 60% 60% 60%
source secs N mem gz cpu cpu load
thread-ring  3.40  500,000 91,876 473 4.45 36% 24% 24% 37%
thread-ring  29.48  5,000,000 91,956 473 38.29 24% 35% 36% 24%
thread-ring  284.31  50,000,000 95,956 473 369.22 23% 36% 36% 23%