Skip to content

Instantly share code, notes, and snippets.

@sweeneyde
Created March 29, 2022 00:08
Show Gist options
  • Save sweeneyde/f82c0b9e6ed5a72612a2e02e6978e5c6 to your computer and use it in GitHub Desktop.
Save sweeneyde/f82c0b9e6ed5a72612a2e02e6978e5c6 to your computer and use it in GitHub Desktop.
pyperformance FOR_ITER stats per benchmark

bm_2to3.py

2to3: Mean +- std dev: 1.87 sec +- 0.03 sec

Kind Count Ratio
unquickened 20967220 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 20967220 100.0%
Failure kind Count Ratio
list 11109929 53.0%
generator 7050735 33.6%
tuple 2069466 9.9%
map 178266 0.9%
range 174729 0.8%
string 117504 0.6%
enumerate 86824 0.4%
dict items 54690 0.3%
seq iter 45476 0.2%
itertools 45313 0.2%
dict keys 22377 0.1%
set 9012 0.0%
bytes 1125 0.0%
list reversed 771 0.0%
dict values 672 0.0%
zip 144 0.0%
other 132 0.0%
filter 55 0.0%

bm_chameleon.py

chameleon: Mean +- std dev: 65.4 ms +- 1.2 ms

Kind Count Ratio
unquickened 1578526 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 1578526 100.0%
Failure kind Count Ratio
list 880320 55.8%
range 217133 13.8%
map 144574 9.2%
generator 127910 8.1%
tuple 72237 4.6%
seq iter 50669 3.2%
dict items 27481 1.7%
string 20983 1.3%
itertools 13900 0.9%
enumerate 8750 0.6%
zip 6060 0.4%
dict keys 2694 0.2%
bytes 2304 0.1%
set 1296 0.1%
reversed 720 0.0%
list reversed 432 0.0%
callable 396 0.0%
odict 396 0.0%
dict values 216 0.0%
filter 55 0.0%

bm_chaos.py

chaos: Mean +- std dev: 620 ms +- 10 ms

Kind Count Ratio
unquickened 7883911 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 7883911 100.0%
Failure kind Count Ratio
range 7699864 97.7%
list 105216 1.3%
map 31245 0.4%
dict items 14787 0.2%
tuple 13171 0.2%
string 7987 0.1%
seq iter 5443 0.1%
dict keys 2126 0.0%
generator 2012 0.0%
enumerate 1629 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_crypto_pyaes.py

crypto_pyaes: Mean +- std dev: 769 ms +- 5 ms

Kind Count Ratio
unquickened 7995813 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 7995813 100.0%
Failure kind Count Ratio
range 6288892 78.7%
zip 1518078 19.0%
list 108129 1.4%
map 34503 0.4%
dict items 14515 0.2%
tuple 13303 0.2%
string 7864 0.1%
seq iter 5443 0.1%
generator 1792 0.0%
enumerate 1585 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_deltablue.py

deltablue: Mean +- std dev: 33.9 ms +- 2.0 ms

Kind Count Ratio
unquickened 2467930 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 2467930 100.0%
Failure kind Count Ratio
list 2302153 93.3%
range 89081 3.6%
map 31201 1.3%
dict items 14518 0.6%
tuple 13035 0.5%
string 7393 0.3%
seq iter 5443 0.2%
generator 1800 0.1%
enumerate 1585 0.1%
dict keys 1290 0.1%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_django_template.py

django_template: Mean +- std dev: 383 ms +- 6 ms

Kind Count Ratio
unquickened 5087040 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 5087040 100.0%
Failure kind Count Ratio
list 2661558 52.3%
tuple 738613 14.5%
itertools 661732 13.0%
enumerate 346335 6.8%
list reversed 340314 6.7%
map 118659 2.3%
range 81244 1.6%
dict items 42596 0.8%
string 34681 0.7%
dict keys 24750 0.5%
seq iter 16519 0.3%
generator 10922 0.2%
set 2736 0.1%
bytes 2304 0.0%
dict values 2100 0.0%
reversed 1560 0.0%
callable 254 0.0%
filter 55 0.0%
zip 48 0.0%
other 36 0.0%
odict 24 0.0%

