The Computer Language
Benchmarks Game

all Python 3 programs & measurements

Python 3.5.0 (default, Sep 14 2015, 09:36:50) [GCC 4.9.2] on linux

source secs N mem gz cpu cpu load
binary-trees  1.79  12 10,664 596 1.02 9% 7% 5% 99%
binary-trees  21.96  16 68,800 596 21.87 1% 1% 1% 100%
binary-trees  497.80  20 482,656 596 497.40 1% 1% 1% 100%
source secs N mem gz cpu cpu load
chameneos-redux  #2 2.92  60,000 6,392 866 2.81 0% 1% 0% 97%
chameneos-redux  #2 28.22  600,000 6,388 866 28.10 1% 1% 1% 100%
chameneos-redux  #2 282.11  6,000,000 10,584 866 281.90 1% 1% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #6 17.28  10 6,300 385 17.27 1% 1% 0% 100%
fannkuch-redux  #6 228.10  11 6,436 385 228.02 1% 1% 0% 100%
fannkuch-redux  #6 2,963.90  12 6,376 385 2,962.89 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 15.62  10 40,260 944 15.51 1% 0% 1% 99%
fannkuch-redux  #4 185.23  11 44,676 944 185.14 1% 0% 0% 100%
fannkuch-redux  #4 2,464.08  12 44,564 944 2,463.20 1% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  2.67  250,000 6,344 792 2.65 0% 2% 0% 100%
fasta  25.88  2,500,000 6,304 792 25.86 0% 1% 0% 100%
fasta  260.44  25,000,000 6,460 792 258.62 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #5 1.77  250,000 44,236 1933 1.65 1% 1% 1% 100%
fasta  #5 15.25  2,500,000 264,252 1933 15.18 0% 1% 1% 100%
fasta  #5 148.43  25,000,000 2,486,440 1933 148.25 1% 1% 1% 100%
source secs N mem gz cpu cpu load
fasta  #3 1.31  250,000 6,488 977 1.27 2% 1% 1% 100%
fasta  #3 12.45  2,500,000 6,348 977 12.44 0% 0% 1% 100%
fasta  #3 122.25  25,000,000 6,508 977 122.19 1% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #3 3.63  250,000 100,420 1937 3.60 0% 1% 2% 99%
k-nucleotide  #3 32.95  2,500,000 22,388 1937 32.91 0% 1% 1% 100%
k-nucleotide  #3 317.42  25,000,000 219,028 1937 317.16 0% 1% 1% 100%
source secs N mem gz cpu cpu load
k-nucleotide  #8 5.49  250,000 11,444 647 5.25 1% 0% 0% 99%
k-nucleotide  #8 53.54  2,500,000 24,808 647 53.22 1% 0% 0% 100%
k-nucleotide  #8 537.11  25,000,000 356,168 647 535.20 0% 1% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #2 8.14  1,000 123,728 777 7.99 0% 0% 1% 100%
mandelbrot  #2 123.10  4,000 108,552 777 122.91 1% 0% 0% 100%
mandelbrot  #2 1,906.67  16,000 10,276 777 1,905.78 1% 0% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #5 10.55  1,000 40,508 449 10.46 1% 0% 0% 99%
mandelbrot  #5 162.72  4,000 40,544 449 162.59 1% 0% 1% 100%
mandelbrot  #5 2,605.16  16,000 41,112 449 2,604.14 1% 0% 1% 100%
source secs N mem gz cpu cpu load
mandelbrot  #7 5.31  1,000 44,896 686 5.28 1% 0% 1% 100%
mandelbrot  #7 75.62  4,000 41,108 686 75.54 1% 0% 0% 100%
mandelbrot  #7 1,209.01  16,000 40,500 686 1,208.52 1% 0% 1% 100%
source secs N mem gz cpu cpu load
meteor-contest  #3 11.54  2,098 6,728 1206 11.54 1% 0% 0% 100%
source secs N mem gz cpu cpu load
meteor-contest  #2 9.21  2,098 6,616 1311 9.21 1% 0% 0% 100%
source secs N mem gz cpu cpu load
meteor-contest  12.29  2,098 6,676 1442 12.28 1% 0% 1% 100%
source secs N mem gz cpu cpu load
n-body  10.76  500,000 6,404 1181 10.75 2% 0% 0% 100%
n-body  100.85  5,000,000 6,408 1181 100.82 1% 0% 0% 100%
n-body  1,143.32  50,000,000 6,428 1181 1,142.95 1% 0% 0% 100%
source secs N mem gz cpu cpu load
n-body  #2 11.09  500,000 6,324 1228 11.09 1% 0% 1% 100%
n-body  #2 102.50  5,000,000 6,392 1228 102.46 1% 0% 0% 100%
n-body  #2 1,024.87  50,000,000 6,324 1228 1,024.54 1% 0% 1% 100%
source secs N mem gz cpu cpu load
pidigits  #2 0.58  2,000 ? 382 ? 0% 100% 0% 100%
pidigits  #2 1.59  6,000 7,836 382 1.59 3% 100% 1% 100%
pidigits  #2 4.47  10,000 8,308 382 4.46 0% 36% 63% 100%
source secs N mem gz cpu cpu load
regex-dna  #5 0.29  50,000 620 424 0.27 0% 7% 0% 100%
regex-dna  #5 2.63  500,000 20,064 424 2.55 1% 0% 1% 100%
regex-dna  #5 25.17  5,000,000 249,796 424 25.16 1% 0% 1% 100%
source secs N mem gz cpu cpu load
regex-dna  0.41  50,000 33,252 478 0.34 2% 3% 5% 85%
regex-dna  2.66  500,000 77,852 478 2.60 1% 1% 0% 98%
regex-dna  25.11  5,000,000 249,088 478 24.98 1% 0% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.11  250,000 ? 325 0.11 0% 0% 0% 100%
reverse-complement  #4 0.81  2,500,000 49,916 325 0.80 0% 2% 1% 100%
reverse-complement  #4 6.77  25,000,000 783,232 325 6.76 0% 1% 1% 100%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.11  250,000 ? 800 0.09 0% 0% 0% 100%
reverse-complement  #6 0.86  2,500,000 35,236 800 0.72 2% 2% 1% 100%
reverse-complement  #6 5.54  25,000,000 262,360 800 5.53 1% 1% 1% 100%
source secs N mem gz cpu cpu load
spectral-norm  #6 8.75  500 6,296 328 8.75 1% 0% 0% 100%
spectral-norm  #6 316.76  3,000 6,400 328 316.64 1% 1% 0% 100%
spectral-norm  #6 1,105.41  5,500 7,120 328 1,105.02 1% 0% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #5 9.51  500 40,772 437 9.48 1% 1% 1% 100%
spectral-norm  #5 337.53  3,000 41,724 437 337.34 0% 1% 1% 100%
spectral-norm  #5 1,130.62  5,500 42,940 437 1,130.26 0% 1% 1% 100%
source secs N mem gz cpu cpu load
thread-ring  #2 2.33  500,000 8,436 288 2.32 0% 1% 1% 100%
thread-ring  #2 22.71  5,000,000 8,476 288 22.70 0% 0% 1% 100%
thread-ring  #2 230.22  50,000,000 8,436 288 230.12 0% 1% 1% 100%