The Computer Language
22.01 Benchmarks Game

all Python 3 programs & measurements

Python 3.10.1

source secs N mem gz cpu cpu load
binary-trees  #5 0.74  7 10,624 660 0.12 3% 62% 1% 4%
binary-trees  #5 0.28  14 13,896 660 0.83 72% 71% 85% 75%
binary-trees  #5 44.70  21 273,136 660 160.86 83% 90% 91% 97%
source secs N mem gz cpu cpu load
binary-trees  #3 0.84  7 11,448 1238 0.14 2% 4% 6% 94%
binary-trees  #3 0.46  14 15,128 1238 1.12 33% 78% 89% 47%
binary-trees  #3 71.59  21 669,920 1238 206.97 65% 64% 100% 62%
source secs N mem gz cpu cpu load
binary-trees  #2 0.47  7 6,928 338 0.04 0% 9% 46% 4%
binary-trees  #2 0.68  14 10,048 338 0.68 0% 4% 100% 1%
binary-trees  #2 138.17  21 270,860 338 138.17 1% 1% 100% 0%
source secs N mem gz cpu cpu load
binary-trees  #4 0.78  7 11,132 472 0.12 4% 5% 58% 8%
binary-trees  #4 0.32  14 14,136 472 0.90 71% 69% 69% 85%
binary-trees  #4 45.34  21 456,492 472 166.88 90% 90% 90% 99%
source secs N mem gz cpu cpu load
binary-trees  0.75  7 10,940 589 0.12 4% 4% 66% 1%
binary-trees  0.32  14 14,420 589 0.91 66% 66% 91% 68%
binary-trees  48.13  21 442,180 589 169.91 86% 86% 94% 87%
source secs N mem gz cpu cpu load
fannkuch-redux  #6 7.24  10 7,724 385 6.83 98% 3% 1% 4%
fannkuch-redux  #6 80.33  11 7,100 385 80.32 0% 0% 0% 100%
fannkuch-redux  #6 1,094.71  12 7,700 385 1,094.68 0% 0% 0% 100%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 3.01  10 12,028 950 8.07 90% 68% 69% 71%
fannkuch-redux  #4 24.85  11 12,204 950 96.51 100% 95% 97% 98%
fannkuch-redux  #4 341.45  12 45,548 950 1,345.12 100% 99% 96% 99%
source secs N mem gz cpu cpu load
fasta  #3 1.05  250,000 7,992 1003 0.65 1% 1% 82% 0%
fasta  #3 5.84  2,500,000 7,872 1003 5.84 1% 100% 0% 1%
fasta  #3 57.72  25,000,000 8,052 1003 57.71 1% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  #5 1.21  250,000 12,268 1947 0.89 35% 32% 8% 71%
fasta  #5 3.88  2,500,000 12,248 1947 6.99 67% 12% 48% 59%
fasta  #5 36.90  25,000,000 836,484 1947 67.00 43% 10% 74% 60%
source secs N mem gz cpu cpu load
fasta  #2 1.09  250,000 8,104 1121 0.65 76% 3% 3% 0%
fasta  #2 5.79  2,500,000 8,084 1121 5.79 1% 100% 0% 1%
fasta  #2 57.32  25,000,000 8,184 1121 57.32 0% 0% 100% 0%
source secs N mem gz cpu cpu load
fasta  1.22  250,000 7,940 817 0.74 2% 2% 79% 2%
fasta  6.73  2,500,000 7,888 817 6.71 0% 0% 1% 100%
fasta  66.17  25,000,000 7,992 817 66.17 0% 0% 100% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #8 1.69  250,000 13,464 655 2.42 46% 46% 28% 77%
k-nucleotide  #8 7.59  2,500,000 47,128 655 22.38 62% 57% 86% 95%
k-nucleotide  #8 78.50  25,000,000 483,708 655 236.44 82% 63% 62% 96%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.32  250,000 13,520 1967 1.99 41% 44% 37% 79%
k-nucleotide  #3 4.70  2,500,000 24,520 1967 17.51 94% 93% 96% 93%
k-nucleotide  #3 46.31  25,000,000 246,576 1967 174.77 94% 95% 96% 94%
source secs N mem gz cpu cpu load
k-nucleotide  1.50  250,000 13,500 607 2.40 68% 45% 37% 44%
k-nucleotide  6.80  2,500,000 33,940 607 22.56 93% 78% 95% 69%
k-nucleotide  67.74  25,000,000 372,336 607 233.81 71% 84% 93% 99%
mandelbrot  #5 Failed  1,000
mandelbrot  #2 Timed Out  1,000
source secs N mem gz cpu cpu load
mandelbrot  #7 1.53  1,000 12,032 688 3.03 51% 76% 48% 50%
mandelbrot  #7 11.83  4,000 12,172 688 46.27 98% 98% 98% 97%
mandelbrot  #7 177.35  16,000 47,780 688 702.60 99% 99% 99% 99%
source secs N mem gz cpu cpu load
n-body  5.95  500,000 8,024 1196 5.55 96% 1% 1% 1%
n-body  52.53  5,000,000 7,800 1196 52.53 0% 100% 0% 0%
n-body  541.34  50,000,000 7,780 1196 541.32 0% 100% 0% 0%
source secs N mem gz cpu cpu load
n-body  #2 6.05  500,000 8,188 1242 5.66 4% 1% 1% 99%
n-body  #2 58.47  5,000,000 8,156 1242 58.47 0% 100% 1% 0%
n-body  #2 565.12  50,000,000 8,092 1242 565.11 0% 100% 0% 0%
pidigits  #2 Bad Output  2,000
source secs N mem gz cpu cpu load
pidigits  #4 0.61  2,000 7,984 342 0.21 2% 67% 5% 0%
pidigits  #4 1.39  6,000 8,324 342 1.39 1% 3% 100% 5%
pidigits  #4 4.05  10,000 8,648 342 4.05 0% 100% 0% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.92  2,000 10,760 567 0.22 17% 4% 2% 71%
pidigits  #3 0.50  6,000 11,652 567 0.50 2% 100% 0% 2%
pidigits  #3 1.16  10,000 11,700 567 1.16 1% 100% 1% 1%
source secs N mem gz cpu cpu load
regex-redux  0.91  50,000 14,396 512 0.31 10% 5% 60% 18%
regex-redux  1.08  500,000 53,924 512 1.90 75% 55% 26% 24%
regex-redux  9.25  5,000,000 454,912 512 17.48 35% 46% 28% 81%
source secs N mem gz cpu cpu load
regex-redux  #2 0.93  50,000 11,776 1403 0.15 5% 4% 7% 87%
regex-redux  #2 0.22  500,000 17,652 1403 0.33 55% 36% 29% 41%
regex-redux  #2 1.34  5,000,000 111,492 1403 2.61 36% 41% 32% 87%
source secs N mem gz cpu cpu load
reverse-complement  0.47  250,000 8,720 479 0.08 0% 4% 11% 92%
reverse-complement  8.75  100,000,000 1,974,928 479 8.74 0% 100% 0% 0%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.49  250,000 6,884 814 0.08 0% 4% 54% 2%
reverse-complement  #6 6.62  100,000,000 1,005,400 814 9.78 3% 48% 72% 28%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.48  250,000 8,076 434 0.07 57% 6% 4% 6%
reverse-complement  #2 8.86  100,000,000 1,785,796 434 8.86 0% 100% 0% 0%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.60  250,000 15,224 335 0.09 3% 8% 58% 5%
reverse-complement  #4 11.51  100,000,000 4,001,544 335 11.51 0% 0% 100% 0%
source secs N mem gz cpu cpu load
simple  #2 7.90  1,000 8,360 315 7.54 1% 0% 98% 1%
simple  #2 117.96  4,000 8,396 315 117.93 0% 0% 100% 1%
simple  #2 2,046.31  16,000 8,284 315 2,046.19 2% 41% 15% 43%
source secs N mem gz cpu cpu load
spectral-norm  #7 1.91  500 11,804 417 4.25 55% 54% 54% 89%
spectral-norm  #7 35.37  3,000 12,664 417 139.50 99% 99% 99% 99%
spectral-norm  #7 114.57  5,500 48,896 417 455.64 100% 100% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #8 2.01  500 11,856 407 4.19 56% 53% 51% 83%
spectral-norm  #8 33.74  3,000 12,792 407 133.36 99% 99% 99% 99%
spectral-norm  #8 112.97  5,500 48,792 407 449.57 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #6 3.65  500 7,704 328 3.25 1% 1% 94% 3%
spectral-norm  #6 114.02  3,000 8,776 328 114.00 100% 0% 0% 1%
spectral-norm  #6 389.86  5,500 9,368 328 389.84 0% 0% 0% 100%