bm_dulwich_log.py

dulwich_log: Mean +- std dev: 494 ms +- 6 ms

Kind Count Ratio
unquickened 1304922 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 1304922 100.0%
Failure kind Count Ratio
generator 312280 23.9%
io 258798 19.8%
list 231371 17.7%
map 146850 11.3%
enumerate 115236 8.8%
list reversed 51657 4.0%
dict values 51624 4.0%
callable 51249 3.9%
range 29429 2.3%
tuple 19865 1.5%
dict items 15873 1.2%
string 10163 0.8%
seq iter 6727 0.5%
bytes 2304 0.2%
dict keys 1290 0.1%
itertools 70 0.0%
set 69 0.0%
filter 55 0.0%
zip 12 0.0%

bm_fannkuch.py

fannkuch: Mean +- std dev: 2.77 sec +- 0.03 sec

Kind Count Ratio
unquickened 194477 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 194477 100.0%
Failure kind Count Ratio
list 102976 53.0%
map 31201 16.0%
range 14931 7.7%
dict items 14463 7.4%
tuple 13027 6.7%
string 7382 3.8%
seq iter 5443 2.8%
generator 1748 0.9%
enumerate 1585 0.8%
dict keys 1290 0.7%
bytes 300 0.2%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_float.py

float: Mean +- std dev: 644 ms +- 12 ms

Kind Count Ratio
unquickened 10094622 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 10094622 100.0%
Failure kind Count Ratio
list 6703030 66.4%
range 3314965 32.8%
map 31201 0.3%
dict items 14509 0.1%
tuple 13027 0.1%
string 7349 0.1%
seq iter 5443 0.1%
generator 1792 0.0%
enumerate 1585 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_go.py

go: Mean +- std dev: 1.17 sec +- 0.04 sec

Kind Count Ratio
unquickened 18182072 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 18182072 100.0%
Failure kind Count Ratio
list 16760407 92.2%
range 1318332 7.3%
tuple 39757 0.2%
map 31201 0.2%
dict items 14518 0.1%
string 7316 0.0%
seq iter 5443 0.0%
generator 1792 0.0%
enumerate 1585 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_hexiom.py

hexiom: Mean +- std dev: 57.5 ms +- 4.0 ms

Kind Count Ratio
unquickened 5322965 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 5322965 100.0%
Failure kind Count Ratio
list 3074956 57.8%
range 2170893 40.8%
map 31223 0.6%
dict items 14570 0.3%
tuple 13055 0.2%
string 7481 0.1%
seq iter 5443 0.1%
generator 1840 0.0%
enumerate 1607 0.0%
dict keys 1466 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_json_dumps.py

json_dumps: Mean +- std dev: 117 ms +- 1 ms

Kind Count Ratio
unquickened 327140 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 327140 100.0%
Failure kind Count Ratio
range 147097 45.0%
list 103331 31.6%
map 31201 9.5%
dict items 14515 4.4%
tuple 13051 4.0%
string 7404 2.3%
seq iter 5443 1.7%
generator 1792 0.5%
enumerate 1585 0.5%
dict keys 1290 0.4%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_json_loads.py

json_loads: Mean +- std dev: 221 us +- 2 us

Kind Count Ratio
unquickened 201509 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 201509 100.0%
Failure kind Count Ratio
list 103033 51.1%
map 31201 15.5%
tuple 17395 8.6%
range 16106 8.0%
dict items 15755 7.8%
string 7414 3.7%
seq iter 5443 2.7%
generator 1856 0.9%
enumerate 1585 0.8%
dict keys 1290 0.6%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_logging.py

logging_format: Mean +- std dev: 87.7 us +- 1.6 us

logging_silent: Mean +- std dev: 885 ns +- 37 ns

logging_simple: Mean +- std dev: 81.5 us +- 1.2 us

Kind Count Ratio
unquickened 1592412 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 1592412 100.0%
Failure kind Count Ratio
list 688888 43.3%
range 639710 40.2%
map 102611 6.4%
dict items 46440 2.9%
tuple 45893 2.9%
seq iter 23679 1.5%
string 23091 1.5%
generator 5546 0.3%
enumerate 4905 0.3%
itertools 4704 0.3%
dict keys 3754 0.2%
set 1870 0.1%
bytes 850 0.1%
filter 165 0.0%
list reversed 136 0.0%
dict values 102 0.0%
zip 68 0.0%

