Skip to content

Conversation

@BobTheBuidler
Copy link
Owner

No description provided.

@github-actions
Copy link

Pytest Benchmark Diff

ens/base_ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_valid_name[] 0.0000017755099401940028 9.55756345483422e-7 46.17% 85.77% 1.86x
is_valid_name[a..eth] 0.00002484836893235593 0.000030203519378184512 -21.55% -17.73% 0.82x
is_valid_name[a.eth..] 0.00002538718333102357 0.000030147507029749787 -18.75% -15.79% 0.84x
is_valid_name[a.eth.] 0.000025415443026066804 0.000030009049036286747 -18.07% -15.31% 0.85x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23600468319999662 0.2501321192000091 -5.99% -5.65% 0.94x
is_valid_name[alice.eth] 0.010566846680851033 0.011156501804348828 -5.58% -5.29% 0.95x
is_valid_name[bob.eth] 0.006414047235668417 0.006687373857142551 -4.26% -4.09% 0.96x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.25709694500000635 0.2382186882000042 7.34% 7.92% 1.08x
is_valid_name[subdomain.alice.eth] 0.0317248520625002 0.03406156506666776 -7.37% -6.86% 0.93x
labelhash[] 0.00013329455408851967 0.00008039141059897815 39.69% 65.81% 1.66x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2327250981999896 0.2377898058000028 -2.18% -2.13% 0.98x
labelhash[alice] 0.007898483637097385 0.00791967369747871 -0.27% -0.27% 1.00x
labelhash[bob] 0.003502033814686794 0.003876340690646639 -10.69% -9.66% 0.90x
labelhash[emoji\U0001f468\U0001f3fb] 0.2899334673999988 0.26396118300000354 8.96% 9.84% 1.10x
labelhash[xn--fiqs8s] 0.024949489536586582 0.025525573692305396 -2.31% -2.26% 0.98x
namehash[] 0.000009680262236919583 0.000003222730454785275 66.71% 200.37% 3.00x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.46516790640000066 0.48090117540000393 -3.38% -3.27% 0.97x
namehash[alice.eth] 0.021886852217388973 0.022659827790697803 -3.53% -3.41% 0.97x
namehash[bob.eth] 0.013709980256754455 0.014026787904111014 -2.31% -2.26% 0.98x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5236842433999982 0.5366354844 -2.47% -2.41% 0.98x
namehash[subdomain.alice.eth] 0.06333025106249934 0.06632226973332915 -4.72% -4.51% 0.95x
nameprep[] 0.000008516556265160608 0.000002916561996488177 65.75% 192.01% 2.92x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23653822919999357 0.2454443165999976 -3.77% -3.63% 0.96x
nameprep[alice.eth] 0.010732855864583613 0.011284527315791442 -5.14% -4.89% 0.95x
nameprep[bob.eth] 0.006334458290323512 0.006800724295302126 -7.36% -6.86% 0.93x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.2567974136000032 0.23416398519999576 8.81% 9.67% 1.10x
nameprep[subdomain.alice.eth] 0.03154629286206732 0.033741125899999246 -6.96% -6.50% 0.93x
parent[] 9.560251465164531e-7 8.253936773235366e-7 13.66% 15.83% 1.16x
parent[bar.eth] 0.0000036293382339380617 0.0000026140787785952875 27.97% 38.84% 1.39x
parent[eth] 0.0000019798129264309684 0.0000014194068644080325 28.31% 39.48% 1.39x
parent[foo.bar.eth] 0.0000042793068901936835 0.0000033116159400927374 22.61% 29.22% 1.29x
parent[sub.sub2.foo.bar.eth] 0.00000503060933426991 0.000003966891771499996 21.14% 26.81% 1.27x
reverse_domain[0x0000000000000000000000000000000000000000] 0.000050096198787843164 0.00001662190638543919 66.82% 201.39% 3.01x
reverse_domain[0x1111111111111111111111111111111111111111] 0.0000510186438438448 0.000016396680916282763 67.86% 211.15% 3.11x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005058755430953239 0.000016384668279817153 67.61% 208.75% 3.09x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013594964211350491 0.000013666707152885977 -0.53% -0.52% 0.99x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013566733240754614 0.000013487807440904917 0.58% 0.59% 1.01x
address[alice.eth] 0.000013756502486620416 0.00001368789613440547 0.50% 0.50% 1.01x
address[bob.eth] 0.00001388141827385739 0.00001387950772357344 0.01% 0.01% 1.00x
address[emoji\U0001f468\U0001f3fb.eth] 0.00001355221803737674 0.000013770015529829598 -1.61% -1.58% 0.98x
address[subdomain.alice.eth] 0.000013700468798346208 0.000013600903293675153 0.73% 0.73% 1.01x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014450398544637872 0.00014436804930376682 0.09% 0.09% 1.00x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014358974667047944 0.00014461343071120044 -0.71% -0.71% 0.99x
normalize_name_ensip15[alice.eth] 0.00014429642914801942 0.00014492747083552456 -0.44% -0.44% 1.00x
normalize_name_ensip15[bob.eth] 0.00014500830296436984 0.00014489396729159762 0.08% 0.08% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014198891108524765 0.00014275960658140637 -0.54% -0.54% 0.99x
normalize_name_ensip15[subdomain.alice.eth] 0.00014554640847545648 0.00014361024227201984 1.33% 1.35% 1.01x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.002504330635897881 0.0008150827430722759 67.45% 207.25% 3.07x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0025376917326480463 0.000804769047385397 68.29% 215.33% 3.15x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0025649660026120687 0.0008045587973970251 68.63% 218.80% 3.19x
dns_encode_name[] 0.000006571428747368524 0.000004255899111350616 35.24% 54.41% 1.54x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23014187540001102 0.23450431019998633 -1.90% -1.86% 0.98x
dns_encode_name[alice.eth] 0.010683470413045163 0.01090319598888843 -2.06% -2.02% 0.98x
dns_encode_name[bob.eth] 0.0065685083552651236 0.00661848238513508 -0.76% -0.76% 0.99x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2505619182000146 0.23605538939999632 5.79% 6.15% 1.06x
dns_encode_name[subdomain.alice.eth] 0.0311903113030298 0.03203445759375256 -2.71% -2.64% 0.97x
estimate_auction_start_gas[labels0] 0.00007703087279418015 0.000050238898706086454 34.78% 53.33% 1.53x
estimate_auction_start_gas[labels1] 0.00007478399509182646 0.00004970286202583133 33.54% 50.46% 1.50x
estimate_auction_start_gas[labels2] 0.00006686462760179939 0.00004978344426630624 25.55% 34.31% 1.34x
is_empty_name[ ] 0.00005598717428695822 0.00003856746769307841 31.11% 45.17% 1.45x
is_empty_name[.] 0.00005611522028177426 0.00003882627812955872 30.81% 44.53% 1.45x
is_empty_name[0] 0.00005662151268989059 0.00003848611229621854 32.03% 47.12% 1.47x
is_empty_name[1] 0.000056202341525554577 0.00003820495923363765 32.02% 47.11% 1.47x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005747100887555908 0.000039051303754522155 32.05% 47.17% 1.47x
is_empty_name[alice.eth] 0.000058714500427116874 0.00003825096979028868 34.85% 53.50% 1.53x
is_empty_name[bob.eth] 0.00005687444356983927 0.00003855310588650391 32.21% 47.52% 1.48x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00005965553090547693 0.00004008916100496172 32.80% 48.81% 1.49x
is_empty_name[subdomain.alice.eth] 0.00005734875063610409 0.00003952542664864012 31.08% 45.09% 1.45x
is_none_or_zero_address[] 0.000042964856339733936 0.00003859098549587942 10.18% 11.33% 1.11x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00005119450351544501 0.000043933028671324213 14.18% 16.53% 1.17x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.000053878238253804945 0.00004463840183639782 17.15% 20.70% 1.21x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005280274229535202 0.00004441607216067611 15.88% 18.88% 1.19x
is_valid_ens_name[] 0.0000018395370002205774 0.000001493044499985102 18.84% 23.21% 1.23x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23391035300001023 0.23819129079998902 -1.83% -1.80% 0.98x
is_valid_ens_name[alice.eth] 0.01057619623711253 0.010857734549447811 -2.66% -2.59% 0.97x
is_valid_ens_name[bar] 0.0000019001651419667457 0.0000015069280668191642 20.69% 26.10% 1.26x
is_valid_ens_name[baz] 0.0000019054933808974262 0.0000015391901637091904 19.22% 23.80% 1.24x
is_valid_ens_name[bob.eth] 0.006612680345911503 0.006670049574194998 -0.87% -0.86% 0.99x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.25760317460000126 0.26325841139999967 -2.20% -2.15% 0.98x
is_valid_ens_name[foo] 0.000001913102713254423 0.0000015134123432431397 20.89% 26.41% 1.26x
is_valid_ens_name[subdomain.alice.eth] 0.03130959587878813 0.032456676806451736 -3.66% -3.53% 0.96x
is_valid_name[] 0.0000015527135494591294 9.238323894002721e-7 40.50% 68.07% 1.68x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22441568700000972 0.23810101580000947 -6.10% -5.75% 0.94x
is_valid_name[alice.eth] 0.010468675268042453 0.011151989066666425 -6.53% -6.13% 0.94x
is_valid_name[bob.eth] 0.006359440783440532 0.00670010131125761 -5.36% -5.08% 0.95x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2497315990000061 0.2166306881999958 13.25% 15.28% 1.15x
is_valid_name[subdomain.alice.eth] 0.030612992727271554 0.0321454447741908 -5.01% -4.77% 0.95x
label_to_hash[] 0.0001328177064525071 0.0000803733319888008 39.49% 65.25% 1.65x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23109578899999406 0.23856030320000626 -3.23% -3.13% 0.97x
label_to_hash[alice] 0.007904841054264297 0.007996216214284204 -1.16% -1.14% 0.99x
label_to_hash[bob] 0.003510354270175859 0.0035167939964557866 -0.18% -0.18% 1.00x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.28112496959998906 0.254016782400015 9.64% 10.67% 1.11x
label_to_hash[xn--fiqs8s] 0.024602311071425846 0.025388884299997017 -3.20% -3.10% 0.97x
normal_name_to_hash[] 0.000001653972718258623 0.00000107852050302787 34.79% 53.36% 1.53x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2369608066000069 0.23797752359998867 -0.43% -0.43% 1.00x
normal_name_to_hash[alice.eth] 0.011459572209301626 0.011477744022990474 -0.16% -0.16% 1.00x
normal_name_to_hash[bob.eth] 0.007282205962964646 0.007218062893614323 0.88% 0.89% 1.01x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2780759233999902 0.265025100999992 4.69% 4.92% 1.05x
normal_name_to_hash[subdomain.alice.eth] 0.032611095193552105 0.032746743419357745 -0.42% -0.41% 1.00x
normalize_name[] 0.000008121826009881654 0.00000292540688709683 63.98% 177.63% 2.78x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22784933319999254 0.24401115699998854 -7.09% -6.62% 0.93x
normalize_name[alice.eth] 0.01059112427083638 0.011167519505617743 -5.44% -5.16% 0.95x
normalize_name[bob.eth] 0.006377053943393726 0.006769524346669869 -6.15% -5.80% 0.94x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2573427464000247 0.2533830807999948 1.54% 1.56% 1.02x
normalize_name[subdomain.alice.eth] 0.03139566890908699 0.033217521258061496 -5.80% -5.48% 0.95x
raw_name_to_hash[] 0.000009442903467413103 0.0000031173801140511037 66.99% 202.91% 3.03x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.46491693539999235 0.4806584904000147 -3.39% -3.27% 0.97x
raw_name_to_hash[alice.eth] 0.02190247491304584 0.02242978665909525 -2.41% -2.35% 0.98x
raw_name_to_hash[bob.eth] 0.013588981851351928 0.013650340794520753 -0.45% -0.45% 1.00x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5131210343999897 0.48727971140000365 5.04% 5.30% 1.05x
raw_name_to_hash[subdomain.alice.eth] 0.06392401593750563 0.06566812268750155 -2.73% -2.66% 0.97x
sha3_text[0] 0.00011734646421691515 0.0000736926899976294 37.20% 59.24% 1.59x
sha3_text[1] 0.00011734925707366442 0.0000736007299064375 37.28% 59.44% 1.59x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012717157979479503 0.00008151411301269509 35.90% 56.01% 1.56x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012699351686171087 0.00008181084634972798 35.58% 55.23% 1.55x
sha3_text[alice.eth] 0.00012559614463401468 0.00008189076690468757 34.80% 53.37% 1.53x
sha3_text[alice] 0.00012727458222674818 0.00008218910869281368 35.42% 54.86% 1.55x
sha3_text[bob.eth] 0.00012625146677931582 0.00008181039545969561 35.20% 54.32% 1.54x
sha3_text[bob] 0.00012665267855273475 0.00008161814816495888 35.56% 55.18% 1.55x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00012708733845287167 0.00008253564103126118 35.06% 53.98% 1.54x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012669271119780047 0.0000821687760097586 35.14% 54.19% 1.54x
sha3_text[subdomain.alice.eth] 0.0001265834278592823 0.00008221706252044476 35.05% 53.96% 1.54x
sha3_text[xn--fiqs8s] 0.00012679704977111765 0.00008181274800151427 35.48% 54.98% 1.55x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002898142388062955 0.00025302947856783493 12.69% 14.54% 1.15x
fallback_func_abi_exists 0.00024589932396851564 0.000249603482550605 -1.51% -1.48% 0.99x
filter_by_argument_name[a] 0.0006601475707496593 0.00038988550571934284 40.94% 69.32% 1.69x
filter_by_argument_name[a+b] 0.0006994174447440997 0.000423749214009226 39.41% 65.05% 1.65x
filter_by_argument_name[b] 0.0006613296377578734 0.0003902133911691777 41.00% 69.48% 1.69x
filter_by_argument_name[c] 0.0006557927685124413 0.0003824976820267829 41.67% 71.45% 1.71x
filter_by_argument_name[notfound] 0.0006556773589714313 0.00037275359963229507 43.15% 75.90% 1.76x
filter_by_argument_type[address] 0.0005832291458474664 0.0005937531384997113 -1.80% -1.77% 0.98x
filter_by_argument_type[notatype] 0.0005818070618310053 0.0005867687311765375 -0.85% -0.85% 0.99x
filter_by_argument_type[string] 0.0005774630281941681 0.000596423613709111 -3.28% -3.18% 0.97x
filter_by_argument_type[uint+address] 0.0005983791972958033 0.000608801673827708 -1.74% -1.71% 0.98x
filter_by_argument_type[uint256] 0.0005882099362226947 0.0005952893759340126 -1.20% -1.19% 0.99x
filter_by_types[constructor] 0.00003738779956101998 0.0000373921127607982 -0.01% -0.01% 1.00x
filter_by_types[event] 0.000036284665148861425 0.000036940415531318354 -1.81% -1.78% 0.98x
filter_by_types[fallback] 0.00003811111131731961 0.00003742034961342537 1.81% 1.85% 1.02x
filter_by_types[func+event] 0.00004255744440430661 0.00004108084942126532 3.47% 3.59% 1.04x
filter_by_types[function] 0.0000364316286169324 0.00003753501294455414 -3.03% -2.94% 0.97x
filter_by_types[none] 0.00003645858357622508 0.00003702917944625822 -1.57% -1.54% 0.98x
filter_by_types[receive] 0.00003876991727161173 0.00003867507435052674 0.24% 0.25% 1.00x
find_constructor_abi_element_by_type 0.000033458229876305664 0.00003400335190716898 -1.63% -1.60% 0.98x
get_abi_element_signature[custom] 0.000052847581772437954 0.000049904939822944154 5.57% 5.90% 1.06x
get_abi_element_signature[fallback] 0.000021306065236070712 0.000021784764252461223 -2.25% -2.20% 0.98x
get_abi_element_signature[receive] 0.000028356526794385485 0.000028673079817561125 -1.12% -1.10% 0.99x
get_abi_element_signature[transfer] 0.00005741277330429855 0.00005556285768861587 3.22% 3.33% 1.03x
get_name_from_abi_element_identifier[custom] 0.000042042996567130875 0.00003847959175845605 8.48% 9.26% 1.09x
get_name_from_abi_element_identifier[fallback] 0.000012080001982210463 0.000012110384420660232 -0.25% -0.25% 1.00x
get_name_from_abi_element_identifier[func] 0.000041918977674172225 0.0000381107874441899 9.08% 9.99% 1.10x
get_name_from_abi_element_identifier[receive] 0.000018358562349286186 0.000018523309397605286 -0.90% -0.89% 0.99x
get_tuple_type_str_parts[not-tuple] 0.000022199256819468848 0.0000224406323584026 -1.09% -1.08% 0.99x
get_tuple_type_str_parts[one-dim] 0.00007528442418972014 0.00007507419556654334 0.28% 0.28% 1.00x
get_tuple_type_str_parts[plain] 0.00004838450618175742 0.00004796338027068108 0.87% 0.88% 1.01x
get_tuple_type_str_parts[two-dim] 0.0000930296259809605 0.0000937901962734674 -0.82% -0.81% 0.99x
is_address_type[address] 0.00004306046568987553 0.000043815090176448157 -1.75% -1.72% 0.98x
is_address_type[array] 0.00004563101813363126 0.000046672439122014395 -2.28% -2.23% 0.98x
is_address_type[bool] 0.00004236684882598005 0.00004297317269683426 -1.43% -1.41% 0.99x
is_address_type[bytes] 0.00004355586102920566 0.00004321625132986274 0.78% 0.79% 1.01x
is_address_type[bytes32] 0.00004550313678985468 0.00004653368283267513 -2.26% -2.21% 0.98x
is_address_type[bytes33] 0.00004624849658213406 0.00004677287480021494 -1.13% -1.12% 0.99x
is_address_type[empty] 0.00004308350994127707 0.00004331709973172617 -0.54% -0.54% 0.99x
is_address_type[enum] 0.00004365584111789201 0.00004491298179801285 -2.88% -2.80% 0.97x
is_address_type[int256] 0.0000425214852205381 0.00004299696047771014 -1.12% -1.11% 0.99x
is_address_type[invalid] 0.000044714538640299246 0.00004526269211988941 -1.23% -1.21% 0.99x
is_address_type[string] 0.000042502173873467 0.0000433268037354062 -1.94% -1.90% 0.98x
is_address_type[tuple-array] 0.00004482945724709252 0.00004493936365316536 -0.25% -0.24% 1.00x
is_address_type[tuple] 0.000043075302756223124 0.00004346673984097871 -0.91% -0.90% 0.99x
is_address_type[uint256] 0.00004577208846249495 0.00004670103609000013 -2.03% -1.99% 0.98x
is_array_type[address] 0.0003927127014867832 0.0004008587093027352 -2.07% -2.03% 0.98x
is_array_type[array] 0.00040152809279224167 0.00042429565855241577 -5.67% -5.37% 0.95x
is_array_type[bool] 0.0003609999660759742 0.00036972798907581987 -2.42% -2.36% 0.98x
is_array_type[bytes] 0.00037206412626584014 0.00037648643806941553 -1.19% -1.17% 0.99x
is_array_type[bytes32] 0.0003883502311118902 0.0004239576713213065 -9.17% -8.40% 0.92x
is_array_type[bytes33] 0.00039002500629050263 0.00039528929674396203 -1.35% -1.33% 0.99x
is_array_type[empty] 0.00029941942977107706 0.0003081685916583246 -2.92% -2.84% 0.97x
is_array_type[enum] 0.0003804480243705059 0.00038907841388875417 -2.27% -2.22% 0.98x
is_array_type[int256] 0.00037965878194810214 0.0003879108575891672 -2.17% -2.13% 0.98x
is_array_type[invalid] 0.00039894711544877584 0.00040659321532152815 -1.92% -1.88% 0.98x
is_array_type[string] 0.0003822764800009164 0.0004049781420216355 -5.94% -5.61% 0.94x
is_array_type[tuple-array] 0.0004028118970526211 0.00041051097395592643 -1.91% -1.88% 0.98x
is_array_type[tuple] 0.0003739819749302794 0.0003767981619558245 -0.75% -0.75% 0.99x
is_array_type[uint256] 0.00039222418963420823 0.00039645189165674863 -1.08% -1.07% 0.99x
is_bool_type[address] 0.00004280067849851019 0.00004197847609362062 1.92% 1.96% 1.02x
is_bool_type[array] 0.00004397614377662856 0.00004352094900997324 1.04% 1.05% 1.01x
is_bool_type[bool] 0.00004273341315812315 0.00004262313148503523 0.26% 0.26% 1.00x
is_bool_type[bytes] 0.00004197735291304318 0.00004231952949596407 -0.82% -0.81% 0.99x
is_bool_type[bytes32] 0.00004273676904095961 0.00004201298291453265 1.69% 1.72% 1.02x
is_bool_type[bytes33] 0.00004374508927878467 0.0000438650646785129 -0.27% -0.27% 1.00x
is_bool_type[empty] 0.0000423185881410379 0.000042305855047881656 0.03% 0.03% 1.00x
is_bool_type[enum] 0.00004361163432354493 0.00004379152650535696 -0.41% -0.41% 1.00x
is_bool_type[int256] 0.00004265270890615733 0.00004216317810786587 1.15% 1.16% 1.01x
is_bool_type[invalid] 0.000043581824208165085 0.00004380420460956115 -0.51% -0.51% 0.99x
is_bool_type[string] 0.000042369797932838714 0.00004192218467359461 1.06% 1.07% 1.01x
is_bool_type[tuple-array] 0.000043954968217881724 0.00004408173246886205 -0.29% -0.29% 1.00x
is_bool_type[tuple] 0.00004212720477252921 0.00004258820243325242 -1.09% -1.08% 0.99x
is_bool_type[uint256] 0.000042586845250217734 0.00004212636615781946 1.08% 1.09% 1.01x
is_bytes_type[address] 0.000319182083863706 0.0003285432081275747 -2.93% -2.85% 0.97x
is_bytes_type[array] 0.00031011548303852007 0.0003022366025919375 2.54% 2.61% 1.03x
is_bytes_type[bool] 0.00028503106071790736 0.0002836278342660918 0.49% 0.49% 1.00x
is_bytes_type[bytes] 0.0002799383914836821 0.000280576725793206 -0.23% -0.23% 1.00x
is_bytes_type[bytes32] 0.0002893567419343916 0.0002951770613578519 -2.01% -1.97% 0.98x
is_bytes_type[bytes33] 0.0003094356575926668 0.0003062109754918708 1.04% 1.05% 1.01x
is_bytes_type[empty] 0.00028267487595691834 0.000278738676913863 1.39% 1.41% 1.01x
is_bytes_type[enum] 0.00029331885808494776 0.0003163268704308411 -7.84% -7.27% 0.93x
is_bytes_type[int256] 0.0003029600728583521 0.0002992932985111381 1.21% 1.23% 1.01x
is_bytes_type[invalid] 0.0002825805756312148 0.0002821236400003752 0.16% 0.16% 1.00x
is_bytes_type[string] 0.00029806539620930254 0.00029672585267546774 0.45% 0.45% 1.00x
is_bytes_type[tuple-array] 0.00028275438799430603 0.0002831157715245298 -0.13% -0.13% 1.00x
is_bytes_type[tuple] 0.0002770821299584929 0.00028512673968995124 -2.90% -2.82% 0.97x
is_bytes_type[uint256] 0.000325834284531716 0.0003085564900818074 5.30% 5.60% 1.06x
is_int_type[address] 0.00019976764587060277 0.0002076930930198834 -3.97% -3.82% 0.96x
is_int_type[array] 0.00019962679837151717 0.00020784733764825337 -4.12% -3.96% 0.96x
is_int_type[bool] 0.0002003772226048362 0.00020619582208844704 -2.90% -2.82% 0.97x
is_int_type[bytes] 0.00021221349219699502 0.00022299242474669938 -5.08% -4.83% 0.95x
is_int_type[bytes32] 0.0002041293539196009 0.00020765478152321023 -1.73% -1.70% 0.98x
is_int_type[bytes33] 0.00019802757339843746 0.00020766487387914156 -4.87% -4.64% 0.95x
is_int_type[empty] 0.00019988466253288042 0.00020791859767182544 -4.02% -3.86% 0.96x
is_int_type[enum] 0.00023528063642602875 0.0002338423320029652 0.61% 0.62% 1.01x
is_int_type[int256] 0.00022537489035803364 0.00023917306455632065 -6.12% -5.77% 0.94x
is_int_type[invalid] 0.00019929792146706248 0.00021174166567959596 -6.24% -5.88% 0.94x
is_int_type[string] 0.00023716353282626087 0.0002379820586277553 -0.35% -0.34% 1.00x
is_int_type[tuple-array] 0.00019863147099245785 0.00020811556921462529 -4.77% -4.56% 0.95x
is_int_type[tuple] 0.00020556250242131596 0.0002238535697558197 -8.90% -8.17% 0.92x
is_int_type[uint256] 0.00019953029745607055 0.00020782643321579696 -4.16% -3.99% 0.96x
is_probably_enum[address] 0.000063905787832887 0.00006635505206262564 -3.83% -3.69% 0.96x
is_probably_enum[empty] 0.000060660230436089364 0.00006215850840386006 -2.47% -2.41% 0.98x
is_probably_enum[enum] 0.00006603956593493534 0.00006642285061270773 -0.58% -0.58% 0.99x
is_probably_enum[lib-dot] 0.00006567940374758787 0.0000674140898399531 -2.64% -2.57% 0.97x
is_probably_enum[lib-enum] 0.00007378300363457138 0.00007552504156328959 -2.36% -2.31% 0.98x
is_probably_enum[uint256] 0.00006413243722533778 0.00006657335099656825 -3.81% -3.67% 0.96x
is_recognized_type[address] 0.00008571429210644545 0.00008907217790960616 -3.92% -3.77% 0.96x
is_recognized_type[array] 0.00009026863817618301 0.00009359673369166526 -3.69% -3.56% 0.96x
is_recognized_type[bool] 0.00008416200508058471 0.00008763093261565645 -4.12% -3.96% 0.96x
is_recognized_type[bytes] 0.00016033355520963824 0.00016151089312584925 -0.73% -0.73% 0.99x
is_recognized_type[bytes32] 0.00015444839684061165 0.00016018304252486906 -3.71% -3.58% 0.96x
is_recognized_type[bytes33] 0.00014269016859302128 0.00014800236862055733 -3.72% -3.59% 0.96x
is_recognized_type[empty] 0.00006410898579228368 0.00006444977838763751 -0.53% -0.53% 0.99x
is_recognized_type[enum] 0.00008184851292188958 0.0000920526056677703 -12.47% -11.09% 0.89x
is_recognized_type[int256] 0.00012777147347888934 0.00013565451049536722 -6.17% -5.81% 0.94x
is_recognized_type[invalid] 0.0000857850419613833 0.00008761005946174313 -2.13% -2.08% 0.98x
is_recognized_type[string] 0.00010749123679104793 0.00011306957245567754 -5.19% -4.93% 0.95x
is_recognized_type[tuple-array] 0.00008587444792768856 0.00009141160887998129 -6.45% -6.06% 0.94x
is_recognized_type[tuple] 0.00008126712427557725 0.00009224107471516824 -13.50% -11.90% 0.88x
is_recognized_type[uint256] 0.00012788545164168973 0.00013777454204175747 -7.73% -7.18% 0.93x
is_string_type[address] 0.000042118828096688476 0.000042154051436683536 -0.08% -0.08% 1.00x
is_string_type[array] 0.0000438258356574803 0.00004372112238640799 0.24% 0.24% 1.00x
is_string_type[bool] 0.000042343003372103314 0.00004191319779725125 1.02% 1.03% 1.01x
is_string_type[bytes] 0.000041930612107243005 0.000041986082563750725 -0.13% -0.13% 1.00x
is_string_type[bytes32] 0.00004192240967705946 0.00004204990978618305 -0.30% -0.30% 1.00x
is_string_type[bytes33] 0.000045831934502960226 0.00004364351458912794 4.77% 5.01% 1.05x
is_string_type[empty] 0.000041928303838516876 0.00004273050357649481 -1.91% -1.88% 0.98x
is_string_type[enum] 0.00004577467739821647 0.000046046376626137266 -0.59% -0.59% 0.99x
is_string_type[int256] 0.00004364365080243696 0.00004360223681122498 0.09% 0.09% 1.00x
is_string_type[invalid] 0.000044059927318320764 0.00004421128220635665 -0.34% -0.34% 1.00x
is_string_type[string] 0.000042980915396870547 0.000042377517033758754 1.40% 1.42% 1.01x
is_string_type[tuple-array] 0.0000438115073104664 0.00004378542305122509 0.06% 0.06% 1.00x
is_string_type[tuple] 0.00004228085396156859 0.000042447835617783405 -0.39% -0.39% 1.00x
is_string_type[uint256] 0.00004212490008306396 0.0000425212551119073 -0.94% -0.93% 0.99x
is_uint_type[address] 0.00022132311710727667 0.00023592218322763265 -6.60% -6.19% 0.94x
is_uint_type[array] 0.0002262968844646328 0.0002190071542260071 3.22% 3.33% 1.03x
is_uint_type[bool] 0.00019813573558673543 0.00019939655615697132 -0.64% -0.63% 0.99x
is_uint_type[bytes] 0.00020122858998773037 0.0002050371186231541 -1.89% -1.86% 0.98x
is_uint_type[bytes32] 0.0002302491555886171 0.00022896686519908088 0.56% 0.56% 1.01x
is_uint_type[bytes33] 0.00022998146794885892 0.00022877373268039402 0.53% 0.53% 1.01x
is_uint_type[empty] 0.00020022822920689914 0.00019922525059483598 0.50% 0.50% 1.01x
is_uint_type[enum] 0.00021756113533157324 0.00021985484359160771 -1.05% -1.04% 0.99x
is_uint_type[int256] 0.00021546115236049967 0.00021574676918140263 -0.13% -0.13% 1.00x
is_uint_type[invalid] 0.00020168813212239546 0.0001978677787419263 1.89% 1.93% 1.02x
is_uint_type[string] 0.00021607761344379057 0.00020811877584388624 3.68% 3.82% 1.04x
is_uint_type[tuple-array] 0.00020455387087532675 0.00020524967979516963 -0.34% -0.34% 1.00x
is_uint_type[tuple] 0.00019778637046014323 0.00019737212379001025 0.21% 0.21% 1.00x
is_uint_type[uint256] 0.0002234911477090113 0.00022173456488880876 0.79% 0.79% 1.01x
length_of_array_type[dynamic] 0.0001641040006800295 0.00017144587594928633 -4.47% -4.28% 0.96x
length_of_array_type[fixed] 0.00018706652412873908 0.00017923851308998325 4.18% 4.37% 1.04x
length_of_array_type[nested] 0.0001899036022620946 0.00018149218836183544 4.43% 4.63% 1.05x
map_abi_data 0.0064721994402952305 0.0055078065301171295 14.90% 17.51% 1.18x
normalize_event_input_types 0.0004246069408604503 0.0004318915260503481 -1.72% -1.69% 0.98x
receive_func_abi_exists 0.00032060481172745196 0.0003167371255707742 1.21% 1.22% 1.01x
strip_abi_types 0.0016041158096022205 0.0017093744066333778 -6.56% -6.16% 0.94x
sub_type_of_array_type[nested] 0.0001815389068400296 0.0001861732790108197 -2.55% -2.49% 0.98x
sub_type_of_array_type[simple] 0.00017667457235640333 0.00017824011433416505 -0.89% -0.88% 0.99x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000020417222290533824 0.0000218513082736949 -7.02% -6.56% 0.93x
is_hex_encoded_block_hash[invalid-g] 0.00008264967816181195 0.00006078724749884933 26.45% 35.97% 1.36x
is_hex_encoded_block_hash[none] 0.000020435382541211737 0.00002191726858290767 -7.25% -6.76% 0.93x
is_hex_encoded_block_hash[short] 0.00004410009387375123 0.00002615104980599312 40.70% 68.64% 1.69x
is_hex_encoded_block_hash[too-long] 0.00004442091478172403 0.000025985099713246757 41.50% 70.95% 1.71x
is_hex_encoded_block_hash[too-short] 0.00004386323787387477 0.00002614261074078395 40.40% 67.78% 1.68x
is_hex_encoded_block_hash[valid-a] 0.00009399410972267963 0.00007066437079375235 24.82% 33.01% 1.33x
is_hex_encoded_block_hash[valid-f] 0.0000932384300033484 0.00007012043167631893 24.79% 32.97% 1.33x
is_hex_encoded_block_number[int] 0.000020762999442606175 0.000021768800874871255 -4.84% -4.62% 0.95x
is_hex_encoded_block_number[invalid-g] 0.00016630278773344204 0.00022080428393917947 -32.77% -24.68% 0.75x
is_hex_encoded_block_number[max-64-a] 0.00010402832695451452 0.000079602709693177 23.48% 30.68% 1.31x
is_hex_encoded_block_number[max-64-f] 0.0001032849182166149 0.00008000952223175468 22.54% 29.09% 1.29x
is_hex_encoded_block_number[none] 0.00002064551843813735 0.000021656826110478338 -4.90% -4.67% 0.95x
is_hex_encoded_block_number[small] 0.00009169324923191922 0.00004375053358505607 52.29% 109.58% 2.10x
is_hex_encoded_block_number[too-long] 0.0001083286330773548 0.00005958388753359536 45.00% 81.81% 1.82x
is_predefined_block_number[bytes-latest] 0.0000324481029061342 0.000028907344531257588 10.91% 12.25% 1.12x
is_predefined_block_number[bytes-pending] 0.00003269042336273532 0.000028595963965615514 12.52% 14.32% 1.14x
is_predefined_block_number[bytes-random] 0.00003136120056040242 0.000027591356051557487 12.02% 13.66% 1.14x
is_predefined_block_number[int] 0.00003315540817970703 0.000023863144026956023 28.03% 38.94% 1.39x
is_predefined_block_number[none] 0.00012025373380400903 0.00021761099598712396 -80.96% -44.74% 0.55x
is_predefined_block_number[object] 0.00015547293541083915 0.0002490251695915005 -60.17% -37.57% 0.62x
is_predefined_block_number[str-earliest] 0.000013131312406232187 0.000009356249739589992 28.75% 40.35% 1.40x
is_predefined_block_number[str-finalized] 0.000013069239078674228 0.000009360550013811419 28.38% 39.62% 1.40x
is_predefined_block_number[str-foo] 0.000013187043502875914 0.000009169314163958857 30.47% 43.82% 1.44x
is_predefined_block_number[str-latest] 0.000013277531722758394 0.000009602138908275775 27.68% 38.28% 1.38x
is_predefined_block_number[str-pending] 0.0000132468559276064 0.000009456383959398984 28.61% 40.08% 1.40x
is_predefined_block_number[str-safe] 0.000013348459612504502 0.000009513022203257772 28.73% 40.32% 1.40x
select_method_for_block_identifier[hash-bytes] 0.00005015432320943907 0.00004008229006705675 20.08% 25.13% 1.25x
select_method_for_block_identifier[hash-hexstr] 0.00012851998639526243 0.00009078985422688535 29.36% 41.56% 1.42x
select_method_for_block_identifier[invalid-none] 0.0009211849328741183 0.001092832306240856 -18.63% -15.71% 0.84x
select_method_for_block_identifier[invalid-object] 0.0009524915791610717 0.0011355932436963004 -19.22% -16.12% 0.84x
select_method_for_block_identifier[number-hexstr] 0.00017328913654491286 0.00008674005752131856 49.94% 99.78% 2.00x
select_method_for_block_identifier[number-int] 0.00011368829839191296 0.00005783220496968566 49.13% 96.58% 1.97x
select_method_for_block_identifier[predefined-bytes] 0.00004873871334694597 0.00004176642090718177 14.31% 16.69% 1.17x
select_method_for_block_identifier[predefined-str] 0.00002738993914393939 0.00002053698799855762 25.02% 33.37% 1.33x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.0004658485975431947 0.0005386636470262606 -15.63% -13.52% 0.86x
PropertyCheckingFactory[big-valid] 0.0004669338995617443 0.0005399239586238717 -15.63% -13.52% 0.86x
PropertyCheckingFactory[inheritance] 0.0010005308622448772 0.0009644720355356 3.60% 3.74% 1.04x
PropertyCheckingFactory[invalid] 0.0004649577149155799 0.0005429696092344325 -16.78% -14.37% 0.86x
PropertyCheckingFactory[multi-normalizer] 0.0004635081842352883 0.0005427837180899341 -17.10% -14.61% 0.85x
PropertyCheckingFactory[multi-prop] 0.00046418505715632166 0.0005371023050074798 -15.71% -13.58% 0.86x
PropertyCheckingFactory[normalized] 0.00046780539762348477 0.0005525956759879107 -18.13% -15.34% 0.85x
PropertyCheckingFactory[valid] 0.0012147189683409925 0.0010163161188738675 16.33% 19.52% 1.20x
verify_attr[empty] 0.00010015002470592346 0.0001641006084753242 -63.85% -38.97% 0.61x
verify_attr[found-end] 0.000011437074679053152 0.000009833940521219126 14.02% 16.30% 1.16x
verify_attr[found-start] 0.000009618523505012448 0.000007549674359378594 21.51% 27.40% 1.27x
verify_attr[large-found] 0.00012444920346243275 0.00012597408720656814 -1.23% -1.21% 0.99x
verify_attr[large-notfound] 0.00019839001392921052 0.0002588765139912973 -30.49% -23.37% 0.77x
verify_attr[notfound] 0.00010460364820426374 0.0001669677028479078 -59.62% -37.35% 0.63x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006446425538658438 0.0006413545292173366 0.51% 0.51% 1.01x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007727923036952144 0.00002277948494316552 70.52% 239.25% 3.39x
percentile[100-90th] 0.00010887890092834225 0.0000527069181718867 51.59% 106.57% 2.07x
percentile[100k-99th] 0.036664999185177294 0.03630261021428639 0.99% 1.00% 1.01x
percentile[100k-median] 0.0364920825185335 0.03649627151852891 -0.01% -0.01% 1.00x
percentile[10k-10th] 0.0037578815681794967 0.0036664347043806563 2.43% 2.49% 1.02x
percentile[10k-99th] 0.003768327329547622 0.0036818385222200387 2.30% 2.35% 1.02x
percentile[10k-median] 0.003738190359551604 0.003635474149088044 2.75% 2.83% 1.03x
percentile[1k-99th] 0.000464402314622381 0.0003963803646583125 14.65% 17.16% 1.17x
percentile[1M-median] 0.5798264993999964 0.5779781113999889 0.32% 0.32% 1.00x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012917478943431496 0.000006549186459382145 49.30% 97.24% 1.97x
to_bytes_if_hex[empty-str] 0.0003110566914279889 0.00003682855785698962 88.16% 744.61% 8.45x
to_bytes_if_hex[hexstr] 0.00034054496377687187 0.00004441056666673172 86.96% 666.81% 7.67x
to_bytes_if_hex[large-hex] 0.00034340987126578205 0.00005057424816032837 85.27% 579.02% 6.79x
to_bytes_if_hex[non-prefixed-hex] 0.00032464315664770533 0.000041100865892448464 87.34% 689.87% 7.90x
to_bytes_if_hex[nothex] 0.00043137276819153736 0.00026515421275857554 38.53% 62.69% 1.63x
to_bytes_if_hex[unicode] 0.0004330438836464079 0.0002768814228046835 36.06% 56.40% 1.56x
to_bytes_if_hex[zero] 0.0003386567571181096 0.00004378623829013362 87.07% 673.43% 7.73x
to_hex_if_bytes[bytes] 0.00022229791303263904 0.000049728595267517884 77.63% 347.02% 4.47x
to_hex_if_bytes[empty-bytes] 0.0002106667284001701 0.00004106001358215153 80.51% 413.07% 5.13x
to_hex_if_bytes[empty-str] 0.00010094948163364249 0.0001894491687376025 -87.67% -46.71% 0.53x
to_hex_if_bytes[hexstr] 0.00028626817120328403 0.000022911489786780362 92.00% 1149.45% 12.49x
to_hex_if_bytes[large-bytes] 0.0002282628732925185 0.000052117091862483246 77.17% 337.98% 4.38x
to_hex_if_bytes[non-prefixed-hex] 0.00010384080392838896 0.00019376795819615856 -86.60% -46.41% 0.54x
to_hex_if_bytes[not-hex] 0.00010330176581423355 0.00019205926665411577 -85.92% -46.21% 0.54x
to_hex_if_bytes[unicode] 0.00010856501519570799 0.00019764337343061022 -82.05% -45.07% 0.55x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00030871269055891197 0.00009966491014112985 67.72% 209.75% 3.10x
all_in_dict[empty-dict] 0.0002633483732892812 0.00007331830176358282 72.16% 259.19% 3.59x
all_in_dict[empty-list] 0.00026337086963286504 0.00008559531905942407 67.50% 207.69% 3.08x
all_in_dict[mixed-types] 0.0003102164125760232 0.00010089944632187575 67.47% 207.45% 3.07x
all_in_dict[no-overlap] 0.00028725668350106375 0.00008635954812974209 69.94% 232.63% 3.33x
all_in_dict[none-in] 0.0002840834210069872 0.00008696724113857674 69.39% 226.66% 3.27x
all_in_dict[one-in] 0.0002877488744274419 0.00009025639290897132 68.63% 218.81% 3.19x
all_in_dict[partial-overlap] 0.0003190251974758157 0.00009865888170248319 69.07% 223.36% 3.23x
all_in_dict[value-none] 0.0002905627753941901 0.00009067521990254776 68.79% 220.44% 3.20x
any_in_dict[all-in] 0.0002868308289208194 0.0000899820434322834 68.63% 218.76% 3.19x
any_in_dict[empty-dict] 0.0003095663946384402 0.00008913704191512603 71.21% 247.29% 3.47x
any_in_dict[empty-list] 0.00026679734692719356 0.0000869156587363271 67.42% 206.96% 3.07x
any_in_dict[mixed-types] 0.0002830318042991868 0.00008998701592651135 68.21% 214.53% 3.15x
any_in_dict[no-overlap] 0.0003257668768863406 0.0001060713153710387 67.44% 207.12% 3.07x
any_in_dict[none-in] 0.00029602194949804664 0.00009446157029313504 68.09% 213.38% 3.13x
any_in_dict[one-in] 0.00028474516955775763 0.00008817652525000193 69.03% 222.93% 3.23x
any_in_dict[partial-overlap] 0.00028389970281410504 0.00008873571175983642 68.74% 219.94% 3.20x
any_in_dict[value-none] 0.00028397844287370765 0.00008862031670397423 68.79% 220.44% 3.20x
either_set_is_a_subset[both-empty] 0.0001697024347829088 0.00015275227003313854 9.99% 11.10% 1.11x
either_set_is_a_subset[empty-set1] 0.0001701753896643407 0.00015357370646046795 9.76% 10.81% 1.11x
either_set_is_a_subset[empty-set2] 0.0002553709174987403 0.0002511299311375137 1.66% 1.69% 1.02x
either_set_is_a_subset[identical] 0.00019155646974970987 0.00017437388606305666 8.97% 9.85% 1.10x
either_set_is_a_subset[mixed-types] 0.00019356221814319634 0.0001769298045297507 8.59% 9.40% 1.09x
either_set_is_a_subset[not-subset] 0.000272754463341291 0.00025638505535465785 6.00% 6.38% 1.06x
either_set_is_a_subset[partial-overlap] 0.00030738076365801535 0.0002844371764368091 7.46% 8.07% 1.08x
either_set_is_a_subset[subset] 0.00020039640690643564 0.0001764955321571211 11.93% 13.54% 1.14x
either_set_is_a_subset[superset] 0.0003073308737621543 0.0002885829232610263 6.10% 6.50% 1.06x
none_in_dict[all-in] 0.00030218491824855065 0.00008960243872060338 70.35% 237.25% 3.37x
none_in_dict[empty-dict] 0.00032956169958630357 0.00009453671957376783 71.31% 248.61% 3.49x
none_in_dict[empty-list] 0.0002837699481783003 0.00008923318118533787 68.55% 218.01% 3.18x
none_in_dict[mixed-types] 0.0003081240025934556 0.00008996646539414305 70.80% 242.49% 3.42x
none_in_dict[no-overlap] 0.0003451107948631314 0.00010872679063007558 68.50% 217.41% 3.17x
none_in_dict[none-in] 0.00031100328147244644 0.00009701504352522175 68.81% 220.57% 3.21x
none_in_dict[one-in] 0.00030002581992340786 0.00008809859601926784 70.64% 240.56% 3.41x
none_in_dict[partial-overlap] 0.0003013592751044874 0.00008862323776681308 70.59% 240.05% 3.40x
none_in_dict[value-none] 0.00030045863527112875 0.00008785967657695124 70.76% 241.98% 3.42x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0015020159226621379 0.0015059311849154996 -0.26% -0.26% 1.00x
attributedict_hash[flat] 0.001128246111114422 0.0011049914220492222 2.06% 2.10% 1.02x
attributedict_hash[nested] 0.0017526444173379405 0.0017605491983635545 -0.45% -0.45% 1.00x
attributedict_init[empty] 0.00009408891188549783 0.0000922448191939164 1.96% 2.00% 1.02x
attributedict_init[large] 0.0001381997808556585 0.00013490201545940863 2.39% 2.44% 1.02x
attributedict_init[small] 0.00009919067548106041 0.00009845132140691956 0.75% 0.75% 1.01x
mutableattributedict_delitem 0.00040256863910169286 0.00040234245736084416 0.06% 0.06% 1.00x
mutableattributedict_setitem 0.0003337301161377273 0.0003346369469063709 -0.27% -0.27% 1.00x
namedelementonion_add 0.008453231999984231 0.027804455409391908 -228.92% -69.60% 0.30x
namedelementonion_as_tuple_of_middleware 0.00014562242631860104 0.00014519931648752528 0.29% 0.29% 1.00x
namedelementonion_contains 0.000030284100023900973 0.000030305065216280122 -0.07% -0.07% 1.00x
namedelementonion_getitem 0.00002672875425971966 0.000026819449341742795 -0.34% -0.34% 1.00x
namedelementonion_init[callables2] 0.00012371228297133272 0.00012353324041426963 0.14% 0.14% 1.00x
namedelementonion_init[callables3] 0.00015720837729241068 0.00015683978346191428 0.23% 0.24% 1.00x
namedelementonion_init[empty] 0.000043182169405510644 0.00004403339259423386 -1.97% -1.93% 0.98x
namedelementonion_inject 0.03232914785184906 0.03198558998888454 1.06% 1.07% 1.01x
namedelementonion_iter 0.00015377196692223694 0.00015123876401945845 1.65% 1.67% 1.02x
namedelementonion_remove 0.0006665071650753212 0.0006672082315793759 -0.11% -0.11% 1.00x
namedelementonion_replace 0.0024253331761802358 0.002412375259169952 0.53% 0.54% 1.01x
readableattributedict_getitem[large] 0.000015634945883565507 0.00001553081250088334 0.67% 0.67% 1.01x
readableattributedict_getitem[small] 0.00001441104324729409 0.000014478090701144231 -0.47% -0.46% 1.00x
readableattributedict_init[empty] 0.00005244840356579203 0.00005136885838988555 2.06% 2.10% 1.02x
readableattributedict_init[large] 0.00009028494572810885 0.0000912828551132008 -1.11% -1.09% 0.99x
readableattributedict_init[small] 0.000056969160743613864 0.000057119856946976074 -0.26% -0.26% 1.00x
readableattributedict_recursive[list-in-dict] 0.000883217995555343 0.0008894488198372551 -0.71% -0.70% 0.99x
readableattributedict_recursive[nested-dict] 0.0009152588327036901 0.000910555445679741 0.51% 0.52% 1.01x
readableattributedict_recursive[set] 0.0004635445592032825 0.00046186765500916396 0.36% 0.36% 1.00x
tupleize_lists_nested[list-in-dict] 0.0008816020902884732 0.0008782853416064491 0.38% 0.38% 1.00x
tupleize_lists_nested[tuple-in-dict] 0.0009525583458985405 0.0009437547329661721 0.92% 0.93% 1.01x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.00033215182640429985 0.000254166900189064 23.48% 30.68% 1.31x
simplecache_cache[100] 0.002683401156333285 0.0019395499921462777 27.72% 38.35% 1.38x
simplecache_cache[1000] 0.027264378945924487 0.0187689557407364 31.16% 45.26% 1.45x
simplecache_eviction[10] 0.0005815843024981658 0.0005776718015136175 0.67% 0.68% 1.01x
simplecache_eviction[100] 0.005195214248675574 0.00521881829474631 -0.45% -0.45% 1.00x
simplecache_pop[10] 0.00045218069884219114 0.00036496637802502376 19.29% 23.90% 1.24x
simplecache_pop[100] 0.003823213023082854 0.002938807682778897 23.13% 30.09% 1.30x
simplecache_retrieval[10] 0.00009274177745047448 0.00005845792988645013 36.97% 58.65% 1.59x
simplecache_retrieval[100] 0.0008289905452271055 0.00048426716063621383 41.58% 71.18% 1.71x

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 12, 2025

