The Computer Language
Benchmarks Game

all Python 3 programs & measurements

Python 3.6.1 (default, Apr 18 2017, 10:33:41)
[GCC 6.3.0 20170406]
--enable-optimizations --with-lto
make profile-opt

source secs N mem gz cpu cpu load
binary-trees  0.20  7 ? 581 0.10 5% 0% 0% 47%
binary-trees  0.59  14 54,636 581 1.54 62% 84% 60% 64%
binary-trees  86.90  21 451,548 581 306.31 89% 97% 87% 89%
source secs N mem gz cpu cpu load
binary-trees  #2 0.03  7 ? 338 0.03 100% 0% 0% 0%
binary-trees  #2 1.30  14 9,196 338 1.29 1% 100% 2% 2%
binary-trees  #2 265.47  21 274,404 338 265.33 1% 0% 100% 1%
source secs N mem gz cpu cpu load
chameneos-redux  #2 2.47  60,000 7,856 866 3.78 27% 56% 50% 25%
chameneos-redux  #2 24.70  600,000 7,872 866 35.14 51% 14% 46% 35%
chameneos-redux  #2 236.84  6,000,000 7,908 866 337.78 24% 48% 27% 45%
source secs N mem gz cpu cpu load
fannkuch-redux  #6 11.60  10 7,916 385 11.60 0% 0% 100% 1%
fannkuch-redux  #6 141.85  11 7,904 385 141.81 100% 1% 0% 1%
fannkuch-redux  #6 1,924.62  12 7,848 385 1,924.10 1% 17% 84% 1%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 3.30  10 51,772 944 12.05 98% 87% 92% 92%
fannkuch-redux  #4 36.94  11 52,996 944 143.69 100% 100% 93% 97%
fannkuch-redux  #4 483.79  12 51,896 944 1,880.10 97% 94% 100% 99%
source secs N mem gz cpu cpu load
fasta  1.51  250,000 8,108 792 1.50 2% 0% 0% 100%
fasta  14.90  2,500,000 8,088 792 14.86 3% 29% 2% 82%
fasta  148.10  25,000,000 8,124 792 147.90 100% 1% 0% 1%
source secs N mem gz cpu cpu load
fasta  #3 1.15  250,000 7,956 977 1.15 100% 2% 0% 2%
fasta  #3 11.23  2,500,000 7,888 977 11.22 1% 9% 100% 1%
fasta  #3 110.91  25,000,000 8,024 977 110.87 100% 1% 1% 1%
source secs N mem gz cpu cpu load
fasta  #5 0.78  250,000 56,924 1933 1.68 67% 44% 59% 53%
fasta  #5 6.34  2,500,000 419,400 1933 14.60 65% 61% 69% 48%
fasta  #5 Timed Out  25,000,000
source secs N mem gz cpu cpu load
fasta  #2 1.14  250,000 8,000 1092 1.14 1% 3% 99% 0%
fasta  #2 11.15  2,500,000 8,044 1092 11.15 1% 0% 100% 0%
fasta  #2 111.20  25,000,000 8,104 1092 111.16 1% 100% 0% 1%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.38  250,000 14,700 1937 3.27 89% 60% 58% 66%
k-nucleotide  #3 7.53  2,500,000 25,704 1937 27.79 92% 92% 99% 91%
k-nucleotide  #3 84.73  25,000,000 221,028 1937 276.97 97% 93% 91% 91%
source secs N mem gz cpu cpu load
k-nucleotide  #8 2.04  250,000 14,392 647 3.73 33% 57% 76% 55%
k-nucleotide  #8 11.88  2,500,000 30,200 647 36.45 87% 64% 98% 61%
k-nucleotide  #8 120.84  25,000,000 451,468 647 368.82 96% 62% 95% 56%
source secs N mem gz cpu cpu load
k-nucleotide  1.81  250,000 14,924 599 3.67 96% 61% 37% 46%
k-nucleotide  11.26  2,500,000 25,944 599 34.67 92% 70% 96% 57%
k-nucleotide  113.33  25,000,000 324,880 599 373.17 75% 98% 79% 80%
source secs N mem gz cpu cpu load
mandelbrot  #7 1.41  1,000 51,200 686 4.54 92% 81% 79% 80%
mandelbrot  #7 17.71  4,000 51,516 686 70.14 99% 99% 99% 99%
mandelbrot  #7 273.43  16,000 53,416 686 1,091.35 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #5 1.99  1,000 51,920 449 7.28 92% 92% 94% 91%
mandelbrot  #5 28.53  4,000 51,732 449 113.36 100% 100% 100% 100%
mandelbrot  #5 450.25  16,000 52,000 449 1,791.65 100% 100% 100% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 2.12  1,000 307,980 777 7.45 96% 87% 90% 87%
mandelbrot  #2 35.59  4,000 256,624 777 120.32 80% 80% 80% 100%
mandelbrot  #2 443.86  16,000 13,748 777 1,765.80 100% 100% 100% 100%
source secs N mem gz cpu cpu load
meteor-contest  8.66  2,098 8,288 1442 8.65 0% 1% 100% 0%
source secs N mem gz cpu cpu load
meteor-contest  #3 8.99  2,098 10,204 1206 8.98 1% 1% 0% 100%
source secs N mem gz cpu cpu load
meteor-contest  #2 6.64  2,098 8,280 1311 6.63 100% 1% 0% 1%
source secs N mem gz cpu cpu load
n-body  #2 8.24  500,000 7,764 1228 8.24 100% 1% 1% 0%
n-body  #2 86.70  5,000,000 7,860 1228 86.68 1% 0% 100% 0%
n-body  #2 829.63  50,000,000 7,728 1228 829.44 100% 1% 0% 0%
source secs N mem gz cpu cpu load
n-body  8.10  500,000 7,760 1181 8.10 0% 1% 100% 1%
n-body  79.51  5,000,000 7,776 1181 79.49 0% 1% 0% 100%
n-body  787.02  50,000,000 7,744 1181 786.82 0% 1% 0% 100%
source secs N mem gz cpu cpu load
pidigits  #2 0.29  2,000 752 382 0.19 97% 3% 0% 0%
pidigits  #2 1.24  6,000 9,736 382 1.23 2% 2% 0% 100%
pidigits  #2 3.51  10,000 10,344 382 3.50 0% 2% 1% 100%
source secs N mem gz cpu cpu load
regex-redux  0.36  50,000 40,008 486 0.39 20% 61% 25% 19%
regex-redux  1.80  500,000 50,416 486 2.93 28% 25% 53% 66%
regex-redux  14.86  5,000,000 439,208 486 27.92 46% 77% 35% 31%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.07  250,000 ? 800 0.06 0% 0% 0% 100%
reverse-complement  #6 0.47  2,500,000 30,884 800 0.58 28% 77% 0% 40%
reverse-complement  #6 2.82  25,000,000 265,428 800 4.18 46% 32% 20% 54%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.14  250,000 ? 325 0.09 0% 93% 0% 7%
reverse-complement  #4 0.95  2,500,000 47,264 325 0.61 1% 1% 29% 71%
reverse-complement  #4 5.60  25,000,000 1,012,584 325 5.58 1% 100% 1% 0%
source secs N mem gz cpu cpu load
spectral-norm  #6 5.86  500 7,684 328 5.85 1% 1% 1% 100%
spectral-norm  #6 199.51  3,000 8,588 328 199.44 0% 1% 100% 0%
spectral-norm  #6 666.17  5,500 9,016 328 665.98 0% 1% 100% 0%
source secs N mem gz cpu cpu load
spectral-norm  #5 1.80  500 53,324 437 6.18 90% 86% 85% 85%
spectral-norm  #5 58.56  3,000 52,924 437 228.20 98% 97% 98% 98%
spectral-norm  #5 188.83  5,500 54,524 437 750.46 99% 100% 100% 99%
source secs N mem gz cpu cpu load
thread-ring  #2 2.89  500,000 13,200 288 3.11 26% 24% 18% 40%
thread-ring  #2 29.01  5,000,000 13,160 288 32.29 27% 26% 26% 29%
thread-ring  #2 294.19  50,000,000 13,160 288 332.53 31% 26% 27% 25%