bm_mako.py

mako: Mean +- std dev: 103 ms +- 2 ms

Kind Count Ratio
unquickened 1873128 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 1873128 100.0%
Failure kind Count Ratio
range 1536900 82.0%
list 176162 9.4%
map 43503 2.3%
bytes 28350 1.5%
tuple 26203 1.4%
dict items 22849 1.2%
seq iter 12689 0.7%
string 10002 0.5%
generator 5412 0.3%
enumerate 3373 0.2%
set 3264 0.2%
dict keys 1794 0.1%
itertools 1660 0.1%
dict values 672 0.0%
list reversed 228 0.0%
filter 55 0.0%
zip 12 0.0%

bm_mdp.py

mdp: Mean +- std dev: 15.1 sec +- 0.2 sec

Kind Count Ratio
unquickened 201842814 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 201842814 100.0%
Failure kind Count Ratio
list 186307813 92.3%
range 9674756 4.8%
dict items 4305868 2.1%
tuple 1142626 0.6%
zip 362418 0.2%
map 31201 0.0%
string 7327 0.0%
seq iter 5443 0.0%
enumerate 1861 0.0%
generator 1792 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_meteor_contest.py

meteor_contest: Mean +- std dev: 623 ms +- 16 ms

Kind Count Ratio
unquickened 31810579 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 31810579 100.0%
Failure kind Count Ratio
list 21512453 67.6%
set 10190304 32.0%
map 31201 0.1%
range 24394 0.1%
dict items 14515 0.0%
tuple 13027 0.0%
enumerate 8185 0.0%
string 7448 0.0%
seq iter 5443 0.0%
generator 1924 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_nbody.py

nbody: Mean +- std dev: 739 ms +- 7 ms

Kind Count Ratio
unquickened 12076939 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 12076939 100.0%
Failure kind Count Ratio
list 11324735 93.8%
range 675091 5.6%
map 31223 0.3%
dict items 14518 0.1%
tuple 13075 0.1%
string 7558 0.1%
seq iter 5443 0.0%
generator 1792 0.0%
enumerate 1607 0.0%
dict keys 1466 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_nqueens.py

nqueens: Mean +- std dev: 812 ms +- 9 ms

Kind Count Ratio
unquickened 29719654 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 29719654 100.0%
Failure kind Count Ratio
range 16234366 54.6%
list 12078037 40.6%
generator 1332385 4.5%
map 31201 0.1%
dict items 14518 0.0%
tuple 13027 0.0%
string 7371 0.0%
seq iter 5443 0.0%
enumerate 1585 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_pathlib.py

pathlib: Mean +- std dev: 389 ms +- 4 ms

Kind Count Ratio
unquickened 995613 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 995613 100.0%
Failure kind Count Ratio
list 528481 53.1%
generator 290046 29.1%
map 82969 8.3%
tuple 44101 4.4%
range 17246 1.7%
dict items 14653 1.5%
string 8115 0.8%
seq iter 5892 0.6%
enumerate 1777 0.2%
dict keys 1290 0.1%
bytes 300 0.0%
list reversed 276 0.0%
itertools 220 0.0%
reversed 132 0.0%
filter 55 0.0%
set 36 0.0%
zip 12 0.0%
dict values 12 0.0%

bm_pickle.py pickle

pickle: Mean +- std dev: 58.1 us +- 0.7 us

Kind Count Ratio
unquickened 230595 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 230595 100.0%
Failure kind Count Ratio
list 107924 46.8%
map 32949 14.3%
tuple 31383 13.6%
range 22064 9.6%
dict items 17479 7.6%
string 7750 3.4%
seq iter 5563 2.4%
generator 1952 0.8%
enumerate 1619 0.7%
dict keys 1468 0.6%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
zip 25 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_pickle.py unpickle

unpickle: Mean +- std dev: 123 us +- 2 us

