The Computer Language
Benchmarks Game

all Python 3 programs & measurements

Python 3.6.3

source secs N mem gz cpu cpu load
binary-trees  #2 0.31  7 ? 338 ? 3% 6% 3% 94%
binary-trees  #2 1.61  14 10,860 338 1.61 100% 0% 0% 4%
binary-trees  #2 307.99  21 275,916 338 307.85 0% 14% 87% 0%
source secs N mem gz cpu cpu load
binary-trees  0.59  7 11,004 589 0.38 3% 2% 80% 2%
binary-trees  0.84  14 16,152 589 2.01 92% 49% 49% 52%
binary-trees  93.55  21 280,624 589 337.74 92% 89% 87% 93%
source secs N mem gz cpu cpu load
chameneos-redux  #2 2.63  60,000 10,472 908 3.57 48% 26% 13% 48%
chameneos-redux  #2 22.08  600,000 10,564 908 32.76 47% 25% 26% 48%
chameneos-redux  #2 209.17  6,000,000 10,688 908 317.36 40% 34% 33% 40%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 3.85  10 15,356 950 13.92 89% 91% 98% 84%
fannkuch-redux  #4 42.50  11 15,632 950 161.03 91% 99% 94% 94%
fannkuch-redux  #4 565.97  12 15,528 950 2,172.63 95% 94% 95% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #6 13.79  10 10,080 385 13.79 0% 100% 1% 0%
fannkuch-redux  #6 168.16  11 9,920 385 168.12 74% 27% 1% 1%
fannkuch-redux  #6 2,403.11  12 10,008 385 2,402.52 0% 54% 47% 1%
source secs N mem gz cpu cpu load
fasta  1.61  250,000 10,348 817 1.61 2% 1% 100% 1%
fasta  14.93  2,500,000 10,324 817 14.92 100% 1% 1% 1%
fasta  143.82  25,000,000 10,236 817 143.64 100% 1% 0% 1%
source secs N mem gz cpu cpu load
fasta  #5 1.09  250,000 15,856 1947 1.90 50% 53% 28% 54%
fasta  #5 6.38  2,500,000 15,876 1947 14.16 62% 40% 64% 60%
fasta  #5 59.47  25,000,000 15,996 1947 138.97 55% 55% 63% 66%
source secs N mem gz cpu cpu load
fasta  #2 1.28  250,000 10,324 1121 1.28 2% 5% 99% 4%
fasta  #2 11.20  2,500,000 10,272 1121 11.19 100% 3% 1% 1%
fasta  #2 109.55  25,000,000 10,456 1121 109.53 100% 1% 0% 0%
source secs N mem gz cpu cpu load
fasta  #3 1.29  250,000 10,232 1003 1.29 100% 0% 0% 2%
fasta  #3 11.22  2,500,000 10,456 1003 11.21 0% 2% 100% 0%
fasta  #3 109.39  25,000,000 10,460 1003 109.36 0% 0% 0% 100%
source secs N mem gz cpu cpu load
k-nucleotide  1.71  250,000 16,808 607 4.34 75% 43% 73% 65%
k-nucleotide  13.77  2,500,000 27,744 607 42.48 64% 91% 96% 59%
k-nucleotide  131.60  25,000,000 309,992 607 415.63 94% 72% 76% 74%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.27  250,000 16,664 1967 3.84 70% 70% 69% 95%
k-nucleotide  #3 8.12  2,500,000 27,708 1967 30.34 93% 97% 92% 92%
k-nucleotide  #3 77.65  25,000,000 182,700 1967 302.86 97% 99% 97% 98%
source secs N mem gz cpu cpu load
k-nucleotide  #8 1.71  250,000 16,728 655 4.38 45% 94% 75% 45%
k-nucleotide  #8 13.34  2,500,000 33,744 655 38.78 80% 70% 94% 48%
k-nucleotide  #8 133.80  25,000,000 496,140 655 402.73 92% 56% 96% 57%
source secs N mem gz cpu cpu load
mandelbrot  #2 2.23  1,000 15,436 783 7.10 73% 74% 74% 98%
mandelbrot  #2 30.47  4,000 15,628 783 102.02 78% 98% 79% 80%
mandelbrot  #2 389.57  16,000 15,680 783 1,525.49 97% 97% 100% 97%
source secs N mem gz cpu cpu load
mandelbrot  #7 1.45  1,000 15,496 688 4.37 71% 69% 70% 92%
mandelbrot  #7 14.96  4,000 15,624 688 58.68 100% 98% 98% 98%
mandelbrot  #7 225.24  16,000 15,736 688 899.25 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #5 2.05  1,000 15,328 458 6.84 95% 80% 80% 81%
mandelbrot  #5 25.88  4,000 15,352 458 102.07 98% 98% 98% 100%
mandelbrot  #5 404.35  16,000 15,696 458 1,615.23 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  #3 9.82  2,098 11,984 1220 9.82 100% 1% 0% 0%
source secs N mem gz cpu cpu load
meteor-contest  #2 7.65  2,098 10,212 1330 7.64 1% 2% 0% 100%
source secs N mem gz cpu cpu load
meteor-contest  10.21  2,098 10,220 1447 10.20 0% 100% 1% 0%
source secs N mem gz cpu cpu load
n-body  #2 9.07  500,000 10,180 1242 9.07 100% 1% 0% 0%
n-body  #2 85.94  5,000,000 10,232 1242 85.91 0% 1% 100% 0%
n-body  #2 893.98  50,000,000 10,384 1242 893.76 19% 27% 55% 0%
source secs N mem gz cpu cpu load
n-body  8.52  500,000 10,356 1196 8.52 0% 100% 2% 0%
n-body  88.62  5,000,000 10,400 1196 88.60 0% 1% 0% 100%
n-body  838.39  50,000,000 10,324 1196 838.20 95% 1% 5% 0%
source secs N mem gz cpu cpu load
pidigits  #2 0.34  2,000 836 386 0.30 0% 3% 0% 100%
pidigits  #2 1.35  6,000 12,300 386 1.35 100% 2% 2% 2%
pidigits  #2 3.43  10,000 12,716 386 3.43 100% 1% 1% 0%
source secs N mem gz cpu cpu load
regex-redux  0.62  50,000 15,968 512 0.64 24% 65% 8% 11%
regex-redux  2.00  500,000 51,820 512 3.05 69% 25% 44% 20%
regex-redux  15.22  5,000,000 447,324 512 27.44 25% 33% 32% 91%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.56  250,000 ? 814 ? 11% 43% 44% 77%
reverse-complement  #6 18.79  100,000,000 1,008,868 814 19.73 9% 69% 35% 30%
source secs N mem gz cpu cpu load
reverse-complement  #4 1.15  250,000 ? 335 ? 58% 0% 1% 1%
reverse-complement  #4 219.97  100,000,000 ? 335 ? 45% 27% 22% 57%
source secs N mem gz cpu cpu load
spectral-norm  #6 5.44  500 10,084 328 5.44 100% 0% 0% 1%
spectral-norm  #6 190.41  3,000 10,172 328 190.36 53% 1% 0% 47%
spectral-norm  #6 647.12  5,500 10,676 328 646.95 66% 11% 24% 0%
source secs N mem gz cpu cpu load
spectral-norm  #5 1.95  500 15,512 443 6.16 76% 75% 92% 74%
spectral-norm  #5 53.81  3,000 15,424 443 212.68 99% 99% 100% 98%
spectral-norm  #5 180.97  5,500 15,876 443 720.51 100% 100% 100% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 2.82  500,000 15,348 288 3.75 24% 40% 41% 21%
thread-ring  #2 26.42  5,000,000 15,448 288 35.54 47% 17% 17% 46%
thread-ring  #2 263.79  50,000,000 15,236 288 356.06 54% 11% 10% 55%