CodSpeed Performance Report

Merging #98 will not alter performance

Comparing mw (68db15b) with master (a277f7b)

Summary

✅ 431 untouched
⏩ 91 skipped1

Footnotes

  1. 91 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions
Copy link

Pytest Benchmark Diff

ens/base_ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_valid_name[] 0.0000017963241339917772 0.0000011549349608662315 35.71% 55.53% 1.56x
is_valid_name[a..eth] 0.000024917174713460454 0.000030054424391171108 -20.62% -17.09% 0.83x
is_valid_name[a.eth..] 0.000025491725027725215 0.000030132803477596135 -18.21% -15.40% 0.85x
is_valid_name[a.eth.] 0.000025621924208334914 0.0000301076363710928 -17.51% -14.90% 0.85x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23373633979999794 0.23631703099995321 -1.10% -1.09% 0.99x
is_valid_name[alice.eth] 0.010418176958765311 0.010859882044446243 -4.24% -4.07% 0.96x
is_valid_name[bob.eth] 0.006270879832299419 0.006730496686273475 -7.33% -6.83% 0.93x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2636320939999905 0.24405708279998634 7.43% 8.02% 1.08x
is_valid_name[subdomain.alice.eth] 0.030330580323516855 0.03352712922579822 -10.54% -9.53% 0.90x
labelhash[] 0.00013278089679447336 0.00008234759060361349 37.98% 61.24% 1.61x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22848678819998441 0.23794371579999735 -4.14% -3.97% 0.96x
labelhash[alice] 0.007712764912695555 0.007808499779531038 -1.24% -1.23% 0.99x
labelhash[bob] 0.0033289843614869442 0.0033611182783511843 -0.97% -0.96% 0.99x
labelhash[emoji\U0001f468\U0001f3fb] 0.2541379938000091 0.25578398120003387 -0.65% -0.64% 0.99x
labelhash[xn--fiqs8s] 0.024035071857153548 0.024902946325008203 -3.61% -3.49% 0.97x
namehash[] 0.000010140291154424071 0.000003250689376910519 67.94% 211.94% 3.12x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.48850161440000195 0.4998707727999999 -2.33% -2.27% 0.98x
namehash[alice.eth] 0.02226829011110567 0.022402969044444238 -0.60% -0.60% 0.99x
namehash[bob.eth] 0.013496359631571258 0.013517273337838928 -0.15% -0.15% 1.00x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5560233257999698 0.5188966645999699 6.68% 7.15% 1.07x
namehash[subdomain.alice.eth] 0.06552336731250108 0.06702265975000898 -2.29% -2.24% 0.98x
nameprep[] 0.00000855997193888851 0.0000030637954113234554 64.21% 179.39% 2.79x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23420304959997792 0.23513008080001327 -0.40% -0.39% 1.00x
nameprep[alice.eth] 0.010303864663265647 0.010786223630440833 -4.68% -4.47% 0.96x
nameprep[bob.eth] 0.0062238494355818935 0.006521903532466417 -4.79% -4.57% 0.95x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.256707499800018 0.22998468380003487 10.41% 11.62% 1.12x
nameprep[subdomain.alice.eth] 0.030924771727282776 0.0325513131875077 -5.26% -5.00% 0.95x
parent[] 0.0000010002694151484015 8.341471993616364e-7 16.61% 19.92% 1.20x
parent[bar.eth] 0.000003716446046364149 0.0000026474448133375766 28.76% 40.38% 1.40x
parent[eth] 0.0000020367124489492755 0.0000015166136492792105 25.54% 34.29% 1.34x
parent[foo.bar.eth] 0.000004232805897819817 0.000003266549153536277 22.83% 29.58% 1.30x
parent[sub.sub2.foo.bar.eth] 0.000005008843195697074 0.000003959705789568659 20.95% 26.50% 1.26x
reverse_domain[0x0000000000000000000000000000000000000000] 0.000050634895271636404 0.000016413046513850985 67.59% 208.50% 3.09x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005039962589863165 0.000016240442494871027 67.78% 210.33% 3.10x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005108606915174979 0.000016448685289796707 67.80% 210.58% 3.11x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.0000140054115800123 0.000013661325719208599 2.46% 2.52% 1.03x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00001406405326442846 0.000013526932600318642 3.82% 3.97% 1.04x
address[alice.eth] 0.000014133662761968353 0.00001375606464900119 2.67% 2.74% 1.03x
address[bob.eth] 0.00001416056156886266 0.000013680370416061615 3.39% 3.51% 1.04x
address[emoji\U0001f468\U0001f3fb.eth] 0.000014531914817876407 0.000013686463231920425 5.82% 6.18% 1.06x
address[subdomain.alice.eth] 0.00001407202544431284 0.00001373859112124656 2.37% 2.43% 1.02x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014389626029124236 0.00014226927876412072 1.13% 1.14% 1.01x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00015126319230767668 0.00014178316980570984 6.27% 6.69% 1.07x
normalize_name_ensip15[alice.eth] 0.00014172234948789267 0.00014293740632247178 -0.86% -0.85% 0.99x
normalize_name_ensip15[bob.eth] 0.00014248269729057043 0.0001427932785304529 -0.22% -0.22% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014243062164917116 0.00014338967578448003 -0.67% -0.67% 0.99x
normalize_name_ensip15[subdomain.alice.eth] 0.0001441262998547456 0.00014290430377439075 0.85% 0.86% 1.01x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.002503816776648994 0.0007917788869788363 68.38% 216.23% 3.16x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0025470561355501104 0.0007829543139538082 69.26% 225.31% 3.25x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.002526985142493681 0.0007906018893399523 68.71% 219.63% 3.20x
dns_encode_name[] 0.00000654961362729695 0.000004065386000273762 37.93% 61.11% 1.61x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22467726479994782 0.2367888954000364 -5.39% -5.11% 0.95x
dns_encode_name[alice.eth] 0.010748979763439253 0.010962749344453944 -1.99% -1.95% 0.98x
dns_encode_name[bob.eth] 0.006597409959999823 0.006644676529406728 -0.72% -0.71% 0.99x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2869708678000279 0.2306907117999799 19.61% 24.40% 1.24x
dns_encode_name[subdomain.alice.eth] 0.030465863363629483 0.0327364108709646 -7.45% -6.94% 0.93x
estimate_auction_start_gas[labels0] 0.00007568086480559688 0.00004954288150730195 34.54% 52.76% 1.53x
estimate_auction_start_gas[labels1] 0.00007462564432026454 0.000049495288728066066 33.68% 50.77% 1.51x
estimate_auction_start_gas[labels2] 0.00006641394028769387 0.00005019997925167347 24.41% 32.30% 1.32x
is_empty_name[ ] 0.00005559624603955058 0.00003893875073360815 29.96% 42.78% 1.43x
is_empty_name[.] 0.000055317784182346024 0.000039472102599736735 28.64% 40.14% 1.40x
is_empty_name[0] 0.000055723303856397 0.00003844110221721242 31.01% 44.96% 1.45x
is_empty_name[1] 0.000055135133580233565 0.00003946697015899105 28.42% 39.70% 1.40x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000058817319060488116 0.00003866482090554065 34.26% 52.12% 1.52x
is_empty_name[alice.eth] 0.00005893773833975246 0.000038335708213396996 34.96% 53.74% 1.54x
is_empty_name[bob.eth] 0.00006032572886640036 0.00003887872259901014 35.55% 55.16% 1.55x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00005994865574123576 0.00003990068046998315 33.44% 50.24% 1.50x
is_empty_name[subdomain.alice.eth] 0.00005834891732921449 0.00003830045111092188 34.36% 52.35% 1.52x
is_none_or_zero_address[] 0.0000439997434741363 0.000039012330523473274 11.34% 12.78% 1.13x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.000050200137573266907 0.00004849102199198833 3.40% 3.52% 1.04x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.000052004893811253444 0.00004579899302423158 11.93% 13.55% 1.14x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000051801439371242515 0.000044629178918429865 13.85% 16.07% 1.16x
is_valid_ens_name[] 0.00000190241540097244 0.0000015013517278609857 21.08% 26.71% 1.27x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2320855760000086 0.2500796072000185 -7.75% -7.20% 0.93x
is_valid_ens_name[alice.eth] 0.010499385781254015 0.010814703913047691 -3.00% -2.92% 0.97x
is_valid_ens_name[bar] 0.0000019502622756536674 0.000001516331116956462 22.25% 28.62% 1.29x
is_valid_ens_name[baz] 0.0000019321532330586896 0.0000015182873620543008 21.42% 27.26% 1.27x
is_valid_ens_name[bob.eth] 0.006217840262498697 0.006661485856212268 -7.14% -6.66% 0.93x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.24785137359999682 0.24220047820003857 2.28% 2.33% 1.02x
is_valid_ens_name[foo] 0.000002004166491123842 0.0000015106415612558659 24.62% 32.67% 1.33x
is_valid_ens_name[subdomain.alice.eth] 0.030612755333326084 0.033760581935476076 -10.28% -9.32% 0.91x
is_valid_name[] 0.0000015871688730651083 0.0000011483918940059105 27.65% 38.21% 1.38x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22586702179999066 0.2340024475999826 -3.60% -3.48% 0.97x
is_valid_name[alice.eth] 0.01031744996938572 0.010756609771746022 -4.26% -4.08% 0.96x
is_valid_name[bob.eth] 0.006236394239265602 0.006504220572368599 -4.29% -4.12% 0.96x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.25227741379999313 0.2585891142000264 -2.50% -2.44% 0.98x
is_valid_name[subdomain.alice.eth] 0.031905865531246747 0.03188656128125089 0.06% 0.06% 1.00x
label_to_hash[] 0.00013387370239323975 0.00008206505938429168 38.70% 63.13% 1.63x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22826486020001086 0.2476698209999995 -8.50% -7.84% 0.92x
label_to_hash[alice] 0.007547775862596561 0.007943454129034425 -5.24% -4.98% 0.95x
label_to_hash[bob] 0.0034153852210867786 0.0034531432595139794 -1.11% -1.09% 0.99x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2534606028000098 0.24085876459998873 4.97% 5.23% 1.05x
label_to_hash[xn--fiqs8s] 0.0238655124651174 0.02643865848717024 -10.78% -9.73% 0.90x
normal_name_to_hash[] 0.0000016276171927458788 9.446387909099589e-7 41.96% 72.30% 1.72x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2324973726000053 0.24111211159997764 -3.71% -3.57% 0.96x
normal_name_to_hash[alice.eth] 0.011313870157297888 0.011338518068967084 -0.22% -0.22% 1.00x
normal_name_to_hash[bob.eth] 0.007045160164280365 0.0069934117482492635 0.73% 0.74% 1.01x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2576624484000149 0.2456230787999857 4.67% 4.90% 1.05x
normal_name_to_hash[subdomain.alice.eth] 0.03209033581249088 0.033310304166669386 -3.80% -3.66% 0.96x
normalize_name[] 0.000008511865247006684 0.000003034218219195224 64.35% 180.53% 2.81x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22896203800000875 0.2420854090000148 -5.73% -5.42% 0.95x
normalize_name[alice.eth] 0.010336074416669542 0.010981036173915201 -6.24% -5.87% 0.94x
normalize_name[bob.eth] 0.006195766558281974 0.006813043493508161 -9.96% -9.06% 0.91x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2628341354000213 0.22840688680000767 13.10% 15.07% 1.15x
normalize_name[subdomain.alice.eth] 0.030435589575765996 0.03251626481250014 -6.84% -6.40% 0.94x
raw_name_to_hash[] 0.000009535687880923893 0.0000032290374192904377 66.14% 195.31% 2.95x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4506582629999912 0.4976031134000095 -10.42% -9.43% 0.91x
raw_name_to_hash[alice.eth] 0.02194555057446615 0.02225146493334099 -1.39% -1.37% 0.99x
raw_name_to_hash[bob.eth] 0.013600362863007209 0.013643177621613201 -0.31% -0.31% 1.00x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5186367287999929 0.48071996720000243 7.31% 7.89% 1.08x
raw_name_to_hash[subdomain.alice.eth] 0.061957001470579386 0.06579681520001184 -6.20% -5.84% 0.94x
sha3_text[0] 0.00011805916308406707 0.00007623361406337589 35.43% 54.86% 1.55x
sha3_text[1] 0.00011836151889924828 0.00007636486354963831 35.48% 54.99% 1.55x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0001261910232484819 0.00008490202803000014 32.72% 48.63% 1.49x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012677001917952714 0.00008463924722647448 33.23% 49.78% 1.50x
sha3_text[alice.eth] 0.00012569429522977507 0.00008474544870138105 32.58% 48.32% 1.48x
sha3_text[alice] 0.00012647995657498278 0.00008498635491887218 32.81% 48.82% 1.49x
sha3_text[bob.eth] 0.00012692350217304572 0.00008485295731013101 33.15% 49.58% 1.50x
sha3_text[bob] 0.00012650057769909273 0.00008482905759257413 32.94% 49.12% 1.49x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.0001264610676569267 0.00008510621258406409 32.70% 48.59% 1.49x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012709818352390437 0.00008465556689668371 33.39% 50.14% 1.50x
sha3_text[subdomain.alice.eth] 0.0001266031839184887 0.00008514563755692129 32.75% 48.69% 1.49x
sha3_text[xn--fiqs8s] 0.00012651894230023266 0.0000848227946987376 32.96% 49.16% 1.49x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002907032929190825 0.0002575974779919152 11.39% 12.85% 1.13x
fallback_func_abi_exists 0.0002544030483099484 0.0002510129947628688 1.33% 1.35% 1.01x
filter_by_argument_name[a] 0.0006574356146944248 0.0003867628294926243 41.17% 69.98% 1.70x
filter_by_argument_name[a+b] 0.0006796529140464481 0.00041198582698817485 39.38% 64.97% 1.65x
filter_by_argument_name[b] 0.0006544926589804625 0.0003838723074529993 41.35% 70.50% 1.70x
filter_by_argument_name[c] 0.000662656765391979 0.0003911858721203219 40.97% 69.40% 1.69x
filter_by_argument_name[notfound] 0.0006556849225409653 0.0003850280553550887 41.28% 70.30% 1.70x
filter_by_argument_type[address] 0.000586949242556747 0.000593029489990879 -1.04% -1.03% 0.99x
filter_by_argument_type[notatype] 0.0005835080111175109 0.0005858182757587138 -0.40% -0.39% 1.00x
filter_by_argument_type[string] 0.0005864549630773231 0.0005927996230548443 -1.08% -1.07% 0.99x
filter_by_argument_type[uint+address] 0.0005945984837085131 0.0005986412253598671 -0.68% -0.68% 0.99x
filter_by_argument_type[uint256] 0.0005859321847164802 0.0005924174919195551 -1.11% -1.09% 0.99x
filter_by_types[constructor] 0.0000369571041933446 0.00003676285657806616 0.53% 0.53% 1.01x
filter_by_types[event] 0.00003711889154023623 0.0000372618243232844 -0.39% -0.38% 1.00x
filter_by_types[fallback] 0.0000374561994028885 0.00003751738807031566 -0.16% -0.16% 1.00x
filter_by_types[func+event] 0.00004212615546573499 0.00004153927003831611 1.39% 1.41% 1.01x
filter_by_types[function] 0.00003712612513587594 0.00003758118385130698 -1.23% -1.21% 0.99x
filter_by_types[none] 0.00003661282932390527 0.00003680685020427663 -0.53% -0.53% 0.99x
filter_by_types[receive] 0.000038444543151259036 0.00003872869440749778 -0.74% -0.73% 0.99x
find_constructor_abi_element_by_type 0.00003391897689219986 0.00003371291661619427 0.61% 0.61% 1.01x
get_abi_element_signature[custom] 0.000052568951722331805 0.00005009577405205812 4.70% 4.94% 1.05x
get_abi_element_signature[fallback] 0.00002078863281566631 0.000020981569395936567 -0.93% -0.92% 0.99x
get_abi_element_signature[receive] 0.000028144021426968012 0.000028183909689878507 -0.14% -0.14% 1.00x
get_abi_element_signature[transfer] 0.0000569523136970137 0.000053886075459805415 5.38% 5.69% 1.06x
get_name_from_abi_element_identifier[custom] 0.00004229764587081374 0.0000382820685920683 9.49% 10.49% 1.10x
get_name_from_abi_element_identifier[fallback] 0.000011761116027273179 0.000011894861542284888 -1.14% -1.12% 0.99x
get_name_from_abi_element_identifier[func] 0.00004151653266590793 0.00003776470286914236 9.04% 9.93% 1.10x
get_name_from_abi_element_identifier[receive] 0.000018217438710555102 0.000018467300489640756 -1.37% -1.35% 0.99x
get_tuple_type_str_parts[not-tuple] 0.000021915297411236802 0.000022454045096503062 -2.46% -2.40% 0.98x
get_tuple_type_str_parts[one-dim] 0.00007524021259101122 0.00007749990299455636 -3.00% -2.92% 0.97x
get_tuple_type_str_parts[plain] 0.000048057398143875525 0.00004752783224881824 1.10% 1.11% 1.01x
get_tuple_type_str_parts[two-dim] 0.00009269765385776227 0.00008792838825192654 5.14% 5.42% 1.05x
is_address_type[address] 0.000042782036270189995 0.00004227812304374984 1.18% 1.19% 1.01x
is_address_type[array] 0.00004607017988774832 0.00004626144418389316 -0.42% -0.41% 1.00x
is_address_type[bool] 0.000042572682653873694 0.0000427089102174838 -0.32% -0.32% 1.00x
is_address_type[bytes] 0.000042623217406573824 0.00004336412507361276 -1.74% -1.71% 0.98x
is_address_type[bytes32] 0.00004597228065315566 0.00004616168596486425 -0.41% -0.41% 1.00x
is_address_type[bytes33] 0.00004525671494509807 0.00004652890352060158 -2.81% -2.73% 0.97x
is_address_type[empty] 0.00004247405120051144 0.000042610317910268355 -0.32% -0.32% 1.00x
is_address_type[enum] 0.000044160527832171685 0.000043663587990224976 1.13% 1.14% 1.01x
is_address_type[int256] 0.00004169472292134277 0.00004225612700304316 -1.35% -1.33% 0.99x
is_address_type[invalid] 0.000044308672324544436 0.00004453190239370166 -0.50% -0.50% 0.99x
is_address_type[string] 0.00004194972667848879 0.00004298078593460799 -2.46% -2.40% 0.98x
is_address_type[tuple-array] 0.00004417103506395318 0.0000446877380835483 -1.17% -1.16% 0.99x
is_address_type[tuple] 0.0000423228025088462 0.000043215894433092924 -2.11% -2.07% 0.98x
is_address_type[uint256] 0.00004422305966894963 0.00004364364488090877 1.31% 1.33% 1.01x
is_array_type[address] 0.00040002631100508317 0.00040412845731061827 -1.03% -1.02% 0.99x
is_array_type[array] 0.00040641258486672437 0.00041429870519477764 -1.94% -1.90% 0.98x
is_array_type[bool] 0.0003707831375062248 0.00038219581287723937 -3.08% -2.99% 0.97x
is_array_type[bytes] 0.00038092500535922327 0.00038606041217547905 -1.35% -1.33% 0.99x
is_array_type[bytes32] 0.0003979943405184457 0.00040453189610329673 -1.64% -1.62% 0.98x
is_array_type[bytes33] 0.0003966142751705479 0.0004025389142060722 -1.49% -1.47% 0.99x
is_array_type[empty] 0.0003086355113941878 0.00031355852260613433 -1.60% -1.57% 0.98x
is_array_type[enum] 0.0003826868524524459 0.00039198982622790893 -2.43% -2.37% 0.98x
is_array_type[int256] 0.00039072745383426206 0.00039490682774056033 -1.07% -1.06% 0.99x
is_array_type[invalid] 0.00040764648593411554 0.0004124814422427966 -1.19% -1.17% 0.99x
is_array_type[string] 0.0003877658624179925 0.00039568602348671807 -2.04% -2.00% 0.98x
is_array_type[tuple-array] 0.0004024116968701437 0.0004098819950368926 -1.86% -1.82% 0.98x
is_array_type[tuple] 0.0003750465880257887 0.00038378345505495336 -2.33% -2.28% 0.98x
is_array_type[uint256] 0.00039827752458303206 0.00041411950974811347 -3.98% -3.83% 0.96x
is_bool_type[address] 0.00004300961477394121 0.000042557479823198344 1.05% 1.06% 1.01x
is_bool_type[array] 0.000044387081481379146 0.0000434234483099695 2.17% 2.22% 1.02x
is_bool_type[bool] 0.000043265216936823614 0.000043378827546935204 -0.26% -0.26% 1.00x
is_bool_type[bytes] 0.00004322459719094414 0.00004270890828367063 1.19% 1.21% 1.01x
is_bool_type[bytes32] 0.00004241678268420606 0.00004206638434753812 0.83% 0.83% 1.01x
is_bool_type[bytes33] 0.00004470775402964964 0.00004413332822315348 1.28% 1.30% 1.01x
is_bool_type[empty] 0.000042532472685778125 0.00004205238117942654 1.13% 1.14% 1.01x
is_bool_type[enum] 0.000044052049243912284 0.000043650788674275203 0.91% 0.92% 1.01x
is_bool_type[int256] 0.00004338485198859454 0.00004307266831780316 0.72% 0.72% 1.01x
is_bool_type[invalid] 0.00004450198389012972 0.00004411879282277651 0.86% 0.87% 1.01x
is_bool_type[string] 0.00004276243468154914 0.00004229913767142142 1.08% 1.10% 1.01x
is_bool_type[tuple-array] 0.00004451285846891229 0.000044232038547417156 0.63% 0.63% 1.01x
is_bool_type[tuple] 0.000043047517954256684 0.000042777935277055856 0.63% 0.63% 1.01x
is_bool_type[uint256] 0.000043318327736509366 0.0000427092128357248 1.41% 1.43% 1.01x
is_bytes_type[address] 0.00031825226305857556 0.0003136367291403022 1.45% 1.47% 1.01x
is_bytes_type[array] 0.0003238907780945781 0.00030728413490299834 5.13% 5.40% 1.05x
is_bytes_type[bool] 0.00027801116944481744 0.00027869061316021125 -0.24% -0.24% 1.00x
is_bytes_type[bytes] 0.0002815792328768622 0.0002756238674994349 2.11% 2.16% 1.02x
is_bytes_type[bytes32] 0.0003054639842202125 0.00030437117190846707 0.36% 0.36% 1.00x
is_bytes_type[bytes33] 0.00030669879736721934 0.0003104167355302798 -1.21% -1.20% 0.99x
is_bytes_type[empty] 0.0002824531963785816 0.0002837939027775561 -0.47% -0.47% 1.00x
is_bytes_type[enum] 0.0002926462697313032 0.0003038546038909769 -3.83% -3.69% 0.96x
is_bytes_type[int256] 0.00029544267680953727 0.0002939848082857223 0.49% 0.50% 1.00x
is_bytes_type[invalid] 0.00028345317754909356 0.00028421276390461144 -0.27% -0.27% 1.00x
is_bytes_type[string] 0.00029670413355252246 0.00030537848243615117 -2.92% -2.84% 0.97x
is_bytes_type[tuple-array] 0.0002831164603932218 0.00028836761863664965 -1.85% -1.82% 0.98x
is_bytes_type[tuple] 0.00028565838141530976 0.0002892716675391493 -1.26% -1.25% 0.99x
is_bytes_type[uint256] 0.00032180611648772463 0.00031625816615671743 1.72% 1.75% 1.02x
is_int_type[address] 0.0001972324096864067 0.00019939197462039523 -1.09% -1.08% 0.99x
is_int_type[array] 0.00019965630707443938 0.00019951681170980054 0.07% 0.07% 1.00x
is_int_type[bool] 0.0001982121752183194 0.0002043275537019146 -3.09% -2.99% 0.97x
is_int_type[bytes] 0.0002210429170071252 0.00022202998565860267 -0.45% -0.44% 1.00x
is_int_type[bytes32] 0.0001994609385545567 0.00019966638947962914 -0.10% -0.10% 1.00x
is_int_type[bytes33] 0.00019957084674731014 0.00019918152085313006 0.20% 0.20% 1.00x
is_int_type[empty] 0.00019961312858339704 0.00020388691121519612 -2.14% -2.10% 0.98x
is_int_type[enum] 0.00022326737449555683 0.00023219423928110675 -4.00% -3.84% 0.96x
is_int_type[int256] 0.00023471314628941624 0.00023186240719594243 1.21% 1.23% 1.01x
is_int_type[invalid] 0.00019941152399355577 0.0001997590884284407 -0.17% -0.17% 1.00x
is_int_type[string] 0.00023290974495503305 0.0002279685222064696 2.12% 2.17% 1.02x
is_int_type[tuple-array] 0.0001996197973132644 0.00020397699482819636 -2.18% -2.14% 0.98x
is_int_type[tuple] 0.00021575467220738052 0.00022167524471172748 -2.74% -2.67% 0.97x
is_int_type[uint256] 0.00020312896122437468 0.00020343856658428943 -0.15% -0.15% 1.00x
is_probably_enum[address] 0.00006474897735080911 0.00006798068523417387 -4.99% -4.75% 0.95x
is_probably_enum[empty] 0.00006168892009878012 0.00006308598935493954 -2.26% -2.21% 0.98x
is_probably_enum[enum] 0.00006432631691894536 0.00006790283409575366 -5.56% -5.27% 0.95x
is_probably_enum[lib-dot] 0.00006645449493664485 0.00006849691742810769 -3.07% -2.98% 0.97x
is_probably_enum[lib-enum] 0.00007404278641507958 0.00007579724545299124 -2.37% -2.31% 0.98x
is_probably_enum[uint256] 0.00006476721487939055 0.0000681663378918802 -5.25% -4.99% 0.95x
is_recognized_type[address] 0.00007854773225000895 0.00008376029707546043 -6.64% -6.22% 0.94x
is_recognized_type[array] 0.00008236456878794907 0.00008776764001885684 -6.56% -6.16% 0.94x
is_recognized_type[bool] 0.00007794271101445685 0.00008307620630801784 -6.59% -6.18% 0.94x
is_recognized_type[bytes] 0.00015289843470682338 0.0001519750901276209 0.60% 0.61% 1.01x
is_recognized_type[bytes32] 0.00014836048519145713 0.00015488307104201117 -4.40% -4.21% 0.96x
is_recognized_type[bytes33] 0.00013828027939910114 0.00014458619891677746 -4.56% -4.36% 0.96x
is_recognized_type[empty] 0.00006168842411130591 0.00006631440135909634 -7.50% -6.98% 0.93x
is_recognized_type[enum] 0.00008205578668850973 0.00008882864033479857 -8.25% -7.62% 0.92x
is_recognized_type[int256] 0.00012607515980067837 0.00013050665239922377 -3.51% -3.40% 0.97x
is_recognized_type[invalid] 0.00008298212382109602 0.00009008536668163375 -8.56% -7.89% 0.92x
is_recognized_type[string] 0.00010108073901581484 0.00010866879787183709 -7.51% -6.98% 0.93x
is_recognized_type[tuple-array] 0.00008294219642350458 0.00008996471310640802 -8.47% -7.81% 0.92x
is_recognized_type[tuple] 0.00008252878241812002 0.00008912123946076078 -7.99% -7.40% 0.93x
is_recognized_type[uint256] 0.000126677292056273 0.0001316642159868525 -3.94% -3.79% 0.96x
is_string_type[address] 0.000042582148769612914 0.00004256764360657302 0.03% 0.03% 1.00x
is_string_type[array] 0.000043615227858093005 0.00004450148654226372 -2.03% -1.99% 0.98x
is_string_type[bool] 0.000042792315735417405 0.00004311030256095856 -0.74% -0.74% 0.99x
is_string_type[bytes] 0.00004214256826634097 0.000042794902755184934 -1.55% -1.52% 0.98x
is_string_type[bytes32] 0.00004277823583102426 0.00004297182893677962 -0.45% -0.45% 1.00x
is_string_type[bytes33] 0.000044509610574114695 0.00004394778410753816 1.26% 1.28% 1.01x
is_string_type[empty] 0.00004238844532540448 0.00004204387424652924 0.81% 0.82% 1.01x
is_string_type[enum] 0.000045813323642033146 0.00004623689884223496 -0.92% -0.92% 0.99x
is_string_type[int256] 0.00004567971698962313 0.000046593277510314756 -2.00% -1.96% 0.98x
is_string_type[invalid] 0.00004458508011431044 0.00004422309002833424 0.81% 0.82% 1.01x
is_string_type[string] 0.00004310927296318214 0.00004283481581744264 0.64% 0.64% 1.01x
is_string_type[tuple-array] 0.00004407006456855168 0.00004360059780308608 1.07% 1.08% 1.01x
is_string_type[tuple] 0.00004301538652582587 0.00004267699478315458 0.79% 0.79% 1.01x
is_string_type[uint256] 0.00004261690890816966 0.00004339452849916324 -1.82% -1.79% 0.98x
is_uint_type[address] 0.0002295479933195225 0.0002356877353921718 -2.67% -2.61% 0.97x
is_uint_type[array] 0.00022598782215123056 0.00023804966779747476 -5.34% -5.07% 0.95x
is_uint_type[bool] 0.00019974673226810043 0.0002005688401551743 -0.41% -0.41% 1.00x
is_uint_type[bytes] 0.00019725812349213315 0.00020552019550810571 -4.19% -4.02% 0.96x
is_uint_type[bytes32] 0.00023707692102212268 0.0002343486335703411 1.15% 1.16% 1.01x
is_uint_type[bytes33] 0.00021510593278757488 0.00022866605395180167 -6.30% -5.93% 0.94x
is_uint_type[empty] 0.00020139028162084152 0.00019734137277345197 2.01% 2.05% 1.02x
is_uint_type[enum] 0.00020741441526536938 0.0002217624077622378 -6.92% -6.47% 0.94x
is_uint_type[int256] 0.00021332118402367473 0.00021967696441316795 -2.98% -2.89% 0.97x
is_uint_type[invalid] 0.00019974780228757102 0.0001985452847597866 0.60% 0.61% 1.01x
is_uint_type[string] 0.00020702790227854347 0.00022528352022536277 -8.82% -8.10% 0.92x
is_uint_type[tuple-array] 0.00019937850988289863 0.00019782754518158654 0.78% 0.78% 1.01x
is_uint_type[tuple] 0.00020007817213420274 0.00019717668254502047 1.45% 1.47% 1.01x
is_uint_type[uint256] 0.00022546989121627475 0.0002311913100514076 -2.54% -2.47% 0.98x
length_of_array_type[dynamic] 0.0001657225301971574 0.00016979182288336903 -2.46% -2.40% 0.98x
length_of_array_type[fixed] 0.00018097407945550953 0.00018010689851406353 0.48% 0.48% 1.00x
length_of_array_type[nested] 0.00018314347320867264 0.00018767627219454968 -2.47% -2.42% 0.98x
map_abi_data 0.0064225621796918375 0.005290995491229258 17.62% 21.39% 1.21x
normalize_event_input_types 0.0004177204352033967 0.0004354001669698532 -4.23% -4.06% 0.96x
receive_func_abi_exists 0.00031974151851973866 0.0003211421324567097 -0.44% -0.44% 1.00x
strip_abi_types 0.0016293770650016388 0.0017019519515622387 -4.45% -4.26% 0.96x
sub_type_of_array_type[nested] 0.00018043081759408516 0.00018828904335959072 -4.36% -4.17% 0.96x
sub_type_of_array_type[simple] 0.00016942670813785532 0.00017891671338708613 -5.60% -5.30% 0.95x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000020794149959348817 0.000022498307236976305 -8.20% -7.57% 0.92x
is_hex_encoded_block_hash[invalid-g] 0.00008700911217352815 0.00006034542003228851 30.64% 44.19% 1.44x
is_hex_encoded_block_hash[none] 0.000020529293278749057 0.000022102718453606574 -7.66% -7.12% 0.93x
is_hex_encoded_block_hash[short] 0.000045027310720747717 0.00002705545872538471 39.91% 66.43% 1.66x
is_hex_encoded_block_hash[too-long] 0.00004564418554745758 0.000026512199350709774 41.92% 72.16% 1.72x
is_hex_encoded_block_hash[too-short] 0.000044754880806321806 0.00002636263921705099 41.10% 69.77% 1.70x
is_hex_encoded_block_hash[valid-a] 0.00009774870770526927 0.00007149574660064313 26.86% 36.72% 1.37x
is_hex_encoded_block_hash[valid-f] 0.0000978520713394561 0.00007072823187315695 27.72% 38.35% 1.38x
is_hex_encoded_block_number[int] 0.000020313172356782133 0.000022122998542762567 -8.91% -8.18% 0.92x
is_hex_encoded_block_number[invalid-g] 0.00016648737456412255 0.00022260254868810655 -33.71% -25.21% 0.75x
is_hex_encoded_block_number[max-64-a] 0.00010518533710086696 0.00007943517906399352 24.48% 32.42% 1.32x
is_hex_encoded_block_number[max-64-f] 0.00010537393447990282 0.00008084452794838121 23.28% 30.34% 1.30x
is_hex_encoded_block_number[none] 0.000020744179919192256 0.000022347604431133912 -7.73% -7.17% 0.93x
is_hex_encoded_block_number[small] 0.00009270820441250202 0.0000449004689505973 51.57% 106.47% 2.06x
is_hex_encoded_block_number[too-long] 0.00010596975537392078 0.000058414766310949456 44.88% 81.41% 1.81x
is_predefined_block_number[bytes-latest] 0.00003339889317234424 0.0000301260813856222 9.80% 10.86% 1.11x
is_predefined_block_number[bytes-pending] 0.00003301863421812463 0.000029314019501060303 11.22% 12.64% 1.13x
is_predefined_block_number[bytes-random] 0.000031714573039163065 0.00002800665336672553 11.69% 13.24% 1.13x
is_predefined_block_number[int] 0.000032877310066701146 0.000024255176271964196 26.23% 35.55% 1.36x
is_predefined_block_number[none] 0.00012287367080970706 0.00021467929223584203 -74.72% -42.76% 0.57x
is_predefined_block_number[object] 0.00015678747093161052 0.0002505664564678444 -59.81% -37.43% 0.63x
is_predefined_block_number[str-earliest] 0.000013287325162390323 0.000009183412640683772 30.89% 44.69% 1.45x
is_predefined_block_number[str-finalized] 0.000013233352002303259 0.000009449025090720478 28.60% 40.05% 1.40x
is_predefined_block_number[str-foo] 0.00001307117112023671 0.000009265013069130286 29.12% 41.08% 1.41x
is_predefined_block_number[str-latest] 0.000013401593220213138 0.000009516731828449095 28.99% 40.82% 1.41x
is_predefined_block_number[str-pending] 0.000013100982239920118 0.000009321061866111239 28.85% 40.55% 1.41x
is_predefined_block_number[str-safe] 0.000013251056617216484 0.000009062189252573322 31.61% 46.22% 1.46x
select_method_for_block_identifier[hash-bytes] 0.00005128706795740146 0.000041679422276718576 18.73% 23.05% 1.23x
select_method_for_block_identifier[hash-hexstr] 0.00012823364712445017 0.00009192699674717377 28.31% 39.50% 1.39x
select_method_for_block_identifier[invalid-none] 0.0009041897069080807 0.0010468185279134644 -15.77% -13.62% 0.86x
select_method_for_block_identifier[invalid-object] 0.0009559395115146443 0.0011002756099867505 -15.10% -13.12% 0.87x
select_method_for_block_identifier[number-hexstr] 0.00017346011850142963 0.00008622717100747522 50.29% 101.17% 2.01x
select_method_for_block_identifier[number-int] 0.00011247495992705497 0.000058438908238429504 48.04% 92.47% 1.92x
select_method_for_block_identifier[predefined-bytes] 0.00005006389324794343 0.00004411546668195647 11.88% 13.48% 1.13x
select_method_for_block_identifier[predefined-str] 0.000027738360067605886 0.00002135149677669225 23.03% 29.91% 1.30x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00047211089252962126 0.0005513689191503812 -16.79% -14.37% 0.86x
PropertyCheckingFactory[big-valid] 0.0004670356277488956 0.0005513515828363013 -18.05% -15.29% 0.85x
PropertyCheckingFactory[inheritance] 0.0009894838832448106 0.0009600726900297805 2.97% 3.06% 1.03x
PropertyCheckingFactory[invalid] 0.00046699815850905315 0.0005536721233449749 -18.56% -15.65% 0.84x
PropertyCheckingFactory[multi-normalizer] 0.000473625911483518 0.000550876806431298 -16.31% -14.02% 0.86x
PropertyCheckingFactory[multi-prop] 0.0004696318534169438 0.0005547696541415246 -18.13% -15.35% 0.85x
PropertyCheckingFactory[normalized] 0.0004792246634402571 0.0005590952244763243 -16.67% -14.29% 0.86x
PropertyCheckingFactory[valid] 0.0012159984030832506 0.0010105074282676604 16.90% 20.34% 1.20x
verify_attr[empty] 0.0001027406939513718 0.00016662163698563385 -62.18% -38.34% 0.62x
verify_attr[found-end] 0.00001160378670656967 0.000009823158315890654 15.35% 18.13% 1.18x
verify_attr[found-start] 0.000009489130992388345 0.000007375410896557387 22.28% 28.66% 1.29x
verify_attr[large-found] 0.00012843478754983556 0.00013000125994556096 -1.22% -1.20% 0.99x
verify_attr[large-notfound] 0.00019929080607283822 0.00026265965265902697 -31.80% -24.13% 0.76x
verify_attr[notfound] 0.00010828339860952876 0.00016927848949606502 -56.33% -36.03% 0.64x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006474326108921528 0.0006439238859944299 0.54% 0.54% 1.01x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007853705029982745 0.000024155548640444773 69.24% 225.13% 3.25x
percentile[100-90th] 0.00011020547079559735 0.00005583340917911475 49.34% 97.38% 1.97x
percentile[100k-99th] 0.036489631928548406 0.03638042585714629 0.30% 0.30% 1.00x
percentile[100k-median] 0.036501687629652224 0.03634188450002267 0.44% 0.44% 1.00x
percentile[10k-10th] 0.003787152921057369 0.0037278373953516047 1.57% 1.59% 1.02x
percentile[10k-99th] 0.0036788579188289003 0.0036278376642602836 1.39% 1.41% 1.01x
percentile[10k-median] 0.0038261866068721754 0.003666237525097844 4.18% 4.36% 1.04x
percentile[1k-99th] 0.0004759406221011463 0.0004142734801423814 12.96% 14.89% 1.15x
percentile[1M-median] 0.6291298865999579 0.6300970671999948 -0.15% -0.15% 1.00x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000013123238450736549 0.000006558342752930857 50.02% 100.10% 2.00x
to_bytes_if_hex[empty-str] 0.0003095298535627799 0.00003740004276476688 87.92% 727.62% 8.28x
to_bytes_if_hex[hexstr] 0.00035502013904181804 0.00004626931817920519 86.97% 667.29% 7.67x
to_bytes_if_hex[large-hex] 0.00034273605163637454 0.000052202771829648106 84.77% 556.55% 6.57x
to_bytes_if_hex[non-prefixed-hex] 0.0003227182700233346 0.00004313944491159268 86.63% 648.08% 7.48x
to_bytes_if_hex[nothex] 0.0004187774875222226 0.00026666897252999817 36.32% 57.04% 1.57x
to_bytes_if_hex[unicode] 0.00042443703197601076 0.0002757403478245251 35.03% 53.93% 1.54x
to_bytes_if_hex[zero] 0.0003381529183108867 0.0000467298950232736 86.18% 623.63% 7.24x
to_hex_if_bytes[bytes] 0.0002229753438594138 0.00004953043406666532 77.79% 350.18% 4.50x
to_hex_if_bytes[empty-bytes] 0.00021017760399703663 0.00003970508735511717 81.11% 429.35% 5.29x
to_hex_if_bytes[empty-str] 0.00010345668740616719 0.0001903982043800104 -84.04% -45.66% 0.54x
to_hex_if_bytes[hexstr] 0.0002818925387762293 0.000022613031169794388 91.98% 1146.59% 12.47x
to_hex_if_bytes[large-bytes] 0.0002294015465093263 0.00005253777505060462 77.10% 336.64% 4.37x
to_hex_if_bytes[non-prefixed-hex] 0.00010621383801868257 0.00019277558470303416 -81.50% -44.90% 0.55x
to_hex_if_bytes[not-hex] 0.00010526665772099833 0.00019197997558202082 -82.37% -45.17% 0.55x
to_hex_if_bytes[unicode] 0.00011015635483380175 0.00019971838824602554 -81.30% -44.84% 0.55x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00030801233876645307 0.00010032652185292784 67.43% 207.01% 3.07x
all_in_dict[empty-dict] 0.000257866042043961 0.00007435767247732675 71.16% 246.79% 3.47x
all_in_dict[empty-list] 0.00025600627067515945 0.00008478150026721542 66.88% 201.96% 3.02x
all_in_dict[mixed-types] 0.0003078806464274427 0.00010066094292396485 67.31% 205.86% 3.06x
all_in_dict[no-overlap] 0.00027557173325765583 0.00008666566308755581 68.55% 217.97% 3.18x
all_in_dict[none-in] 0.000275371436919759 0.00008654840398115453 68.57% 218.17% 3.18x
all_in_dict[one-in] 0.0002810449844654834 0.0000914174780874424 67.47% 207.43% 3.07x
all_in_dict[partial-overlap] 0.00031576560701671383 0.0000983074594085667 68.87% 221.20% 3.21x
all_in_dict[value-none] 0.0002848198090162422 0.00009126892071290336 67.96% 212.07% 3.12x
any_in_dict[all-in] 0.000295648798895337 0.00008996428940341946 69.57% 228.63% 3.29x
any_in_dict[empty-dict] 0.0003056550615033004 0.00008875765728394348 70.96% 244.37% 3.44x
any_in_dict[empty-list] 0.0002591979449565626 0.00008526410778922209 67.10% 203.99% 3.04x
any_in_dict[mixed-types] 0.00027329749220586833 0.00009013845165218566 67.02% 203.20% 3.03x
any_in_dict[no-overlap] 0.0003224498723778666 0.00010286405771450362 68.10% 213.47% 3.13x
any_in_dict[none-in] 0.0002875281440574195 0.00009133988028008099 68.23% 214.79% 3.15x
any_in_dict[one-in] 0.00027586818304252197 0.00008786807972805434 68.15% 213.96% 3.14x
any_in_dict[partial-overlap] 0.0002760859339023808 0.00008919730346612545 67.69% 209.52% 3.10x
any_in_dict[value-none] 0.00027544133204472187 0.0000884579634950582 67.89% 211.38% 3.11x
either_set_is_a_subset[both-empty] 0.00017117695125400036 0.00015598921129687395 8.87% 9.74% 1.10x
either_set_is_a_subset[empty-set1] 0.0001690709720744255 0.0001554047467692458 8.08% 8.79% 1.09x
either_set_is_a_subset[empty-set2] 0.00025612179820660243 0.0002499442190947451 2.41% 2.47% 1.02x
either_set_is_a_subset[identical] 0.00018969699079955123 0.0001717971145665155 9.44% 10.42% 1.10x
either_set_is_a_subset[mixed-types] 0.00019208637070646772 0.00017612635115549138 8.31% 9.06% 1.09x
either_set_is_a_subset[not-subset] 0.0002736737739971792 0.0002563724330350999 6.32% 6.75% 1.07x
either_set_is_a_subset[partial-overlap] 0.0003029406174470949 0.00028928267713585127 4.51% 4.72% 1.05x
either_set_is_a_subset[subset] 0.00019896549243946014 0.00017642919577248923 11.33% 12.77% 1.13x
either_set_is_a_subset[superset] 0.000313600280812626 0.000295067136238308 5.91% 6.28% 1.06x
none_in_dict[all-in] 0.00029251764020396255 0.00009243913062146329 68.40% 216.44% 3.16x
none_in_dict[empty-dict] 0.0003231853361757288 0.00008988479782906426 72.19% 259.56% 3.60x
none_in_dict[empty-list] 0.00027485446363897736 0.00008732469477607308 68.23% 214.75% 3.15x
none_in_dict[mixed-types] 0.00030034119783058766 0.00009026874817298728 69.94% 232.72% 3.33x
none_in_dict[no-overlap] 0.00033793964208694816 0.00010401483594326225 69.22% 224.90% 3.25x
none_in_dict[none-in] 0.00030154878735145547 0.00009444025465181293 68.68% 219.30% 3.19x
none_in_dict[one-in] 0.000288753771025036 0.00009032461463190495 68.72% 219.68% 3.20x
none_in_dict[partial-overlap] 0.00029079887636691273 0.00009147789175245202 68.54% 217.89% 3.18x
none_in_dict[value-none] 0.0002890716366593834 0.0000901155515960426 68.83% 220.78% 3.21x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014763339634010818 0.0014844009728748975 -0.55% -0.54% 0.99x
attributedict_hash[flat] 0.001162656378378538 0.0011063077593238848 4.85% 5.09% 1.05x
attributedict_hash[nested] 0.0017223917625730867 0.0017268439931485025 -0.26% -0.26% 1.00x
attributedict_init[empty] 0.0000900234083633517 0.00009055423805573099 -0.59% -0.59% 0.99x
attributedict_init[large] 0.00013169940466079084 0.00013284026824602862 -0.87% -0.86% 0.99x
attributedict_init[small] 0.0000963744521291328 0.00009631701981096775 0.06% 0.06% 1.00x
mutableattributedict_delitem 0.0004002176118546649 0.0004021421028437582 -0.48% -0.48% 1.00x
mutableattributedict_setitem 0.0003322289164291524 0.00033599054153473485 -1.13% -1.12% 0.99x
namedelementonion_add 0.008413175857218189 0.007771987999982836 7.62% 8.25% 1.08x
namedelementonion_as_tuple_of_middleware 0.00014757880712144513 0.000147321036043393 0.17% 0.17% 1.00x
namedelementonion_contains 0.000030283765709697784 0.00002997921940650553 1.01% 1.02% 1.01x
namedelementonion_getitem 0.00002659275113653289 0.000026738348052476794 -0.55% -0.54% 0.99x
namedelementonion_init[callables2] 0.00012783397465971236 0.00012686962520896416 0.75% 0.76% 1.01x
namedelementonion_init[callables3] 0.00015854270966592082 0.00015775182131992632 0.50% 0.50% 1.01x
namedelementonion_init[empty] 0.000043686856152405354 0.00004351999513027819 0.38% 0.38% 1.00x
namedelementonion_inject 0.03655087332144885 0.028368796000000036 22.39% 28.84% 1.29x
namedelementonion_iter 0.0001521754825783793 0.00015210483463633763 0.05% 0.05% 1.00x
namedelementonion_remove 0.0006787914277703091 0.000673201356547733 0.82% 0.83% 1.01x
namedelementonion_replace 0.002448072911396064 0.002479962942071629 -1.30% -1.29% 0.99x
readableattributedict_getitem[large] 0.000015250521664475571 0.00001543898682204557 -1.24% -1.22% 0.99x
readableattributedict_getitem[small] 0.000014665187081743119 0.000014522561434067628 0.97% 0.98% 1.01x
readableattributedict_init[empty] 0.00005259950586168949 0.000053159907847696904 -1.07% -1.05% 0.99x
readableattributedict_init[large] 0.00008728396182511166 0.00008687771458322323 0.47% 0.47% 1.00x
readableattributedict_init[small] 0.000056433361923348435 0.00005664121369708673 -0.37% -0.37% 1.00x
readableattributedict_recursive[list-in-dict] 0.0008774499326105259 0.0008699522365622228 0.85% 0.86% 1.01x
readableattributedict_recursive[nested-dict] 0.0009110633944640957 0.0009051047688775889 0.65% 0.66% 1.01x
readableattributedict_recursive[set] 0.0004596638847441608 0.000457218071529181 0.53% 0.53% 1.01x
tupleize_lists_nested[list-in-dict] 0.000841512253590938 0.0008632051846855555 -2.58% -2.51% 0.97x
tupleize_lists_nested[tuple-in-dict] 0.0009394183946398633 0.0009397031480592621 -0.03% -0.03% 1.00x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.000341523430808816 0.00025777390252656595 24.52% 32.49% 1.32x
simplecache_cache[100] 0.002706327183090201 0.0019566880870458153 27.70% 38.31% 1.38x
simplecache_cache[1000] 0.02751302759458446 0.019259138750000532 30.00% 42.86% 1.43x
simplecache_eviction[10] 0.0005932115760447433 0.0005955433911187052 -0.39% -0.39% 1.00x
simplecache_eviction[100] 0.005232029894750667 0.005232476400003275 -0.01% -0.01% 1.00x
simplecache_pop[10] 0.00045603708139530023 0.00036371797849940585 20.24% 25.38% 1.25x
simplecache_pop[100] 0.0037668779767419305 0.002892776555883275 23.20% 30.22% 1.30x
simplecache_retrieval[10] 0.00008995478606544281 0.00005519101923937164 38.65% 62.99% 1.63x
simplecache_retrieval[100] 0.0007802877263982736 0.00045644336687285925 41.50% 70.95% 1.71x