Kind Count Ratio
unquickened 219711 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 219711 100.0%
Failure kind Count Ratio
list 107921 49.1%
map 32949 15.0%
tuple 22675 10.3%
range 19886 9.1%
dict items 17476 8.0%
string 7762 3.5%
seq iter 5563 2.5%
generator 1948 0.9%
enumerate 1619 0.7%
dict keys 1468 0.7%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
zip 25 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_pickle.py pickle_list

pickle_list: Mean +- std dev: 15.2 us +- 0.2 us

Kind Count Ratio
unquickened 243759 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 243759 100.0%
Failure kind Count Ratio
list 107933 44.3%
range 52531 21.6%
map 32949 13.5%
dict items 17482 7.2%
tuple 13991 5.7%
string 7815 3.2%
seq iter 5563 2.3%
generator 1964 0.8%
enumerate 1619 0.7%
dict keys 1468 0.6%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
zip 25 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_pickle.py unpickle_list

unpickle_list: Mean +- std dev: 29.5 us +- 0.2 us

Kind Count Ratio
unquickened 226345 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 226345 100.0%
Failure kind Count Ratio
list 107930 47.7%
range 35122 15.5%
map 32949 14.6%
dict items 17476 7.7%
tuple 13987 6.2%
string 7827 3.5%
seq iter 5563 2.5%
generator 1960 0.9%
enumerate 1619 0.7%
dict keys 1468 0.6%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
zip 25 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_pickle.py pickle_dict

pickle_dict: Mean +- std dev: 81.8 us +- 1.4 us

Kind Count Ratio
unquickened 217607 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 217607 100.0%
Failure kind Count Ratio
list 107927 49.6%
map 32949 15.1%
range 26417 12.1%
dict items 17476 8.0%
tuple 13983 6.4%
string 7805 3.6%
seq iter 5563 2.6%
generator 1956 0.9%
enumerate 1619 0.7%
dict keys 1468 0.7%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
zip 25 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_pidigits.py

pidigits: Mean +- std dev: 879 ms +- 18 ms

Kind Count Ratio
unquickened 195254 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 195254 100.0%
Failure kind Count Ratio
list 103159 52.8%
map 31223 16.0%
range 14932 7.6%
dict items 14570 7.5%
tuple 13051 6.7%
string 7536 3.9%
seq iter 5443 2.8%
generator 1836 0.9%
enumerate 1607 0.8%
dict keys 1466 0.8%
bytes 300 0.2%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_pyflate.py

pyflate: Mean +- std dev: 3.89 sec +- 0.09 sec

Kind Count Ratio
unquickened 52040468 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 52040468 100.0%
Failure kind Count Ratio
list 29351809 56.4%
range 11508270 22.1%
enumerate 11104171 21.3%
map 32085 0.1%
dict items 14521 0.0%
tuple 13207 0.0%
string 7449 0.0%
seq iter 5443 0.0%
generator 1792 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_python_startup.py

python_startup: Mean +- std dev: 59.4 ms +- 1.0 ms

Kind Count Ratio
unquickened 1061500 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 1061500 100.0%
Failure kind Count Ratio
list 736152 69.4%
map 127732 12.0%
tuple 89010 8.4%
string 54755 5.2%
dict items 24475 2.3%
range 14266 1.3%
dict keys 5502 0.5%
seq iter 5102 0.5%
enumerate 1975 0.2%
generator 1710 0.2%
bytes 300 0.0%
set 270 0.0%
list reversed 90 0.0%
dict values 90 0.0%
filter 55 0.0%
zip 12 0.0%
itertools 4 0.0%

bm_raytrace.py

raytrace: Mean +- std dev: 2.70 sec +- 0.05 sec

Kind Count Ratio
unquickened 14043541 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 14043541 100.0%
Failure kind Count Ratio
list 13284015 94.6%
range 681894 4.9%
map 31223 0.2%
dict items 14628 0.1%
tuple 13099 0.1%
string 7657 0.1%
seq iter 5443 0.0%
generator 1880 0.0%
dict keys 1664 0.0%
enumerate 1607 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_regex_compile.py

regex_compile: Mean +- std dev: 1.07 sec +- 0.01 sec

