The Computer Language
22.05 Benchmarks Game

all Python 3 programs & measurements

Python 3.10.4

source secs N mem gz cpu cpu load
binary-trees  #5 0.74  7 11,160 660 0.10 1% 63% 4% 7%
binary-trees  #5 0.31  14 14,044 660 0.88 67% 71% 81% 70%
binary-trees  #5 47.80  21 273,284 660 172.44 90% 91% 89% 92%
source secs N mem gz cpu cpu load
binary-trees  #3 0.66  7 10,344 1238 0.10 14% 59% 3% 8%
binary-trees  #3 0.48  14 14,912 1238 1.23 96% 40% 80% 44%
binary-trees  #3 80.07  21 669,832 1238 230.73 62% 100% 63% 64%
source secs N mem gz cpu cpu load
binary-trees  #2 0.38  7 6,976 338 0.04 11% 0% 59% 5%
binary-trees  #2 0.74  14 10,160 338 0.74 7% 0% 100% 0%
binary-trees  #2 148.10  21 270,872 338 148.09 100% 1% 0% 0%
source secs N mem gz cpu cpu load
binary-trees  #4 0.69  7 10,424 472 0.11 3% 10% 61% 13%
binary-trees  #4 0.35  14 14,076 472 0.98 65% 70% 66% 88%
binary-trees  #4 48.11  21 456,220 472 176.37 90% 90% 90% 100%
source secs N mem gz cpu cpu load
binary-trees  0.69  7 10,896 589 0.09 11% 22% 15% 60%
binary-trees  0.35  14 14,332 589 0.95 61% 82% 67% 63%
binary-trees  50.62  21 282,996 589 178.66 87% 94% 86% 88%
source secs N mem gz cpu cpu load
fannkuch-redux  #6 8.03  10 7,704 385 7.62 4% 97% 0% 1%
fannkuch-redux  #6 93.35  11 7,624 385 93.35 0% 100% 0% 0%
fannkuch-redux  #6 1,279.20  12 7,432 385 1,279.15 100% 0% 0% 0%
source secs N mem gz cpu cpu load
fannkuch-redux  #4 2.93  10 12,036 950 8.71 97% 75% 74% 76%
fannkuch-redux  #4 26.51  11 12,032 950 104.65 99% 99% 98% 100%
fannkuch-redux  #4 338.02  12 45,420 950 1,336.72 97% 100% 100% 100%
source secs N mem gz cpu cpu load
fasta  #3 1.17  250,000 8,048 1003 0.71 95% 4% 3% 2%
fasta  #3 6.66  2,500,000 7,920 1003 6.65 1% 100% 0% 0%
fasta  #3 60.51  25,000,000 8,112 1003 60.50 0% 100% 0% 0%
source secs N mem gz cpu cpu load
fasta  #5 1.17  250,000 12,180 1947 0.90 16% 25% 48% 26%
fasta  #5 4.04  2,500,000 12,192 1947 7.33 33% 60% 30% 61%
fasta  #5 38.39  25,000,000 837,684 1947 71.74 60% 71% 33% 25%
source secs N mem gz cpu cpu load
fasta  #2 1.17  250,000 7,936 1121 0.71 97% 2% 0% 6%
fasta  #2 6.45  2,500,000 8,016 1121 6.43 1% 2% 0% 100%
fasta  #2 60.29  25,000,000 8,184 1121 60.26 0% 0% 0% 100%
source secs N mem gz cpu cpu load
fasta  1.22  250,000 7,920 817 0.82 5% 83% 1% 1%
fasta  7.10  2,500,000 7,860 817 7.10 1% 1% 0% 100%
fasta  70.54  25,000,000 8,040 817 70.54 0% 100% 0% 0%
source secs N mem gz cpu cpu load
k-nucleotide  #8 1.45  250,000 13,500 655 2.47 33% 33% 50% 78%
k-nucleotide  #8 7.95  2,500,000 47,220 655 23.44 56% 97% 82% 62%
k-nucleotide  #8 80.16  25,000,000 473,988 655 242.16 83% 61% 98% 62%
source secs N mem gz cpu cpu load
k-nucleotide  #3 1.19  250,000 13,568 1967 1.99 41% 41% 44% 77%
k-nucleotide  #3 4.67  2,500,000 27,068 1967 17.39 92% 92% 96% 93%
k-nucleotide  #3 46.09  25,000,000 252,668 1967 172.53 93% 93% 93% 97%
source secs N mem gz cpu cpu load
k-nucleotide  1.33  250,000 13,552 607 2.50 48% 39% 79% 50%
k-nucleotide  7.11  2,500,000 32,968 607 23.64 79% 97% 95% 63%
k-nucleotide  70.51  25,000,000 351,092 607 240.16 93% 98% 82% 68%
mandelbrot  #5 Failed  1,000
mandelbrot  #2 Timed Out  1,000
source secs N mem gz cpu cpu load
mandelbrot  #7 1.37  1,000 12,092 688 2.98 75% 57% 58% 63%
mandelbrot  #7 11.87  4,000 12,092 688 46.48 98% 98% 98% 98%
mandelbrot  #7 178.12  16,000 46,192 688 706.10 99% 99% 99% 99%
source secs N mem gz cpu cpu load
n-body  5.91  500,000 8,076 1196 5.57 3% 0% 97% 1%
n-body  58.49  5,000,000 7,740 1196 58.49 0% 0% 100% 0%
n-body  575.04  50,000,000 7,756 1196 575.02 1% 100% 1% 1%
source secs N mem gz cpu cpu load
n-body  #2 6.37  500,000 8,176 1242 5.99 96% 4% 3% 1%
n-body  #2 59.98  5,000,000 8,224 1242 59.98 1% 0% 100% 0%
n-body  #2 592.73  50,000,000 8,244 1242 592.71 0% 100% 0% 0%
pidigits  #2 Bad Output  2,000
source secs N mem gz cpu cpu load
pidigits  #4 0.63  2,000 7,976 342 0.21 8% 10% 44% 31%
pidigits  #4 1.39  6,000 8,268 342 1.39 100% 1% 1% 4%
pidigits  #4 4.06  10,000 8,668 342 4.06 100% 0% 1% 0%
source secs N mem gz cpu cpu load
pidigits  #3 0.98  2,000 10,604 567 0.21 27% 54% 14% 3%
pidigits  #3 0.50  6,000 11,384 567 0.49 6% 100% 4% 2%
pidigits  #3 1.13  10,000 11,968 567 1.13 1% 100% 2% 1%
source secs N mem gz cpu cpu load
regex-redux  0.76  50,000 13,768 512 0.31 9% 8% 58% 13%
regex-redux  1.06  500,000 52,668 512 1.88 28% 42% 83% 34%
regex-redux  9.49  5,000,000 458,264 512 17.86 46% 35% 28% 81%
source secs N mem gz cpu cpu load
regex-redux  #2 0.83  50,000 11,660 1403 0.12 21% 5% 4% 62%
regex-redux  #2 0.23  500,000 22,072 1403 0.33 39% 39% 55% 30%
regex-redux  #2 1.39  5,000,000 111,680 1403 2.66 87% 43% 32% 31%
source secs N mem gz cpu cpu load
reverse-complement  0.49  250,000 6,732 479 0.06 12% 29% 6% 34%
reverse-complement  9.63  100,000,000 1,979,276 479 9.63 0% 0% 100% 0%
source secs N mem gz cpu cpu load
reverse-complement  #6 0.49  250,000 7,568 814 0.09 86% 10% 6% 0%
reverse-complement  #6 7.22  100,000,000 1,005,184 814 10.64 29% 19% 47% 54%
source secs N mem gz cpu cpu load
reverse-complement  #2 0.54  250,000 6,924 434 0.09 25% 2% 57% 0%
reverse-complement  #2 9.38  100,000,000 1,786,488 434 9.38 0% 0% 0% 100%
source secs N mem gz cpu cpu load
reverse-complement  #4 0.54  250,000 7,072 335 0.07 9% 30% 21% 22%
reverse-complement  #4 12.31  100,000,000 4,001,684 335 12.31 1% 1% 100% 0%
source secs N mem gz cpu cpu load
simple  18.09  1,000 7,680 373 17.66 5% 99% 3% 2%
simple  279.66  4,000 7,740 373 279.65 0% 0% 100% 0%
simple  4,191.07  16,000 7,736 373 4,190.85 100% 0% 0% 1%
source secs N mem gz cpu cpu load
simple  #2 8.42  1,000 6,856 330 8.04 99% 1% 0% 1%
simple  #2 128.71  4,000 6,968 330 128.70 0% 1% 100% 0%
simple  #2 2,042.02  16,000 7,132 330 2,041.94 0% 0% 0% 100%
source secs N mem gz cpu cpu load
spectral-norm  #7 1.95  500 11,960 417 4.55 59% 77% 58% 58%
spectral-norm  #7 36.94  3,000 12,548 417 146.18 99% 99% 99% 99%
spectral-norm  #7 124.23  5,500 48,400 417 494.32 100% 100% 100% 100%
source secs N mem gz cpu cpu load
spectral-norm  #8 1.91  500 11,824 407 4.33 62% 72% 56% 57%
spectral-norm  #8 35.55  3,000 12,684 407 140.66 99% 99% 99% 99%
spectral-norm  #8 119.21  5,500 48,336 407 472.82 99% 99% 99% 99%
source secs N mem gz cpu cpu load
spectral-norm  #6 4.16  500 7,848 328 3.73 89% 1% 2% 7%
spectral-norm  #6 129.68  3,000 8,900 328 129.68 0% 0% 100% 1%
spectral-norm  #6 436.81  5,500 9,332 328 436.79 0% 100% 0% 0%