The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.24.0 (4d90ac38c 2018-02-12)

source secs N mem gz cpu cpu load
binary-trees   7 ? 751 0.00
binary-trees  0.05  14 ? 751 0.12 75% 60% 50% 100%
binary-trees  6.81  21 133,456 751 22.73 91% 90% 83% 73%
source secs N mem gz cpu cpu load
binary-trees  #2 0.02  7 ? 721 ? 0% 100% 33% 0%
binary-trees  #2 0.03  14 ? 721 0.08 67% 75% 67% 67%
binary-trees  #2 4.37  21 178,280 721 15.88 89% 90% 99% 88%
source secs N mem gz cpu cpu load
chameneos-redux  1.39  60,000 1,996 1455 2.56 58% 24% 17% 87%
chameneos-redux  11.96  600,000 2,076 1455 24.38 75% 22% 21% 83%
chameneos-redux  115.10  6,000,000 2,004 1455 247.60 47% 66% 68% 40%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.02  60,000 ? 2890 0.03 50% 50% 0% 50%
chameneos-redux  #2 0.20  600,000 ? 2890 0.75 100% 95% 95% 89%
chameneos-redux  #2 2.24  6,000,000 2,184 2890 8.81 99% 98% 99% 99%
source secs N mem gz cpu cpu load
fannkuch-redux  #3 0.08  10 ? 1020 0.26 100% 88% 100% 78%
fannkuch-redux  #3 0.80  11 1,684 1020 3.11 100% 95% 99% 98%
fannkuch-redux  #3 10.96  12 1,748 1020 42.90 99% 100% 99% 93%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.10  10 ? 1191 0.35 92% 82% 80% 91%
fannkuch-redux  #2 1.08  11 1,684 1191 4.11 93% 99% 96% 97%
fannkuch-redux  #2 14.08  12 1,864 1191 54.91 97% 98% 100% 95%
source secs N mem gz cpu cpu load
fasta  #2 0.04  250,000 ? 1906 0.08 75% 67% 25% 50%
fasta  #2 0.23  2,500,000 2,024 1906 0.57 61% 63% 74% 63%
fasta  #2 2.05  25,000,000 3,276 1906 5.06 59% 71% 59% 59%
source secs N mem gz cpu cpu load
fasta  0.19  250,000 ? 1237 0.19 0% 5% 0% 95%
fasta  1.87  2,500,000 1,868 1237 1.87 1% 1% 1% 100%
fasta  7.70  25,000,000 2,032 1237 7.70 42% 0% 1% 59%
source secs N mem gz cpu cpu load
fasta  #3 0.05  250,000 ? 1233 0.05 0% 100% 0% 0%
fasta  #3 0.41  2,500,000 1,976 1233 0.41 0% 100% 2% 0%
fasta  #3 3.63  25,000,000 2,952 1233 3.63 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  #4 0.08  250,000 ? 939 0.08 0% 0% 0% 100%
fasta  #4 0.76  2,500,000 7,440 939 0.76 1% 0% 0% 100%
fasta  #4 7.16  25,000,000 124,396 939 7.15 0% 1% 100% 0%
source secs N mem gz cpu cpu load
k-nucleotide  0.57  250,000 20,672 1078 1.43 77% 77% 51% 56%
k-nucleotide  4.93  2,500,000 42,864 1078 13.35 48% 81% 69% 77%
k-nucleotide  47.49  25,000,000 152,592 1078 132.75 53% 50% 80% 100%
k-nucleotide  #6 Make Error  250,000
k-nucleotide  #4 Make Error  250,000
k-nucleotide  #5 Make Error  250,000
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.30  250,000 1,760 1347 0.76 86% 37% 41% 93%
k-nucleotide  #2 2.28  2,500,000 27,880 1347 6.28 43% 47% 88% 100%
k-nucleotide  #2 21.64  25,000,000 137,828 1347 61.60 45% 89% 62% 89%
source secs N mem gz cpu cpu load
k-nucleotide  #7 0.11  250,000 ? 1647 0.26 42% 91% 73% 27%
k-nucleotide  #7 0.69  2,500,000 28,084 1647 1.85 35% 74% 84% 79%
k-nucleotide  #7 5.61  25,000,000 138,052 1647 16.38 81% 100% 49% 63%
k-nucleotide  #3 Make Error  250,000
mandelbrot  #4 Make Error  1,000
source secs N mem gz cpu cpu load
mandelbrot  #6 0.02  1,000 ? 1332 0.06 100% 0% 67% 50%
mandelbrot  #6 0.19  4,000 ? 1332 0.70 94% 89% 95% 90%
mandelbrot  #6 2.78  16,000 34,856 1332 10.96 99% 100% 99% 99%
source secs N mem gz cpu cpu load
mandelbrot  0.12  1,000 ? 868 0.41 75% 82% 92% 85%
mandelbrot  1.60  4,000 5,164 868 6.14 93% 98% 96% 99%
mandelbrot  24.27  16,000 40,456 868 96.43 99% 99% 100% 100%
mandelbrot  #3 Make Error  1,000
source secs N mem gz cpu cpu load
meteor-contest  0.06  2,098 ? 2238 0.14 50% 71% 80% 50%
source secs N mem gz cpu cpu load
meteor-contest  #2 0.04  2,098 ? 3848 0.10 67% 67% 50% 100%
source secs N mem gz cpu cpu load
n-body  #3 0.22  500,000 1,044 1540 0.22 0% 0% 100% 5%
n-body  #3 2.13  5,000,000 1,712 1540 2.13 22% 0% 0% 81%
n-body  #3 21.20  50,000,000 1,760 1540 21.20 100% 0% 0% 1%
source secs N mem gz cpu cpu load
n-body  #4 0.20  500,000 ? 1803 0.19 0% 95% 0% 0%
n-body  #4 1.91  5,000,000 1,600 1803 1.91 0% 100% 2% 0%
n-body  #4 19.07  50,000,000 1,704 1803 19.07 0% 0% 1% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.15  500,000 ? 1805 0.15 100% 0% 7% 0%
n-body  #2 1.44  5,000,000 1,640 1805 1.43 100% 1% 0% 2%
n-body  #2 14.32  50,000,000 1,748 1805 14.32 100% 1% 1% 0%
source secs N mem gz cpu cpu load
n-body  0.22  500,000 968 1480 0.22 5% 8% 0% 100%
n-body  2.13  5,000,000 1,708 1480 2.12 0% 1% 100% 0%
n-body  21.20  50,000,000 1,712 1480 21.20 100% 0% 0% 0%
source secs N mem gz cpu cpu load
pidigits  0.07  2,000 ? 1420 0.06 0% 0% 0% 86%
pidigits  0.60  6,000 3,300 1420 0.60 100% 0% 0% 2%
pidigits  1.75  10,000 4,532 1420 1.75 100% 1% 0% 1%
source secs N mem gz cpu cpu load
pidigits  #2 0.07  2,000 ? 1306 0.07 100% 0% 0% 0%
pidigits  #2 0.61  6,000 3,244 1306 0.60 100% 0% 0% 2%
pidigits  #2 1.75  10,000 4,580 1306 1.75 0% 1% 100% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.07  2,000 ? 1366 0.07 88% 0% 0% 0%
pidigits  #3 0.60  6,000 3,400 1366 0.60 100% 0% 2% 2%
pidigits  #3 1.74  10,000 4,608 1366 1.74 100% 1% 1% 3%
regex-redux  #2 Make Error  50,000
regex-redux  Make Error  50,000
source secs N mem gz cpu cpu load
reverse-complement  #3 0.02  250,000 ? 1382 0.02 100% 0% 0% 0%
reverse-complement  #3 0.10  2,500,000 ? 1382 0.13 90% 10% 10% 10%
reverse-complement  #3 0.60  25,000,000 250,860 1382 0.89 18% 25% 97% 17%
source secs N mem gz cpu cpu load
reverse-complement  0.02  250,000 ? 1871 0.02 67% 0% 50% 0%
reverse-complement  0.14  2,500,000 ? 1871 0.16 7% 8% 15% 80%
reverse-complement  0.82  25,000,000 260,444 1871 1.07 12% 77% 26% 20%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.02  250,000 ? 1376 0.02 0% 0% 50% 67%
reverse-complement  #2 0.08  2,500,000 ? 1376 0.11 0% 13% 13% 100%
reverse-complement  #2 0.42  25,000,000 250,836 1376 0.70 24% 32% 95% 24%
source secs N mem gz cpu cpu load
spectral-norm  #4 0.03  500 ? 817 0.09 75% 100% 100% 100%
spectral-norm  #4 0.71  3,000 2,576 817 2.80 99% 99% 99% 100%
spectral-norm  #4 2.35  5,500 2,632 817 9.37 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #3 0.05  500 ? 1053 0.11 25% 50% 50% 60%
spectral-norm  #3 1.01  3,000 2,868 1053 3.03 71% 81% 76% 75%
spectral-norm  #3 2.58  5,500 2,864 1053 9.91 97% 97% 95% 97%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.07  500 ? 1110 0.16 75% 40% 40% 71%
spectral-norm  #2 1.49  3,000 2,064 1110 4.74 88% 65% 79% 88%
spectral-norm  #2 4.02  5,500 2,880 1110 15.72 98% 98% 98% 98%
source secs N mem gz cpu cpu load
spectral-norm  0.06  500 ? 1254 0.15 50% 60% 40% 71%
spectral-norm  1.50  3,000 2,888 1254 4.74 82% 80% 78% 79%
spectral-norm  4.11  5,500 2,880 1254 15.72 95% 97% 96% 96%
source secs N mem gz cpu cpu load
thread-ring  3.28  500,000 6,912 473 4.50 1% 68% 66% 1%
thread-ring  32.42  5,000,000 7,028 473 44.01 28% 36% 37% 28%
thread-ring  323.89  50,000,000 6,844 473 440.17 26% 38% 38% 27%
source secs N mem gz cpu cpu load
thread-ring  #2 1.41  500,000 6,816 940 3.83 67% 67% 68% 66%
thread-ring  #2 15.14  5,000,000 6,652 940 33.50 43% 66% 66% 43%
thread-ring  #2 156.01  50,000,000 6,752 940 317.04 66% 36% 36% 66%