The Computer Language
24.04 Benchmarks Game

all Python 3 programs & measurements

Python 3.12.2

source secs N mem gz cpu secs cpu load
binary-trees  #2 0.42  7 19,652 344 0.04 0% 2% 0% 9%
binary-trees  #2 0.52  14 19,652 344 0.52 0% 5% 1% 100%
binary-trees  #2 110.47  21 273,024 344 110.46 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
binary-trees  1.01  7 19,652 597 0.14 12% 1% 0% 2%
binary-trees  0.25  14 19,652 597 0.67 91% 65% 65% 60%
binary-trees  36.16  21 277,760 597 128.12 86% 86% 96% 86%
source secs N mem gz cpu secs cpu load
binary-trees  #4 1.01  7 19,652 481 0.15 1% 1% 1% 14%
binary-trees  #4 0.25  14 19,652 481 0.66 58% 56% 95% 61%
binary-trees  #4 34.53  21 277,632 481 126.59 89% 89% 90% 98%
source secs N mem gz cpu secs cpu load
binary-trees  #5 1.28  7 19,652 669 0.14 2% 0% 9% 0%
binary-trees  #5 0.24  14 19,652 669 0.65 66% 95% 59% 66%
binary-trees  #5 35.74  21 275,456 669 127.53 87% 88% 81% 99%
source secs N mem gz cpu secs cpu load
binary-trees  #3 1.08  7 19,652 1247 0.15 11% 1% 0% 1%
binary-trees  #3 0.36  14 19,968 1247 0.87 97% 65% 39% 44%
binary-trees  #3 55.05  21 672,384 1247 158.56 65% 62% 67% 93%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #4 2.92  10 19,652 960 7.49 67% 61% 64% 64%
fannkuch-redux  #4 22.64  11 19,652 960 89.05 99% 96% 99% 99%
fannkuch-redux  #4 300.68  12 19,652 960 1,189.39 99% 99% 97% 100%
source secs N mem gz cpu secs cpu load
fannkuch-redux  #6 6.74  10 19,652 391 6.16 91% 1% 0% 0%
fannkuch-redux  #6 75.76  11 19,652 391 75.75 0% 100% 0% 0%
fannkuch-redux  #6 1,031.38  12 19,652 391 1,031.34 0% 2% 97% 0%
source secs N mem gz cpu secs cpu load
fasta  #5 1.36  250,000 19,656 1951 0.83 15% 15% 14% 15%
fasta  #5 2.84  2,500,000 92,156 1951 5.62 48% 65% 11% 75%
fasta  #5 26.54  25,000,000 827,148 1951 53.26 67% 45% 21% 67%
source secs N mem gz cpu secs cpu load
fasta  1.17  250,000 19,652 823 0.68 0% 0% 0% 58%
fasta  6.08  2,500,000 19,652 823 6.08 100% 1% 0% 0%
fasta  60.37  25,000,000 19,652 823 60.37 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
fasta  #2 0.91  250,000 19,652 1126 0.47 0% 51% 1% 0%
fasta  #2 3.94  2,500,000 19,652 1126 3.94 0% 0% 0% 100%
fasta  #2 38.53  25,000,000 19,652 1126 38.53 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
fasta  #3 0.95  250,000 19,652 1007 0.47 46% 1% 1% 2%
fasta  #3 4.06  2,500,000 19,652 1007 4.06 100% 0% 1% 0%
fasta  #3 38.86  25,000,000 19,780 1007 38.86 100% 0% 0% 0%
source secs N mem gz cpu secs cpu load
k-nucleotide  #3 1.59  250,000 36,440 1970 2.12 40% 32% 31% 31%
k-nucleotide  #3 5.03  2,500,000 57,720 1970 18.48 90% 90% 95% 91%
k-nucleotide  #3 48.64  25,000,000 262,016 1970 184.81 96% 94% 94% 94%
source secs N mem gz cpu secs cpu load
k-nucleotide  #8 1.84  250,000 25,396 663 2.65 28% 27% 38% 51%
k-nucleotide  #8 8.23  2,500,000 61,952 663 24.76 95% 60% 57% 87%
k-nucleotide  #8 87.79  25,000,000 506,880 663 262.44 60% 84% 96% 58%
source secs N mem gz cpu secs cpu load
k-nucleotide  #9 1.74  250,000 25,528 614 2.66 32% 41% 35% 46%
k-nucleotide  #9 7.64  2,500,000 47,232 614 24.96 59% 95% 95% 77%
k-nucleotide  #9 77.06  25,000,000 380,416 614 263.65 79% 71% 95% 96%
source secs N mem gz cpu secs cpu load
k-nucleotide  3.09  250,000 29,608 499 2.68 86% 0% 0% 0%
k-nucleotide  26.24  2,500,000 62,688 499 26.14 0% 0% 0% 99%
k-nucleotide  275.64  25,000,000 500,224 499 274.74 0% 0% 99% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #2 2.01  1,000 19,636 790 3.93 47% 54% 46% 51%
mandelbrot  #2 20.87  4,000 49,932 790 61.82 65% 65% 99% 65%
mandelbrot  #2 232.82  16,000 156,340 790 880.90 93% 93% 100% 93%
source secs N mem gz cpu secs cpu load
mandelbrot  #3 3.62  1,000 19,620 319 3.24 0% 89% 0% 0%
mandelbrot  #3 50.65  4,000 19,624 319 50.65 0% 0% 100% 0%
mandelbrot  #3 820.95  16,000 19,624 319 820.91 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
mandelbrot  #7 1.69  1,000 19,656 698 2.80 39% 47% 40% 39%
mandelbrot  #7 10.47  4,000 19,656 698 41.25 99% 99% 98% 98%
mandelbrot  #7 159.49  16,000 19,656 698 634.00 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
mandelbrot  #5 2.10  1,000 19,628 463 4.73 56% 57% 55% 57%
mandelbrot  #5 18.23  4,000 19,628 463 71.99 99% 99% 99% 98%
mandelbrot  #5 274.66  16,000 19,628 463 1,094.30 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
n-body  4.09  500,000 19,656 1201 3.76 0% 91% 1% 0%
n-body  36.57  5,000,000 19,656 1201 36.56 0% 100% 0% 0%
n-body  368.32  50,000,000 19,656 1201 368.30 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
n-body  #2 4.47  500,000 19,656 1247 4.12 0% 0% 91% 0%
n-body  #2 39.06  5,000,000 19,656 1247 39.05 0% 100% 0% 0%
n-body  #2 362.72  50,000,000 19,656 1247 362.70 100% 0% 0% 0%
pidigits  #5 Failed  2,000
source secs N mem gz cpu secs cpu load
pidigits  #4 0.59  2,000 19,656 348 0.23 0% 37% 0% 0%
pidigits  #4 1.60  6,000 19,656 348 1.60 0% 100% 0% 0%
pidigits  #4 4.73  10,000 19,656 348 4.73 0% 0% 100% 1%
source secs N mem gz cpu secs cpu load
pidigits  #3 1.21  2,000 19,656 573 0.24 0% 0% 20% 0%
pidigits  #3 0.58  6,000 19,656 573 0.58 1% 100% 0% 1%
pidigits  #3 1.31  10,000 19,784 573 1.31 100% 0% 2% 0%
source secs N mem gz cpu secs cpu load
regex-redux  #2 1.21  50,000 19,656 1411 0.17 3% 0% 9% 1%
regex-redux  #2 0.27  500,000 31,616 1411 0.35 22% 22% 42% 46%
regex-redux  #2 1.35  5,000,000 168,092 1411 2.62 44% 32% 86% 34%
source secs N mem gz cpu secs cpu load
regex-redux  1.02  50,000 19,656 515 0.31 16% 2% 6% 3%
regex-redux  1.05  500,000 55,924 515 1.78 25% 83% 39% 22%
regex-redux  8.83  5,000,000 432,724 515 16.44 82% 32% 44% 27%
source secs N mem gz cpu secs cpu load
reverse-complement  #2 0.46  250,000 19,656 440 0.09 22% 0% 0% 0%
reverse-complement  #2 10.46  100,000,001 1,788,876 440 10.46 0% 1% 0% 100%
source secs N mem gz cpu secs cpu load
reverse-complement  #3 0.62  250,000 19,656 803 0.09 0% 14% 0% 0%
reverse-complement  #3 5.18  100,000,001 509,108 803 5.18 0% 99% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  0.45  250,000 19,656 484 0.09 0% 0% 20% 0%
reverse-complement  10.69  100,000,001 1,987,304 484 10.69 0% 0% 100% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #5 1.07  250,000 19,656 960 0.15 11% 1% 1% 1%
reverse-complement  #5 4.07  100,000,001 1,500,240 960 7.41 38% 89% 54% 1%
source secs N mem gz cpu secs cpu load
reverse-complement  #4 0.51  250,000 19,712 343 0.11 18% 0% 0% 0%
reverse-complement  #4 13.91  100,000,001 4,003,712 343 13.91 0% 100% 0% 0%
source secs N mem gz cpu secs cpu load
reverse-complement  #6 0.47  250,000 19,656 821 0.10 21% 0% 2% 0%
reverse-complement  #6 7.86  100,000,001 2,484,084 821 11.49 99% 20% 0% 28%
source secs N mem gz cpu secs cpu load
simple  #2 7.44  1,000 19,656 337 7.14 0% 96% 0% 0%
simple  #2 113.79  4,000 19,656 337 113.77 0% 100% 0% 0%
simple  #2 1,805.26  16,000 19,656 337 1,805.14 84% 15% 0% 0%
source secs N mem gz cpu secs cpu load
simple  #3 5.92  1,000 19,656 392 5.61 0% 94% 1% 0%
simple  #3 85.66  4,000 19,656 392 85.65 0% 0% 0% 100%
simple  #3 1,377.82  16,000 19,656 392 1,377.75 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
simple  17.21  1,000 19,656 380 16.91 0% 0% 98% 0%
simple  271.09  4,000 19,656 380 271.08 0% 0% 0% 100%
simple  4,278.36  16,000 19,656 380 4,278.12 0% 0% 0% 100%
source secs N mem gz cpu secs cpu load
spectral-norm  #7 1.91  500 19,656 425 3.53 45% 46% 45% 50%
spectral-norm  #7 27.51  3,000 19,656 425 108.61 99% 98% 98% 98%
spectral-norm  #7 90.77  5,500 19,656 425 359.32 99% 99% 99% 99%
source secs N mem gz cpu secs cpu load
spectral-norm  #8 1.92  500 19,656 415 3.64 46% 52% 46% 46%
spectral-norm  #8 28.08  3,000 19,656 415 111.17 98% 99% 99% 99%
spectral-norm  #8 98.97  5,500 19,656 415 386.79 97% 97% 98% 97%
source secs N mem gz cpu secs cpu load
spectral-norm  #6 3.39  500 19,656 334 3.05 0% 0% 90% 1%
spectral-norm  #6 106.93  3,000 19,656 334 106.93 100% 0% 0% 0%
spectral-norm  #6 359.89  5,500 19,656 334 359.83 6% 93% 0% 0%
source secs N mem gz cpu secs cpu load
too simple  0.72  1,000,000 19,656 139 0.40 0% 1% 0% 55%
too simple  31.59  100,000,000 19,656 139 31.59 0% 0% 100% 0%
too simple  3,683.06  10,000,000,000 19,656 139 3,682.90 0% 1% 0% 98%
source secs N mem gz cpu secs cpu load
too simple  #3 0.55  1,000,000 19,656 150 0.19 0% 34% 0% 0%
too simple  #3 12.37  100,000,000 19,656 150 12.37 0% 0% 0% 100%
too simple  #3 1,710.19  10,000,000,000 19,656 150 1,710.13 0% 0% 100% 0%