The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.45.0 (5c1f21c3b 2020-07-13)
LLVM version: 9.0

source secs N mem gz cpu cpu load
binary-trees  #4 0.13  7 0 756 0.01 8% 33% 50% 15%
binary-trees  #4 0.02  14 0 756 0.04 100% 50% 50% 67%
binary-trees  #4 1.23  21 146,556 756 4.47 89% 89% 100% 89%
source secs N mem gz cpu cpu load
binary-trees  #2 0.13  7 0 721 0.01 36% 15% 0% 57%
binary-trees  #2 0.02  14 0 721 0.04 50% 50% 100% 100%
binary-trees  #2 1.20  21 111,528 721 4.30 87% 87% 86% 99%
source secs N mem gz cpu cpu load
binary-trees  #3 0.16  7 0 754 0.01 31% 53% 0% 6%
binary-trees  #3 0.02  14 0 754 0.04 100% 50% 50% 50%
binary-trees  #3 1.32  21 150,696 754 4.82 99% 89% 89% 89%
source secs N mem gz cpu cpu load
binary-trees  0.13  7 0 751 0.00 -8% 0% 31% 62%
binary-trees  0.03  14 0 751 0.06 67% 67% 50% 75%
binary-trees  2.36  21 113,116 751 8.45 86% 87% 97% 89%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.21  10 0 1020 0.21 24% 55% 52% 33%
fannkuch-redux  #3 0.56  11 884 1020 2.17 98% 96% 96% 100%
fannkuch-redux  #3 7.29  12 1,016 1020 28.63 100% 100% 99% 95%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.29  10 8 1191 0.26 48% 46% 24% 72%
fannkuch-redux  #2 0.77  11 688 1191 2.97 94% 100% 97% 97%
fannkuch-redux  #2 10.09  12 820 1191 39.33 100% 98% 99% 94%
source secs N mem gz cpu cpu load
fannkuch-redux  #5 0.25  10 0 1016 0.20 23% 44% 54% 50%
fannkuch-redux  #5 0.57  11 960 1016 2.22 98% 95% 98% 98%
fannkuch-redux  #5 7.55  12 1,016 1016 29.56 95% 99% 99% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 0.18  10 0 1020 0.20 32% 53% 61% 32%
fannkuch-redux  #4 0.57  11 948 1020 2.17 100% 93% 95% 100%
fannkuch-redux  #4 7.29  12 1,016 1020 28.64 100% 95% 100% 98%
source secs N mem gz cpu cpu load
fasta  #6 0.19  250,000 0 955 0.05 11% 25% 58% 16%
fasta  #6 0.44  2,500,000 2,488 955 0.44 2% 9% 0% 100%
fasta  #6 4.13  25,000,000 119,156 955 4.13 0% 0% 100% 1%
source secs N mem gz cpu cpu load
fasta  #3 0.17  250,000 0 1233 0.03 0% 47% 0% 41%
fasta  #3 0.24  2,500,000 616 1233 0.24 8% 100% 4% 0%
fasta  #3 2.11  25,000,000 692 1233 2.10 1% 100% 0% 0%
source secs N mem gz cpu cpu load
fasta  #4 0.24  250,000 0 939 0.05 0% 4% 17% 73%
fasta  #4 0.44  2,500,000 2,280 939 0.44 100% 23% 7% 15%
fasta  #4 4.12  25,000,000 119,016 939 4.11 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #5 0.14  250,000 0 1961 0.06 40% 40% 19% 7%
fasta  #5 0.11  2,500,000 0 1961 0.34 75% 75% 90% 73%
fasta  #5 0.93  25,000,000 2,180 1961 3.12 90% 82% 83% 83%
source secs N mem gz cpu cpu load
fasta  #2 0.18  250,000 0 1906 0.06 26% 39% 41% 11%
fasta  #2 0.11  2,500,000 0 1906 0.34 89% 82% 80% 73%
fasta  #2 0.93  25,000,000 2,120 1906 3.14 82% 82% 82% 90%
source secs N mem gz cpu cpu load
fasta  0.23  250,000 0 1237 0.10 0% 64% 23% 0%
fasta  0.93  2,500,000 616 1237 0.93 99% 0% 1% 1%
fasta  4.44  25,000,000 688 1237 4.44 0% 0% 100% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #8 0.21  250,000 0 1543 0.14 38% 19% 24% 45%
k-nucleotide  #8 0.67  2,500,000 24,532 1543 1.11 51% 35% 28% 54%
k-nucleotide  #8 3.34  25,000,000 135,336 1543 10.10 66% 61% 92% 90%
source secs N mem gz cpu cpu load
k-nucleotide  #4 0.25  250,000 0 1749 0.15 36% 40% 50% 16%
k-nucleotide  #4 0.69  2,500,000 25,372 1749 1.15 46% 98% 36% 44%
k-nucleotide  #4 3.32  25,000,000 135,408 1749 10.44 86% 92% 84% 55%
source secs N mem gz cpu cpu load
k-nucleotide  #3 0.24  250,000 0 1661 0.17 22% 72% 33% 18%
k-nucleotide  #3 0.71  2,500,000 23,680 1661 1.38 29% 74% 61% 62%
k-nucleotide  #3 4.47  25,000,000 133,900 1661 12.70 64% 90% 90% 42%
source secs N mem gz cpu cpu load
k-nucleotide  #9 0.20  250,000 0 1841 0.14 21% 32% 45% 36%
k-nucleotide  #9 0.57  2,500,000 9,484 1841 1.05 44% 52% 47% 50%
k-nucleotide  #9 2.93  25,000,000 134,244 1841 9.46 77% 91% 89% 66%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.22  250,000 0 1578 0.13 32% 50% 18% 35%
k-nucleotide  #7 0.55  2,500,000 9,572 1578 0.97 48% 35% 52% 85%
k-nucleotide  #7 2.81  25,000,000 131,400 1578 8.80 86% 73% 90% 64%
source secs N mem gz cpu cpu load
k-nucleotide  #6 0.25  250,000 0 1671 0.15 35% 21% 13% 52%
k-nucleotide  #6 0.64  2,500,000 25,404 1671 1.24 54% 42% 53% 56%
k-nucleotide  #6 3.58  25,000,000 135,508 1671 10.87 84% 66% 72% 84%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.31  250,000 8 1347 0.21 23% 44% 41% 32%
k-nucleotide  #2 0.88  2,500,000 27,492 1347 1.76 52% 33% 33% 99%
k-nucleotide  #2 6.49  25,000,000 137,540 1347 16.96 70% 47% 75% 70%
source secs N mem gz cpu cpu load
k-nucleotide  #5 0.22  250,000 0 1739 0.18 26% 27% 41% 30%
k-nucleotide  #5 0.81  2,500,000 23,700 1739 1.36 52% 53% 37% 44%
k-nucleotide  #5 4.31  25,000,000 133,760 1739 12.57 93% 94% 63% 44%
source secs N mem gz cpu cpu load
k-nucleotide  0.62  250,000 8 1078 0.74 48% 61% 35% 39%
k-nucleotide  2.67  2,500,000 39,928 1078 6.66 41% 77% 42% 93%
k-nucleotide  23.62  25,000,000 153,856 1078 64.72 80% 48% 81% 65%
mandelbrot  #3 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  0.13  1,000 0 868 0.07 14% 15% 46% 50%
mandelbrot  0.20  4,000 0 868 0.76 91% 100% 90% 95%
mandelbrot  2.93  16,000 39,068 868 11.53 98% 99% 97% 99%
source secs N mem gz cpu cpu load
mandelbrot  #5 0.16  1,000 0 719 0.04 6% 13% 31% 56%
mandelbrot  #5 0.09  4,000 0 719 0.32 100% 90% 89% 89%
mandelbrot  #5 1.19  16,000 30,608 719 4.71 98% 98% 99% 100%
source secs N mem gz cpu cpu load
mandelbrot  #6 0.13  1,000 0 1332 0.04 8% 8% 46% 58%
mandelbrot  #6 0.10  4,000 0 1332 0.35 89% 100% 89% 89%
mandelbrot  #6 1.30  16,000 28,500 1332 5.12 99% 98% 98% 99%
source secs N mem gz cpu cpu load
n-body  #5 0.18  500,000 0 2220 0.06 50% 24% 6% 0%
n-body  #5 0.49  5,000,000 620 2220 0.49 100% 0% 0% 2%
n-body  #5 4.84  50,000,000 688 2220 4.84 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.20  500,000 0 1540 0.06 5% 50% 15% 10%
n-body  #3 0.56  5,000,000 620 1540 0.56 2% 2% 0% 100%
n-body  #3 5.49  50,000,000 688 1540 5.49 0% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.20  500,000 0 1805 0.05 53% 0% 11% 42%
n-body  #2 0.38  5,000,000 684 1805 0.38 3% 0% 100% 3%
n-body  #2 3.75  50,000,000 692 1805 3.75 100% 0% 0% 0%
source secs N mem gz cpu cpu load
n-body  #7 0.21  500,000 0 1753 0.05 25% 15% 41% 14%
n-body  #7 0.35  5,000,000 684 1753 0.35 100% 0% 3% 6%
n-body  #7 3.43  50,000,000 692 1753 3.43 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  #8 0.22  500,000 0 1767 0.05 48% 29% 0% 10%
n-body  #8 0.40  5,000,000 688 1767 0.40 3% 0% 0% 100%
n-body  #8 3.93  50,000,000 692 1767 3.92 1% 0% 100% 4%
source secs N mem gz cpu cpu load
n-body  #6 0.26  500,000 0 1790 0.06 12% 19% 20% 73%
n-body  #6 0.52  5,000,000 620 1790 0.51 98% 0% 0% 8%
n-body  #6 5.05  50,000,000 692 1790 5.05 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 0 1480 0.05 18% 57% 24% 0%
n-body  0.39  5,000,000 620 1480 0.39 100% 3% 0% 0%
n-body  3.80  50,000,000 692 1480 3.80 100% 0% 1% 1%
source secs N mem gz cpu cpu load
n-body  #4 0.17  500,000 0 1803 0.06 0% 59% 0% 39%
n-body  #4 0.53  5,000,000 688 1803 0.53 2% 2% 100% 0%
n-body  #4 5.22  50,000,000 692 1803 5.22 0% 0% 0% 100%
source secs N mem gz cpu cpu load
pidigits  0.17  2,000 0 1420 0.04 100% 0% 56% 35%
pidigits  0.31  6,000 736 1420 0.31 100% 6% 0% 0%
pidigits  0.88  10,000 2,928 1420 0.88 100% 1% 0% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.28  2,000 8 1306 0.04 41% 19% 10% 18%
pidigits  #2 0.31  6,000 732 1306 0.31 0% 0% 97% 3%
pidigits  #2 0.88  10,000 2,924 1306 0.88 1% 20% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.17  2,000 0 1366 0.04 0% 0% 24% 67%
pidigits  #3 0.31  6,000 732 1366 0.31 3% 100% 0% 16%
pidigits  #3 0.88  10,000 2,936 1366 0.88 0% 1% 100% 2%
source secs N mem gz cpu cpu load
regex-redux  #3 0.16  50,000 0 719 0.04 6% 27% 44% 13%
regex-redux  #3 0.19  500,000 0 719 0.21 61% 11% 42% 6%
regex-redux  #3 1.43  5,000,000 202,452 719 1.92 12% 11% 82% 30%
source secs N mem gz cpu cpu load
regex-redux  #6 0.19  50,000 0 986 0.04 5% 5% 35% 70%
regex-redux  #6 0.18  500,000 0 986 0.20 59% 11% 11% 41%
regex-redux  #6 1.30  5,000,000 153,268 986 1.79 12% 28% 83% 15%
source secs N mem gz cpu cpu load
regex-redux  #2 0.16  50,000 0 701 0.04 31% 6% 0% 67%
regex-redux  #2 0.19  500,000 0 701 0.20 11% 15% 42% 61%
regex-redux  #2 1.40  5,000,000 148,868 701 1.87 12% 100% 12% 11%
source secs N mem gz cpu cpu load
regex-redux  #4 0.15  50,000 0 765 0.04 13% 38% 0% 44%
regex-redux  #4 0.19  500,000 0 765 0.21 32% 0% 22% 61%
regex-redux  #4 1.41  5,000,000 198,368 765 1.85 18% 33% 82% 0%
source secs N mem gz cpu cpu load
regex-redux  0.20  50,000 0 804 0.04 0% 5% 50% 53%
regex-redux  0.20  500,000 0 804 0.20 10% 5% 10% 100%
regex-redux  1.39  5,000,000 150,876 804 1.88 12% 100% 12% 13%
source secs N mem gz cpu cpu load
regex-redux  #5 0.16  50,000 0 771 0.04 0% 25% 44% 13%
regex-redux  #5 0.18  500,000 0 771 0.20 0% 61% 58% 5%
regex-redux  #5 1.38  5,000,000 195,032 771 1.84 0% 1% 50% 83%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.20  250,000 0 1330 0.02 5% 24% 52% 5%
reverse-complement  #2 0.75  100,000,000 994,900 1330 1.34 28% 27% 46% 81%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.13  500 0 1110 0.05 43% 8% 8% 54%
spectral-norm  #2 0.24  3,000 688 1110 0.89 92% 96% 96% 92%
spectral-norm  #2 0.73  5,500 2,212 1110 2.89 100% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #5 0.15  500 0 1055 0.05 40% 44% 20% 7%
spectral-norm  #5 0.22  3,000 1,020 1055 0.87 100% 100% 96% 96%
spectral-norm  #5 0.72  5,500 2,464 1055 2.86 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.13  500 0 1254 0.05 54% 15% 38% 8%
spectral-norm  0.23  3,000 688 1254 0.88 95% 95% 95% 96%
spectral-norm  0.73  5,500 2,208 1254 2.89 99% 99% 99% 100%
source secs N mem gz cpu cpu load
spectral-norm  #6 0.14  500 0 1126 0.05 38% 38% 7% 8%
spectral-norm  #6 0.22  3,000 1,020 1126 0.87 100% 96% 100% 100%
spectral-norm  #6 0.72  5,500 2,456 1126 2.86 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.17  500 0 817 0.05 25% 6% 50% 12%
spectral-norm  #4 0.22  3,000 952 817 0.86 95% 100% 96% 100%
spectral-norm  #4 0.71  5,500 2,468 817 2.84 100% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.13  500 0 1053 0.05 31% 8% 8% 63%
spectral-norm  #3 0.23  3,000 692 1053 0.89 96% 96% 96% 96%
spectral-norm  #3 0.74  5,500 2,124 1053 2.92 97% 100% 99% 99%