The Computer Language
Benchmarks Game

all Python 3 programs & measurements

Python 3.6.0 (default, Feb 5 2017, 10:29:14) [GCC 5.4.0 20160609] on linux
--enable-optimizations
make profile-opt

source secs N mem gz cpu cpu load
binary-trees  0.41  12 40,652 596 0.85 50% 49% 71% 51%
binary-trees  5.64  16 98,556 596 19.93 93% 87% 88% 90%
binary-trees  126.07  20 831,740 596 474.55 93% 93% 93% 99%
source secs N mem gz cpu cpu load
chameneos-redux  #2 2.81  60,000 7,824 866 4.29 50% 26% 28% 48%
chameneos-redux  #2 28.35  600,000 7,856 866 46.16 39% 44% 46% 37%
chameneos-redux  #2 283.86  6,000,000 7,752 866 463.68 48% 35% 35% 49%
source secs N mem gz cpu cpu load
fannkuch-redux  #6 12.62  10 7,824 385 12.61 2% 100% 2% 8%
fannkuch-redux  #6 156.13  11 7,732 385 156.08 0% 0% 0% 100%
fannkuch-redux  #6 2,354.87  12 7,820 385 2,354.25 27% 1% 1% 74%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 3.19  10 52,760 944 11.83 96% 96% 93% 88%
fannkuch-redux  #4 36.64  11 52,444 944 142.74 100% 97% 99% 95%
fannkuch-redux  #4 501.72  12 54,708 944 1,967.92 98% 97% 100% 99%
source secs N mem gz cpu cpu load
fasta  1.62  250,000 7,688 792 1.62 2% 100% 1% 1%
fasta  15.91  2,500,000 7,756 792 15.90 1% 1% 100% 1%
fasta  167.99  25,000,000 7,788 792 164.90 34% 25% 24% 19%
source secs N mem gz cpu cpu load
fasta  #3 2.01  250,000 7,816 977 1.19 6% 27% 1% 99%
fasta  #3 11.59  2,500,000 7,816 977 11.58 1% 2% 1% 100%
fasta  #3 113.03  25,000,000 7,860 977 112.99 1% 100% 0% 1%
source secs N mem gz cpu cpu load
fasta  #5 0.81  250,000 55,380 1933 1.69 83% 48% 70% 22%
fasta  #5 6.64  2,500,000 419,940 1933 15.02 61% 56% 53% 59%
fasta  #5 176.51  25,000,000 3,434,784 1933 155.20 46% 67% 60% 34%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.36  250,000 14,452 1937 3.26 89% 60% 59% 67%
k-nucleotide  #3 7.44  2,500,000 25,412 1937 27.43 96% 91% 92% 95%
k-nucleotide  #3 72.35  25,000,000 229,040 1937 268.72 98% 94% 91% 94%
source secs N mem gz cpu cpu load
k-nucleotide  #8 1.32  250,000 89,732 647 3.71 57% 80% 60% 86%
k-nucleotide  #8 12.01  2,500,000 47,348 647 36.08 54% 97% 61% 90%
k-nucleotide  #8 113.94  25,000,000 466,340 647 352.64 61% 86% 65% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 1.20  1,000 52,316 686 4.33 96% 90% 90% 88%
mandelbrot  #7 16.61  4,000 52,812 686 65.81 99% 99% 100% 99%
mandelbrot  #7 250.62  16,000 52,752 686 1,000.26 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #5 1.89  1,000 52,264 449 7.16 94% 98% 94% 95%
mandelbrot  #5 27.02  4,000 54,496 449 107.56 100% 100% 100% 100%
mandelbrot  #5 431.75  16,000 54,368 449 1,723.44 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 2.17  1,000 486,316 777 7.20 86% 83% 92% 83%
mandelbrot  #2 30.16  4,000 13,184 777 107.91 87% 87% 99% 86%
mandelbrot  #2 441.00  16,000 13,520 777 1,731.08 98% 100% 98% 98%
source secs N mem gz cpu cpu load
meteor-contest  8.94  2,098 7,896 1442 8.93 0% 100% 1% 1%
source secs N mem gz cpu cpu load
meteor-contest  #3 8.79  2,098 9,976 1206 8.78 1% 100% 0% 1%
source secs N mem gz cpu cpu load
meteor-contest  #2 6.72  2,098 8,104 1311 6.72 100% 1% 1% 0%
source secs N mem gz cpu cpu load
n-body  #2 8.67  500,000 7,668 1228 8.66 0% 1% 1% 100%
n-body  #2 85.96  5,000,000 7,716 1228 85.93 0% 1% 1% 100%
n-body  #2 867.11  50,000,000 7,680 1228 866.87 1% 52% 48% 1%
source secs N mem gz cpu cpu load
n-body  8.44  500,000 7,692 1181 8.42 100% 1% 0% 1%
n-body  84.81  5,000,000 7,720 1181 84.78 100% 1% 1% 0%
n-body  836.27  50,000,000 7,756 1181 836.06 0% 1% 1% 100%
source secs N mem gz cpu cpu load
pidigits  #2 0.19  2,000 ? 382 0.18 0% 100% 5% 0%
pidigits  #2 1.25  6,000 9,620 382 1.24 1% 100% 1% 1%
pidigits  #2 3.41  10,000 9,992 382 3.40 1% 2% 100% 1%
source secs N mem gz cpu cpu load
regex-redux  1.07  50,000 ? 486 ? 5% 75% 17% 13%
regex-redux  1.66  500,000 111,148 486 2.90 80% 29% 40% 27%
regex-redux  14.87  5,000,000 433,868 486 28.02 32% 45% 84% 29%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.12  250,000 ? 800 0.08 0% 8% 100% 0%
reverse-complement  #6 0.81  2,500,000 25,500 800 0.59 20% 63% 28% 15%
reverse-complement  #6 2.93  25,000,000 265,636 800 4.28 80% 46% 21% 2%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.09  250,000 ? 325 0.08 100% 0% 0% 0%
reverse-complement  #4 0.65  2,500,000 54,868 325 0.64 11% 0% 100% 0%
reverse-complement  #4 5.64  25,000,000 1,012,664 325 5.63 1% 1% 100% 1%
source secs N mem gz cpu cpu load
spectral-norm  #6 5.12  500 7,764 328 5.12 0% 1% 100% 0%
spectral-norm  #6 188.26  3,000 8,596 328 188.20 1% 1% 1% 100%
spectral-norm  #6 655.23  5,500 8,808 328 655.04 1% 1% 100% 0%
source secs N mem gz cpu cpu load
spectral-norm  #5 1.69  500 52,676 437 6.04 90% 92% 88% 89%
spectral-norm  #5 53.56  3,000 56,144 437 210.21 99% 99% 99% 99%
spectral-norm  #5 180.01  5,500 55,892 437 714.86 99% 100% 99% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 2.69  500,000 13,124 288 3.60 10% 54% 56% 9%
thread-ring  #2 28.91  5,000,000 13,128 288 38.77 29% 33% 33% 29%
thread-ring  #2 285.68  50,000,000 13,124 288 383.49 37% 25% 25% 38%