The Computer Language
25.01 Benchmarks Game

all Python 3 programs & measurements

Python 3.13.0

source secs N mem gz cpu secs
binary-trees  #2 100.49  21 281,829 344 100.42
source secs N mem gz cpu secs
binary-trees  34.85  21 445,649 597 122.94
source secs N mem gz cpu secs
binary-trees  #8 560.84  21 821,846 535 559.59
source secs N mem gz cpu secs
binary-trees  #4 33.37  21 460,771 481 121.26
source secs N mem gz cpu secs
binary-trees  #5 35.37  21 806,117 669 125.53
source secs N mem gz cpu secs
binary-trees  #3 51.88  21 819,077 1247 148.88
source secs N mem gz cpu secs
fannkuch-redux  #4 311.18  12 28,701 960 1,221.85
source secs N mem gz cpu secs
fannkuch-redux  #6 943.88  12 11,874 391 942.63
source secs N mem gz cpu secs
fannkuch-redux  #8 2,457.09  12 11,874 414 2,455.59
source secs N mem gz cpu secs
fasta  #5 27.95  25,000,000 1,190,347 1951 54.19
source secs N mem gz cpu secs
fasta  57.39  25,000,000 12,100 823 57.34
source secs N mem gz cpu secs
fasta  #2 39.06  25,000,000 12,415 1126 39.00
source secs N mem gz cpu secs
fasta  #3 39.03  25,000,000 12,218 1007 38.97
source secs N mem gz cpu secs
fasta  #8 153.17  25,000,000 11,915 738 153.10
source secs N mem gz cpu secs
k-nucleotide  #3 46.55  25,000,000 674,185 1970 182.00
source secs N mem gz cpu secs
k-nucleotide  #4 76.67  25,000,000 523,751 663 233.07
source secs N mem gz cpu secs
k-nucleotide  #8 234.08  25,000,000 642,265 525 233.99
source secs N mem gz cpu secs
k-nucleotide  #9 66.67  25,000,000 392,184 614 235.89
source secs N mem gz cpu secs
k-nucleotide  234.20  25,000,000 515,047 499 234.09
source secs N mem gz cpu secs
mandelbrot  #2 237.64  16,000 230,973 790 937.87
source secs N mem gz cpu secs
mandelbrot  #3 879.41  16,000 45,085 319 877.96
source secs N mem gz cpu secs
mandelbrot  #7 182.94  16,000 62,173 698 723.28
source secs N mem gz cpu secs
mandelbrot  #5 260.63  16,000 61,620 463 1,033.16
source secs N mem gz cpu secs
mandelbrot  #8 1,577.29  16,000 45,031 379 1,575.80
source secs N mem gz cpu secs
n-body  #8 529.38  50,000,000 12,497 1172 528.16
source secs N mem gz cpu secs
n-body  372.41  50,000,000 12,198 1201 371.23
source secs N mem gz cpu secs
n-body  #2 442.06  50,000,000 12,554 1247 440.87
source secs N mem gz cpu secs
n-body in-process measurements  #9 2,599.25  50,000,000 12,603 1227 2,598.02
source secs N mem gz cpu secs
n-body in-process measurements  #8 512.44  50,000,000 12,501 1214 512.33
pidigits  #5 Empty  10,000
source secs N mem gz cpu secs
pidigits  #4 4.63  10,000 12,718 348 4.59
source secs N mem gz cpu secs
pidigits  #3 1.35  10,000 20,009 573 1.28
source secs N mem gz cpu secs
regex-redux  #2 1.41  5,000,000 191,300 1411 2.63
source secs N mem gz cpu secs
regex-redux  8.96  5,000,000 459,624 515 16.43
source secs N mem gz cpu secs
reverse-complement  #2 10.09  100,000,001 1,837,285 440 10.05
source secs N mem gz cpu secs
reverse-complement  #3 4.96  100,000,001 523,801 803 4.92
source secs N mem gz cpu secs
reverse-complement  10.43  100,000,001 2,040,713 484 10.39
source secs N mem gz cpu secs
reverse-complement  #5 4.18  100,000,001 2,418,156 960 7.44
source secs N mem gz cpu secs
reverse-complement  #4 13.47  100,000,001 4,109,324 343 13.43
source secs N mem gz cpu secs
reverse-complement  #6 7.59  100,000,001 2,795,930 821 11.03
source secs N mem gz cpu secs
spectral-norm  #4 90.37  5,500 34,693 415 352.91
source secs N mem gz cpu secs
spectral-norm  #7 109.91  5,500 34,578 425 421.84
source secs N mem gz cpu secs
spectral-norm  #8 386.45  5,500 12,833 334 385.07
source secs N mem gz cpu secs
spectral-norm  #6 349.68  5,500 13,660 334 348.48