@github-actions
Copy link

Pytest Benchmark Diff

ens/base_ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_valid_name[] 0.0000017832395758184301 0.0000011824346915299066 33.69% 50.81% 1.51x
is_valid_name[a..eth] 0.000024904883059851988 0.000029967779172437193 -20.33% -16.89% 0.83x
is_valid_name[a.eth..] 0.000025616813614565372 0.000030449793233521266 -18.87% -15.87% 0.84x
is_valid_name[a.eth.] 0.00002555826401822632 0.000030110199913958253 -17.81% -15.12% 0.85x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23110075380000125 0.2342886501999999 -1.38% -1.36% 0.99x
is_valid_name[alice.eth] 0.010628085326316308 0.010957973193545165 -3.10% -3.01% 0.97x
is_valid_name[bob.eth] 0.006329631310126196 0.006655732220777794 -5.15% -4.90% 0.95x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2623594148000052 0.2566703433999919 2.17% 2.22% 1.02x
is_valid_name[subdomain.alice.eth] 0.03150645369696938 0.032176473193550055 -2.13% -2.08% 0.98x
labelhash[] 0.00013212617423057193 0.00008120441415450273 38.54% 62.71% 1.63x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23370340520000354 0.2297597057999951 1.69% 1.72% 1.02x
labelhash[alice] 0.007701865427420094 0.007760412390624305 -0.76% -0.75% 0.99x
labelhash[bob] 0.0034346014858148794 0.003388100446366131 1.35% 1.37% 1.01x
labelhash[emoji\U0001f468\U0001f3fb] 0.26731710980001255 0.24012500279999927 10.17% 11.32% 1.11x
labelhash[xn--fiqs8s] 0.024693251463418164 0.024660421048777817 0.13% 0.13% 1.00x
namehash[] 0.000009873253867875969 0.0000032126678079587273 67.46% 207.32% 3.07x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.47943801780000966 0.47023108339999453 1.92% 1.96% 1.02x
namehash[alice.eth] 0.022156298195651937 0.022479996888888663 -1.46% -1.44% 0.99x
namehash[bob.eth] 0.013632371879997815 0.013941793917808809 -2.27% -2.22% 0.98x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.550979079199999 0.45998146839999665 16.52% 19.78% 1.20x
namehash[subdomain.alice.eth] 0.0631085810625045 0.06520883856250137 -3.33% -3.22% 0.97x
nameprep[] 0.000008727477544793644 0.000002970539881528331 65.96% 193.80% 2.94x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2381183778000036 0.23703690379999784 0.45% 0.46% 1.00x
nameprep[alice.eth] 0.010487758578948627 0.011154397010869843 -6.36% -5.98% 0.94x
nameprep[bob.eth] 0.006337732789808585 0.006758966313724965 -6.65% -6.23% 0.94x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.28386710039999913 0.2394485916000008 15.65% 18.55% 1.19x
nameprep[subdomain.alice.eth] 0.03179087074999831 0.03208869196875064 -0.94% -0.93% 0.99x
parent[] 9.66350975317187e-7 8.932526050750294e-7 7.56% 8.18% 1.08x
parent[bar.eth] 0.000003747699794180901 0.000002683494759686719 28.40% 39.66% 1.40x
parent[eth] 0.000002034279297164487 0.00000144622387180964 28.91% 40.66% 1.41x
parent[foo.bar.eth] 0.000004473416418470786 0.000003333698553621164 25.48% 34.19% 1.34x
parent[sub.sub2.foo.bar.eth] 0.000005134875343969551 0.0000040839986382430685 20.47% 25.73% 1.26x
reverse_domain[0x0000000000000000000000000000000000000000] 0.000050261046384498224 0.00001687188824046164 66.43% 197.90% 2.98x
reverse_domain[0x1111111111111111111111111111111111111111] 0.000050649615425054894 0.00001658196304115648 67.26% 205.45% 3.05x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005121055031073647 0.000016700638529678604 67.39% 206.64% 3.07x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000014006725178454425 0.000013870098726250097 0.98% 0.99% 1.01x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013585923701438025 0.000013682630089471012 -0.71% -0.71% 0.99x
address[alice.eth] 0.000013704549188057511 0.00001375195764979745 -0.35% -0.34% 1.00x
address[bob.eth] 0.00001380332367806602 0.00001394715681410613 -1.04% -1.03% 0.99x
address[emoji\U0001f468\U0001f3fb.eth] 0.00001382055610142771 0.000013933529139890092 -0.82% -0.81% 0.99x
address[subdomain.alice.eth] 0.000013657656598489458 0.000013624818128812322 0.24% 0.24% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.0001453736605788077 0.0001447894976560007 0.40% 0.40% 1.00x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014516631476620142 0.00014389036422084137 0.88% 0.89% 1.01x
normalize_name_ensip15[alice.eth] 0.0001458061743121925 0.0001440678109783139 1.19% 1.21% 1.01x
normalize_name_ensip15[bob.eth] 0.0001435339986977009 0.00014418984277637746 -0.46% -0.45% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014447574001300349 0.00014514213519864645 -0.46% -0.46% 1.00x
normalize_name_ensip15[subdomain.alice.eth] 0.00014571862661186247 0.00014511883016084698 0.41% 0.41% 1.00x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024735490025891804 0.000811300354704331 67.20% 204.89% 3.05x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0025372433205122073 0.000809898816586965 68.08% 213.28% 3.13x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0025052447871800245 0.0008131653449955456 67.54% 208.09% 3.08x
dns_encode_name[] 0.0000065766310331727855 0.000004191333832278602 36.27% 56.91% 1.57x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23910826759998827 0.23403177920000645 2.12% 2.17% 1.02x
dns_encode_name[alice.eth] 0.010838533967391645 0.010969773510868456 -1.21% -1.20% 0.99x
dns_encode_name[bob.eth] 0.006597986860925097 0.006705958503265589 -1.64% -1.61% 0.98x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.25741190340000913 0.2419722820000061 6.00% 6.38% 1.06x
dns_encode_name[subdomain.alice.eth] 0.031486301333328276 0.032177423125000715 -2.19% -2.15% 0.98x
estimate_auction_start_gas[labels0] 0.00007560610761632978 0.00004978056645622338 34.16% 51.88% 1.52x
estimate_auction_start_gas[labels1] 0.00007560483185470894 0.00004871168944667492 35.57% 55.21% 1.55x
estimate_auction_start_gas[labels2] 0.00006694542580937058 0.00004949644000983055 26.06% 35.25% 1.35x
is_empty_name[ ] 0.00005664694246420225 0.00003973523425607752 29.85% 42.56% 1.43x
is_empty_name[.] 0.0000552296508209428 0.000039932858498896894 27.70% 38.31% 1.38x
is_empty_name[0] 0.00005530038581176549 0.000038707409603435195 30.01% 42.87% 1.43x
is_empty_name[1] 0.00005469949666030594 0.00003858655010145044 29.46% 41.76% 1.42x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005798974503941695 0.00003946971821096522 31.94% 46.92% 1.47x
is_empty_name[alice.eth] 0.00005742622763019467 0.000039317089711398944 31.53% 46.06% 1.46x
is_empty_name[bob.eth] 0.00005725805031773212 0.000039339794647727236 31.29% 45.55% 1.46x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00005947830270710049 0.000040226367722296356 32.37% 47.86% 1.48x
is_empty_name[subdomain.alice.eth] 0.00005795702173154969 0.0000395012234179371 31.84% 46.72% 1.47x
is_none_or_zero_address[] 0.00004268023082201735 0.00003829369876229916 10.28% 11.45% 1.11x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00005005614814615273 0.00004917255152865344 1.77% 1.80% 1.02x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005438118969545727 0.00004568070552148672 16.00% 19.05% 1.19x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005284027086133635 0.00004506462372410819 14.72% 17.25% 1.17x
is_valid_ens_name[] 0.0000018681615921279797 0.0000015159594115238702 18.85% 23.23% 1.23x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22949290840000458 0.24218249819999754 -5.53% -5.24% 0.95x
is_valid_ens_name[alice.eth] 0.010568642694735038 0.010963247700000364 -3.73% -3.60% 0.96x
is_valid_ens_name[bar] 0.000001931618045480908 0.0000015283827319795307 20.88% 26.38% 1.26x
is_valid_ens_name[baz] 0.000002151938882379173 0.0000015266948410192335 29.05% 40.95% 1.41x
is_valid_ens_name[bob.eth] 0.006349712597403675 0.006950076878378336 -9.45% -8.64% 0.91x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.262788517599995 0.23994054839998852 8.69% 9.52% 1.10x
is_valid_ens_name[foo] 0.0000019346945056720594 0.0000015275793876628298 21.04% 26.65% 1.27x
is_valid_ens_name[subdomain.alice.eth] 0.031040134848489852 0.03323477562499555 -7.07% -6.60% 0.93x
is_valid_name[] 0.0000015946814179466097 0.0000011431803359029082 28.31% 39.50% 1.39x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23553522959998646 0.23484734219999837 0.29% 0.29% 1.00x
is_valid_name[alice.eth] 0.010609644520831315 0.011226015236555028 -5.81% -5.49% 0.95x
is_valid_name[bob.eth] 0.006316059518989669 0.006646888610389426 -5.24% -4.98% 0.95x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.26279551420001324 0.22961654519999683 12.63% 14.45% 1.14x
is_valid_name[subdomain.alice.eth] 0.03119225506061136 0.03244354609375222 -4.01% -3.86% 0.96x
label_to_hash[] 0.00013258302449422726 0.0000804861960023676 39.29% 64.73% 1.65x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23202108179999642 0.23369303079998643 -0.72% -0.72% 0.99x
label_to_hash[alice] 0.007628643476924533 0.007978760007754476 -4.59% -4.39% 0.96x
label_to_hash[bob] 0.0034141160034848014 0.0034640792918149304 -1.46% -1.44% 0.99x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.25892767500000674 0.24985350679999102 3.50% 3.63% 1.04x
label_to_hash[xn--fiqs8s] 0.02413580242857111 0.02490715629999869 -3.20% -3.10% 0.97x
normal_name_to_hash[] 0.0000016882178605867897 9.5699949395092e-7 43.31% 76.41% 1.76x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23629549279999082 0.23815756520001513 -0.79% -0.78% 0.99x
normal_name_to_hash[alice.eth] 0.011467708988505564 0.011347455999996902 1.05% 1.06% 1.01x
normal_name_to_hash[bob.eth] 0.007268090210145914 0.007007434770836183 3.59% 3.72% 1.04x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2708016255999837 0.23564646799998173 12.98% 14.92% 1.15x
normal_name_to_hash[subdomain.alice.eth] 0.032172345451615014 0.033759255838711234 -4.93% -4.70% 0.95x
normalize_name[] 0.000008279447603182036 0.000002979500687449486 64.01% 177.88% 2.78x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23432519539999247 0.24688532759998907 -5.36% -5.09% 0.95x
normalize_name[alice.eth] 0.010462248572918517 0.011053343634406706 -5.65% -5.35% 0.95x
normalize_name[bob.eth] 0.0063726651075968034 0.006690080819356764 -4.98% -4.74% 0.95x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2633528560000059 0.23638508380000758 10.24% 11.41% 1.11x
normalize_name[subdomain.alice.eth] 0.030716701575754818 0.033283978749992116 -8.36% -7.71% 0.92x
raw_name_to_hash[] 0.000009580551968832372 0.0000031872842118261065 66.73% 200.59% 3.01x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4786521164000078 0.4699601139999913 1.82% 1.85% 1.02x
raw_name_to_hash[alice.eth] 0.022107945978261698 0.022238008021734302 -0.59% -0.58% 0.99x
raw_name_to_hash[bob.eth] 0.013801331270269042 0.013504844813333724 2.15% 2.20% 1.02x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5817780936000304 0.4933507210000016 15.20% 17.92% 1.18x
raw_name_to_hash[subdomain.alice.eth] 0.06657696279999452 0.06439969306249793 3.27% 3.38% 1.03x
sha3_text[0] 0.00011797995648258955 0.00007460924643333445 36.76% 58.13% 1.58x
sha3_text[1] 0.00011726949458657594 0.00007459790723933321 36.39% 57.20% 1.57x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012724956725238576 0.00008313184708465413 34.67% 53.07% 1.53x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.0001250010487308753 0.00008324576033484933 33.40% 50.16% 1.50x
sha3_text[alice.eth] 0.00012631141120894278 0.00008295208113891827 34.33% 52.27% 1.52x
sha3_text[alice] 0.0001273634903655157 0.00008311652916636828 34.74% 53.23% 1.53x
sha3_text[bob.eth] 0.00012712540906790814 0.00008288713301363023 34.80% 53.37% 1.53x
sha3_text[bob] 0.00012608148651515724 0.00008260359225435665 34.48% 52.63% 1.53x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00012641188155402457 0.00008330868079313352 34.10% 51.74% 1.52x
sha3_text[emoji\U0001f468\U0001f3fb] 0.0001264076730187603 0.0000834946251892782 33.95% 51.40% 1.51x
sha3_text[subdomain.alice.eth] 0.00012655202874958132 0.00008328562923417242 34.19% 51.95% 1.52x
sha3_text[xn--fiqs8s] 0.0001253993596626198 0.00008276459108175943 34.00% 51.51% 1.52x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.00029757776161042505 0.00025793042719581515 13.32% 15.37% 1.15x
fallback_func_abi_exists 0.0002603334127920646 0.0002558044869609314 1.74% 1.77% 1.02x
filter_by_argument_name[a] 0.0006514201530245498 0.0003922939642992654 39.78% 66.05% 1.66x
filter_by_argument_name[a+b] 0.0006868951577464774 0.00042149139250042796 38.64% 62.97% 1.63x
filter_by_argument_name[b] 0.0006509136868499965 0.0003899907773091587 40.09% 66.90% 1.67x
filter_by_argument_name[c] 0.0006554566518817809 0.0003971387049919202 39.41% 65.04% 1.65x
filter_by_argument_name[notfound] 0.0006454720932133646 0.00038479961492046054 40.38% 67.74% 1.68x
filter_by_argument_type[address] 0.0005886716681095451 0.0006000493626257844 -1.93% -1.90% 0.98x
filter_by_argument_type[notatype] 0.0005840675308189849 0.0005890490478219722 -0.85% -0.85% 0.99x
filter_by_argument_type[string] 0.0005880984484852116 0.0006013093143035351 -2.25% -2.20% 0.98x
filter_by_argument_type[uint+address] 0.0005988552186355612 0.0006075962762322252 -1.46% -1.44% 0.99x
filter_by_argument_type[uint256] 0.0005885072820518193 0.0005954275988333316 -1.18% -1.16% 0.99x
filter_by_types[constructor] 0.000037025384151380775 0.00003739254752067357 -0.99% -0.98% 0.99x
filter_by_types[event] 0.00003694468963536855 0.0000374842458117597 -1.46% -1.44% 0.99x
filter_by_types[fallback] 0.00003741676571682335 0.000038355334909576486 -2.51% -2.45% 0.98x
filter_by_types[func+event] 0.00004253528783295171 0.00004241445750831669 0.28% 0.28% 1.00x
filter_by_types[function] 0.000037241145079237054 0.000037773093983544396 -1.43% -1.41% 0.99x
filter_by_types[none] 0.0000365704790190106 0.000036703786118947035 -0.36% -0.36% 1.00x
filter_by_types[receive] 0.00003834594892553887 0.000038687449116932416 -0.89% -0.88% 0.99x
find_constructor_abi_element_by_type 0.0000344458370805785 0.00003450922386578036 -0.18% -0.18% 1.00x
get_abi_element_signature[custom] 0.00005289358469408541 0.000050240141723619094 5.02% 5.28% 1.05x
get_abi_element_signature[fallback] 0.000020887596411223534 0.00002082834014569207 0.28% 0.28% 1.00x
get_abi_element_signature[receive] 0.000028346748769550553 0.000028165505911826065 0.64% 0.64% 1.01x
get_abi_element_signature[transfer] 0.00005709740919280868 0.0000545665372992751 4.43% 4.64% 1.05x
get_name_from_abi_element_identifier[custom] 0.000042625105791726426 0.000038551331214857974 9.56% 10.57% 1.11x
get_name_from_abi_element_identifier[fallback] 0.000012077603139388205 0.00001221258323025174 -1.12% -1.11% 0.99x
get_name_from_abi_element_identifier[func] 0.00004207903122381806 0.00003849606787162899 8.51% 9.31% 1.09x
get_name_from_abi_element_identifier[receive] 0.000018459265205777553 0.000018647820127199093 -1.02% -1.01% 0.99x
get_tuple_type_str_parts[not-tuple] 0.00002187056193155377 0.000022226254627465458 -1.63% -1.60% 0.98x
get_tuple_type_str_parts[one-dim] 0.00007168926591628865 0.00007278910697802046 -1.53% -1.51% 0.98x
get_tuple_type_str_parts[plain] 0.00004707842016798609 0.00004703789070315968 0.09% 0.09% 1.00x
get_tuple_type_str_parts[two-dim] 0.00008918914190141084 0.00009177549857990514 -2.90% -2.82% 0.97x
is_address_type[address] 0.0000443547056481643 0.00004499030414020381 -1.43% -1.41% 0.99x
is_address_type[array] 0.00004728611871022241 0.000047349243903316276 -0.13% -0.13% 1.00x
is_address_type[bool] 0.00004369599337529983 0.00004380376444054127 -0.25% -0.25% 1.00x
is_address_type[bytes] 0.000043229379050433994 0.000043394604810441826 -0.38% -0.38% 1.00x
is_address_type[bytes32] 0.00004519207727949543 0.000045543785186724546 -0.78% -0.77% 0.99x
is_address_type[bytes33] 0.000046746946660907734 0.00004731645715352978 -1.22% -1.20% 0.99x
is_address_type[empty] 0.0000436961320551755 0.000043563687485162903 0.30% 0.30% 1.00x
is_address_type[enum] 0.00004489892774468231 0.00004499157786609381 -0.21% -0.21% 1.00x
is_address_type[int256] 0.00004326054948290376 0.00004376877302546638 -1.17% -1.16% 0.99x
is_address_type[invalid] 0.0000450853532069923 0.00004503927888967379 0.10% 0.10% 1.00x
is_address_type[string] 0.0000434110593190545 0.000043601929839142984 -0.44% -0.44% 1.00x
is_address_type[tuple-array] 0.00004464049125350374 0.000044851517535676574 -0.47% -0.47% 1.00x
is_address_type[tuple] 0.00004320951233787768 0.00004355591618524986 -0.80% -0.80% 0.99x
is_address_type[uint256] 0.00004511292872595262 0.000045282833921956125 -0.38% -0.38% 1.00x
is_array_type[address] 0.00039425605821890875 0.00040363465381630605 -2.38% -2.32% 0.98x
is_array_type[array] 0.0004037494155091286 0.0004174470517953747 -3.39% -3.28% 0.97x
is_array_type[bool] 0.00036759029458561344 0.0003734148498412713 -1.58% -1.56% 0.98x
is_array_type[bytes] 0.0003746204717785821 0.0003838400468693998 -2.46% -2.40% 0.98x
is_array_type[bytes32] 0.0003952799136476951 0.00040379779730919437 -2.15% -2.11% 0.98x
is_array_type[bytes33] 0.00040315741213737 0.0004055447987779904 -0.59% -0.59% 0.99x
is_array_type[empty] 0.0002991024028939284 0.00031178942157388315 -4.24% -4.07% 0.96x
is_array_type[enum] 0.000386128187258465 0.00039591169023063825 -2.53% -2.47% 0.98x
is_array_type[int256] 0.0003853089266317981 0.0003963113934783976 -2.86% -2.78% 0.97x
is_array_type[invalid] 0.0004053885892548303 0.00041565892400265126 -2.53% -2.47% 0.98x
is_array_type[string] 0.00038443255735786037 0.00039783223478329424 -3.49% -3.37% 0.97x
is_array_type[tuple-array] 0.000406456738597504 0.0004152323908532617 -2.16% -2.11% 0.98x
is_array_type[tuple] 0.00037540226411529674 0.0003850177759887766 -2.56% -2.50% 0.98x
is_array_type[uint256] 0.0003947027837194585 0.00040362338580027067 -2.26% -2.21% 0.98x
is_bool_type[address] 0.00004416738561036805 0.00004439078685654381 -0.51% -0.50% 0.99x
is_bool_type[array] 0.00004450094280744316 0.00004487490042634966 -0.84% -0.83% 0.99x
is_bool_type[bool] 0.000042979889308683134 0.00004352833957271455 -1.28% -1.26% 0.99x
is_bool_type[bytes] 0.00004291571517162933 0.00004266234293010137 0.59% 0.59% 1.01x
is_bool_type[bytes32] 0.00004308024185962953 0.00004243454834987766 1.50% 1.52% 1.02x
is_bool_type[bytes33] 0.00004408725195068502 0.00004495634913042969 -1.97% -1.93% 0.98x
is_bool_type[empty] 0.00004276912854124129 0.0000436029676317042 -1.95% -1.91% 0.98x
is_bool_type[enum] 0.000044508053552487404 0.00004512651866726353 -1.39% -1.37% 0.99x
is_bool_type[int256] 0.000043035508668425805 0.000043525350600745946 -1.14% -1.13% 0.99x
is_bool_type[invalid] 0.00004436008394622376 0.00004520018652373195 -1.89% -1.86% 0.98x
is_bool_type[string] 0.00004318837048445267 0.00004308470790242537 0.24% 0.24% 1.00x
is_bool_type[tuple-array] 0.00004702111275209238 0.00004485366478998563 4.61% 4.83% 1.05x
is_bool_type[tuple] 0.000042960750122601284 0.00004289982510069027 0.14% 0.14% 1.00x
is_bool_type[uint256] 0.000042729388700564815 0.00004346919229246906 -1.73% -1.70% 0.98x
is_bytes_type[address] 0.00032598973385808644 0.0003244394406729731 0.48% 0.48% 1.00x
is_bytes_type[array] 0.00030999473229077496 0.00030910538666900964 0.29% 0.29% 1.00x
is_bytes_type[bool] 0.0002840740907996763 0.0002871279539779864 -1.08% -1.06% 0.99x
is_bytes_type[bytes] 0.0002825192125985605 0.00028401143937971916 -0.53% -0.53% 0.99x
is_bytes_type[bytes32] 0.0003085781299857349 0.00030591404380976155 0.86% 0.87% 1.01x
is_bytes_type[bytes33] 0.00030907344301783416 0.00030486273287288806 1.36% 1.38% 1.01x
is_bytes_type[empty] 0.00028784337215929603 0.0002847374510357186 1.08% 1.09% 1.01x
is_bytes_type[enum] 0.0003041911782150549 0.00029886013327070363 1.75% 1.78% 1.02x
is_bytes_type[int256] 0.0002933180582903302 0.0003021774110815622 -3.02% -2.93% 0.97x
is_bytes_type[invalid] 0.0002873239121536315 0.0002870567596035967 0.09% 0.09% 1.00x
is_bytes_type[string] 0.0003060546617690392 0.00029978723724302653 2.05% 2.09% 1.02x
is_bytes_type[tuple-array] 0.00029373164419659584 0.00028850577718172614 1.78% 1.81% 1.02x
is_bytes_type[tuple] 0.00029284981327178545 0.00028865482265884665 1.43% 1.45% 1.01x
is_bytes_type[uint256] 0.00031293370059538525 0.00032268725587672025 -3.12% -3.02% 0.97x
is_int_type[address] 0.00020813798130398778 0.00020855219623608774 -0.20% -0.20% 1.00x
is_int_type[array] 0.00020378454145528904 0.00020365143114233562 0.07% 0.07% 1.00x
is_int_type[bool] 0.0002033264909699791 0.00020494759288875583 -0.80% -0.79% 0.99x
is_int_type[bytes] 0.00021665011473926543 0.0002212097775038649 -2.10% -2.06% 0.98x
is_int_type[bytes32] 0.0002047026063205234 0.0002037731274364051 0.45% 0.46% 1.00x
is_int_type[bytes33] 0.00020368065032455164 0.0002061566095969029 -1.22% -1.20% 0.99x
is_int_type[empty] 0.0002031395378436989 0.00020363824713972006 -0.25% -0.24% 1.00x
is_int_type[enum] 0.000218342075529712 0.00022432372796109314 -2.74% -2.67% 0.97x
is_int_type[int256] 0.00022960079204264986 0.0002222277435666241 3.21% 3.32% 1.03x
is_int_type[invalid] 0.00020521751177370474 0.00020404666666635604 0.57% 0.57% 1.01x
is_int_type[string] 0.00023521242248868558 0.00022712598141477725 3.44% 3.56% 1.04x
is_int_type[tuple-array] 0.00020528360512476367 0.0002059046902800296 -0.30% -0.30% 1.00x
is_int_type[tuple] 0.0002108911418887955 0.00021885174157738717 -3.77% -3.64% 0.96x
is_int_type[uint256] 0.0002028521163125769 0.0002058725191868798 -1.49% -1.47% 0.99x
is_probably_enum[address] 0.00006586777121282244 0.00006862204850033044 -4.18% -4.01% 0.96x
is_probably_enum[empty] 0.00006174259911444097 0.00006307972054855962 -2.17% -2.12% 0.98x
is_probably_enum[enum] 0.00006578952868296113 0.00006806285624759144 -3.46% -3.34% 0.97x
is_probably_enum[lib-dot] 0.00006656880771713701 0.00006954283453811826 -4.47% -4.28% 0.96x
is_probably_enum[lib-enum] 0.00007365682661615216 0.00007647537879955077 -3.83% -3.69% 0.96x
is_probably_enum[uint256] 0.00006547981002370267 0.00006867713443261293 -4.88% -4.66% 0.95x
is_recognized_type[address] 0.00007812969013525067 0.00008380835090621565 -7.27% -6.78% 0.93x
is_recognized_type[array] 0.00008284834717471328 0.00008743034920480785 -5.53% -5.24% 0.95x
is_recognized_type[bool] 0.00008034524478735723 0.00008203651518813046 -2.11% -2.06% 0.98x
is_recognized_type[bytes] 0.0001535834333071037 0.0001649882694274601 -7.43% -6.91% 0.93x
is_recognized_type[bytes32] 0.00014812952200557458 0.00015541413749233724 -4.92% -4.69% 0.95x
is_recognized_type[bytes33] 0.00013802299066509178 0.00014439250088056407 -4.61% -4.41% 0.96x
is_recognized_type[empty] 0.00006052780118904083 0.00006490222606604625 -7.23% -6.74% 0.93x
is_recognized_type[enum] 0.0000821551572735929 0.00008927604711496378 -8.67% -7.98% 0.92x
is_recognized_type[int256] 0.00012477791945451826 0.0001286299488417365 -3.09% -2.99% 0.97x
is_recognized_type[invalid] 0.0000823079072594212 0.00008829959872508141 -7.28% -6.79% 0.93x
is_recognized_type[string] 0.00010030188030527751 0.00010746581003161996 -7.14% -6.67% 0.93x
is_recognized_type[tuple-array] 0.00008202221816030752 0.0000885379040335147 -7.94% -7.36% 0.93x
is_recognized_type[tuple] 0.0000819608213337652 0.00008844396422252643 -7.91% -7.33% 0.93x
is_recognized_type[uint256] 0.00012421445273253266 0.00013089236538506776 -5.38% -5.10% 0.95x
is_string_type[address] 0.00004436992909973521 0.00004381090968809086 1.26% 1.28% 1.01x
is_string_type[array] 0.00004458670338560624 0.00004423288993228887 0.79% 0.80% 1.01x
is_string_type[bool] 0.000043082953935160144 0.00004346606447094679 -0.89% -0.88% 0.99x
is_string_type[bytes] 0.00004370535453140404 0.00004266024684322256 2.39% 2.45% 1.02x
is_string_type[bytes32] 0.000043322315914322794 0.00004264988705007574 1.55% 1.58% 1.02x
is_string_type[bytes33] 0.000045709074156644244 0.00004433537113962353 3.01% 3.10% 1.03x
is_string_type[empty] 0.00004352871225212797 0.00004249150822076803 2.38% 2.44% 1.02x
is_string_type[enum] 0.00004696508667242632 0.00004658883663513104 0.80% 0.81% 1.01x
is_string_type[int256] 0.00004449273467698247 0.000044416096771057215 0.17% 0.17% 1.00x
is_string_type[invalid] 0.0000449441922740568 0.000044052669634448793 1.98% 2.02% 1.02x
is_string_type[string] 0.00004318984120483528 0.00004228125826304316 2.10% 2.15% 1.02x
is_string_type[tuple-array] 0.000044902561696909855 0.000043813316926343705 2.43% 2.49% 1.02x
is_string_type[tuple] 0.00004299425392173848 0.00004243078706403104 1.31% 1.33% 1.01x
is_string_type[uint256] 0.000043064933990090915 0.000043404168019843935 -0.79% -0.78% 0.99x
is_uint_type[address] 0.0002385854450419447 0.00023345327350428967 2.15% 2.20% 1.02x
is_uint_type[array] 0.00023510882952888402 0.00022649087656637684 3.67% 3.80% 1.04x
is_uint_type[bool] 0.00020596268751269396 0.00020418105927887838 0.87% 0.87% 1.01x
is_uint_type[bytes] 0.00020551316851220153 0.00020451552597516083 0.49% 0.49% 1.00x
is_uint_type[bytes32] 0.00023660106460817042 0.00022869029762938545 3.34% 3.46% 1.03x
is_uint_type[bytes33] 0.00023985027438205395 0.00022148180558947557 7.66% 8.29% 1.08x
is_uint_type[empty] 0.0002057602776418451 0.0002035396575730695 1.08% 1.09% 1.01x
is_uint_type[enum] 0.00021803711512643613 0.00022186977783131615 -1.76% -1.73% 0.98x
is_uint_type[int256] 0.00022208480151660192 0.0002138948271552427 3.69% 3.83% 1.04x
is_uint_type[invalid] 0.00020595191389253075 0.00020450129267772225 0.70% 0.71% 1.01x
is_uint_type[string] 0.00021837805580031703 0.00021619261624590894 1.00% 1.01% 1.01x
is_uint_type[tuple-array] 0.00020645607777788257 0.00020595857652881144 0.24% 0.24% 1.00x
is_uint_type[tuple] 0.00020785395886708104 0.00020630883061765725 0.74% 0.75% 1.01x
is_uint_type[uint256] 0.00022873192550022176 0.00022713430792025173 0.70% 0.70% 1.01x
length_of_array_type[dynamic] 0.00016846917338267034 0.0001698924411366669 -0.84% -0.84% 0.99x
length_of_array_type[fixed] 0.00017410878368720944 0.00017920090440499688 -2.92% -2.84% 0.97x
length_of_array_type[nested] 0.0001878001688280252 0.00018609183372169025 0.91% 0.92% 1.01x
map_abi_data 0.006517499556392245 0.005569232349402973 14.55% 17.03% 1.17x
normalize_event_input_types 0.0004189767669296007 0.00043941897252031044 -4.88% -4.65% 0.95x
receive_func_abi_exists 0.000324718227635085 0.000326813692008703 -0.65% -0.64% 0.99x
strip_abi_types 0.0016352073412585128 0.0017348969162189365 -6.10% -5.75% 0.94x
sub_type_of_array_type[nested] 0.00017563366611393345 0.00018466998229431776 -5.14% -4.89% 0.95x
sub_type_of_array_type[simple] 0.000167798469822395 0.00017775065339881873 -5.93% -5.60% 0.94x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002088066988478705 0.000021807965853881106 -4.44% -4.25% 0.96x
is_hex_encoded_block_hash[invalid-g] 0.00008407311536745002 0.0000604475007268154 28.10% 39.08% 1.39x
is_hex_encoded_block_hash[none] 0.00002067759004530053 0.000021549219861386407 -4.22% -4.04% 0.96x
is_hex_encoded_block_hash[short] 0.00004446529165659789 0.000026258289751348184 40.95% 69.34% 1.69x
is_hex_encoded_block_hash[too-long] 0.000044355997418649285 0.000026333923249251752 40.63% 68.44% 1.68x
is_hex_encoded_block_hash[too-short] 0.00004429988282335269 0.000026181874292823335 40.90% 69.20% 1.69x
is_hex_encoded_block_hash[valid-a] 0.00009409977182595582 0.0000721999232679592 23.27% 30.33% 1.30x
is_hex_encoded_block_hash[valid-f] 0.00009487266723409467 0.0000720055757481774 24.10% 31.76% 1.32x
is_hex_encoded_block_number[int] 0.00002093131428845414 0.000022221109907948292 -6.16% -5.80% 0.94x
is_hex_encoded_block_number[invalid-g] 0.00016482812081016247 0.0002244479668357374 -36.17% -26.56% 0.73x
is_hex_encoded_block_number[max-64-a] 0.00010607635653154756 0.00008094857456242398 23.69% 31.04% 1.31x
is_hex_encoded_block_number[max-64-f] 0.00010585698664132437 0.00008165739261309466 22.86% 29.64% 1.30x
is_hex_encoded_block_number[none] 0.00002085249763829205 0.000022170907054616946 -6.32% -5.95% 0.94x
is_hex_encoded_block_number[small] 0.00009246129707657393 0.00004745440590018382 48.68% 94.84% 1.95x
is_hex_encoded_block_number[too-long] 0.00010850880485366828 0.00005905885623568084 45.57% 83.73% 1.84x
is_predefined_block_number[bytes-latest] 0.00003330126096004268 0.000028827560866376194 13.43% 15.52% 1.16x
is_predefined_block_number[bytes-pending] 0.00003332976421981722 0.000028636844405528218 14.08% 16.39% 1.16x
is_predefined_block_number[bytes-random] 0.000032102938929083787 0.000027769130738011096 13.50% 15.61% 1.16x
is_predefined_block_number[int] 0.00003437977477408871 0.00002531387483939943 26.37% 35.81% 1.36x
is_predefined_block_number[none] 0.00012425076330955942 0.00021904793711480895 -76.30% -43.28% 0.57x
is_predefined_block_number[object] 0.0001581757172520789 0.0002507367633834045 -58.52% -36.92% 0.63x
is_predefined_block_number[str-earliest] 0.000013820739209013872 0.000009462340761702195 31.54% 46.06% 1.46x
is_predefined_block_number[str-finalized] 0.000013866923868280215 0.000009412540473871904 32.12% 47.32% 1.47x
is_predefined_block_number[str-foo] 0.000013669607469358216 0.00000934439923738637 31.64% 46.29% 1.46x
is_predefined_block_number[str-latest] 0.000014003741276793501 0.000009318380566591176 33.46% 50.28% 1.50x
is_predefined_block_number[str-pending] 0.00001372984705766482 0.000009292801801583753 32.32% 47.75% 1.48x
is_predefined_block_number[str-safe] 0.000013720855271099442 0.000009671564285596737 29.51% 41.87% 1.42x
select_method_for_block_identifier[hash-bytes] 0.00005065536466774638 0.00004265648885388795 15.79% 18.75% 1.19x
select_method_for_block_identifier[hash-hexstr] 0.00012911671537656856 0.00009098607060268857 29.53% 41.91% 1.42x
select_method_for_block_identifier[invalid-none] 0.0009103559038292621 0.0010708625775154381 -17.63% -14.99% 0.85x
select_method_for_block_identifier[invalid-object] 0.0009563497138557692 0.0011248116658654302 -17.62% -14.98% 0.85x
select_method_for_block_identifier[number-hexstr] 0.00017395814609018643 0.00008771317445881293 49.58% 98.33% 1.98x
select_method_for_block_identifier[number-int] 0.00011090328775261081 0.00005965816847226475 46.21% 85.90% 1.86x
select_method_for_block_identifier[predefined-bytes] 0.000049610429236057425 0.00004532439369499065 8.64% 9.46% 1.09x
select_method_for_block_identifier[predefined-str] 0.00002713198695716885 0.000020576073821328723 24.16% 31.86% 1.32x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00047788246373185457 0.0005484574456528188 -14.77% -12.87% 0.87x
PropertyCheckingFactory[big-valid] 0.0004672189197008764 0.0005498432108768974 -17.68% -15.03% 0.85x
PropertyCheckingFactory[inheritance] 0.000998105763235939 0.000965847516899148 3.23% 3.34% 1.03x
PropertyCheckingFactory[invalid] 0.0004654818078211317 0.0005506545755435511 -18.30% -15.47% 0.85x
PropertyCheckingFactory[multi-normalizer] 0.0004683656922312583 0.0005523887423321676 -17.94% -15.21% 0.85x
PropertyCheckingFactory[multi-prop] 0.00047648398207242765 0.0005508923663869355 -15.62% -13.51% 0.86x
PropertyCheckingFactory[normalized] 0.0004709824241828712 0.0005565632256419279 -18.17% -15.38% 0.85x
PropertyCheckingFactory[valid] 0.0011935826069023082 0.0010159220179661273 14.88% 17.49% 1.17x
verify_attr[empty] 0.00010268798141913074 0.00016562815312956336 -61.29% -38.00% 0.62x
verify_attr[found-end] 0.000011565723991297057 0.000009723962423302206 15.92% 18.94% 1.19x
verify_attr[found-start] 0.000009533330951584952 0.000007375961203129273 22.63% 29.25% 1.29x
verify_attr[large-found] 0.00013218505265302595 0.00012269213762352974 7.18% 7.74% 1.08x
verify_attr[large-notfound] 0.0002020863942594764 0.0002631683666964946 -30.23% -23.21% 0.77x
verify_attr[notfound] 0.00010758619749381832 0.00016864254625369672 -56.75% -36.20% 0.64x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.000650839432305066 0.0006617617669989347 -1.68% -1.65% 0.98x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007795291984430365 0.000023632689117362007 69.68% 229.85% 3.30x
percentile[100-90th] 0.00011160836606393221 0.000054554676824047884 51.12% 104.58% 2.05x
percentile[100k-99th] 0.036639495178564276 0.03666717217858003 -0.08% -0.08% 1.00x
percentile[100k-median] 0.03666247629629046 0.036464377307700385 0.54% 0.54% 1.01x
percentile[10k-10th] 0.003730691401487512 0.00363366998534698 2.60% 2.67% 1.03x
percentile[10k-99th] 0.003733004670450262 0.0036499211131405342 2.23% 2.28% 1.02x
percentile[10k-median] 0.0037402963646626687 0.003671053555149145 1.85% 1.89% 1.02x
percentile[1k-99th] 0.00046935097622598514 0.000398751827909881 15.04% 17.71% 1.18x
percentile[1M-median] 0.5805958527999792 0.5803573075999793 0.04% 0.04% 1.00x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012510326170942964 0.00000672023435327897 46.28% 86.16% 1.86x
to_bytes_if_hex[empty-str] 0.0003123056141704738 0.00003711057988096672 88.12% 741.55% 8.42x
to_bytes_if_hex[hexstr] 0.0003411343837293394 0.000045684218401071586 86.61% 646.72% 7.47x
to_bytes_if_hex[large-hex] 0.0003472980267280112 0.000050771855610116474 85.38% 584.04% 6.84x
to_bytes_if_hex[non-prefixed-hex] 0.00032517732783419567 0.00004357398154237403 86.60% 646.26% 7.46x
to_bytes_if_hex[nothex] 0.0004212709654254705 0.00026446789904216146 37.22% 59.29% 1.59x
to_bytes_if_hex[unicode] 0.00042610570499715254 0.00027299763760847337 35.93% 56.08% 1.56x
to_bytes_if_hex[zero] 0.00034227367113609666 0.000043927398403017426 87.17% 679.18% 7.79x
to_hex_if_bytes[bytes] 0.0002268023750659743 0.000049941522403469314 77.98% 354.14% 4.54x
to_hex_if_bytes[empty-bytes] 0.00021176637707113577 0.00004019309608716375 81.02% 426.87% 5.27x
to_hex_if_bytes[empty-str] 0.00010232573937997885 0.00018912597921302626 -84.83% -45.90% 0.54x
to_hex_if_bytes[hexstr] 0.00028557392764644405 0.000022600459873499433 92.09% 1163.58% 12.64x
to_hex_if_bytes[large-bytes] 0.00022861953610689531 0.00005422256668702378 76.28% 321.63% 4.22x
to_hex_if_bytes[non-prefixed-hex] 0.0001058631132392186 0.000192282070611087 -81.63% -44.94% 0.55x
to_hex_if_bytes[not-hex] 0.00010556338386412971 0.00019279091026789348 -82.63% -45.24% 0.55x
to_hex_if_bytes[unicode] 0.0001109869263986994 0.00019942280914500695 -79.68% -44.35% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00030985137346048957 0.00009981642508517033 67.79% 210.42% 3.10x
all_in_dict[empty-dict] 0.0002601840658062826 0.00007534504057858173 71.04% 245.32% 3.45x
all_in_dict[empty-list] 0.0002604945828969164 0.00008592241070574817 67.02% 203.17% 3.03x
all_in_dict[mixed-types] 0.0003098206398753534 0.0001031997286055635 66.69% 200.21% 3.00x
all_in_dict[no-overlap] 0.0002822996838858067 0.00008725129877689299 69.09% 223.55% 3.24x
all_in_dict[none-in] 0.00028204674873261653 0.00008638224506684883 69.37% 226.51% 3.27x
all_in_dict[one-in] 0.00028607632657219546 0.00009083632573853591 68.25% 214.94% 3.15x
all_in_dict[partial-overlap] 0.0003180536069923338 0.00009828360452022355 69.10% 223.61% 3.24x
all_in_dict[value-none] 0.0002880129536158166 0.00009144284522774391 68.25% 214.96% 3.15x
any_in_dict[all-in] 0.00030027915960158946 0.00009030202504293805 69.93% 232.53% 3.33x
any_in_dict[empty-dict] 0.00031018612681528055 0.00009040590035832087 70.85% 243.10% 3.43x
any_in_dict[empty-list] 0.000263392824117355 0.00008651955371427556 67.15% 204.43% 3.04x
any_in_dict[mixed-types] 0.00028035405913911474 0.00008939793289906724 68.11% 213.60% 3.14x
any_in_dict[no-overlap] 0.00032573881394520714 0.00010331002229498149 68.28% 215.30% 3.15x
any_in_dict[none-in] 0.00028842002693255727 0.00009186617046032404 68.15% 213.96% 3.14x
any_in_dict[one-in] 0.00028031922761254135 0.00008990869489104346 67.93% 211.78% 3.12x
any_in_dict[partial-overlap] 0.0002800731880148725 0.00008935725275986063 68.10% 213.43% 3.13x
any_in_dict[value-none] 0.000290002107959157 0.00008889056998234855 69.35% 226.25% 3.26x
either_set_is_a_subset[both-empty] 0.00017115374326838136 0.00015496483403905015 9.46% 10.45% 1.10x
either_set_is_a_subset[empty-set1] 0.00017349615490837894 0.00015341823795313715 11.57% 13.09% 1.13x
either_set_is_a_subset[empty-set2] 0.000258175726669946 0.0002517629616077353 2.48% 2.55% 1.03x
either_set_is_a_subset[identical] 0.00018975758869605063 0.00017294495787557052 8.86% 9.72% 1.10x
either_set_is_a_subset[mixed-types] 0.00019332359726588374 0.0001759727118276728 8.98% 9.86% 1.10x
either_set_is_a_subset[not-subset] 0.0002795673718708529 0.00025687106310418387 8.12% 8.84% 1.09x
either_set_is_a_subset[partial-overlap] 0.00030080944063193575 0.00028402055957719167 5.58% 5.91% 1.06x
either_set_is_a_subset[subset] 0.00019197327073317537 0.00017443305542186058 9.14% 10.06% 1.10x
either_set_is_a_subset[superset] 0.00029924342140222484 0.00029311084164068213 2.05% 2.09% 1.02x
none_in_dict[all-in] 0.00029437495635045626 0.00009391871919930427 68.10% 213.44% 3.13x
none_in_dict[empty-dict] 0.0003224416037555086 0.0000914533049238179 71.64% 252.58% 3.53x
none_in_dict[empty-list] 0.00027775269964593074 0.00008855387839118821 68.12% 213.65% 3.14x
none_in_dict[mixed-types] 0.000308089154963323 0.0000894717198680864 70.96% 244.34% 3.44x
none_in_dict[no-overlap] 0.0003392252150683661 0.00010451056952203262 69.19% 224.58% 3.25x
none_in_dict[none-in] 0.00030374526881799853 0.00009409281459735298 69.02% 222.81% 3.23x
none_in_dict[one-in] 0.0002933159604608327 0.00009157953180580044 68.78% 220.29% 3.20x
none_in_dict[partial-overlap] 0.0002995204580280321 0.00009178134564656887 69.36% 226.34% 3.26x
none_in_dict[value-none] 0.00029637810134963634 0.00009009121492700111 69.60% 228.98% 3.29x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.001468355882268279 0.0014658289261370331 0.17% 0.17% 1.00x
attributedict_hash[flat] 0.0011020297194706166 0.0011009896559011282 0.09% 0.09% 1.00x
attributedict_hash[nested] 0.0017294787839182086 0.0017215666057472938 0.46% 0.46% 1.00x
attributedict_init[empty] 0.00009024335222281275 0.00008908216999656474 1.29% 1.30% 1.01x
attributedict_init[large] 0.00012994477749932962 0.00013072679804372782 -0.60% -0.60% 0.99x
attributedict_init[small] 0.00009548910556392348 0.00009397149495732508 1.59% 1.61% 1.02x
mutableattributedict_delitem 0.0004000021427325953 0.0003993560207298628 0.16% 0.16% 1.00x
mutableattributedict_setitem 0.00032701154645052057 0.00033667380546941925 -2.95% -2.87% 0.97x
namedelementonion_add 0.02818378843332899 0.02668955766666809 5.30% 5.60% 1.06x
namedelementonion_as_tuple_of_middleware 0.00014550464376417613 0.00014667062680642965 -0.80% -0.79% 0.99x
namedelementonion_contains 0.000030026125564773816 0.000029707108699261352 1.06% 1.07% 1.01x
namedelementonion_getitem 0.000026707448139477072 0.00002704746848883066 -1.27% -1.26% 0.99x
namedelementonion_init[callables2] 0.00012566158636176999 0.00012577639849111502 -0.09% -0.09% 1.00x
namedelementonion_init[callables3] 0.000158108336161411 0.00015866734768047128 -0.35% -0.35% 1.00x
namedelementonion_init[empty] 0.00004340075798445137 0.00004330881314061268 0.21% 0.21% 1.00x
namedelementonion_inject 0.03661735401149223 0.030317436098898524 17.20% 20.78% 1.21x
namedelementonion_iter 0.0001513965604342047 0.00015025649967548215 0.75% 0.76% 1.01x
namedelementonion_remove 0.0006612957883005099 0.0006569015156673893 0.66% 0.67% 1.01x
namedelementonion_replace 0.0024556382649979012 0.0024528941793593778 0.11% 0.11% 1.00x
readableattributedict_getitem[large] 0.000015244029387701977 0.000015489847791277343 -1.61% -1.59% 0.98x
readableattributedict_getitem[small] 0.000014685714838688034 0.000014868235630674996 -1.24% -1.23% 0.99x
readableattributedict_init[empty] 0.00005238379953485391 0.000051689481523817645 1.33% 1.34% 1.01x
readableattributedict_init[large] 0.00008519752936426412 0.0000869318228760759 -2.04% -2.00% 0.98x
readableattributedict_init[small] 0.00005692221372809677 0.00005728015883159943 -0.63% -0.62% 0.99x
readableattributedict_recursive[list-in-dict] 0.0008836037104792777 0.000879325122242784 0.48% 0.49% 1.00x
readableattributedict_recursive[nested-dict] 0.0009127221654120691 0.0009026551579924432 1.10% 1.12% 1.01x
readableattributedict_recursive[set] 0.00046223799002464565 0.0004552146237345326 1.52% 1.54% 1.02x
tupleize_lists_nested[list-in-dict] 0.0008535658723415715 0.0008550654911262204 -0.18% -0.18% 1.00x
tupleize_lists_nested[tuple-in-dict] 0.0009444307678739291 0.0009370449392070697 0.78% 0.79% 1.01x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.00033503991586871374 0.0002495805917023753 25.51% 34.24% 1.34x
simplecache_cache[100] 0.0027019931506856664 0.0019347798658754642 28.39% 39.65% 1.40x
simplecache_cache[1000] 0.027147376432434908 0.018541190555534166 31.70% 46.42% 1.46x
simplecache_eviction[10] 0.0005824283487532407 0.0005788836988192983 0.61% 0.61% 1.01x
simplecache_eviction[100] 0.005106070866664735 0.005116680181335721 -0.21% -0.21% 1.00x
simplecache_pop[10] 0.00045585737921588634 0.0003680900192976755 19.25% 23.84% 1.24x
simplecache_pop[100] 0.0037992279198372234 0.002893820550283388 23.83% 31.29% 1.31x
simplecache_retrieval[10] 0.00009734653795742883 0.00006147278546502494 36.85% 58.36% 1.58x
simplecache_retrieval[100] 0.0008078236943951155 0.00044906720490044897 44.41% 79.89% 1.80x

