The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.19.0 (0ade33941 2017-07-17)

source secs N mem gz cpu cpu load
binary-trees  #2  7 ? 717 0.01
binary-trees  #2 0.03  14 ? 717 0.08 67% 50% 67% 100%
binary-trees  #2 4.66  21 184,704 717 17.32 92% 91% 91% 100%
source secs N mem gz cpu cpu load
binary-trees   7 ? 746 0.00
binary-trees  0.06  14 ? 746 0.13 40% 60% 83% 67%
binary-trees  6.83  21 148,320 746 24.01 78% 89% 99% 89%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.02  60,000 ? 2882 0.03 67% 50% 50% 33%
chameneos-redux  #2 0.19  600,000 ? 2882 0.66 89% 89% 95% 95%
chameneos-redux  #2 1.96  6,000,000 54,848 2882 7.60 97% 98% 97% 97%
source secs N mem gz cpu cpu load
chameneos-redux  1.53  60,000 34,380 1450 2.36 70% 17% 49% 21%
chameneos-redux  10.36  600,000 32,356 1450 19.41 28% 39% 87% 34%
chameneos-redux  124.04  6,000,000 32,392 1450 208.37 61% 13% 71% 28%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.10  10 ? 1191 0.32 78% 89% 89% 90%
fannkuch-redux  #2 0.97  11 17,932 1191 3.74 94% 99% 98% 97%
fannkuch-redux  #2 12.71  12 20,036 1191 49.74 100% 95% 98% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.08  10 ? 1020 0.27 88% 88% 100% 86%
fannkuch-redux  #3 0.83  11 17,920 1020 3.17 99% 91% 96% 99%
fannkuch-redux  #3 10.99  12 20,012 1020 43.08 94% 100% 99% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1887 0.09 75% 75% 80% 50%
fasta  #2 0.18  2,500,000 ? 1887 0.52 73% 72% 75% 83%
fasta  #2 1.49  25,000,000 18,592 1887 4.64 77% 84% 76% 76%
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1214 0.04 0% 20% 0% 100%
fasta  #3 0.40  2,500,000 1,704 1214 0.39 3% 5% 100% 3%
fasta  #3 3.54  25,000,000 5,944 1214 3.54 1% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  0.13  250,000 ? 1211 0.12 0% 0% 8% 100%
fasta  1.26  2,500,000 5,668 1211 1.25 100% 1% 0% 2%
fasta  4.96  25,000,000 5,676 1211 4.96 1% 1% 100% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.52  250,000 42,588 1072 1.23 39% 65% 68% 73%
k-nucleotide  4.42  2,500,000 63,132 1072 11.51 47% 72% 76% 71%
k-nucleotide  41.53  25,000,000 177,848 1072 113.39 100% 79% 48% 48%
k-nucleotide  #5 Make Error  250,000
k-nucleotide  #6 Make Error  250,000
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.21  250,000 ? 1324 0.52 38% 48% 85% 82%
k-nucleotide  #2 1.76  2,500,000 50,268 1324 4.75 85% 100% 49% 40%
k-nucleotide  #2 16.80  25,000,000 166,468 1324 46.83 43% 64% 86% 87%
k-nucleotide  #3 Make Error  250,000
k-nucleotide  #4 Make Error  250,000
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.12  250,000 ? 1627 0.21 27% 69% 58% 55%
k-nucleotide  #7 1.08  2,500,000 43,340 1627 1.84 37% 53% 23% 89%
k-nucleotide  #7 5.40  25,000,000 156,208 1627 16.18 86% 99% 66% 51%
source secs N mem gz cpu cpu load
mandelbrot  0.04  1,000 ? 868 0.12 80% 80% 75% 50%
mandelbrot  0.36  4,000 1,596 868 1.31 94% 94% 94% 91%
mandelbrot  4.93  16,000 71,144 868 19.48 99% 98% 100% 100%
mandelbrot  #3 Make Error  1,000
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
meteor-contest  0.06  2,098 ? 2224 0.16 50% 50% 86% 63%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.04  2,098 ? 3837 0.10 75% 75% 60% 67%
source secs N mem gz cpu cpu load
n-body  0.15  500,000 ? 1474 0.14 0% 0% 0% 100%
n-body  1.36  5,000,000 5,640 1474 1.36 1% 100% 1% 1%
n-body  13.59  50,000,000 5,724 1474 13.58 1% 1% 100% 1%
source secs N mem gz cpu cpu load
n-body  #2 0.17  500,000 ? 1799 0.17 100% 0% 0% 0%
n-body  #2 1.72  5,000,000 5,608 1799 1.72 0% 100% 2% 1%
n-body  #2 17.14  50,000,000 5,672 1799 17.13 0% 0% 100% 1%
source secs N mem gz cpu cpu load
n-body  #3 0.14  500,000 ? 1540 0.13 0% 100% 0% 0%
n-body  #3 1.34  5,000,000 5,596 1540 1.34 0% 1% 99% 1%
n-body  #3 12.82  50,000,000 5,672 1540 12.81 0% 0% 100% 1%
source secs N mem gz cpu cpu load
pidigits  0.08  2,000 ? 1420 0.06 0% 0% 100% 0%
pidigits  0.60  6,000 5,736 1420 0.60 0% 2% 98% 0%
pidigits  1.74  10,000 7,800 1420 1.74 1% 1% 0% 100%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.06 0% 0% 100% 0%
pidigits  #2 0.60  6,000 5,744 1306 0.60 2% 100% 3% 0%
pidigits  #2 1.74  10,000 7,820 1306 1.74 3% 1% 100% 2%
source secs N mem gz cpu cpu load
regex-redux  #2 0.07  50,000 ? 701 0.07 14% 63% 17% 33%
regex-redux  #2 0.41  500,000 42,632 701 0.45 59% 15% 53% 12%
regex-redux  #2 2.73  5,000,000 175,372 701 4.24 19% 19% 100% 20%
source secs N mem gz cpu cpu load
regex-redux  0.05  50,000 ? 804 0.07 25% 25% 100% 20%
regex-redux  0.30  500,000 1,676 804 0.45 23% 21% 30% 87%
regex-redux  2.80  5,000,000 203,988 804 4.21 17% 19% 100% 18%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.08  250,000 ? 1324 ? 0% 0% 89% 0%
reverse-complement  #2 0.49  2,500,000 ? 1324 ? 12% 6% 4% 94%
reverse-complement  #2 0.33  25,000,000 268,384 1324 0.61 100% 36% 31% 31%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1807 0.02 0% 0% 0% 50%
reverse-complement  0.12  2,500,000 ? 1807 0.14 27% 17% 0% 83%
reverse-complement  0.72  25,000,000 265,348 1807 0.99 72% 15% 24% 30%
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 1330 0.02 0% 0% 0% 100%
reverse-complement  #3 0.09  2,500,000 ? 1330 0.12 55% 11% 60% 22%
reverse-complement  #3 0.46  25,000,000 268,292 1330 0.75 27% 100% 22% 22%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1107 0.16 57% 63% 75% 50%
spectral-norm  #2 1.38  3,000 13,904 1107 4.73 86% 89% 89% 80%
spectral-norm  #2 4.10  5,500 13,976 1107 15.73 96% 96% 95% 97%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1050 0.11 40% 50% 40% 60%
spectral-norm  #3 0.85  3,000 13,956 1050 2.82 83% 87% 84% 80%
spectral-norm  #3 2.52  5,500 13,960 1050 9.24 92% 90% 94% 92%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.09 67% 67% 100% 67%
spectral-norm  #4 0.74  3,000 17,996 817 2.84 97% 96% 99% 99%
spectral-norm  #4 2.44  5,500 20,048 817 9.60 98% 99% 98% 99%
source secs N mem gz cpu cpu load
spectral-norm  0.07  500 ? 1251 0.16 57% 75% 57% 57%
spectral-norm  1.31  3,000 13,948 1251 4.72 95% 84% 92% 92%
spectral-norm  4.15  5,500 13,944 1251 15.74 95% 96% 94% 95%
source secs N mem gz cpu cpu load
thread-ring  #2 1.27  500,000 116,488 940 2.52 50% 54% 51% 45%
thread-ring  #2 14.13  5,000,000 100,108 940 29.74 48% 58% 50% 52%
thread-ring  #2 132.15  50,000,000 102,148 940 282.28 46% 58% 57% 51%
source secs N mem gz cpu cpu load
thread-ring  3.32  500,000 99,600 473 3.64 25% 24% 30% 28%
thread-ring  30.87  5,000,000 98,084 473 34.13 31% 23% 27% 27%
thread-ring  296.29  50,000,000 108,312 473 324.35 27% 25% 24% 32%