Kind Count Ratio
unquickened 25074582 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 25074582 100.0%
Failure kind Count Ratio
range 17603982 70.2%
list 5668396 22.6%
seq iter 1615291 6.4%
dict items 109807 0.4%
map 42079 0.2%
tuple 22276 0.1%
string 7581 0.0%
generator 1864 0.0%
enumerate 1585 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_regex_dna.py

regex_dna: Mean +- std dev: 264 ms +- 4 ms

Kind Count Ratio
unquickened 9969582 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 9969582 100.0%
Failure kind Count Ratio
range 9778801 98.1%
list 110173 1.1%
map 31245 0.3%
dict items 14856 0.1%
tuple 13801 0.1%
string 7789 0.1%
seq iter 7313 0.1%
generator 1880 0.0%
dict keys 1664 0.0%
enumerate 1629 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_regex_effbot.py

regex_effbot: Mean +- std dev: 15.3 ms +- 0.3 ms

Kind Count Ratio
unquickened 214627 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 214627 100.0%
Failure kind Count Ratio
list 114020 53.1%
map 31201 14.5%
range 21754 10.1%
dict items 14763 6.9%
tuple 13239 6.2%
string 7426 3.5%
seq iter 7082 3.3%
generator 1836 0.9%
enumerate 1585 0.7%
dict keys 1290 0.6%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_regex_v8.py

regex_v8: Mean +- std dev: 87.5 ms +- 1.0 ms

Kind Count Ratio
unquickened 5212414 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 5212414 100.0%
Failure kind Count Ratio
range 4917196 94.3%
list 192680 3.7%
map 32546 0.6%
seq iter 26700 0.5%
dict items 17160 0.3%
tuple 13576 0.3%
string 7382 0.1%
generator 1868 0.0%
enumerate 1585 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_richards.py

richards: Mean +- std dev: 354 ms +- 16 ms

Kind Count Ratio
unquickened 578619 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 578619 100.0%
Failure kind Count Ratio
range 398953 68.9%
list 102997 17.8%
map 31201 5.4%
dict items 14518 2.5%
tuple 13027 2.3%
string 7382 1.3%
seq iter 5443 0.9%
generator 1792 0.3%
enumerate 1585 0.3%
dict keys 1290 0.2%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_scimark.py

scimark_fft: Mean +- std dev: 2.88 sec +- 0.02 sec

scimark_lu: Mean +- std dev: 793 ms +- 33 ms

scimark_monte_carlo: Mean +- std dev: 521 ms +- 10 ms

scimark_sor: Mean +- std dev: 1.20 sec +- 0.03 sec

scimark_sparse_mat_mult: Mean +- std dev: 46.8 ms +- 1.5 ms

Kind Count Ratio
unquickened 58961316 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 58961316 100.0%
Failure kind Count Ratio
range 57771369 98.0%
list 489613 0.8%
generator 338633 0.6%
map 147569 0.3%
dict items 71412 0.1%
tuple 61315 0.1%
string 35387 0.1%
seq iter 26903 0.0%
enumerate 7477 0.0%
dict keys 6218 0.0%
zip 3445 0.0%
bytes 1400 0.0%
filter 275 0.0%
set 168 0.0%
list reversed 56 0.0%
dict values 56 0.0%
itertools 20 0.0%

bm_spectral_norm.py

spectral_norm: Mean +- std dev: 1.31 sec +- 0.03 sec

Kind Count Ratio
unquickened 22851924 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 22851924 100.0%
Failure kind Count Ratio
enumerate 22481185 98.4%
range 188280 0.8%
list 102997 0.5%
map 31201 0.1%
dict items 14518 0.1%
tuple 13027 0.1%
string 7437 0.0%
seq iter 5443 0.0%
zip 4335 0.0%
generator 1792 0.0%
dict keys 1290 0.0%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_sqlite_synth.py

sqlite_synth: Mean +- std dev: 17.1 us +- 0.2 us

Kind Count Ratio
unquickened 755510 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 755510 100.0%
Failure kind Count Ratio
range 293509 38.8%
sqlite 278573 36.9%
list 104968 13.9%
map 32257 4.3%
dict items 14515 1.9%
tuple 13495 1.8%
string 7600 1.0%
seq iter 5443 0.7%
generator 1844 0.2%
enumerate 1585 0.2%
dict keys 1290 0.2%
bytes 300 0.0%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_sympy.py