@github-actions
Copy link

Pytest Benchmark Diff

ens/base_ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_valid_name[] 0.0000017972144310930557 0.0000011318269070995124 37.02% 58.79% 1.59x
is_valid_name[a..eth] 0.000025478887765176793 0.000030341083574299312 -19.08% -16.03% 0.84x
is_valid_name[a.eth..] 0.00002614947106433203 0.0000304240755598904 -16.35% -14.05% 0.86x
is_valid_name[a.eth.] 0.000025978837404556743 0.000030273118183791607 -16.53% -14.19% 0.86x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23018859079998039 0.23349822919997223 -1.44% -1.42% 0.99x
is_valid_name[alice.eth] 0.010335079614582318 0.010915565698911127 -5.62% -5.32% 0.95x
is_valid_name[bob.eth] 0.006212242253083231 0.006486064166666257 -4.41% -4.22% 0.96x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2534255913999914 0.22696655060001375 10.44% 11.66% 1.12x
is_valid_name[subdomain.alice.eth] 0.030841030666661853 0.03230220724999455 -4.74% -4.52% 0.95x
labelhash[] 0.00013556325639073663 0.00008221280142598056 39.35% 64.89% 1.65x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22859175160000406 0.231786594599987 -1.40% -1.38% 0.99x
labelhash[alice] 0.007481157080002504 0.007688174387599582 -2.77% -2.69% 0.97x
labelhash[bob] 0.0033325820508484172 0.0033564026137918096 -0.71% -0.71% 0.99x
labelhash[emoji\U0001f468\U0001f3fb] 0.2533126762000165 0.24397654259998944 3.69% 3.83% 1.04x
labelhash[xn--fiqs8s] 0.024079517642855125 0.024836311317078138 -3.14% -3.05% 0.97x
namehash[] 0.000010056671929122343 0.0000033030308777459896 67.16% 204.47% 3.04x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.46908848099999434 0.46810346979998485 0.21% 0.21% 1.00x
namehash[alice.eth] 0.02182437930434844 0.021937634456522997 -0.52% -0.52% 0.99x
namehash[bob.eth] 0.013446738986667697 0.013348088040002797 0.73% 0.74% 1.01x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.511595873400006 0.4579794685999673 10.48% 11.71% 1.12x
namehash[subdomain.alice.eth] 0.06278661135294282 0.06407164512499008 -2.05% -2.01% 0.98x
nameprep[] 0.000008745165319621845 0.0000031260310442976747 64.25% 179.75% 2.80x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22853089440000077 0.23413669000001391 -2.45% -2.39% 0.98x
nameprep[alice.eth] 0.010482671421058704 0.010764557795706394 -2.69% -2.62% 0.97x
nameprep[bob.eth] 0.0062833332716038205 0.006511396490328303 -3.63% -3.50% 0.96x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.25561329920001297 0.24955594899997777 2.37% 2.43% 1.02x
nameprep[subdomain.alice.eth] 0.030302428787870143 0.03154618837499612 -4.10% -3.94% 0.96x
parent[] 9.603541062452907e-7 8.410148986612631e-7 12.43% 14.19% 1.14x
parent[bar.eth] 0.000003676931337029925 0.000002601153008621728 29.26% 41.36% 1.41x
parent[eth] 0.0000020516023076712444 0.0000015239040472484753 25.72% 34.63% 1.35x
parent[foo.bar.eth] 0.000004275149541351998 0.000003282939015313555 23.21% 30.22% 1.30x
parent[sub.sub2.foo.bar.eth] 0.000005015184942031648 0.00000391129592074446 22.01% 28.22% 1.28x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005098723285799442 0.00001686964262438967 66.91% 202.24% 3.02x
reverse_domain[0x1111111111111111111111111111111111111111] 0.000051196003239284725 0.000016978896317664897 66.84% 201.53% 3.02x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005140685801312771 0.000017063076684923547 66.81% 201.28% 3.01x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013618872712164014 0.00001353071957142641 0.65% 0.65% 1.01x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013649572809899538 0.000013599710483385242 0.37% 0.37% 1.00x
address[alice.eth] 0.000013504755148758156 0.000013644491898400786 -1.03% -1.02% 0.99x
address[bob.eth] 0.000013637524182565074 0.000013498106352473445 1.02% 1.03% 1.01x
address[emoji\U0001f468\U0001f3fb.eth] 0.000013531606657400042 0.00001351638945753289 0.11% 0.11% 1.00x
address[subdomain.alice.eth] 0.000013624484452630927 0.000013684120797778005 -0.44% -0.44% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014256562698701714 0.00014614322209259697 -2.51% -2.45% 0.98x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014500583464707002 0.0001476651790759291 -1.83% -1.80% 0.98x
normalize_name_ensip15[alice.eth] 0.00014601920960516013 0.00014729458670056366 -0.87% -0.87% 0.99x
normalize_name_ensip15[bob.eth] 0.0001457379220693812 0.00014630426303585968 -0.39% -0.39% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014474650835580817 0.00014605204796803512 -0.90% -0.89% 0.99x
normalize_name_ensip15[subdomain.alice.eth] 0.00016380492682854418 0.00014372493459004071 12.26% 13.97% 1.14x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024840927265842444 0.0008201139122653382 66.99% 202.90% 3.03x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0025115281949359123 0.0008104560776003381 67.73% 209.89% 3.10x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0025270588227820417 0.000808577100564649 68.00% 212.53% 3.13x
dns_encode_name[] 0.000006578889242380402 0.000004151817814539285 36.89% 58.46% 1.58x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23032828720001816 0.23674406520001412 -2.79% -2.71% 0.97x
dns_encode_name[alice.eth] 0.010634718138294858 0.01099375832608698 -3.38% -3.27% 0.97x
dns_encode_name[bob.eth] 0.006572007900661821 0.006601580071430492 -0.45% -0.45% 1.00x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2539041913999654 0.24705543840000246 2.70% 2.77% 1.03x
dns_encode_name[subdomain.alice.eth] 0.030687507060613163 0.031802188343757365 -3.63% -3.51% 0.96x
estimate_auction_start_gas[labels0] 0.00008339734271437644 0.00004929306300845008 40.89% 69.19% 1.69x
estimate_auction_start_gas[labels1] 0.00007532538004149392 0.000048866614867509504 35.13% 54.14% 1.54x
estimate_auction_start_gas[labels2] 0.00006694482427075651 0.00004908791673536104 26.67% 36.38% 1.36x
is_empty_name[ ] 0.00005767360363384693 0.00003861558597313405 33.04% 49.35% 1.49x
is_empty_name[.] 0.000055648387468241 0.00003904547368429512 29.84% 42.52% 1.43x
is_empty_name[0] 0.00005564827110929168 0.00003779849295126023 32.08% 47.22% 1.47x
is_empty_name[1] 0.00005525966774120789 0.000037006180974115025 33.03% 49.33% 1.49x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000057949924522373355 0.000038855200443545544 32.95% 49.14% 1.49x
is_empty_name[alice.eth] 0.00005823301473321315 0.000038581184491936846 33.75% 50.94% 1.51x
is_empty_name[bob.eth] 0.000059115292857646634 0.0000385892049463607 34.72% 53.19% 1.53x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.000059581411994943164 0.00003973007631522366 33.32% 49.97% 1.50x
is_empty_name[subdomain.alice.eth] 0.00005821864954315158 0.000038644351921334296 33.62% 50.65% 1.51x
is_none_or_zero_address[] 0.00004318553290460783 0.00003902045195976908 9.64% 10.67% 1.11x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00005117506205844764 0.0000470777969887968 8.01% 8.70% 1.09x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.000055458241083025935 0.000044297598434660183 20.12% 25.19% 1.25x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000054406166851535024 0.000044888609225310934 17.49% 21.20% 1.21x
is_valid_ens_name[] 0.0000019053713160848104 0.000001488352124544199 21.89% 28.02% 1.28x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23092947159998403 0.23363403739997465 -1.17% -1.16% 0.99x
is_valid_ens_name[alice.eth] 0.010393047622448639 0.011245456946242837 -8.20% -7.58% 0.92x
is_valid_ens_name[bar] 0.000001917851760352608 0.0000014189734928312926 26.01% 35.16% 1.35x
is_valid_ens_name[baz] 0.0000019003617282410782 0.0000014378684747435715 24.34% 32.17% 1.32x
is_valid_ens_name[bob.eth] 0.006223929611109478 0.00674021674193638 -8.30% -7.66% 0.92x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.25585808600001203 0.22906888160000563 10.47% 11.69% 1.12x
is_valid_ens_name[foo] 0.0000019064809770870273 0.0000014196217902594553 25.54% 34.29% 1.34x
is_valid_ens_name[subdomain.alice.eth] 0.030713475882347505 0.032848385031257976 -6.95% -6.50% 0.94x
is_valid_name[] 0.000001625135176410761 0.0000011416407713874824 29.75% 42.35% 1.42x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2268366630000173 0.2353999498000121 -3.78% -3.64% 0.96x
is_valid_name[alice.eth] 0.010318090061222234 0.011006072849466765 -6.67% -6.25% 0.94x
is_valid_name[bob.eth] 0.006216402484273798 0.006789083960786699 -9.21% -8.44% 0.92x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2505492262000189 0.2401680460000307 4.14% 4.32% 1.04x
is_valid_name[subdomain.alice.eth] 0.030705612058825944 0.032540904906262824 -5.98% -5.64% 0.94x
label_to_hash[] 0.00013335073448885696 0.00008227002181033096 38.31% 62.09% 1.62x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2272787530000187 0.23092942439998296 -1.61% -1.58% 0.98x
label_to_hash[alice] 0.0076216922656264785 0.007942277575996741 -4.21% -4.04% 0.96x
label_to_hash[bob] 0.0034196184270823458 0.003501790124567844 -2.40% -2.35% 0.98x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2737398328000154 0.2326861162000114 15.00% 17.64% 1.18x
label_to_hash[xn--fiqs8s] 0.024453416714290403 0.024877141682933566 -1.73% -1.70% 0.98x
normal_name_to_hash[] 0.0000016598485612673846 9.507026249792425e-7 42.72% 74.59% 1.75x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2279136557999891 0.2367879738000056 -3.89% -3.75% 0.96x
normal_name_to_hash[alice.eth] 0.011428730494253091 0.011238535113636513 1.66% 1.69% 1.02x
normal_name_to_hash[bob.eth] 0.007136806669061881 0.006958639298614362 2.50% 2.56% 1.03x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2567688481999767 0.2507714260000057 2.34% 2.39% 1.02x
normal_name_to_hash[subdomain.alice.eth] 0.0317772965625025 0.032489365451602505 -2.24% -2.19% 0.98x
normalize_name[] 0.000008526354899526746 0.0000030886685223564583 63.78% 176.05% 2.76x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22794326240000373 0.2473050862000264 -8.49% -7.83% 0.92x
normalize_name[alice.eth] 0.010492269071422164 0.010815379580638471 -3.08% -2.99% 0.97x
normalize_name[bob.eth] 0.006259552198761276 0.00677209611764628 -8.19% -7.57% 0.92x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2490046022000115 0.22900128419998964 8.03% 8.74% 1.09x
normalize_name[subdomain.alice.eth] 0.030170272088231715 0.03279966281249713 -8.72% -8.02% 0.92x
raw_name_to_hash[] 0.000009598411763159995 0.0000032988424973777085 65.63% 190.96% 2.91x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.46822929219997605 0.4723000018000221 -0.87% -0.86% 0.99x
raw_name_to_hash[alice.eth] 0.021735501234040402 0.022080402022207738 -1.59% -1.56% 0.98x
raw_name_to_hash[bob.eth] 0.013404908013329381 0.01355536127026868 -1.12% -1.11% 0.99x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5350366666000355 0.5234233676000031 2.17% 2.22% 1.02x
raw_name_to_hash[subdomain.alice.eth] 0.0638842454705903 0.06456866900000335 -1.07% -1.06% 0.99x
sha3_text[0] 0.00011715023257975503 0.00007538987802095456 35.65% 55.39% 1.55x
sha3_text[1] 0.00011751759108883737 0.00007520548918305718 36.00% 56.26% 1.56x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012654105456550005 0.00008339669006485277 34.10% 51.73% 1.52x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012623299336358463 0.00008289334860045206 34.33% 52.28% 1.52x
sha3_text[alice.eth] 0.00012621708735399443 0.00008312489881185304 34.14% 51.84% 1.52x
sha3_text[alice] 0.00012676923051963435 0.0000834951105610526 34.14% 51.83% 1.52x
sha3_text[bob.eth] 0.00012697559878223732 0.00008369955059992484 34.08% 51.70% 1.52x
sha3_text[bob] 0.00012701163991415208 0.00008315872594387945 34.53% 52.73% 1.53x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00012732053271082616 0.00008313400914412004 34.70% 53.15% 1.53x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012680578161364446 0.00008402126347883332 33.74% 50.92% 1.51x
sha3_text[subdomain.alice.eth] 0.00012632204395998583 0.00008282824731493122 34.43% 52.51% 1.53x
sha3_text[xn--fiqs8s] 0.00012680953869631108 0.00008309935265762707 34.47% 52.60% 1.53x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002919690088233119 0.00025232679845451175 13.58% 15.71% 1.16x
fallback_func_abi_exists 0.0002542919775477489 0.0002529567349345151 0.53% 0.53% 1.01x
filter_by_argument_name[a] 0.000654276574407969 0.0003792631031123738 42.03% 72.51% 1.73x
filter_by_argument_name[a+b] 0.0006668340806430767 0.00040276296180130687 39.60% 65.56% 1.66x
filter_by_argument_name[b] 0.0006434196808804323 0.0003722671641283164 42.14% 72.84% 1.73x
filter_by_argument_name[c] 0.0006546265732621916 0.0003751634640188375 42.69% 74.49% 1.74x
filter_by_argument_name[notfound] 0.0006474228559292928 0.0003747290927223747 42.12% 72.77% 1.73x
filter_by_argument_type[address] 0.000596537361543489 0.0006015151501852211 -0.83% -0.83% 0.99x
filter_by_argument_type[notatype] 0.0005895162293032863 0.0005936173352013347 -0.70% -0.69% 0.99x
filter_by_argument_type[string] 0.000599456576831904 0.0006088985182413863 -1.58% -1.55% 0.98x
filter_by_argument_type[uint+address] 0.0005994032354050383 0.000605330393129711 -0.99% -0.98% 0.99x
filter_by_argument_type[uint256] 0.0005964376681096761 0.0006018503572387376 -0.91% -0.90% 0.99x
filter_by_types[constructor] 0.0000376550382576895 0.00003661630596020219 2.76% 2.84% 1.03x
filter_by_types[event] 0.000037780887273733226 0.00003670694180454295 2.84% 2.93% 1.03x
filter_by_types[fallback] 0.00003817025733071118 0.00003739500793453397 2.03% 2.07% 1.02x
filter_by_types[func+event] 0.000042699806424454705 0.0000420584662254596 1.50% 1.52% 1.02x
filter_by_types[function] 0.00003719384522770754 0.000037122043818675937 0.19% 0.19% 1.00x
filter_by_types[none] 0.00003669554253304892 0.00003609275416768305 1.64% 1.67% 1.02x
filter_by_types[receive] 0.000038700595059713946 0.00003821842600979331 1.25% 1.26% 1.01x
find_constructor_abi_element_by_type 0.000033918731390256454 0.00003388975329492638 0.09% 0.09% 1.00x
get_abi_element_signature[custom] 0.00005300706846435759 0.00005034870861548656 5.02% 5.28% 1.05x
get_abi_element_signature[fallback] 0.00002108905758885987 0.00002101478836891908 0.35% 0.35% 1.00x
get_abi_element_signature[receive] 0.00002819877930174988 0.000028262527676193195 -0.23% -0.23% 1.00x
get_abi_element_signature[transfer] 0.00005724007710948677 0.00005552981339462077 2.99% 3.08% 1.03x
get_name_from_abi_element_identifier[custom] 0.00004152576429519213 0.00003824168815455949 7.91% 8.59% 1.09x
get_name_from_abi_element_identifier[fallback] 0.000011896773208296536 0.000012121311754248281 -1.89% -1.85% 0.98x
get_name_from_abi_element_identifier[func] 0.00004167510598221465 0.00003785350922066887 9.17% 10.10% 1.10x
get_name_from_abi_element_identifier[receive] 0.000018136029795426614 0.000018311197220943063 -0.97% -0.96% 0.99x
get_tuple_type_str_parts[not-tuple] 0.000021884597100365295 0.000021429212933205215 2.08% 2.13% 1.02x
get_tuple_type_str_parts[one-dim] 0.00007149530654855965 0.00007213993977473787 -0.90% -0.89% 0.99x
get_tuple_type_str_parts[plain] 0.00004693290603718374 0.00004704857525405406 -0.25% -0.25% 1.00x
get_tuple_type_str_parts[two-dim] 0.00008925756883853608 0.00009010601586745594 -0.95% -0.94% 0.99x
is_address_type[address] 0.00004342011071730298 0.00004339813646647425 0.05% 0.05% 1.00x
is_address_type[array] 0.00004678694379518941 0.000046842499254070394 -0.12% -0.12% 1.00x
is_address_type[bool] 0.00004288157964957882 0.000043373003088425043 -1.15% -1.13% 0.99x
is_address_type[bytes] 0.00004295163159064248 0.00004334767894948958 -0.92% -0.91% 0.99x
is_address_type[bytes32] 0.00004490818021678572 0.00004497951023332435 -0.16% -0.16% 1.00x
is_address_type[bytes33] 0.00004626454802890609 0.00004666586600109628 -0.87% -0.86% 0.99x
is_address_type[empty] 0.00004334675032718785 0.00004336124607737127 -0.03% -0.03% 1.00x
is_address_type[enum] 0.00004445106043523836 0.00004465372482552709 -0.46% -0.45% 1.00x
is_address_type[int256] 0.00004327212477255083 0.00004299723045879004 0.64% 0.64% 1.01x
is_address_type[invalid] 0.000044214192609569746 0.000044576867033630853 -0.82% -0.81% 0.99x
is_address_type[string] 0.000043106607619635024 0.00004326829616422604 -0.38% -0.37% 1.00x
is_address_type[tuple-array] 0.00004451617350440818 0.000044716861163113947 -0.45% -0.45% 1.00x
is_address_type[tuple] 0.00004314155254997895 0.00004348070904663939 -0.79% -0.78% 0.99x
is_address_type[uint256] 0.0000445497984469796 0.00004381065751378941 1.66% 1.69% 1.02x
is_array_type[address] 0.0003911296711475338 0.0004029794774630689 -3.03% -2.94% 0.97x
is_array_type[array] 0.00039942000723775553 0.00041028014534924486 -2.72% -2.65% 0.97x
is_array_type[bool] 0.0003598072527754312 0.00037346708886361487 -3.80% -3.66% 0.96x
is_array_type[bytes] 0.00037447861570393074 0.000384431783146126 -2.66% -2.59% 0.97x
is_array_type[bytes32] 0.0003981948786102831 0.0004004786993173856 -0.57% -0.57% 0.99x
is_array_type[bytes33] 0.0003929948081326921 0.0004005529862551158 -1.92% -1.89% 0.98x
is_array_type[empty] 0.0003054335896495021 0.00031116355458403884 -1.88% -1.84% 0.98x
is_array_type[enum] 0.0003837672619052653 0.0003899871079815518 -1.62% -1.59% 0.98x
is_array_type[int256] 0.00038228868551036424 0.00039481807116309686 -3.28% -3.17% 0.97x
is_array_type[invalid] 0.0004019373329039562 0.00040975350300188765 -1.94% -1.91% 0.98x
is_array_type[string] 0.0003799781827223914 0.00039647254856793254 -4.34% -4.16% 0.96x
is_array_type[tuple-array] 0.0004014383693466775 0.0004082841726713729 -1.71% -1.68% 0.98x
is_array_type[tuple] 0.0003752592143691326 0.00038473479535598444 -2.53% -2.46% 0.98x
is_array_type[uint256] 0.0003913237342090654 0.0004109960118845064 -5.03% -4.79% 0.95x
is_bool_type[address] 0.00004269048778223825 0.00004417587471826624 -3.48% -3.36% 0.97x
is_bool_type[array] 0.00004529190558626588 0.00004512639768351479 0.37% 0.37% 1.00x
is_bool_type[bool] 0.00004316366903416933 0.00004389794254423769 -1.70% -1.67% 0.98x
is_bool_type[bytes] 0.00004339699648240247 0.0000433788597273199 0.04% 0.04% 1.00x
is_bool_type[bytes32] 0.00004321096768617393 0.00004376400565855829 -1.28% -1.26% 0.99x
is_bool_type[bytes33] 0.00004516324793823556 0.000044965203924916545 0.44% 0.44% 1.00x
is_bool_type[empty] 0.00004363947647592726 0.000043544751705898864 0.22% 0.22% 1.00x
is_bool_type[enum] 0.00004471870303809691 0.000044808765648109165 -0.20% -0.20% 1.00x
is_bool_type[int256] 0.00004278578718033784 0.00004339665970254175 -1.43% -1.41% 0.99x
is_bool_type[invalid] 0.000044819630344355874 0.00004500004876694097 -0.40% -0.40% 1.00x
is_bool_type[string] 0.00004266540587966817 0.0000437784108556821 -2.61% -2.54% 0.97x
is_bool_type[tuple-array] 0.00004611494280390876 0.00004493875348354097 2.55% 2.62% 1.03x
is_bool_type[tuple] 0.00004365182470346429 0.00004355156849816849 0.23% 0.23% 1.00x
is_bool_type[uint256] 0.000042927897179616235 0.00004330852753056221 -0.89% -0.88% 0.99x
is_bytes_type[address] 0.00031289404721366373 0.0003113105710305715 0.51% 0.51% 1.01x
is_bytes_type[array] 0.0003326277977979808 0.00032131126260264494 3.40% 3.52% 1.04x
is_bytes_type[bool] 0.00028337444314362463 0.0002805610500277568 0.99% 1.00% 1.01x
is_bytes_type[bytes] 0.000280833478120562 0.00027671430773366007 1.47% 1.49% 1.01x
is_bytes_type[bytes32] 0.0003080697128571195 0.00030475433132330166 1.08% 1.09% 1.01x
is_bytes_type[bytes33] 0.00031059752375022756 0.00030721495684500247 1.09% 1.10% 1.01x
is_bytes_type[empty] 0.00028352786799182896 0.00028336591633307316 0.06% 0.06% 1.00x
is_bytes_type[enum] 0.0003000221753126553 0.0003024254969800502 -0.80% -0.79% 0.99x
is_bytes_type[int256] 0.0002941831592047278 0.00029717113333394755 -1.02% -1.01% 0.99x
is_bytes_type[invalid] 0.0002826031423478485 0.00028288812621663314 -0.10% -0.10% 1.00x
is_bytes_type[string] 0.00029725908352892983 0.00029997880895635016 -0.91% -0.91% 0.99x
is_bytes_type[tuple-array] 0.0002795295731615139 0.00028380042625375285 -1.53% -1.50% 0.98x
is_bytes_type[tuple] 0.0002845986284400267 0.00028969360777214814 -1.79% -1.76% 0.98x
is_bytes_type[uint256] 0.0003134598601313836 0.00032867586572275776 -4.85% -4.63% 0.95x
is_int_type[address] 0.00021014749183786543 0.00020109363035504378 4.31% 4.50% 1.05x
is_int_type[array] 0.00020478064215040742 0.0002007571190618901 1.96% 2.00% 1.02x
is_int_type[bool] 0.0002053170240204465 0.00020173656620395248 1.74% 1.77% 1.02x
is_int_type[bytes] 0.00021778673844795047 0.0002195547760142944 -0.81% -0.81% 0.99x
is_int_type[bytes32] 0.00020940717845922263 0.00020004414675088295 4.47% 4.68% 1.05x
is_int_type[bytes33] 0.00020289510373858378 0.0001982654478932264 2.28% 2.34% 1.02x
is_int_type[empty] 0.0002028815261534163 0.0002002524066712803 1.30% 1.31% 1.01x
is_int_type[enum] 0.00023528279984961608 0.00023391659382419904 0.58% 0.58% 1.01x
is_int_type[int256] 0.00024828873149707493 0.00023167374601439558 6.69% 7.17% 1.07x
is_int_type[invalid] 0.0002053301681263697 0.00019862422567434545 3.27% 3.38% 1.03x
is_int_type[string] 0.0002325660614520281 0.0002301036228661929 1.06% 1.07% 1.01x
is_int_type[tuple-array] 0.0002028663679663589 0.00020489478640683956 -1.00% -0.99% 0.99x
is_int_type[tuple] 0.00021386263600485598 0.00022319511548882283 -4.36% -4.18% 0.96x
is_int_type[uint256] 0.00020574225491459404 0.00020052967326845565 2.53% 2.60% 1.03x
is_probably_enum[address] 0.00006469796744251905 0.00006798377506985613 -5.08% -4.83% 0.95x
is_probably_enum[empty] 0.00006168883692415342 0.00006300604260587847 -2.14% -2.09% 0.98x
is_probably_enum[enum] 0.00006397212311730042 0.0000667111210003877 -4.28% -4.11% 0.96x
is_probably_enum[lib-dot] 0.00006688847215775122 0.00006829816627911835 -2.11% -2.06% 0.98x
is_probably_enum[lib-enum] 0.00007362480822672098 0.0000750306726231249 -1.91% -1.87% 0.98x
is_probably_enum[uint256] 0.00006455653497836428 0.00006712457884660096 -3.98% -3.83% 0.96x
is_recognized_type[address] 0.00007874837043708366 0.00008274434707218602 -5.07% -4.83% 0.95x
is_recognized_type[array] 0.00008307414261691636 0.00008662675996917865 -4.28% -4.10% 0.96x
is_recognized_type[bool] 0.00008273789795538858 0.00008183016164877723 1.10% 1.11% 1.01x
is_recognized_type[bytes] 0.0001546322294485621 0.00015586245194071705 -0.80% -0.79% 0.99x
is_recognized_type[bytes32] 0.0001501355079880901 0.0001533804834151045 -2.16% -2.12% 0.98x
is_recognized_type[bytes33] 0.00013929565384160556 0.00014424518782099588 -3.55% -3.43% 0.97x
is_recognized_type[empty] 0.0000618353230236462 0.00006553446998304857 -5.98% -5.64% 0.94x
is_recognized_type[enum] 0.0000863984578872032 0.00008857042408139423 -2.51% -2.45% 0.98x
is_recognized_type[int256] 0.0001258279056600436 0.00013036198874699878 -3.60% -3.48% 0.97x
is_recognized_type[invalid] 0.00008363221827318563 0.0000892941580823532 -6.77% -6.34% 0.94x
is_recognized_type[string] 0.00010168586656029368 0.00010695400818785731 -5.18% -4.93% 0.95x
is_recognized_type[tuple-array] 0.0000832336353899325 0.0000888573158759721 -6.76% -6.33% 0.94x
is_recognized_type[tuple] 0.00008311294300566311 0.00008836224332051122 -6.32% -5.94% 0.94x
is_recognized_type[uint256] 0.00012514704257799323 0.00013051057030230502 -4.29% -4.11% 0.96x
is_string_type[address] 0.00004267520147878115 0.00004282307780408525 -0.35% -0.35% 1.00x
is_string_type[array] 0.00004440238719267414 0.000044313438588897955 0.20% 0.20% 1.00x
is_string_type[bool] 0.00004306824370048117 0.000043670273208188596 -1.40% -1.38% 0.99x
is_string_type[bytes] 0.000043004570403229516 0.00004323398351908088 -0.53% -0.53% 0.99x
is_string_type[bytes32] 0.0000426064491521828 0.00004334419407631054 -1.73% -1.70% 0.98x
is_string_type[bytes33] 0.00004456398486407268 0.0000457764607491184 -2.72% -2.65% 0.97x
is_string_type[empty] 0.000043169246484758764 0.00004282226979930709 0.80% 0.81% 1.01x
is_string_type[enum] 0.00004639037451833493 0.00004641446235307344 -0.05% -0.05% 1.00x
is_string_type[int256] 0.000043840584099409255 0.00004455821350142161 -1.64% -1.61% 0.98x
is_string_type[invalid] 0.000044440856732827315 0.00004465495708805846 -0.48% -0.48% 1.00x
is_string_type[string] 0.00004266962010593754 0.000043684626185592985 -2.38% -2.32% 0.98x
is_string_type[tuple-array] 0.000044188649397385324 0.00004695114910875935 -6.25% -5.88% 0.94x
is_string_type[tuple] 0.00004267370146761312 0.00004331796869623856 -1.51% -1.49% 0.99x
is_string_type[uint256] 0.00004244959375000182 0.00004315675635875183 -1.67% -1.64% 0.98x
is_uint_type[address] 0.00023423835294057374 0.00022876361867189295 2.34% 2.39% 1.02x
is_uint_type[array] 0.0002242144511870364 0.00023243915891367812 -3.67% -3.54% 0.96x
is_uint_type[bool] 0.00020015088564464466 0.0002012007227209466 -0.52% -0.52% 0.99x
is_uint_type[bytes] 0.00021115309600729153 0.00020153019254366743 4.56% 4.77% 1.05x
is_uint_type[bytes32] 0.00023381496589461897 0.0002293316003231435 1.92% 1.95% 1.02x
is_uint_type[bytes33] 0.0002387716889737076 0.00021636275164915898 9.39% 10.36% 1.10x
is_uint_type[empty] 0.00021017235334773446 0.00020047461077656517 4.61% 4.84% 1.05x
is_uint_type[enum] 0.00021566650403091595 0.00021857231446996636 -1.35% -1.33% 0.99x
is_uint_type[int256] 0.00021705921642812143 0.0002162372969290501 0.38% 0.38% 1.00x
is_uint_type[invalid] 0.0002009336028558877 0.00020175483344138736 -0.41% -0.41% 1.00x
is_uint_type[string] 0.00022133052699429924 0.00022263023706151124 -0.59% -0.58% 0.99x
is_uint_type[tuple-array] 0.00020495216265217428 0.000204477625026966 0.23% 0.23% 1.00x
is_uint_type[tuple] 0.00020225060548580026 0.00019920092778394214 1.51% 1.53% 1.02x
is_uint_type[uint256] 0.00023131106553920123 0.000235737597617431 -1.91% -1.88% 0.98x
length_of_array_type[dynamic] 0.0001667007238330893 0.0001682563680249223 -0.93% -0.92% 0.99x
length_of_array_type[fixed] 0.00017688667061003255 0.0001794911893162824 -1.47% -1.45% 0.99x
length_of_array_type[nested] 0.00018354323663579664 0.00018551596910090367 -1.07% -1.06% 0.99x
map_abi_data 0.006379015382352089 0.005466859443114352 14.30% 16.69% 1.17x
normalize_event_input_types 0.00041797040679070473 0.000436458399548991 -4.42% -4.24% 0.96x
receive_func_abi_exists 0.00032327517734161707 0.00031925398406966194 1.24% 1.26% 1.01x
strip_abi_types 0.001621786015021721 0.0017186071769854413 -5.97% -5.63% 0.94x
sub_type_of_array_type[nested] 0.00017766917621385206 0.000184775935192013 -4.00% -3.85% 0.96x
sub_type_of_array_type[simple] 0.00016944048424482502 0.00017657300818437908 -4.21% -4.04% 0.96x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002163143249565317 0.000021877878537180397 -1.14% -1.13% 0.99x
is_hex_encoded_block_hash[invalid-g] 0.00008544420978534497 0.00006004654763977354 29.72% 42.30% 1.42x
is_hex_encoded_block_hash[none] 0.000021409737949959103 0.00002211892946875023 -3.31% -3.21% 0.97x
is_hex_encoded_block_hash[short] 0.000044981787265538454 0.000026554574172817056 40.97% 69.39% 1.69x
is_hex_encoded_block_hash[too-long] 0.00004636387586675131 0.000026638898968592263 42.54% 74.05% 1.74x
is_hex_encoded_block_hash[too-short] 0.000045517046414554835 0.000026437338555857988 41.92% 72.17% 1.72x
is_hex_encoded_block_hash[valid-a] 0.00009702054925376435 0.000072781290641664 24.98% 33.30% 1.33x
is_hex_encoded_block_hash[valid-f] 0.00009641572213669683 0.00007219409926796987 25.12% 33.55% 1.34x
is_hex_encoded_block_number[int] 0.000021096241906974567 0.000022303649506554693 -5.72% -5.41% 0.95x
is_hex_encoded_block_number[invalid-g] 0.00016462288643770054 0.00022276275853349455 -35.32% -26.10% 0.74x
is_hex_encoded_block_number[max-64-a] 0.00010769162125675249 0.00008147203218762406 24.35% 32.18% 1.32x
is_hex_encoded_block_number[max-64-f] 0.00010803152101917179 0.00008183383502637869 24.25% 32.01% 1.32x
is_hex_encoded_block_number[none] 0.00002104790204684186 0.000022173236654553033 -5.35% -5.08% 0.95x
is_hex_encoded_block_number[small] 0.00009215768626249275 0.00004560355373796823 50.52% 102.08% 2.02x
is_hex_encoded_block_number[too-long] 0.00010619369251844604 0.000059261585627717185 44.19% 79.19% 1.79x
is_predefined_block_number[bytes-latest] 0.000032511182345709144 0.000029488397406821385 9.30% 10.25% 1.10x
is_predefined_block_number[bytes-pending] 0.000032520946749888875 0.000028630602797964937 11.96% 13.59% 1.14x
is_predefined_block_number[bytes-random] 0.00003128656915688989 0.00002785940088262235 10.95% 12.30% 1.12x
is_predefined_block_number[int] 0.0000332366840413382 0.00002408910553089611 27.52% 37.97% 1.38x
is_predefined_block_number[none] 0.0001237957528028798 0.0002156478292466036 -74.20% -42.59% 0.57x
is_predefined_block_number[object] 0.00015660722771582603 0.00025175809047757924 -60.76% -37.79% 0.62x
is_predefined_block_number[str-earliest] 0.000013588595513878413 0.000009345164550272553 31.23% 45.41% 1.45x
is_predefined_block_number[str-finalized] 0.000013954939977138498 0.000009266129229814012 33.60% 50.60% 1.51x
is_predefined_block_number[str-foo] 0.000013532530312969795 0.000009140433618394872 32.46% 48.05% 1.48x
is_predefined_block_number[str-latest] 0.000013625363834131948 0.000009477070756348752 30.45% 43.77% 1.44x
is_predefined_block_number[str-pending] 0.000013642363226912021 0.000009345031598403935 31.50% 45.99% 1.46x
is_predefined_block_number[str-safe] 0.000013526456618050692 0.000009255703087890693 31.57% 46.14% 1.46x
select_method_for_block_identifier[hash-bytes] 0.000051660385942253664 0.00004096251393614453 20.71% 26.12% 1.26x
select_method_for_block_identifier[hash-hexstr] 0.00012956761511630343 0.00009190232638029206 29.07% 40.98% 1.41x
select_method_for_block_identifier[invalid-none] 0.0009190732746290776 0.0010698131465717868 -16.40% -14.09% 0.86x
select_method_for_block_identifier[invalid-object] 0.0009587838348372108 0.0011265137541788249 -17.49% -14.89% 0.85x
select_method_for_block_identifier[number-hexstr] 0.00017506345387726738 0.00008816764358358435 49.64% 98.56% 1.99x
select_method_for_block_identifier[number-int] 0.00011395721217471988 0.000059081459999182604 48.15% 92.88% 1.93x
select_method_for_block_identifier[predefined-bytes] 0.0000501508918737602 0.00004307743198551595 14.10% 16.42% 1.16x
select_method_for_block_identifier[predefined-str] 0.000027908063483970862 0.000021316514506517378 23.62% 30.92% 1.31x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.0004670189785863674 0.0005424994398610094 -16.16% -13.91% 0.86x
PropertyCheckingFactory[big-valid] 0.0004790470378800433 0.0005366825141173007 -12.03% -10.74% 0.89x
PropertyCheckingFactory[inheritance] 0.000982927636647347 0.0009594606726356837 2.39% 2.45% 1.02x
PropertyCheckingFactory[invalid] 0.0004713351976390352 0.0005419184377962764 -14.98% -13.02% 0.87x
PropertyCheckingFactory[multi-normalizer] 0.0004703929135525358 0.0005381212182123596 -14.40% -12.59% 0.87x
PropertyCheckingFactory[multi-prop] 0.000465241702824952 0.0005398408498539568 -16.03% -13.82% 0.86x
PropertyCheckingFactory[normalized] 0.00047005936566206984 0.0005356237041819342 -13.95% -12.24% 0.88x
PropertyCheckingFactory[valid] 0.0012107798651531004 0.00099907475451413 17.49% 21.19% 1.21x
verify_attr[empty] 0.0001018825574299883 0.00016172393276672742 -58.74% -37.00% 0.63x
verify_attr[found-end] 0.000011827296489208012 0.000009720620923981594 17.81% 21.67% 1.22x
verify_attr[found-start] 0.000008783083021480507 0.0000074085393804914794 15.65% 18.55% 1.19x
verify_attr[large-found] 0.00013778941314992695 0.000132361474523906 3.94% 4.10% 1.04x
verify_attr[large-notfound] 0.00020050806844260687 0.0002583386881359611 -28.84% -22.39% 0.78x
verify_attr[notfound] 0.00010508651169007644 0.00016509520561502975 -57.10% -36.35% 0.64x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006384848382465316 0.0006324311865381122 0.95% 0.96% 1.01x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007738544910333265 0.00002383655503758537 69.20% 224.65% 3.25x
percentile[100-90th] 0.00010970803983269881 0.00005420996103839823 50.59% 102.38% 2.02x
percentile[100k-99th] 0.03707312077776974 0.036920304851870846 0.41% 0.41% 1.00x
percentile[100k-median] 0.03728524681480815 0.036994080259260216 0.78% 0.79% 1.01x
percentile[10k-10th] 0.0037797354603788095 0.0036799883985243493 2.64% 2.71% 1.03x
percentile[10k-99th] 0.003754100409085223 0.003656891978100719 2.59% 2.66% 1.03x
percentile[10k-median] 0.0037557646603845743 0.003630768145459032 3.33% 3.44% 1.03x
percentile[1k-99th] 0.00047343602116417814 0.0003995016948177725 15.62% 18.51% 1.19x
percentile[1M-median] 0.60152166580001 0.6019023113999538 -0.06% -0.06% 1.00x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012427530618436623 0.000006546019892776882 47.33% 89.85% 1.90x
to_bytes_if_hex[empty-str] 0.00030725119702395914 0.0000372528640139275 87.88% 724.77% 8.25x
to_bytes_if_hex[hexstr] 0.0003328803933293483 0.000044145734529635586 86.74% 654.05% 7.54x
to_bytes_if_hex[large-hex] 0.00034381286945803154 0.000051645071721967975 84.98% 565.72% 6.66x
to_bytes_if_hex[non-prefixed-hex] 0.00031861743008322125 0.000041721051347466144 86.91% 663.69% 7.64x
to_bytes_if_hex[nothex] 0.0004176679064755717 0.0002673476515210792 35.99% 56.23% 1.56x
to_bytes_if_hex[unicode] 0.00042554219552751383 0.0002731798422058728 35.80% 55.77% 1.56x
to_bytes_if_hex[zero] 0.0003338184953227848 0.00004450310265050472 86.67% 650.10% 7.50x
to_hex_if_bytes[bytes] 0.00022304991972213383 0.00004999531238969449 77.59% 346.14% 4.46x
to_hex_if_bytes[empty-bytes] 0.0002111801418570538 0.00004006442477300118 81.03% 427.10% 5.27x
to_hex_if_bytes[empty-str] 0.0001011932045266129 0.00018827944878429796 -86.06% -46.25% 0.54x
to_hex_if_bytes[hexstr] 0.0002847167031753391 0.000022960506359114937 91.94% 1140.03% 12.40x
to_hex_if_bytes[large-bytes] 0.00022695699999913333 0.00005240679974783506 76.91% 333.07% 4.33x
to_hex_if_bytes[non-prefixed-hex] 0.00010461187846061635 0.00018936373717625736 -81.02% -44.76% 0.55x
to_hex_if_bytes[not-hex] 0.00010498478885550751 0.00018938683081474056 -80.39% -44.57% 0.55x
to_hex_if_bytes[unicode] 0.0001100568983279145 0.00019823456325573628 -80.12% -44.48% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0003047586902425246 0.00009933417557354676 67.41% 206.80% 3.07x
all_in_dict[empty-dict] 0.00026093599947412874 0.0000748053690346905 71.33% 248.82% 3.49x
all_in_dict[empty-list] 0.00026122579889252523 0.00008563631296434597 67.22% 205.04% 3.05x
all_in_dict[mixed-types] 0.00030967840950292774 0.000102495797225401 66.90% 202.14% 3.02x
all_in_dict[no-overlap] 0.0002778275850436673 0.00008768199017976184 68.44% 216.86% 3.17x
all_in_dict[none-in] 0.0002780493068052516 0.00008690183884270823 68.75% 219.96% 3.20x
all_in_dict[one-in] 0.0002837903324796097 0.00009115688479063646 67.88% 211.32% 3.11x
all_in_dict[partial-overlap] 0.00031691119732623214 0.00009860322672473085 68.89% 221.40% 3.21x
all_in_dict[value-none] 0.000284222865082703 0.00009253607833735662 67.44% 207.15% 3.07x
any_in_dict[all-in] 0.00028571459523618614 0.00008986844567768168 68.55% 217.93% 3.18x
any_in_dict[empty-dict] 0.00030460697961162426 0.00008869409404498396 70.88% 243.44% 3.43x
any_in_dict[empty-list] 0.00026120278360758966 0.00008615296678452841 67.02% 203.18% 3.03x
any_in_dict[mixed-types] 0.00028021225598590224 0.00009060034718546979 67.67% 209.28% 3.09x
any_in_dict[no-overlap] 0.0003351564924839913 0.00010315580104252053 69.22% 224.90% 3.25x
any_in_dict[none-in] 0.0002903593156807073 0.00009183559158019717 68.37% 216.17% 3.16x
any_in_dict[one-in] 0.0002810953604271033 0.00008853657443429797 68.50% 217.49% 3.17x
any_in_dict[partial-overlap] 0.000283156820176331 0.00008929260640993058 68.47% 217.11% 3.17x
any_in_dict[value-none] 0.00028327330139457906 0.00008868873670995468 68.69% 219.40% 3.19x
either_set_is_a_subset[both-empty] 0.00016930543079130524 0.0001542171289601456 8.91% 9.78% 1.10x
either_set_is_a_subset[empty-set1] 0.00016929296623722668 0.00015398501459923017 9.04% 9.94% 1.10x
either_set_is_a_subset[empty-set2] 0.00025330937325170413 0.00025241988035244967 0.35% 0.35% 1.00x
either_set_is_a_subset[identical] 0.0001885097616322453 0.00017213910639046545 8.68% 9.51% 1.10x
either_set_is_a_subset[mixed-types] 0.00019334398066365218 0.0001766392929971394 8.64% 9.46% 1.09x
either_set_is_a_subset[not-subset] 0.00027160815936495527 0.00025716934311581746 5.32% 5.61% 1.06x
either_set_is_a_subset[partial-overlap] 0.0002935347203947812 0.00027860816855479833 5.09% 5.36% 1.05x
either_set_is_a_subset[subset] 0.00019158538744886366 0.00017622358401219953 8.02% 8.72% 1.09x
either_set_is_a_subset[superset] 0.0002973658839553433 0.0002914319118424033 2.00% 2.04% 1.02x
none_in_dict[all-in] 0.0002977278682421831 0.00009332294671991874 68.65% 219.03% 3.19x
none_in_dict[empty-dict] 0.0003241786309788182 0.00009080622588035187 71.99% 257.00% 3.57x
none_in_dict[empty-list] 0.0002770497736656668 0.0000882486847163862 68.15% 213.94% 3.14x
none_in_dict[mixed-types] 0.00030009130556802146 0.00009208009702712052 69.32% 225.90% 3.26x
none_in_dict[no-overlap] 0.00034172420164116916 0.00010568991104263673 69.07% 223.33% 3.23x
none_in_dict[none-in] 0.0003044715750947989 0.00009457313569193271 68.94% 221.94% 3.22x
none_in_dict[one-in] 0.0002947709368280707 0.00009104094707977948 69.11% 223.78% 3.24x
none_in_dict[partial-overlap] 0.0003005962681631671 0.00009266274195271349 69.17% 224.40% 3.24x
none_in_dict[value-none] 0.0002996032478622249 0.00009106201807214898 69.61% 229.01% 3.29x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014647282937771896 0.0014779539208586894 -0.90% -0.89% 0.99x
attributedict_hash[flat] 0.0011206613115061345 0.0010925590656133185 2.51% 2.57% 1.03x
attributedict_hash[nested] 0.0017225043462357982 0.0017315420388541725 -0.52% -0.52% 0.99x
attributedict_init[empty] 0.00008383003359451035 0.00008429411070976964 -0.55% -0.55% 0.99x
attributedict_init[large] 0.0001327376867618531 0.00013198981577865177 0.56% 0.57% 1.01x
attributedict_init[small] 0.00009033030240427947 0.00008995400323955313 0.42% 0.42% 1.00x
mutableattributedict_delitem 0.0004018903157198307 0.00040415522732629067 -0.56% -0.56% 0.99x
mutableattributedict_setitem 0.0003358745810126702 0.00033863454959274527 -0.82% -0.82% 0.99x
namedelementonion_add 0.008676400666596843 0.029059204531906083 -234.92% -70.14% 0.30x
namedelementonion_as_tuple_of_middleware 0.00015048542656758963 0.00014785227033286858 1.75% 1.78% 1.02x
namedelementonion_contains 0.000030231592703137396 0.00003042163282210059 -0.63% -0.62% 0.99x
namedelementonion_getitem 0.000027033700395174123 0.000026602524698711394 1.59% 1.62% 1.02x
namedelementonion_init[callables2] 0.0001266923731363896 0.00013016453703834898 -2.74% -2.67% 0.97x
namedelementonion_init[callables3] 0.0001613493927091852 0.0001647364416358817 -2.10% -2.06% 0.98x
namedelementonion_init[empty] 0.000043349373783916275 0.00004333369702298443 0.04% 0.04% 1.00x
namedelementonion_inject 0.030127123716053496 0.03564589655555261 -18.32% -15.48% 0.85x
namedelementonion_iter 0.0001527692375005625 0.00015348785914737258 -0.47% -0.47% 1.00x
namedelementonion_remove 0.0006660556524444168 0.0006536773113031371 1.86% 1.89% 1.02x
namedelementonion_replace 0.002546046460933482 0.0025457224285685685 0.01% 0.01% 1.00x
readableattributedict_getitem[large] 0.000015433747873402963 0.000015417151553893504 0.11% 0.11% 1.00x
readableattributedict_getitem[small] 0.000014450170280883651 0.00001473430653422267 -1.97% -1.93% 0.98x
readableattributedict_init[empty] 0.00005164174425136766 0.00005167898862833069 -0.07% -0.07% 1.00x
readableattributedict_init[large] 0.00008633600161891185 0.00008618930191871657 0.17% 0.17% 1.00x
readableattributedict_init[small] 0.000057085497103216005 0.00005707285393324359 0.02% 0.02% 1.00x
readableattributedict_recursive[list-in-dict] 0.0009000084342281832 0.0008867807972498475 1.47% 1.49% 1.01x
readableattributedict_recursive[nested-dict] 0.0009232578208798956 0.0009089151828686036 1.55% 1.58% 1.02x
readableattributedict_recursive[set] 0.0004678465070009903 0.0004640970072382127 0.80% 0.81% 1.01x
tupleize_lists_nested[list-in-dict] 0.0008662648708526598 0.0008611689897685258 0.59% 0.59% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.0009532711306362468 0.0009471867856441262 0.64% 0.64% 1.01x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003336940623849933 0.00024657025006945206 26.11% 35.33% 1.35x
simplecache_cache[100] 0.00267635153369276 0.0019313949465359288 27.83% 38.57% 1.39x
simplecache_cache[1000] 0.027327782945926752 0.018697050148152476 31.58% 46.16% 1.46x
simplecache_eviction[10] 0.0005739546169103056 0.0005736705523451613 0.05% 0.05% 1.00x
simplecache_eviction[100] 0.005108690533333151 0.005114936785716685 -0.12% -0.12% 1.00x
simplecache_pop[10] 0.00045347731627665524 0.00036124109159878324 20.34% 25.53% 1.26x
simplecache_pop[100] 0.003807671950189998 0.0029180963215353815 23.36% 30.48% 1.30x
simplecache_retrieval[10] 0.00009126301577973311 0.000056989458829919 37.55% 60.14% 1.60x
simplecache_retrieval[100] 0.0008037680844942118 0.0004469689058083357 44.39% 79.83% 1.80x

@github-actions
Copy link

Pytest Benchmark Diff

ens/base_ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_valid_name[] 0.000001805858223556594 0.0000010379134424432099 42.53% 73.99% 1.74x
is_valid_name[a..eth] 0.000024722021222779564 0.00003122913899780866 -26.32% -20.84% 0.79x
is_valid_name[a.eth..] 0.00002536459649177839 0.00003127019724136666 -23.28% -18.89% 0.81x
is_valid_name[a.eth.] 0.00002507467666687646 0.00003148255847548726 -25.56% -20.35% 0.80x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22904836440000054 0.26936290460000123 -17.60% -14.97% 0.85x
is_valid_name[alice.eth] 0.010817379621053795 0.012027212024094755 -11.18% -10.06% 0.90x
is_valid_name[bob.eth] 0.00653881762179509 0.00720976156428504 -10.26% -9.31% 0.91x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2697629834000111 0.2662404342000002 1.31% 1.32% 1.01x
is_valid_name[subdomain.alice.eth] 0.030894590515149537 0.035682406785711454 -15.50% -13.42% 0.87x
labelhash[] 0.00013292608070310328 0.00008037393426956656 39.53% 65.38% 1.65x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22287414780000175 0.2618827949999968 -17.50% -14.90% 0.85x
labelhash[alice] 0.007882778209677331 0.008593524121737247 -9.02% -8.27% 0.92x
labelhash[bob] 0.0033405812561399847 0.0037142872105260906 -11.19% -10.06% 0.90x
labelhash[emoji\U0001f468\U0001f3fb] 0.281790393 0.259264089200002 7.99% 8.69% 1.09x
labelhash[xn--fiqs8s] 0.02383628852380969 0.028108387999998916 -17.92% -15.20% 0.85x
namehash[] 0.000009585379502308467 0.000003295646281345096 65.62% 190.85% 2.91x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4781901271999914 0.48369390080000585 -1.15% -1.14% 0.99x
namehash[alice.eth] 0.023010383782609948 0.02319771606666576 -0.81% -0.81% 0.99x
namehash[bob.eth] 0.013915001452054194 0.01393533552054975 -0.15% -0.15% 1.00x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5374865309999961 0.4664804813999922 13.21% 15.22% 1.15x
namehash[subdomain.alice.eth] 0.06454858531249741 0.06722419018749726 -4.15% -3.98% 0.96x
nameprep[] 0.00000830252893000301 0.0000031014407751070085 62.64% 167.70% 2.68x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23051878719999763 0.25141794699999875 -9.07% -8.31% 0.92x
nameprep[alice.eth] 0.010565504371133273 0.011142506838709668 -5.46% -5.18% 0.95x
nameprep[bob.eth] 0.006466845535031975 0.0068984117290312955 -6.67% -6.26% 0.94x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.2698385965999989 0.23728646619999835 12.06% 13.72% 1.14x
nameprep[subdomain.alice.eth] 0.030746963909092356 0.033665232129035966 -9.49% -8.67% 0.91x
parent[] 9.771884780800326e-7 8.81404261945465e-7 9.80% 10.87% 1.11x
parent[bar.eth] 0.0000037727283408265417 0.0000025903719773566594 31.34% 45.64% 1.46x
parent[eth] 0.000002033698854530516 0.0000014656478792643468 27.93% 38.76% 1.39x
parent[foo.bar.eth] 0.000004333540803116445 0.0000032122734749305193 25.87% 34.91% 1.35x
parent[sub.sub2.foo.bar.eth] 0.000005114382783746035 0.000003902993718671943 23.69% 31.04% 1.31x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005030983601927723 0.00001720113465368569 65.81% 192.48% 2.92x
reverse_domain[0x1111111111111111111111111111111111111111] 0.000050834016835383085 0.00001704820827526542 66.46% 198.18% 2.98x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005140598988018889 0.00001721032141008143 66.52% 198.69% 2.99x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013764217789788322 0.000013980977378400217 -1.57% -1.55% 0.98x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013895117142189425 0.000013881699470953632 0.10% 0.10% 1.00x
address[alice.eth] 0.000014070306470661048 0.000013936327915111343 0.95% 0.96% 1.01x
address[bob.eth] 0.000014038796769006936 0.000013816714761667225 1.58% 1.61% 1.02x
address[emoji\U0001f468\U0001f3fb.eth] 0.000013751581909063684 0.000013910070491315529 -1.15% -1.14% 0.99x
address[subdomain.alice.eth] 0.000013822152779399025 0.00001393175899620533 -0.79% -0.79% 0.99x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014644871522883818 0.0001460772782541553 0.25% 0.25% 1.00x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014443924048810345 0.00014781419077247466 -2.34% -2.28% 0.98x
normalize_name_ensip15[alice.eth] 0.00014825233099625932 0.00014653433388580792 1.16% 1.17% 1.01x
normalize_name_ensip15[bob.eth] 0.00014485963542690681 0.00014651302483837476 -1.14% -1.13% 0.99x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014520452101341423 0.0001449082809365607 0.20% 0.20% 1.00x
normalize_name_ensip15[subdomain.alice.eth] 0.00014740608253066898 0.0001466898308144783 0.49% 0.49% 1.00x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.002483698221106148 0.0008249230193443155 66.79% 201.08% 3.01x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002540422720101447 0.0008028759251020448 68.40% 216.42% 3.16x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.002522659193383795 0.0008224610728357769 67.40% 206.72% 3.07x
dns_encode_name[] 0.000006552520860890958 0.000004387952953961506 33.03% 49.33% 1.49x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23640822979998574 0.27688801479999936 -17.12% -14.62% 0.85x
dns_encode_name[alice.eth] 0.011017821851065163 0.012227512878053364 -10.98% -9.89% 0.90x
dns_encode_name[bob.eth] 0.006635847706667543 0.007366864971012599 -11.02% -9.92% 0.90x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2669229934000327 0.25484005019999356 4.53% 4.74% 1.05x
dns_encode_name[subdomain.alice.eth] 0.03207334799999906 0.03693870407143355 -15.17% -13.17% 0.87x
estimate_auction_start_gas[labels0] 0.00007424299402213866 0.00005303328415081583 28.57% 39.99% 1.40x
estimate_auction_start_gas[labels1] 0.00007401399303056668 0.000053142482037688425 28.20% 39.27% 1.39x
estimate_auction_start_gas[labels2] 0.00006742295119597528 0.00005326433428502294 21.00% 26.58% 1.27x
is_empty_name[ ] 0.00005567281579389202 0.000039636753547295395 28.80% 40.46% 1.40x
is_empty_name[.] 0.000055302616350910515 0.00004188280174196241 24.27% 32.04% 1.32x
is_empty_name[0] 0.000056514300713416565 0.000039329202009631186 30.41% 43.70% 1.44x
is_empty_name[1] 0.0000552792041922551 0.000038521337775750986 30.31% 43.50% 1.44x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005808269858016713 0.00003931208640508945 32.32% 47.75% 1.48x
is_empty_name[alice.eth] 0.00005806111059408645 0.00003985288420710158 31.36% 45.69% 1.46x
is_empty_name[bob.eth] 0.000058027828315360636 0.00003959472703430261 31.77% 46.55% 1.47x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00005848970774712819 0.00004016044770158189 31.34% 45.64% 1.46x
is_empty_name[subdomain.alice.eth] 0.00005760127657187246 0.00003940006090468592 31.60% 46.20% 1.46x
is_none_or_zero_address[] 0.00004431496418557939 0.0000409997898913389 7.48% 8.09% 1.08x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00004962582562650175 0.000050696684498380425 -2.16% -2.11% 0.98x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.000053081273050645186 0.00004985697748669055 6.07% 6.47% 1.06x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005402542788640667 0.000049667027763758446 8.07% 8.78% 1.09x
is_valid_ens_name[] 0.0000018653504061848385 0.000001515408995977315 18.76% 23.09% 1.23x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23355245300000432 0.24003649800000632 -2.78% -2.70% 0.97x
is_valid_ens_name[alice.eth] 0.010345557854164985 0.010827126804346306 -4.65% -4.45% 0.96x
is_valid_ens_name[bar] 0.000001909608598048456 0.0000014722513290298473 22.90% 29.71% 1.30x
is_valid_ens_name[baz] 0.0000018622115468597152 0.0000014822522261700835 20.40% 25.63% 1.26x
is_valid_ens_name[bob.eth] 0.0064084932405065395 0.006585698251610445 -2.77% -2.69% 0.97x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.264103586400006 0.22229458860000478 15.83% 18.81% 1.19x
is_valid_ens_name[foo] 0.000001916555364749745 0.0000014663241364380428 23.49% 30.70% 1.31x
is_valid_ens_name[subdomain.alice.eth] 0.030998606030307616 0.032706289999992116 -5.51% -5.22% 0.95x
is_valid_name[] 0.000001585355335191311 0.0000010780512209357382 32.00% 47.06% 1.47x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23282005420001042 0.24677444220000097 -5.99% -5.65% 0.94x
is_valid_name[alice.eth] 0.010623229693876208 0.011006290855552455 -3.61% -3.48% 0.97x
is_valid_name[bob.eth] 0.00647924574534302 0.006980750865774104 -7.74% -7.18% 0.93x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2648802597999861 0.22112806220001174 16.52% 19.79% 1.20x
is_valid_name[subdomain.alice.eth] 0.03144755251515342 0.03187337731249862 -1.35% -1.34% 0.99x
label_to_hash[] 0.0001327831452958201 0.00008074417847438891 39.19% 64.45% 1.64x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23506489300001476 0.27159963159998596 -15.54% -13.45% 0.87x
label_to_hash[alice] 0.007775105366411877 0.008797603258932338 -13.15% -11.62% 0.88x
label_to_hash[bob] 0.0036371788181831285 0.0037680732272721857 -3.60% -3.47% 0.97x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2883394845999874 0.24746925419999571 14.17% 16.52% 1.17x
label_to_hash[xn--fiqs8s] 0.024555996404762664 0.028590244257142267 -16.43% -14.11% 0.86x
normal_name_to_hash[] 0.0000016738220240243319 9.594400674175316e-7 42.68% 74.46% 1.74x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23924790739999935 0.27304686380000476 -14.13% -12.38% 0.88x
normal_name_to_hash[alice.eth] 0.011819372380949338 0.012619904358974766 -6.77% -6.34% 0.94x
normal_name_to_hash[bob.eth] 0.0074494622573549035 0.007689066403100316 -3.22% -3.12% 0.97x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2858290796000119 0.24844291160000012 13.08% 15.05% 1.15x
normal_name_to_hash[subdomain.alice.eth] 0.03265854980645049 0.036791666749999355 -12.66% -11.23% 0.89x
normalize_name[] 0.000008004227623446421 0.000003071843611857076 61.62% 160.57% 2.61x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23442667679998977 0.23860494560000234 -1.78% -1.75% 0.98x
normalize_name[alice.eth] 0.010696106546392982 0.011189191967030257 -4.61% -4.41% 0.96x
normalize_name[bob.eth] 0.0064308436518993985 0.006594600596154138 -2.55% -2.48% 0.98x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.26394990600000484 0.2223077470000135 15.78% 18.73% 1.19x
normalize_name[subdomain.alice.eth] 0.031586656060607184 0.032005210687504615 -1.33% -1.31% 0.99x
raw_name_to_hash[] 0.000009294602694697281 0.0000032898044265440467 64.61% 182.53% 2.83x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.47296060899999476 0.4949100069999986 -4.64% -4.44% 0.96x
raw_name_to_hash[alice.eth] 0.02255035023913281 0.02293944095555389 -1.73% -1.70% 0.98x
raw_name_to_hash[bob.eth] 0.013933745958902581 0.014114277760559386 -1.30% -1.28% 0.99x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5369473667999728 0.487952261800001 9.12% 10.04% 1.10x
raw_name_to_hash[subdomain.alice.eth] 0.06656265426667005 0.06903304766667967 -3.71% -3.58% 0.96x
sha3_text[0] 0.00011691224281136714 0.0000750110907130642 35.84% 55.86% 1.56x
sha3_text[1] 0.00011548746890582452 0.00007431448407797267 35.65% 55.40% 1.55x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012576627107731015 0.00008276659309375866 34.19% 51.95% 1.52x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012574232307688927 0.00008250105169173733 34.39% 52.41% 1.52x
sha3_text[alice.eth] 0.00012849598736318634 0.00008257177377646054 35.74% 55.62% 1.56x
sha3_text[alice] 0.00012660026307478783 0.00008236910379539534 34.94% 53.70% 1.54x
sha3_text[bob.eth] 0.00012902969213731696 0.00008242048369821977 36.12% 56.55% 1.57x
sha3_text[bob] 0.00012678359102496537 0.00008245819702143143 34.96% 53.75% 1.54x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00013106222562232907 0.0000832935409836962 36.45% 57.35% 1.57x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012714867882912604 0.00008325827127291596 34.52% 52.72% 1.53x
sha3_text[subdomain.alice.eth] 0.00012712239622685595 0.00008250346858548673 35.10% 54.08% 1.54x
sha3_text[xn--fiqs8s] 0.0001266294800001431 0.00008253283459109718 34.82% 53.43% 1.53x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002875901757740052 0.0002494973475569996 13.25% 15.27% 1.15x
fallback_func_abi_exists 0.0002526620927054063 0.0002457178373254741 2.75% 2.83% 1.03x
filter_by_argument_name[a] 0.0006633427074221275 0.0003870261003157883 41.66% 71.39% 1.71x
filter_by_argument_name[a+b] 0.0006857016586930326 0.0004080686445966467 40.49% 68.04% 1.68x
filter_by_argument_name[b] 0.0006623731055487146 0.00038306206779673756 42.17% 72.92% 1.73x
filter_by_argument_name[c] 0.000660004726584274 0.0003806144497394832 42.33% 73.41% 1.73x
filter_by_argument_name[notfound] 0.0006655104140653734 0.00037833414530233844 43.15% 75.91% 1.76x
filter_by_argument_type[address] 0.0005814654229614192 0.0005946334593435996 -2.26% -2.21% 0.98x
filter_by_argument_type[notatype] 0.0005760770416652867 0.000585495074618019 -1.63% -1.61% 0.98x
filter_by_argument_type[string] 0.0005814695376067558 0.0005917071060517598 -1.76% -1.73% 0.98x
filter_by_argument_type[uint+address] 0.0005895044756263272 0.0005781308307782675 1.93% 1.97% 1.02x
filter_by_argument_type[uint256] 0.0005796212521960906 0.0005874701142087449 -1.35% -1.34% 0.99x
filter_by_types[constructor] 0.00003784658272709106 0.000037148661230876826 1.84% 1.88% 1.02x
filter_by_types[event] 0.00003754849800775815 0.000037504955065261494 0.12% 0.12% 1.00x
filter_by_types[fallback] 0.00003776089085857015 0.00003783662987979934 -0.20% -0.20% 1.00x
filter_by_types[func+event] 0.000041934511379879 0.0000422111769037783 -0.66% -0.66% 0.99x
filter_by_types[function] 0.00003766773278811703 0.00003772540238725422 -0.15% -0.15% 1.00x
filter_by_types[none] 0.00003667412639491395 0.00003683736747972755 -0.45% -0.44% 1.00x
filter_by_types[receive] 0.00003873909007007257 0.00003916332072284509 -1.10% -1.08% 0.99x
find_constructor_abi_element_by_type 0.0000340180395931645 0.000033952139685815096 0.19% 0.19% 1.00x
get_abi_element_signature[custom] 0.00005245050689957994 0.000050055403348334504 4.57% 4.78% 1.05x
get_abi_element_signature[fallback] 0.000021288642931481336 0.000021203942607400686 0.40% 0.40% 1.00x
get_abi_element_signature[receive] 0.000028104079910881983 0.00002827025146437768 -0.59% -0.59% 0.99x
get_abi_element_signature[transfer] 0.00005843396242627638 0.000055668189892105515 4.73% 4.97% 1.05x
get_name_from_abi_element_identifier[custom] 0.00004226752367446747 0.00003795795384362168 10.20% 11.35% 1.11x
get_name_from_abi_element_identifier[fallback] 0.00001208883399677909 0.000012063508050435536 0.21% 0.21% 1.00x
get_name_from_abi_element_identifier[func] 0.000041890447303135606 0.000038244122308544194 8.70% 9.53% 1.10x
get_name_from_abi_element_identifier[receive] 0.000018433350727021987 0.000018511730059176656 -0.43% -0.42% 1.00x
get_tuple_type_str_parts[not-tuple] 0.000022722122739996308 0.000022619095015443096 0.45% 0.46% 1.00x
get_tuple_type_str_parts[one-dim] 0.00007228696040353656 0.0000722199027299699 0.09% 0.09% 1.00x
get_tuple_type_str_parts[plain] 0.000048650671689958675 0.00004877072741125077 -0.25% -0.25% 1.00x
get_tuple_type_str_parts[two-dim] 0.00008684153935868853 0.00009270656699253516 -6.75% -6.33% 0.94x
is_address_type[address] 0.0000423737949878336 0.00004301484234543697 -1.51% -1.49% 0.99x
is_address_type[array] 0.00004670420951523348 0.00004702442658024934 -0.69% -0.68% 0.99x
is_address_type[bool] 0.00004316978456655596 0.00004325836710207888 -0.21% -0.20% 1.00x
is_address_type[bytes] 0.00004305271709373906 0.000043030990921248966 0.05% 0.05% 1.00x
is_address_type[bytes32] 0.0000445709763367869 0.000045401712788823876 -1.86% -1.83% 0.98x
is_address_type[bytes33] 0.00004513604266955906 0.000046137052750015485 -2.22% -2.17% 0.98x
is_address_type[empty] 0.00004329753700602636 0.00004316249969491252 0.31% 0.31% 1.00x
is_address_type[enum] 0.00004468329667737207 0.00004376682353476442 2.05% 2.09% 1.02x
is_address_type[int256] 0.00004349303989477962 0.0000433959234060111 0.22% 0.22% 1.00x
is_address_type[invalid] 0.00004504490172358443 0.00004438989234858651 1.45% 1.48% 1.01x
is_address_type[string] 0.00004314183173889305 0.0000437476952914991 -1.40% -1.38% 0.99x
is_address_type[tuple-array] 0.000044693451121428645 0.00004431624645406567 0.84% 0.85% 1.01x
is_address_type[tuple] 0.00004329003474823218 0.000043392433542830556 -0.24% -0.24% 1.00x
is_address_type[uint256] 0.00004412004133585618 0.00004506872279024246 -2.15% -2.10% 0.98x
is_array_type[address] 0.0003899336884357616 0.00040028871886127183 -2.66% -2.59% 0.97x
is_array_type[array] 0.0004008453944950458 0.0004128365194750044 -2.99% -2.90% 0.97x
is_array_type[bool] 0.0003599473738129769 0.0003698447077272668 -2.75% -2.68% 0.97x
is_array_type[bytes] 0.00036620576355594767 0.0003848872314493186 -5.10% -4.85% 0.95x
is_array_type[bytes32] 0.0003899461684924697 0.0003984371579400909 -2.18% -2.13% 0.98x
is_array_type[bytes33] 0.0003860686111761984 0.0004013592868096658 -3.96% -3.81% 0.96x
is_array_type[empty] 0.00029827083761977454 0.0003139994190968038 -5.27% -5.01% 0.95x
is_array_type[enum] 0.0003754296142074375 0.00038992556813756906 -3.86% -3.72% 0.96x
is_array_type[int256] 0.0003778675043511348 0.00039461311535569265 -4.43% -4.24% 0.96x
is_array_type[invalid] 0.0003959947748893576 0.0004065021965675079 -2.65% -2.58% 0.97x
is_array_type[string] 0.0003778718072815268 0.000388636932636918 -2.85% -2.77% 0.97x
is_array_type[tuple-array] 0.00039592363354397576 0.00041390655162043045 -4.54% -4.34% 0.96x
is_array_type[tuple] 0.0003620059963335395 0.000380831073691541 -5.20% -4.94% 0.95x
is_array_type[uint256] 0.0003887506775332295 0.0003939688727265675 -1.34% -1.32% 0.99x
is_bool_type[address] 0.00004261711708922198 0.000042927983593461484 -0.73% -0.72% 0.99x
is_bool_type[array] 0.00004441967775466705 0.00004454718122757402 -0.29% -0.29% 1.00x
is_bool_type[bool] 0.00004277577419488266 0.000042764450024579646 0.03% 0.03% 1.00x
is_bool_type[bytes] 0.00004259157797497244 0.000043326572513901174 -1.73% -1.70% 0.98x
is_bool_type[bytes32] 0.00004302343715613938 0.00004251082712478512 1.19% 1.21% 1.01x
is_bool_type[bytes33] 0.00004449102707705709 0.00004491608312699124 -0.96% -0.95% 0.99x
is_bool_type[empty] 0.00004287712279195052 0.000043907748681164324 -2.40% -2.35% 0.98x
is_bool_type[enum] 0.00004458416886312892 0.000044528534702823506 0.12% 0.12% 1.00x
is_bool_type[int256] 0.00004300749868452189 0.00004272611205472865 0.65% 0.66% 1.01x
is_bool_type[invalid] 0.000044704354969267715 0.00004511216262756307 -0.91% -0.90% 0.99x
is_bool_type[string] 0.00004308593997634693 0.00004299561600892058 0.21% 0.21% 1.00x
is_bool_type[tuple-array] 0.000044346987643353845 0.00004498210758108623 -1.43% -1.41% 0.99x
is_bool_type[tuple] 0.00004282217069190293 0.00004383257445288334 -2.36% -2.31% 0.98x
is_bool_type[uint256] 0.00004272836803030648 0.00004263706729879577 0.21% 0.21% 1.00x
is_bytes_type[address] 0.00032949172938540256 0.00035762679241976565 -8.54% -7.87% 0.92x
is_bytes_type[array] 0.00029973904050180784 0.0003410437733286051 -13.78% -12.11% 0.88x
is_bytes_type[bool] 0.0002892370424509257 0.0003077810957648511 -6.41% -6.03% 0.94x
is_bytes_type[bytes] 0.00027996028294802346 0.00030183439877135465 -7.81% -7.25% 0.93x
is_bytes_type[bytes32] 0.0003159779946474996 0.0003233427781509542 -2.33% -2.28% 0.98x
is_bytes_type[bytes33] 0.00032116025153404063 0.0003379129976770769 -5.22% -4.96% 0.95x
is_bytes_type[empty] 0.0002926803604256235 0.0003036106764549928 -3.73% -3.60% 0.96x
is_bytes_type[enum] 0.00030110810793042276 0.00032058666347033947 -6.47% -6.08% 0.94x
is_bytes_type[int256] 0.00031507922567298107 0.0003235802979848972 -2.70% -2.63% 0.97x
is_bytes_type[invalid] 0.0002845843496874425 0.0003083164387180773 -8.34% -7.70% 0.92x
is_bytes_type[string] 0.0003141658821325956 0.000319108633469657 -1.57% -1.55% 0.98x
is_bytes_type[tuple-array] 0.00028043869594455425 0.00031013093075907137 -10.59% -9.57% 0.90x
is_bytes_type[tuple] 0.00029514857855633344 0.0003097567279253812 -4.95% -4.72% 0.95x
is_bytes_type[uint256] 0.0003336771457432302 0.0003515887836413935 -5.37% -5.09% 0.95x
is_int_type[address] 0.00019869022604593716 0.00020658427335406969 -3.97% -3.82% 0.96x
is_int_type[array] 0.00020098580377303778 0.00020501628203488807 -2.01% -1.97% 0.98x
is_int_type[bool] 0.00021010274275984125 0.00020280912845236835 3.47% 3.60% 1.04x
is_int_type[bytes] 0.00022107076914658547 0.00022759587559711538 -2.95% -2.87% 0.97x
is_int_type[bytes32] 0.00020007985408802075 0.00020644908786345877 -3.18% -3.09% 0.97x
is_int_type[bytes33] 0.0002032254222167155 0.0002023970178385764 0.41% 0.41% 1.00x
is_int_type[empty] 0.00020155350570021463 0.00020489738870719854 -1.66% -1.63% 0.98x
is_int_type[enum] 0.00021782583882954323 0.00023156092603851072 -6.31% -5.93% 0.94x
is_int_type[int256] 0.00023113761254482172 0.000238667219270955 -3.26% -3.15% 0.97x
is_int_type[invalid] 0.00020209479462300357 0.00020083909552079008 0.62% 0.63% 1.01x
is_int_type[string] 0.00022880266994387578 0.00023108885658234936 -1.00% -0.99% 0.99x
is_int_type[tuple-array] 0.0002006781097812101 0.00020098180711970303 -0.15% -0.15% 1.00x
is_int_type[tuple] 0.00021179200530294394 0.00021661488812608327 -2.28% -2.23% 0.98x
is_int_type[uint256] 0.0001985551865242483 0.0002114343833594718 -6.49% -6.09% 0.94x
is_probably_enum[address] 0.00006422102380111296 0.00006745110815235338 -5.03% -4.79% 0.95x
is_probably_enum[empty] 0.00006242716867154258 0.00006268451502661487 -0.41% -0.41% 1.00x
is_probably_enum[enum] 0.00006401323806536065 0.00006665166790379654 -4.12% -3.96% 0.96x
is_probably_enum[lib-dot] 0.00006623236521452054 0.00006761405301790156 -2.09% -2.04% 0.98x
is_probably_enum[lib-enum] 0.000074183640631825 0.00007556186416859617 -1.86% -1.82% 0.98x
is_probably_enum[uint256] 0.0000647096602727104 0.00006706099651659438 -3.63% -3.51% 0.96x
is_recognized_type[address] 0.00007492650815680804 0.00007824277309738852 -4.43% -4.24% 0.96x
is_recognized_type[array] 0.00007999503671451474 0.00008471831814918003 -5.90% -5.58% 0.94x
is_recognized_type[bool] 0.00007919480373759619 0.00007828767029965098 1.15% 1.16% 1.01x
is_recognized_type[bytes] 0.00014872448162028102 0.00015258853705365613 -2.60% -2.53% 0.97x
is_recognized_type[bytes32] 0.00014540184479890414 0.00015099411060863474 -3.85% -3.70% 0.96x
is_recognized_type[bytes33] 0.0001343640083367755 0.00014171566005503623 -5.47% -5.19% 0.95x
is_recognized_type[empty] 0.000058710510537257244 0.00006248093177852888 -6.42% -6.03% 0.94x
is_recognized_type[enum] 0.00007984174079025123 0.0000865957608970698 -8.46% -7.80% 0.92x
is_recognized_type[int256] 0.00012105104904902677 0.00012677067756115812 -4.72% -4.51% 0.95x
is_recognized_type[invalid] 0.000080262111627992 0.00008674400518034405 -8.08% -7.47% 0.93x
is_recognized_type[string] 0.00009674681940578267 0.00010451643928703848 -8.03% -7.43% 0.93x
is_recognized_type[tuple-array] 0.00008069445433891768 0.0000867400766211726 -7.49% -6.97% 0.93x
is_recognized_type[tuple] 0.0000802561474947893 0.00008646003106509682 -7.73% -7.18% 0.93x
is_recognized_type[uint256] 0.00012561186142608875 0.00012596092806066675 -0.28% -0.28% 1.00x
is_string_type[address] 0.0000437544267643811 0.00004389711734346463 -0.33% -0.33% 1.00x
is_string_type[array] 0.0000456347295514992 0.000044989114644748934 1.41% 1.44% 1.01x
is_string_type[bool] 0.00004393636275660884 0.00004308847945483807 1.93% 1.97% 1.02x
is_string_type[bytes] 0.00004365613928745312 0.00004390554103735122 -0.57% -0.57% 0.99x
is_string_type[bytes32] 0.00004407623856959099 0.00004378781619557269 0.65% 0.66% 1.01x
is_string_type[bytes33] 0.00004470150787433858 0.00004514288986692284 -0.99% -0.98% 0.99x
is_string_type[empty] 0.00004289688682079209 0.00004190783806165555 2.31% 2.36% 1.02x
is_string_type[enum] 0.000048049939045917225 0.0000468584998104798 2.48% 2.54% 1.03x
is_string_type[int256] 0.00004569346216032147 0.000045364252469540596 0.72% 0.73% 1.01x
is_string_type[invalid] 0.00004449806312035747 0.00004534341445483231 -1.90% -1.86% 0.98x
is_string_type[string] 0.00004404043206211843 0.00004333762178900509 1.60% 1.62% 1.02x
is_string_type[tuple-array] 0.00004494578136736911 0.00004531565023924942 -0.82% -0.82% 0.99x
is_string_type[tuple] 0.0000433676210034041 0.00004383582243117714 -1.08% -1.07% 0.99x
is_string_type[uint256] 0.000043796836736711655 0.00004386303823483832 -0.15% -0.15% 1.00x
is_uint_type[address] 0.0002293845926590691 0.0002295369510848974 -0.07% -0.07% 1.00x
is_uint_type[array] 0.00023349755846895643 0.00023478776509572834 -0.55% -0.55% 0.99x
is_uint_type[bool] 0.00019880547014332914 0.00020366955226304778 -2.45% -2.39% 0.98x
is_uint_type[bytes] 0.0002087388601877067 0.0002074194340802222 0.63% 0.64% 1.01x
is_uint_type[bytes32] 0.00023127821856622137 0.0002302352782752352 0.45% 0.45% 1.00x
is_uint_type[bytes33] 0.00023373872406119302 0.00023754070104727904 -1.63% -1.60% 0.98x
is_uint_type[empty] 0.00020413929129555063 0.00020637301431679895 -1.09% -1.08% 0.99x
is_uint_type[enum] 0.00021237812084383021 0.00022022410166854043 -3.69% -3.56% 0.96x
is_uint_type[int256] 0.0002165562448549765 0.00021831114662915202 -0.81% -0.80% 0.99x
is_uint_type[invalid] 0.0002011100979171353 0.00020635613349859446 -2.61% -2.54% 0.97x
is_uint_type[string] 0.00022151230989288733 0.00022330924162573996 -0.81% -0.80% 0.99x
is_uint_type[tuple-array] 0.0002056724953521347 0.00020634483903290767 -0.33% -0.33% 1.00x
is_uint_type[tuple] 0.00021207522651464704 0.00020748778977295243 2.16% 2.21% 1.02x
is_uint_type[uint256] 0.0002236621081669367 0.0002446603641240226 -9.39% -8.58% 0.91x
length_of_array_type[dynamic] 0.00016485898079923088 0.00016245388698521993 1.46% 1.48% 1.01x
length_of_array_type[fixed] 0.0001762112449737735 0.00017592729680477223 0.16% 0.16% 1.00x
length_of_array_type[nested] 0.00018016561964476663 0.00017925743665222568 0.50% 0.51% 1.01x
map_abi_data 0.00629355630713917 0.005104754983240356 18.89% 23.29% 1.23x
normalize_event_input_types 0.00041372400748571607 0.00043274267416691095 -4.60% -4.39% 0.96x
receive_func_abi_exists 0.0003166105413182061 0.0003066383179053899 3.15% 3.25% 1.03x
strip_abi_types 0.001619425092127653 0.001569421909677856 3.09% 3.19% 1.03x
sub_type_of_array_type[nested] 0.00017563454003621272 0.00017848127045104595 -1.62% -1.59% 0.98x
sub_type_of_array_type[simple] 0.00016565898702745966 0.00016977200108940683 -2.48% -2.42% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002039521252108906 0.000023224426600895536 -13.87% -12.18% 0.88x
is_hex_encoded_block_hash[invalid-g] 0.00008553312294419551 0.000056960258704439195 33.41% 50.16% 1.50x
is_hex_encoded_block_hash[none] 0.000020731845486953925 0.000022727188841978385 -9.62% -8.78% 0.91x
is_hex_encoded_block_hash[short] 0.00004389086720042432 0.00002662542223471789 39.34% 64.85% 1.65x
is_hex_encoded_block_hash[too-long] 0.000044922646934865326 0.000027215670716625082 39.42% 65.06% 1.65x
is_hex_encoded_block_hash[too-short] 0.00004598901173762795 0.00002659383463044546 42.17% 72.93% 1.73x
is_hex_encoded_block_hash[valid-a] 0.00009586592075489182 0.00007436082929502408 22.43% 28.92% 1.29x
is_hex_encoded_block_hash[valid-f] 0.00009537560383622928 0.00007396704695064571 22.45% 28.94% 1.29x
is_hex_encoded_block_number[int] 0.00001970252476932461 0.000022239492401971006 -12.88% -11.41% 0.89x
is_hex_encoded_block_number[invalid-g] 0.00016486704587197976 0.00021447174064925602 -30.09% -23.13% 0.77x
is_hex_encoded_block_number[max-64-a] 0.00010469157405524093 0.00008147681573160548 22.17% 28.49% 1.28x
is_hex_encoded_block_number[max-64-f] 0.00010172129441463343 0.00008202707320455659 19.36% 24.01% 1.24x
is_hex_encoded_block_number[none] 0.000020426080045383357 0.000022294602538193907 -9.15% -8.38% 0.92x
is_hex_encoded_block_number[small] 0.0000884225502488789 0.000043646801241995 50.64% 102.59% 2.03x
is_hex_encoded_block_number[too-long] 0.00010603293920159127 0.00006106200006789472 42.41% 73.65% 1.74x
is_predefined_block_number[bytes-latest] 0.000032423358019809814 0.000028663416747414084 11.60% 13.12% 1.13x
is_predefined_block_number[bytes-pending] 0.0000326420223800828 0.000028761178565795086 11.89% 13.49% 1.13x
is_predefined_block_number[bytes-random] 0.00003129089581801268 0.000027328663380187788 12.66% 14.50% 1.14x
is_predefined_block_number[int] 0.00003350309024657703 0.000025631251138334225 23.50% 30.71% 1.31x
is_predefined_block_number[none] 0.00012252900026935387 0.0002127743234581686 -73.65% -42.41% 0.58x
is_predefined_block_number[object] 0.0001549506489300687 0.0002474159146372777 -59.67% -37.37% 0.63x
is_predefined_block_number[str-earliest] 0.000013152047306477426 0.000010034802016469644 23.70% 31.06% 1.31x
is_predefined_block_number[str-finalized] 0.000013080295534662306 0.000010215032751077406 21.91% 28.05% 1.28x
is_predefined_block_number[str-foo] 0.00001305558504359193 0.000009714504566025633 25.59% 34.39% 1.34x
is_predefined_block_number[str-latest] 0.000013154509178877816 0.00001017035112799802 22.69% 29.34% 1.29x
is_predefined_block_number[str-pending] 0.000013192564351094699 0.00000999326266163594 24.25% 32.01% 1.32x
is_predefined_block_number[str-safe] 0.000013091985762491732 0.000010353523999746934 20.92% 26.45% 1.26x
select_method_for_block_identifier[hash-bytes] 0.00005021510990867433 0.000041238817420306445 17.88% 21.77% 1.22x
select_method_for_block_identifier[hash-hexstr] 0.00012852545803870307 0.00009423765846820619 26.68% 36.38% 1.36x
select_method_for_block_identifier[invalid-none] 0.0009238726643204917 0.0010501989590658912 -13.67% -12.03% 0.88x
select_method_for_block_identifier[invalid-object] 0.0009553744135380053 0.0010960659976324255 -14.73% -12.84% 0.87x
select_method_for_block_identifier[number-hexstr] 0.0001675531483776739 0.00008439984148768359 49.63% 98.52% 1.99x
select_method_for_block_identifier[number-int] 0.00011254315406064256 0.00005820374684325871 48.28% 93.36% 1.93x
select_method_for_block_identifier[predefined-bytes] 0.00005029644449342816 0.000043297099816143146 13.92% 16.17% 1.16x
select_method_for_block_identifier[predefined-str] 0.000027574148789104898 0.000020114297033271447 27.05% 37.09% 1.37x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00047089619162991674 0.000549922412753298 -16.78% -14.37% 0.86x
PropertyCheckingFactory[big-valid] 0.0004698379927215721 0.000556575320643998 -18.46% -15.58% 0.84x
PropertyCheckingFactory[inheritance] 0.0009809968160085227 0.0009588563412936803 2.26% 2.31% 1.02x
PropertyCheckingFactory[invalid] 0.00047251550170368826 0.0005620358636065037 -18.95% -15.93% 0.84x
PropertyCheckingFactory[multi-normalizer] 0.0004690667933712484 0.0005539731774949836 -18.10% -15.33% 0.85x
PropertyCheckingFactory[multi-prop] 0.0004698280053054431 0.0005514017860642664 -17.36% -14.79% 0.85x
PropertyCheckingFactory[normalized] 0.0004732955035504593 0.0005566976228666657 -17.62% -14.98% 0.85x
PropertyCheckingFactory[valid] 0.0012300892519496074 0.0010166160743793403 17.35% 21.00% 1.21x
verify_attr[empty] 0.00010166099221462925 0.00016445519864502015 -61.77% -38.18% 0.62x
verify_attr[found-end] 0.000011550713772280194 0.000009645427009333019 16.49% 19.75% 1.20x
verify_attr[found-start] 0.000009030682863478828 0.000007538458710425277 16.52% 19.79% 1.20x
verify_attr[large-found] 0.0001258537668280164 0.00013020638902995558 -3.46% -3.34% 0.97x
verify_attr[large-notfound] 0.00019824653962933466 0.00026067052543699395 -31.49% -23.95% 0.76x
verify_attr[notfound] 0.00010543821460216779 0.00017034768741337603 -61.56% -38.10% 0.62x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006393379848371263 0.0006415309739243152 -0.34% -0.34% 1.00x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007506448945616619 0.000023325026356450664 68.93% 221.82% 3.22x
percentile[100-90th] 0.00011820077239395214 0.00005499002224524658 53.48% 114.95% 2.15x
percentile[100k-99th] 0.03654646760714237 0.036272143500001776 0.75% 0.76% 1.01x
percentile[100k-median] 0.036719950407405964 0.0363898815555617 0.90% 0.91% 1.01x
percentile[10k-10th] 0.003727077646840202 0.003638688483635881 2.37% 2.43% 1.02x
percentile[10k-99th] 0.0037381317827678375 0.003653461824176072 2.27% 2.32% 1.02x
percentile[10k-median] 0.003711689258422891 0.003679360811112373 0.87% 0.88% 1.01x
percentile[1k-99th] 0.0004721439521690483 0.000400036931165325 15.27% 18.03% 1.18x
percentile[1M-median] 0.5984415214000137 0.6329459403999635 -5.77% -5.45% 0.95x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012828014167316737 0.00000692666609884304 46.00% 85.20% 1.85x
to_bytes_if_hex[empty-str] 0.0003077450237630384 0.000036910479578217725 88.01% 733.76% 8.34x
to_bytes_if_hex[hexstr] 0.0003371273929205181 0.00004478629583364505 86.72% 652.75% 7.53x
to_bytes_if_hex[large-hex] 0.00033888026581996067 0.000048185242336257886 85.78% 603.29% 7.03x
to_bytes_if_hex[non-prefixed-hex] 0.00031915956076577465 0.00004062960350383274 87.27% 685.53% 7.86x
to_bytes_if_hex[nothex] 0.00041665665619421626 0.0002693770971663626 35.35% 54.67% 1.55x
to_bytes_if_hex[unicode] 0.0004238998236330428 0.00027523039084522365 35.07% 54.02% 1.54x
to_bytes_if_hex[zero] 0.00033155436658042754 0.000044447255417570805 86.59% 645.95% 7.46x
to_hex_if_bytes[bytes] 0.000221950592929881 0.000049351969763862545 77.76% 349.73% 4.50x
to_hex_if_bytes[empty-bytes] 0.00020921375725198177 0.00004027803708756989 80.75% 419.42% 5.19x
to_hex_if_bytes[empty-str] 0.0001002258554028272 0.0001918961403808983 -91.46% -47.77% 0.52x
to_hex_if_bytes[hexstr] 0.00028227164023979603 0.000022695206214647855 91.96% 1143.75% 12.44x
to_hex_if_bytes[large-bytes] 0.00022655818702298195 0.00005207459850292739 77.01% 335.06% 4.35x
to_hex_if_bytes[non-prefixed-hex] 0.00010387444999425677 0.0001902880495823423 -83.19% -45.41% 0.55x
to_hex_if_bytes[not-hex] 0.00010378892309421007 0.00019150868838805179 -84.52% -45.80% 0.54x
to_hex_if_bytes[unicode] 0.0001091137982883196 0.00019737231197959094 -80.89% -44.72% 0.55x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0003106008616883811 0.00010883611941529253 64.96% 185.38% 2.85x
all_in_dict[empty-dict] 0.00026254239701761366 0.00008026545816845164 69.43% 227.09% 3.27x
all_in_dict[empty-list] 0.0002646741852738672 0.00008924393926514022 66.28% 196.57% 2.97x
all_in_dict[mixed-types] 0.00031126452913187656 0.00010843392110974203 65.16% 187.05% 2.87x
all_in_dict[no-overlap] 0.0002799469202743316 0.0000911665265025294 67.43% 207.07% 3.07x
all_in_dict[none-in] 0.00028246770467265286 0.00009044485130559746 67.98% 212.31% 3.12x
all_in_dict[one-in] 0.00028630447923209094 0.00009962248175727797 65.20% 187.39% 2.87x
all_in_dict[partial-overlap] 0.000319469413212191 0.0001043435089583962 67.34% 206.17% 3.06x
all_in_dict[value-none] 0.0002870295483970918 0.00010021181540653483 65.09% 186.42% 2.86x
any_in_dict[all-in] 0.00028350098649802813 0.00008810525060386536 68.92% 221.78% 3.22x
any_in_dict[empty-dict] 0.00030692660469623716 0.00009163022934279523 70.15% 234.96% 3.35x
any_in_dict[empty-list] 0.00026636979461163205 0.00008932002459351657 66.47% 198.22% 2.98x
any_in_dict[mixed-types] 0.000282285804327881 0.00009152119035953772 67.58% 208.44% 3.08x
any_in_dict[no-overlap] 0.0003225613268841698 0.00010655630706295468 66.97% 202.71% 3.03x
any_in_dict[none-in] 0.00028784110191381793 0.0000952927180710482 66.89% 202.06% 3.02x
any_in_dict[one-in] 0.0002781618725741523 0.00008880426540940081 68.07% 213.23% 3.13x
any_in_dict[partial-overlap] 0.0002800110709375225 0.00008784241040492743 68.63% 218.77% 3.19x
any_in_dict[value-none] 0.0002750893968006457 0.00008705761055243568 68.35% 215.99% 3.16x
either_set_is_a_subset[both-empty] 0.00017174310384438876 0.00015057393160206498 12.33% 14.06% 1.14x
either_set_is_a_subset[empty-set1] 0.00017184125296724158 0.00014969446854117062 12.89% 14.79% 1.15x
either_set_is_a_subset[empty-set2] 0.00025688483380159486 0.000247802822817599 3.54% 3.67% 1.04x
either_set_is_a_subset[identical] 0.00018920073648578711 0.00016147065063457756 14.66% 17.17% 1.17x
either_set_is_a_subset[mixed-types] 0.00019509769612075948 0.00016346292399003264 16.21% 19.35% 1.19x
either_set_is_a_subset[not-subset] 0.0002738460154801805 0.00025391439723181417 7.28% 7.85% 1.08x
either_set_is_a_subset[partial-overlap] 0.0003032303295580314 0.0002840022119916114 6.34% 6.77% 1.07x
either_set_is_a_subset[subset] 0.00019863203458615733 0.00016799886879010983 15.42% 18.23% 1.18x
either_set_is_a_subset[superset] 0.00030305081162943594 0.00029114391525454083 3.93% 4.09% 1.04x
none_in_dict[all-in] 0.0002936737575862356 0.00008908556958672397 69.67% 229.65% 3.30x
none_in_dict[empty-dict] 0.0003156468630831351 0.00009265031158936839 70.65% 240.69% 3.41x
none_in_dict[empty-list] 0.00027475380769076836 0.00008696089382251732 68.35% 215.95% 3.16x
none_in_dict[mixed-types] 0.00029502241366068826 0.00008923820370922015 69.75% 230.60% 3.31x
none_in_dict[no-overlap] 0.0003426247378310357 0.00010630054797007086 68.97% 222.32% 3.22x
none_in_dict[none-in] 0.0003013939120484653 0.00009485185638606828 68.53% 217.75% 3.18x
none_in_dict[one-in] 0.00029053284430046464 0.00009632925386359092 66.84% 201.60% 3.02x
none_in_dict[partial-overlap] 0.0002953706466812374 0.00008789527706162229 70.24% 236.05% 3.36x
none_in_dict[value-none] 0.0002936832437210377 0.00008773423550883948 70.13% 234.74% 3.35x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014842126917382515 0.0014979606974655586 -0.93% -0.92% 0.99x
attributedict_hash[flat] 0.001125519195060838 0.0011243875079915723 0.10% 0.10% 1.00x
attributedict_hash[nested] 0.0017412323401613395 0.0017586069318552755 -1.00% -0.99% 0.99x
attributedict_init[empty] 0.00008621472520386419 0.00008566464731350987 0.64% 0.64% 1.01x
attributedict_init[large] 0.00012549270666965763 0.00012547369313500287 0.02% 0.02% 1.00x
attributedict_init[small] 0.00009225504447873628 0.00008999724450988396 2.45% 2.51% 1.03x
mutableattributedict_delitem 0.0003982120883217544 0.0003957881464520714 0.61% 0.61% 1.01x
mutableattributedict_setitem 0.0003304144420057547 0.00033377311914743285 -1.02% -1.01% 0.99x
namedelementonion_add 0.00889540928570958 0.00840141285712954 5.55% 5.88% 1.06x
namedelementonion_as_tuple_of_middleware 0.0001463726279061016 0.00014691925057787653 -0.37% -0.37% 1.00x
namedelementonion_contains 0.00003224468023229416 0.00003270733945169898 -1.43% -1.41% 0.99x
namedelementonion_getitem 0.000029459870527568095 0.000028276881163192683 4.02% 4.18% 1.04x
namedelementonion_init[callables2] 0.00012920274980267744 0.00012885228919151353 0.27% 0.27% 1.00x
namedelementonion_init[callables3] 0.00016299802224497556 0.00016263143679887896 0.22% 0.23% 1.00x
namedelementonion_init[empty] 0.00004368233885851203 0.00004377577998353048 -0.21% -0.21% 1.00x
namedelementonion_inject 0.013146753333330707 0.03699419330587796 -181.39% -64.46% 0.36x
namedelementonion_iter 0.00015139194661593992 0.00015011531558273885 0.84% 0.85% 1.01x
namedelementonion_remove 0.0006630860604936552 0.0006916019870717054 -4.30% -4.12% 0.96x
namedelementonion_replace 0.0025766586818162175 0.0025783439138385967 -0.07% -0.07% 1.00x
readableattributedict_getitem[large] 0.00001545905101366145 0.00001515380696621941 1.97% 2.01% 1.02x
readableattributedict_getitem[small] 0.000014849138752956276 0.00001407973086967756 5.18% 5.46% 1.05x
readableattributedict_init[empty] 0.0000525086883510785 0.000051329629392728706 2.25% 2.30% 1.02x
readableattributedict_init[large] 0.00008581967644665485 0.00008649345580846918 -0.79% -0.78% 0.99x
readableattributedict_init[small] 0.000056759553185463355 0.000056402310775272615 0.63% 0.63% 1.01x
readableattributedict_recursive[list-in-dict] 0.0008914924802182777 0.0008850971423206682 0.72% 0.72% 1.01x
readableattributedict_recursive[nested-dict] 0.0009169184655166372 0.0009174422321773482 -0.06% -0.06% 1.00x
readableattributedict_recursive[set] 0.0004679931116196965 0.00046214248040752406 1.25% 1.27% 1.01x
tupleize_lists_nested[list-in-dict] 0.0008569551779367054 0.0008515788508694349 0.63% 0.63% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.0009354070929146887 0.0009382678886064944 -0.31% -0.30% 1.00x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003321555762014662 0.00024981023862777785 24.79% 32.96% 1.33x
simplecache_cache[100] 0.0026471805094346727 0.001899993090564083 28.23% 39.33% 1.39x
simplecache_cache[1000] 0.027456525945968382 0.018923656981125945 31.08% 45.09% 1.45x
simplecache_eviction[10] 0.0005857110645166415 0.0005843978466597147 0.22% 0.22% 1.00x
simplecache_eviction[100] 0.005238781113523047 0.0052235801052563004 0.29% 0.29% 1.00x
simplecache_pop[10] 0.0004500652694264579 0.0003773609608531335 16.15% 19.27% 1.19x
simplecache_pop[100] 0.003777508555130893 0.0028912169823175314 23.46% 30.65% 1.31x
simplecache_retrieval[10] 0.0000938526391496639 0.00005665124826063936 39.64% 65.67% 1.66x
simplecache_retrieval[100] 0.0008075677312862876 0.0004611466831790329 42.90% 75.12% 1.75x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants