The Computer Language
Benchmarks Game

all Rust programs & measurements

rustc 1.13.0 (2c6933acc 2016-11-07)

source secs N mem gz cpu cpu load
binary-trees  0.08  12 ? 792 0.05 25% 0% 0% 88%
binary-trees  1.20  16 31,480 792 1.19 1% 3% 1% 100%
binary-trees  25.58  20 122,236 792 25.54 1% 0% 0% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 0.03  60,000 ? 2882 0.02 0% 0% 0% 100%
chameneos-redux  #2 0.09  600,000 ? 2882 0.08 11% 0% 0% 100%
chameneos-redux  #2 0.63  6,000,000 42,604 2882 0.62 0% 0% 3% 100%
source secs N mem gz cpu cpu load
chameneos-redux  1.94  60,000 28,144 1450 1.93 0% 1% 2% 99%
chameneos-redux  19.04  600,000 28,276 1450 19.03 1% 1% 0% 100%
chameneos-redux  188.63  6,000,000 28,212 1450 188.56 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #2 0.30  10 776 1191 0.30 0% 0% 3% 100%
fannkuch-redux  #2 3.61  11 15,804 1191 3.60 1% 1% 2% 100%
fannkuch-redux  #2 48.31  12 15,956 1191 48.29 1% 1% 2% 100%
source secs N mem gz cpu cpu load
fasta  0.15  250,000 ? 1211 0.14 0% 0% 0% 100%
fasta  1.34  2,500,000 5,676 1211 1.33 3% 2% 1% 100%
fasta  5.35  25,000,000 5,908 1211 5.34 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #2 0.69  250,000 16,680 1887 0.68 0% 1% 1% 100%
fasta  #2 6.17  2,500,000 16,732 1887 6.17 1% 1% 1% 100%
fasta  #2 58.17  25,000,000 16,924 1887 58.15 1% 0% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  2.24  250,000 39,084 1072 2.22 0% 1% 5% 100%
k-nucleotide  21.66  2,500,000 49,168 1072 21.62 0% 1% 1% 100%
k-nucleotide  221.07  25,000,000 162,460 1072 220.87 1% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #2 0.70  250,000 35,316 1324 0.65 1% 0% 1% 100%
k-nucleotide  #2 6.34  2,500,000 44,980 1324 6.13 0% 1% 1% 100%
k-nucleotide  #2 58.84  25,000,000 166,384 1324 58.78 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  0.14  1,000 ? 868 0.10 7% 14% 8% 100%
mandelbrot  1.76  4,000 40,400 868 1.74 2% 0% 1% 100%
mandelbrot  26.14  16,000 64,980 868 26.11 0% 1% 1% 100%
mandelbrot  #2 Make Error  1,000
source secs N mem gz cpu cpu load
meteor-contest  #2 0.12  2,098 ? 3837 0.08 0% 0% 0% 100%
source secs N mem gz cpu cpu load
meteor-contest  0.20  2,098 ? 2224 0.15 0% 5% 11% 100%
source secs N mem gz cpu cpu load
n-body  #2 0.24  500,000 1,544 1799 0.24 0% 8% 0% 100%
n-body  #2 2.36  5,000,000 5,748 1799 2.35 0% 3% 1% 100%
n-body  #2 23.50  50,000,000 5,740 1799 23.49 1% 1% 1% 100%
source secs N mem gz cpu cpu load
n-body  0.25  500,000 552 1474 0.25 0% 0% 8% 96%
n-body  2.42  5,000,000 5,536 1474 2.42 1% 0% 0% 100%
n-body  24.17  50,000,000 5,768 1474 24.16 0% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  0.11  2,000 ? 1420 0.09 0% 0% 0% 92%
pidigits  0.87  6,000 5,612 1420 0.87 1% 0% 2% 99%
pidigits  2.52  10,000 7,880 1420 2.51 1% 1% 0% 100%
source secs N mem gz cpu cpu load
regex-dna  #2 0.09  50,000 ? 669 0.06 0% 11% 0% 100%
regex-dna  #2 0.71  500,000 40,476 669 0.62 0% 1% 0% 99%
regex-dna  #2 5.86  5,000,000 217,244 669 5.83 0% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  0.06  250,000 ? 1807 ? 0% 0% 0% 100%
reverse-complement  0.45  2,500,000 ? 1807 ? 0% 4% 0% 98%
reverse-complement  0.88  25,000,000 267,168 1807 0.88 1% 0% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  0.15  500 ? 1251 ? 0% 6% 0% 100%
spectral-norm  4.70  3,000 13,984 1251 4.54 1% 1% 0% 100%
spectral-norm  15.72  5,500 16,024 1251 15.51 1% 0% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #2 0.15  500 ? 1107 ? 0% 0% 6% 94%
spectral-norm  #2 4.69  3,000 13,920 1107 4.54 0% 0% 1% 100%
spectral-norm  #2 15.72  5,500 16,028 1107 15.51 1% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 2.24  500,000 67,356 940 2.22 0% 1% 1% 100%
thread-ring  #2 21.73  5,000,000 106,300 940 21.70 1% 1% 1% 100%
thread-ring  #2 216.78  50,000,000 50,776 940 216.65 1% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  2.54  500,000 50,864 473 2.52 0% 1% 3% 100%
thread-ring  24.66  5,000,000 55,040 473 24.63 0% 1% 1% 100%
thread-ring  245.82  50,000,000 52,900 473 245.68 0% 1% 1% 100%