sympy_expand: Mean +- std dev: 3.59 sec +- 0.03 sec

sympy_integrate: Mean +- std dev: 137 ms +- 3 ms

sympy_sum: Mean +- std dev: 1.08 sec +- 0.01 sec

sympy_str: Mean +- std dev: 2.13 sec +- 0.05 sec

Kind Count Ratio
unquickened 92844570 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 92844570 100.0%
Failure kind Count Ratio
list 26959877 29.0%
dict items 21839128 23.5%
set 15461027 16.7%
tuple 14279160 15.4%
zip 7836498 8.4%
range 3651234 3.9%
itertools 1237656 1.3%
map 553578 0.6%
enumerate 273719 0.3%
dict keys 238731 0.3%
string 165920 0.2%
odict 69756 0.1%
list reversed 67097 0.1%
other 57948 0.1%
generator 54621 0.1%
seq iter 54287 0.1%
reversed 41672 0.0%
dict values 1316 0.0%
bytes 1125 0.0%
filter 220 0.0%

bm_telco.py

telco: Mean +- std dev: 55.6 ms +- 0.8 ms

Kind Count Ratio
unquickened 529870 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 529870 100.0%
Failure kind Count Ratio
range 350101 66.1%
list 103048 19.4%
map 31269 5.9%
dict items 14521 2.7%
tuple 13031 2.5%
string 7355 1.4%
seq iter 5443 1.0%
generator 1796 0.3%
enumerate 1585 0.3%
dict keys 1290 0.2%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
list reversed 12 0.0%
zip 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_tornado_http.py

tornado_http: Mean +- std dev: 657 ms +- 6 ms

Kind Count Ratio
unquickened 1485448 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 1485448 100.0%
Failure kind Count Ratio
list 641461 43.2%
range 277119 18.7%
dict items 144756 9.7%
tuple 126006 8.5%
generator 116476 7.8%
map 73358 4.9%
set 32884 2.2%
dict keys 21646 1.5%
string 16867 1.1%
seq iter 11749 0.8%
other 10120 0.7%
enumerate 7692 0.5%
bytes 2304 0.2%
itertools 1660 0.1%
dict values 972 0.1%
list reversed 311 0.0%
filter 55 0.0%
zip 12 0.0%

bm_unpack_sequence.py

unpack_sequence: Mean +- std dev: 409 ns +- 4 ns

Kind Count Ratio
unquickened 264173 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 264173 100.0%
Failure kind Count Ratio
list 103348 39.1%
range 83702 31.7%
map 31201 11.8%
dict items 14585 5.5%
tuple 13091 5.0%
string 7489 2.8%
seq iter 5563 2.1%
generator 1876 0.7%
enumerate 1585 0.6%
dict keys 1290 0.5%
bytes 300 0.1%
filter 55 0.0%
set 36 0.0%
zip 24 0.0%
list reversed 12 0.0%
dict values 12 0.0%
itertools 4 0.0%

bm_xml_etree.py

xml_etree_parse: Mean +- std dev: 943 ms +- 7 ms

xml_etree_iterparse: Mean +- std dev: 641 ms +- 8 ms

xml_etree_generate: Mean +- std dev: 745 ms +- 9 ms

xml_etree_process: Mean +- std dev: 538 ms +- 10 ms

Kind Count Ratio
unquickened 33050753 100.0%

Specialization attempts

Count Ratio
Success 0 0.0%
Failure 33050753 100.0%
Failure kind Count Ratio
seq iter 9132220 27.6%
elementtree 7790904 23.6%
other 6736620 20.4%
list 5927223 17.9%
range 2444748 7.4%
generator 718317 2.2%
map 142575 0.4%
dict items 58125 0.2%
tuple 52060 0.2%
string 32919 0.1%
enumerate 6092 0.0%
dict keys 5690 0.0%
itertools 1600 0.0%
bytes 1125 0.0%
filter 220 0.0%
set 135 0.0%
zip 90 0.0%
list reversed 45 0.0%
dict values 45 0.0%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment