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.0000017751719265819273 9.892615880295356e-7 44.27% 79.44% 1.79x
is_valid_name[a..eth] 0.000025227363123475788 0.0000300986078710698 -19.31% -16.18% 0.84x
is_valid_name[a.eth..] 0.000025715236283077363 0.000030340633085046122 -17.99% -15.24% 0.85x
is_valid_name[a.eth.] 0.000025655619973222856 0.000030223054509694225 -17.80% -15.11% 0.85x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23190179240002634 0.23531861419996858 -1.47% -1.45% 0.99x
is_valid_name[alice.eth] 0.010567600571434644 0.011380607348314697 -7.69% -7.14% 0.93x
is_valid_name[bob.eth] 0.006301741436711289 0.006795433125832147 -7.83% -7.27% 0.93x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.25326306420001854 0.23657072739997603 6.59% 7.06% 1.07x
is_valid_name[subdomain.alice.eth] 0.031014000030299114 0.033578396870967156 -8.27% -7.64% 0.92x
labelhash[] 0.0001330896552407661 0.0000823941479139888 38.09% 61.53% 1.62x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22853650560002733 0.23608841739999206 -3.30% -3.20% 0.97x
labelhash[alice] 0.007696709682536025 0.007961126186991003 -3.44% -3.32% 0.97x
labelhash[bob] 0.003472480444052657 0.0034786684750023208 -0.18% -0.18% 1.00x
labelhash[emoji\U0001f468\U0001f3fb] 0.2741114702000232 0.248942321599975 9.18% 10.11% 1.10x
labelhash[xn--fiqs8s] 0.024603524000001795 0.025934222750007053 -5.41% -5.13% 0.95x
namehash[] 0.000009980426444738333 0.0000033808413077149813 66.13% 195.21% 2.95x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.48418906140002493 0.4695156867999913 3.03% 3.13% 1.03x
namehash[alice.eth] 0.0228380477555523 0.02247346186666669 1.60% 1.62% 1.02x
namehash[bob.eth] 0.014014011861102441 0.013608806260272291 2.89% 2.98% 1.03x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5726944993999723 0.45914884819999313 19.83% 24.73% 1.25x
namehash[subdomain.alice.eth] 0.06468655387499922 0.06417232518749927 0.79% 0.80% 1.01x
nameprep[] 0.000008515330872744514 0.0000032256950014445177 62.12% 163.98% 2.64x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.232349906200011 0.24414301859997067 -5.08% -4.83% 0.95x
nameprep[alice.eth] 0.010440618795920106 0.010737320890109833 -2.84% -2.76% 0.97x
nameprep[bob.eth] 0.006349205639752575 0.006557215948720778 -3.28% -3.17% 0.97x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.256517742799997 0.23046961679997366 10.15% 11.30% 1.11x
nameprep[subdomain.alice.eth] 0.030323109588219748 0.03305189253125107 -9.00% -8.26% 0.92x
parent[] 9.615100489432667e-7 8.265850288426654e-7 14.03% 16.32% 1.16x
parent[bar.eth] 0.000003563634968888908 0.000002629174727714642 26.22% 35.54% 1.36x
parent[eth] 0.00000201400208186101 0.000001512277150546847 24.91% 33.18% 1.33x
parent[foo.bar.eth] 0.000004237474405023236 0.0000032453893923844157 23.41% 30.57% 1.31x
parent[sub.sub2.foo.bar.eth] 0.000004898715531864475 0.000003924653218545125 19.88% 24.82% 1.25x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005035806860646669 0.00001669367465010908 66.85% 201.66% 3.02x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005111580753726659 0.000016655246500051642 67.42% 206.91% 3.07x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005125963622760205 0.00001690783088860151 67.02% 203.17% 3.03x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013786227221484803 0.000013878655757143598 -0.67% -0.67% 0.99x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00001379465663767922 0.000013917748377022381 -0.89% -0.88% 0.99x
address[alice.eth] 0.000013806196283808278 0.000013880870617917285 -0.54% -0.54% 0.99x
address[bob.eth] 0.000013674472793053451 0.00001432441870075339 -4.75% -4.54% 0.95x
address[emoji\U0001f468\U0001f3fb.eth] 0.00001360444227387403 0.000013755457407787085 -1.11% -1.10% 0.99x
address[subdomain.alice.eth] 0.00001377617221764816 0.00001383531312507307 -0.43% -0.43% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014489769798343912 0.00014762744138168527 -1.88% -1.85% 0.98x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014670812430112092 0.00014767947671046687 -0.66% -0.66% 0.99x
normalize_name_ensip15[alice.eth] 0.0001513296107208636 0.00014638918569465767 3.26% 3.37% 1.03x
normalize_name_ensip15[bob.eth] 0.00014531845977122732 0.0001460551661838771 -0.51% -0.50% 0.99x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00015106140015020352 0.0001453692293419797 3.77% 3.92% 1.04x
normalize_name_ensip15[subdomain.alice.eth] 0.0001467959056382395 0.00014520240818158696 1.09% 1.10% 1.01x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024508144081639275 0.0008158336271036421 66.71% 200.41% 3.00x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002476264919569783 0.000814961380515577 67.09% 203.85% 3.04x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00251515878030309 0.0008217248890773755 67.33% 206.08% 3.06x
dns_encode_name[] 0.000006558729754744347 0.000004164859982435373 36.50% 57.48% 1.57x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2340270292000241 0.2402321532000542 -2.65% -2.58% 0.97x
dns_encode_name[alice.eth] 0.010792187688183174 0.011098478511116304 -2.84% -2.76% 0.97x
dns_encode_name[bob.eth] 0.0066139372866625004 0.006861784236483849 -3.75% -3.61% 0.96x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2556679881999798 0.2158506586000158 15.57% 18.45% 1.18x
dns_encode_name[subdomain.alice.eth] 0.03214485724242188 0.03205294165625361 0.29% 0.29% 1.00x
estimate_auction_start_gas[labels0] 0.00007889131868320323 0.00005178658344816544 34.36% 52.34% 1.52x
estimate_auction_start_gas[labels1] 0.00007731511957684939 0.00005193877063520633 32.82% 48.86% 1.49x
estimate_auction_start_gas[labels2] 0.00006668501720962048 0.00005242917713057101 21.38% 27.19% 1.27x
is_empty_name[ ] 0.00005723354181496335 0.000039828749591854474 30.41% 43.70% 1.44x
is_empty_name[.] 0.000054942875454390496 0.00004225179139050304 23.10% 30.04% 1.30x
is_empty_name[0] 0.000056239180282717094 0.000039541645333838965 29.69% 42.23% 1.42x
is_empty_name[1] 0.00005550566732200348 0.00003937976210116862 29.05% 40.95% 1.41x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000060638986592206116 0.00003995338888186381 34.11% 51.77% 1.52x
is_empty_name[alice.eth] 0.000059656648671622106 0.00003973983634656596 33.39% 50.12% 1.50x
is_empty_name[bob.eth] 0.000057987902289744465 0.000039461995653646485 31.95% 46.95% 1.47x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.000058824431779177846 0.00004036469295035855 31.38% 45.73% 1.46x
is_empty_name[subdomain.alice.eth] 0.00005849512810700675 0.000039969441651637614 31.67% 46.35% 1.46x
is_none_or_zero_address[] 0.00004446326214758688 0.0000395895438129367 10.96% 12.31% 1.12x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00004982691025606332 0.000045756290431668577 8.17% 8.90% 1.09x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005337274147248638 0.00004616393267699067 13.51% 15.62% 1.16x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005298776587482796 0.000045457134669784576 14.21% 16.57% 1.17x
is_valid_ens_name[] 0.000001848049715530231 0.0000014459067524606135 21.76% 27.81% 1.28x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23516758320001827 0.2347821088000046 0.16% 0.16% 1.00x
is_valid_ens_name[alice.eth] 0.010380794739579832 0.010978788537639252 -5.76% -5.45% 0.95x
is_valid_ens_name[bar] 0.000002054410151373148 0.000001540813388874145 25.00% 33.33% 1.33x
is_valid_ens_name[baz] 0.0000019374807954947837 0.000001551589299488714 19.92% 24.87% 1.25x
is_valid_ens_name[bob.eth] 0.006244999114650234 0.00677899353642688 -8.55% -7.88% 0.92x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.2293984908000084 0.2195311226000058 4.30% 4.49% 1.04x
is_valid_ens_name[foo] 0.0000019606753793207217 0.0000015474476455845568 21.08% 26.70% 1.27x
is_valid_ens_name[subdomain.alice.eth] 0.03030477826471537 0.03199809949999732 -5.59% -5.29% 0.95x
is_valid_name[] 0.000001593184584431547 9.403842587073295e-7 40.97% 69.42% 1.69x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22430780019999474 0.24555721040001116 -9.47% -8.65% 0.91x
is_valid_name[alice.eth] 0.010582203479594793 0.010903530462367413 -3.04% -2.95% 0.97x
is_valid_name[bob.eth] 0.006341326566041588 0.006623892858067759 -4.46% -4.27% 0.96x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2498588126000186 0.22897400760000436 8.36% 9.12% 1.09x
is_valid_name[subdomain.alice.eth] 0.029904954470600174 0.03232092549999521 -8.08% -7.47% 0.93x
label_to_hash[] 0.0001341785636511914 0.00008108123621940053 39.57% 65.49% 1.65x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2317559147999873 0.23599821639998025 -1.83% -1.80% 0.98x
label_to_hash[alice] 0.007665711738460547 0.007712899632007975 -0.62% -0.61% 0.99x
label_to_hash[bob] 0.003437577962071812 0.003436264251721194 0.04% 0.04% 1.00x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2811383315999819 0.22626646240000808 19.52% 24.25% 1.24x
label_to_hash[xn--fiqs8s] 0.02447612013952758 0.02508904380488552 -2.50% -2.44% 0.98x
normal_name_to_hash[] 0.0000016713101478784901 0.0000010234536272023713 38.76% 63.30% 1.63x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.230253166600005 0.2343262551999942 -1.77% -1.74% 0.98x
normal_name_to_hash[alice.eth] 0.01147330581817388 0.011266686238630282 1.80% 1.83% 1.02x
normal_name_to_hash[bob.eth] 0.007024236627740475 0.006915125531465263 1.55% 1.58% 1.02x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2584353059999785 0.24664242139999715 4.56% 4.78% 1.05x
normal_name_to_hash[subdomain.alice.eth] 0.03194241035482866 0.03228419764515468 -1.07% -1.06% 0.99x
normalize_name[] 0.000008294153526017642 0.0000030548352032049035 63.17% 171.51% 2.72x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2326658841999915 0.23970032780000566 -3.02% -2.93% 0.97x
normalize_name[alice.eth] 0.010619293739585109 0.011076561163035778 -4.31% -4.13% 0.96x
normalize_name[bob.eth] 0.006327438265432726 0.006702495149348968 -5.93% -5.60% 0.94x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2561140393999949 0.24205752359996496 5.49% 5.81% 1.06x
normalize_name[subdomain.alice.eth] 0.031130567121229462 0.03190159259375491 -2.48% -2.42% 0.98x
raw_name_to_hash[] 0.000009637169421559634 0.00000338029651991903 64.92% 185.10% 2.85x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.46779892199997447 0.465575475799983 0.48% 0.48% 1.00x
raw_name_to_hash[alice.eth] 0.0217971141087021 0.022128255266665696 -1.52% -1.50% 0.99x
raw_name_to_hash[bob.eth] 0.013466766986666698 0.013504712319998665 -0.28% -0.28% 1.00x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5129737546000342 0.45918520739996893 10.49% 11.71% 1.12x
raw_name_to_hash[subdomain.alice.eth] 0.06287605081249836 0.06358238118751558 -1.12% -1.11% 0.99x
sha3_text[0] 0.00011862857692976301 0.00007514441817572638 36.66% 57.87% 1.58x
sha3_text[1] 0.00011841930441295739 0.00007456209498408715 37.04% 58.82% 1.59x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012798988943233053 0.00008398905375656139 34.38% 52.39% 1.52x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012692048564053366 0.0000828980852366683 34.69% 53.10% 1.53x
sha3_text[alice.eth] 0.00012686845426924264 0.00008317458893064211 34.44% 52.53% 1.53x
sha3_text[alice] 0.00012655175633023954 0.00008390175987654212 33.70% 50.83% 1.51x
sha3_text[bob.eth] 0.00012748534993812285 0.00008376694969474273 34.29% 52.19% 1.52x
sha3_text[bob] 0.00012722313085466436 0.00008409036755953531 33.90% 51.29% 1.51x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00012926257261719308 0.00008410983781590753 34.93% 53.68% 1.54x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012742721348171183 0.00008374844448421294 34.28% 52.15% 1.52x
sha3_text[subdomain.alice.eth] 0.00012646960213847047 0.0000842739044909765 33.36% 50.07% 1.50x
sha3_text[xn--fiqs8s] 0.00012789518902208736 0.00008265459480475584 35.37% 54.73% 1.55x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.00029263831631899396 0.00025201912968264 13.88% 16.12% 1.16x
fallback_func_abi_exists 0.0002588456493735405 0.00025711326420263124 0.67% 0.67% 1.01x
filter_by_argument_name[a] 0.0006480101213016793 0.00037853047730147804 41.59% 71.19% 1.71x
filter_by_argument_name[a+b] 0.000667182006084931 0.0004097235255942055 38.59% 62.84% 1.63x
filter_by_argument_name[b] 0.0006543980845669204 0.0003838442099174031 41.34% 70.49% 1.70x
filter_by_argument_name[c] 0.0006461338844594565 0.00037870459510619555 41.39% 70.62% 1.71x
filter_by_argument_name[notfound] 0.0006382547099057046 0.00037254846339615895 41.63% 71.32% 1.71x
filter_by_argument_type[address] 0.0005820039353833495 0.0005854896758087715 -0.60% -0.60% 0.99x
filter_by_argument_type[notatype] 0.0005740309409643707 0.0005828979307394705 -1.54% -1.52% 0.98x
filter_by_argument_type[string] 0.000586185353051643 0.0005871464530076237 -0.16% -0.16% 1.00x
filter_by_argument_type[uint+address] 0.0005883367362505965 0.0005932129050235521 -0.83% -0.82% 0.99x
filter_by_argument_type[uint256] 0.0005806132016182436 0.000588504992689298 -1.36% -1.34% 0.99x
filter_by_types[constructor] 0.00003699009831043053 0.00003711312232140847 -0.33% -0.33% 1.00x
filter_by_types[event] 0.00003705666873778892 0.00003712823152985649 -0.19% -0.19% 1.00x
filter_by_types[fallback] 0.000037613916408949824 0.00003749529612618051 0.32% 0.32% 1.00x
filter_by_types[func+event] 0.00004266837384628925 0.000042178793392214484 1.15% 1.16% 1.01x
filter_by_types[function] 0.000037156129384472565 0.00003730582245008627 -0.40% -0.40% 1.00x
filter_by_types[none] 0.000036770979657933174 0.00003646285735491031 0.84% 0.85% 1.01x
filter_by_types[receive] 0.00003899435388305431 0.00003830670653283064 1.76% 1.80% 1.02x
find_constructor_abi_element_by_type 0.00003395104878755459 0.000034522649765920396 -1.68% -1.66% 0.98x
get_abi_element_signature[custom] 0.00005305974501322001 0.00005018622383405864 5.42% 5.73% 1.06x
get_abi_element_signature[fallback] 0.000021290230009072818 0.000021034876126130692 1.20% 1.21% 1.01x
get_abi_element_signature[receive] 0.000028586491380908704 0.000028260932272818894 1.14% 1.15% 1.01x
get_abi_element_signature[transfer] 0.000056599569430336533 0.00005511909436171845 2.62% 2.69% 1.03x
get_name_from_abi_element_identifier[custom] 0.00004218624803020276 0.000038497489339779405 8.74% 9.58% 1.10x
get_name_from_abi_element_identifier[fallback] 0.000011833169503798784 0.000012038311413534527 -1.73% -1.70% 0.98x
get_name_from_abi_element_identifier[func] 0.00004121051121658551 0.00003833966660847451 6.97% 7.49% 1.07x
get_name_from_abi_element_identifier[receive] 0.000018230525646192507 0.000018600886044752554 -2.03% -1.99% 0.98x
get_tuple_type_str_parts[not-tuple] 0.000022970958831394052 0.000022546039907559825 1.85% 1.88% 1.02x
get_tuple_type_str_parts[one-dim] 0.00007271478179569881 0.00007312959583365565 -0.57% -0.57% 0.99x
get_tuple_type_str_parts[plain] 0.000048490271326122226 0.00004813075683097917 0.74% 0.75% 1.01x
get_tuple_type_str_parts[two-dim] 0.00009089498011156007 0.00009058675648544346 0.34% 0.34% 1.00x
is_address_type[address] 0.0000435365962423913 0.00004360440031293763 -0.16% -0.16% 1.00x
is_address_type[array] 0.000046272663357261205 0.00004627955322535298 -0.01% -0.01% 1.00x
is_address_type[bool] 0.00004268515196167601 0.000043142530304672883 -1.07% -1.06% 0.99x
is_address_type[bytes] 0.00004297165249124979 0.000043137987737447576 -0.39% -0.39% 1.00x
is_address_type[bytes32] 0.00004460473323285403 0.00004470256232932568 -0.22% -0.22% 1.00x
is_address_type[bytes33] 0.00004686614380662762 0.000046253619156082543 1.31% 1.32% 1.01x
is_address_type[empty] 0.000043454690572737626 0.00004339438878158218 0.14% 0.14% 1.00x
is_address_type[enum] 0.00004508728856436624 0.000044838459730638676 0.55% 0.55% 1.01x
is_address_type[int256] 0.00004316623083045946 0.000043093589365731134 0.17% 0.17% 1.00x
is_address_type[invalid] 0.00004467379667339391 0.00004452083091170279 0.34% 0.34% 1.00x
is_address_type[string] 0.00004333134033659434 0.000043173939841437214 0.36% 0.36% 1.00x
is_address_type[tuple-array] 0.000044538829900847614 0.00004442759548560361 0.25% 0.25% 1.00x
is_address_type[tuple] 0.00004321014488132519 0.00004311532202583426 0.22% 0.22% 1.00x
is_address_type[uint256] 0.00004476936390118016 0.0000452232066795333 -1.01% -1.00% 0.99x
is_array_type[address] 0.000404466875850574 0.00041173061680325405 -1.80% -1.76% 0.98x
is_array_type[array] 0.00041059352168293974 0.0004193351769873101 -2.13% -2.08% 0.98x
is_array_type[bool] 0.0003668446080499455 0.0003736683359701466 -1.86% -1.83% 0.98x
is_array_type[bytes] 0.0003810096960477713 0.0003864887312027374 -1.44% -1.42% 0.99x
is_array_type[bytes32] 0.0003992515562213059 0.0004093624106479553 -2.53% -2.47% 0.98x
is_array_type[bytes33] 0.0003986003222875766 0.00040870720625020275 -2.54% -2.47% 0.98x
is_array_type[empty] 0.0003049551260036354 0.0003166586420549726 -3.84% -3.70% 0.96x
is_array_type[enum] 0.0003904361823370026 0.0004025013783798957 -3.09% -3.00% 0.97x
is_array_type[int256] 0.0003912121198188741 0.0003967526987074703 -1.42% -1.40% 0.99x
is_array_type[invalid] 0.0004084914083381678 0.00041911450505906776 -2.60% -2.53% 0.97x
is_array_type[string] 0.00039166906064954786 0.0003995983508489097 -2.02% -1.98% 0.98x
is_array_type[tuple-array] 0.0004081832806638934 0.00041953818205817497 -2.78% -2.71% 0.97x
is_array_type[tuple] 0.00038022806454211306 0.00038440160420851615 -1.10% -1.09% 0.99x
is_array_type[uint256] 0.0003973470874565698 0.0004045790162419882 -1.82% -1.79% 0.98x
is_bool_type[address] 0.000042956187683755324 0.00004319093784931164 -0.55% -0.54% 0.99x
is_bool_type[array] 0.000044438085005519995 0.00004490539295947668 -1.05% -1.04% 0.99x
is_bool_type[bool] 0.000043841922113495494 0.000043344138743899985 1.14% 1.15% 1.01x
is_bool_type[bytes] 0.00004270223839566897 0.00004341221597894413 -1.66% -1.64% 0.98x
is_bool_type[bytes32] 0.000042685089634101216 0.000043317724284056794 -1.48% -1.46% 0.99x
is_bool_type[bytes33] 0.0000444092929126015 0.00004496737363443318 -1.26% -1.24% 0.99x
is_bool_type[empty] 0.000042640454545696274 0.00004337191620336049 -1.72% -1.69% 0.98x
is_bool_type[enum] 0.00004467403479465861 0.00004489777796511483 -0.50% -0.50% 1.00x
is_bool_type[int256] 0.00004315957875668794 0.00004314534234082593 0.03% 0.03% 1.00x
is_bool_type[invalid] 0.00004445127685673693 0.00004476871152417878 -0.71% -0.71% 0.99x
is_bool_type[string] 0.00004244803355779142 0.00004343949731430767 -2.34% -2.28% 0.98x
is_bool_type[tuple-array] 0.00004421053129801146 0.0000446893392655746 -1.08% -1.07% 0.99x
is_bool_type[tuple] 0.00004309894225345924 0.00004322652443781952 -0.30% -0.30% 1.00x
is_bool_type[uint256] 0.00004245063724411119 0.00004347212067393222 -2.41% -2.35% 0.98x
is_bytes_type[address] 0.0003025437286328277 0.0003184167176756957 -5.25% -4.98% 0.95x
is_bytes_type[array] 0.0003126136644433635 0.00030265065841236777 3.19% 3.29% 1.03x
is_bytes_type[bool] 0.0002806248195555344 0.0002834282159060275 -1.00% -0.99% 0.99x
is_bytes_type[bytes] 0.00027912242415815356 0.0002789534094919544 0.06% 0.06% 1.00x
is_bytes_type[bytes32] 0.0003004938255279983 0.00029383897563002554 2.21% 2.26% 1.02x
is_bytes_type[bytes33] 0.00031913946451067387 0.00031014853370126504 2.82% 2.90% 1.03x
is_bytes_type[empty] 0.0002849073582979306 0.00028300810486339814 0.67% 0.67% 1.01x
is_bytes_type[enum] 0.000294798367625265 0.00029582040476296443 -0.35% -0.35% 1.00x
is_bytes_type[int256] 0.00028579958475235775 0.0002938469667667377 -2.82% -2.74% 0.97x
is_bytes_type[invalid] 0.00028462655683465695 0.00028252775397499905 0.74% 0.74% 1.01x
is_bytes_type[string] 0.0002926583134335079 0.0002979813324000427 -1.82% -1.79% 0.98x
is_bytes_type[tuple-array] 0.00028382386497703227 0.0002751668839473984 3.05% 3.15% 1.03x
is_bytes_type[tuple] 0.0002798939982393617 0.0002797544695694801 0.05% 0.05% 1.00x
is_bytes_type[uint256] 0.00031958523126135257 0.0003113095687580054 2.59% 2.66% 1.03x
is_int_type[address] 0.00019929715464206578 0.00019997249173958726 -0.34% -0.34% 1.00x
is_int_type[array] 0.00020015328913001293 0.00019907852552475776 0.54% 0.54% 1.01x
is_int_type[bool] 0.00020080830220769219 0.0002010166126593358 -0.10% -0.10% 1.00x
is_int_type[bytes] 0.00021143340759282485 0.00022680124783536876 -7.27% -6.78% 0.93x
is_int_type[bytes32] 0.00020033657424332717 0.00019770605309724393 1.31% 1.33% 1.01x
is_int_type[bytes33] 0.00019916047545020973 0.00020448499113780695 -2.67% -2.60% 0.97x
is_int_type[empty] 0.0001997542533065521 0.00021012521269752135 -5.19% -4.94% 0.95x
is_int_type[enum] 0.00022773029403726715 0.0002428152182345112 -6.62% -6.21% 0.94x
is_int_type[int256] 0.00022909883106814912 0.00023525415764557163 -2.69% -2.62% 0.97x
is_int_type[invalid] 0.000199963853400709 0.00020947582971466477 -4.76% -4.54% 0.95x
is_int_type[string] 0.00022998315594261167 0.00022970481041547765 0.12% 0.12% 1.00x
is_int_type[tuple-array] 0.00020361791947019788 0.00020971003144152765 -2.99% -2.91% 0.97x
is_int_type[tuple] 0.0002156329044338784 0.00022198986061570014 -2.95% -2.86% 0.97x
is_int_type[uint256] 0.0002007737354231301 0.00019951102655382295 0.63% 0.63% 1.01x
is_probably_enum[address] 0.00006576730592390433 0.0000680001224978851 -3.40% -3.28% 0.97x
is_probably_enum[empty] 0.00006188915351545265 0.00006370466245801958 -2.93% -2.85% 0.97x
is_probably_enum[enum] 0.0000656462464888186 0.00006737650869389042 -2.64% -2.57% 0.97x
is_probably_enum[lib-dot] 0.00006696715623512305 0.00006914632928398608 -3.25% -3.15% 0.97x
is_probably_enum[lib-enum] 0.00007452602078457295 0.0000762857893489816 -2.36% -2.31% 0.98x
is_probably_enum[uint256] 0.00006591271037630444 0.00006824709778619102 -3.54% -3.42% 0.97x
is_recognized_type[address] 0.00007958179826311584 0.00008355156029684255 -4.99% -4.75% 0.95x
is_recognized_type[array] 0.00008443413876578204 0.00008860224880125961 -4.94% -4.70% 0.95x
is_recognized_type[bool] 0.00007801895455343979 0.00008338176863457447 -6.87% -6.43% 0.94x
is_recognized_type[bytes] 0.0001564307868522568 0.00016168187103435077 -3.36% -3.25% 0.97x
is_recognized_type[bytes32] 0.0001502246309798389 0.00015554014265002785 -3.54% -3.42% 0.97x
is_recognized_type[bytes33] 0.0001398343309708105 0.00014520839497892787 -3.84% -3.70% 0.96x
is_recognized_type[empty] 0.00006216933752301761 0.0000661771146663539 -6.45% -6.06% 0.94x
is_recognized_type[enum] 0.00008502959154913909 0.00009064818443822597 -6.61% -6.20% 0.94x
is_recognized_type[int256] 0.00012599802258449907 0.0001313229094651675 -4.23% -4.05% 0.96x
is_recognized_type[invalid] 0.00008505385318621258 0.00009017665199715895 -6.02% -5.68% 0.94x
is_recognized_type[string] 0.00010227928069471377 0.00010752088133664723 -5.12% -4.87% 0.95x
is_recognized_type[tuple-array] 0.00008510695798335674 0.00009036466691707738 -6.18% -5.82% 0.94x
is_recognized_type[tuple] 0.00008399499276675802 0.00009052018503143894 -7.77% -7.21% 0.93x
is_recognized_type[uint256] 0.00012669248524687756 0.00013291652564939295 -4.91% -4.68% 0.95x
is_string_type[address] 0.00004328029542671907 0.00004307929520561041 0.46% 0.47% 1.00x
is_string_type[array] 0.00004448511146460901 0.000044090166066116316 0.89% 0.90% 1.01x
is_string_type[bool] 0.00004303058518266045 0.00004323654289147656 -0.48% -0.48% 1.00x
is_string_type[bytes] 0.00004299665031600972 0.00004369235001496572 -1.62% -1.59% 0.98x
is_string_type[bytes32] 0.00004316612029478924 0.00004280772861029751 0.83% 0.84% 1.01x
is_string_type[bytes33] 0.000044019041271544735 0.000044590476667935366 -1.30% -1.28% 0.99x
is_string_type[empty] 0.00004312365585160062 0.00004348799768282482 -0.84% -0.84% 0.99x
is_string_type[enum] 0.000046634259303198245 0.00004607990160302404 1.19% 1.20% 1.01x
is_string_type[int256] 0.000045115315087952804 0.000044825515723832683 0.64% 0.65% 1.01x
is_string_type[invalid] 0.00004469009106562841 0.00004477717737803661 -0.19% -0.19% 1.00x
is_string_type[string] 0.00004331298021518622 0.000043820636427466815 -1.17% -1.16% 0.99x
is_string_type[tuple-array] 0.00004444986954212666 0.00004463136947686899 -0.41% -0.41% 1.00x
is_string_type[tuple] 0.00004338634649264186 0.00004314182652598841 0.56% 0.57% 1.01x
is_string_type[uint256] 0.00004321437497247004 0.000042705466587606684 1.18% 1.19% 1.01x
is_uint_type[address] 0.00023417588295345198 0.00022482964628974634 3.99% 4.16% 1.04x
is_uint_type[array] 0.00022572478058047502 0.0002215638784990471 1.84% 1.88% 1.02x
is_uint_type[bool] 0.0001987046664698144 0.0001974762311964185 0.62% 0.62% 1.01x
is_uint_type[bytes] 0.00019865329805439217 0.0002022903644266724 -1.83% -1.80% 0.98x
is_uint_type[bytes32] 0.00021823773341141906 0.00022828255106616124 -4.60% -4.40% 0.96x
is_uint_type[bytes33] 0.0002280638717423855 0.00023299490634600865 -2.16% -2.12% 0.98x
is_uint_type[empty] 0.00019988305813941435 0.00020126129973628684 -0.69% -0.68% 0.99x
is_uint_type[enum] 0.00020997927345749385 0.00021568190322696881 -2.72% -2.64% 0.97x
is_uint_type[int256] 0.00021964359652700533 0.0002142185852729227 2.47% 2.53% 1.03x
is_uint_type[invalid] 0.00019995535168610898 0.00019833319011691513 0.81% 0.82% 1.01x
is_uint_type[string] 0.00021899248276675338 0.0002152751186471124 1.70% 1.73% 1.02x
is_uint_type[tuple-array] 0.0001999141546398755 0.00019997950922346632 -0.03% -0.03% 1.00x
is_uint_type[tuple] 0.0002007639596209087 0.00019883514093139103 0.96% 0.97% 1.01x
is_uint_type[uint256] 0.0002352151226857145 0.00023438303784132372 0.35% 0.36% 1.00x
length_of_array_type[dynamic] 0.00016645584991998588 0.00017131506713322778 -2.92% -2.84% 0.97x
length_of_array_type[fixed] 0.00018117000931012448 0.00017916315015421353 1.11% 1.12% 1.01x
length_of_array_type[nested] 0.0001845535702993009 0.00018764860105785461 -1.68% -1.65% 0.98x
map_abi_data 0.0064370634191193935 0.005198039551145102 19.25% 23.84% 1.24x
normalize_event_input_types 0.0004250950366882595 0.00044285975117234507 -4.18% -4.01% 0.96x
receive_func_abi_exists 0.0003163913317902165 0.00032470264705958496 -2.63% -2.56% 0.97x
strip_abi_types 0.0016360369246259802 0.0015881609540991898 2.93% 3.01% 1.03x
sub_type_of_array_type[nested] 0.00017738270936147556 0.0001863327076765397 -5.05% -4.80% 0.95x
sub_type_of_array_type[simple] 0.00016900258259915495 0.00017712744350177392 -4.81% -4.59% 0.95x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000020704242942310966 0.000021922900575572562 -5.89% -5.56% 0.94x
is_hex_encoded_block_hash[invalid-g] 0.00008350934122713977 0.00006044851754773604 27.61% 38.15% 1.38x
is_hex_encoded_block_hash[none] 0.000020732889671044715 0.000021603224876489232 -4.20% -4.03% 0.96x
is_hex_encoded_block_hash[short] 0.000044874892674992246 0.000026393104277614006 41.19% 70.03% 1.70x
is_hex_encoded_block_hash[too-long] 0.00004535767028938955 0.000026475282756447752 41.63% 71.32% 1.71x
is_hex_encoded_block_hash[too-short] 0.00004476492626307674 0.00002607583202865798 41.75% 71.67% 1.72x
is_hex_encoded_block_hash[valid-a] 0.00009385991485344777 0.00007289790622821772 22.33% 28.76% 1.29x
is_hex_encoded_block_hash[valid-f] 0.00009393721288327098 0.00007230631443228167 23.03% 29.92% 1.30x
is_hex_encoded_block_number[int] 0.00002072592184763251 0.000022436767028884536 -8.25% -7.63% 0.92x
is_hex_encoded_block_number[invalid-g] 0.00016817495744691336 0.00022850204248662506 -35.87% -26.40% 0.74x
is_hex_encoded_block_number[max-64-a] 0.0001053587921244364 0.0000840081641661782 20.26% 25.41% 1.25x
is_hex_encoded_block_number[max-64-f] 0.0001046182954721028 0.00008384518431038441 19.86% 24.78% 1.25x
is_hex_encoded_block_number[none] 0.00002057244350688588 0.000022828521242702252 -10.97% -9.88% 0.90x
is_hex_encoded_block_number[small] 0.00009268264752177236 0.000047003060210636035 49.29% 97.18% 1.97x
is_hex_encoded_block_number[too-long] 0.00010821900916661478 0.00006469889825626711 40.21% 67.27% 1.67x
is_predefined_block_number[bytes-latest] 0.00003320496766107775 0.000030082780825468588 9.40% 10.38% 1.10x
is_predefined_block_number[bytes-pending] 0.00003215809258558354 0.0000298843725567267 7.07% 7.61% 1.08x
is_predefined_block_number[bytes-random] 0.0000314435733327509 0.0000289331100946315 7.98% 8.68% 1.09x
is_predefined_block_number[int] 0.000033358671550147523 0.000024396412443354516 26.87% 36.74% 1.37x
is_predefined_block_number[none] 0.0001227108702676615 0.00021610456556328962 -76.11% -43.22% 0.57x
is_predefined_block_number[object] 0.00015648865887706744 0.00025049626592516737 -60.07% -37.53% 0.62x
is_predefined_block_number[str-earliest] 0.000013850531471172977 0.000010321046913457207 25.48% 34.20% 1.34x
is_predefined_block_number[str-finalized] 0.000013882527077315526 0.000010112850995643666 27.15% 37.28% 1.37x
is_predefined_block_number[str-foo] 0.00001386120324681576 0.000009637491105915774 30.47% 43.83% 1.44x
is_predefined_block_number[str-latest] 0.000013902405252282497 0.000010368545581303937 25.42% 34.08% 1.34x
is_predefined_block_number[str-pending] 0.000014056371811184852 0.00001030766618215008 26.67% 36.37% 1.36x
is_predefined_block_number[str-safe] 0.000013882001699521383 0.000010182216489056432 26.65% 36.34% 1.36x
select_method_for_block_identifier[hash-bytes] 0.00005102520205783248 0.00004282115015848523 16.08% 19.16% 1.19x
select_method_for_block_identifier[hash-hexstr] 0.00013171681427369994 0.00009076524178203947 31.09% 45.12% 1.45x
select_method_for_block_identifier[invalid-none] 0.0009012729903095836 0.0010704442215487787 -18.77% -15.80% 0.84x
select_method_for_block_identifier[invalid-object] 0.0009399934155860867 0.0011125154105662651 -18.35% -15.51% 0.84x
select_method_for_block_identifier[number-hexstr] 0.000170540713535299 0.00008786023541605494 48.48% 94.10% 1.94x
select_method_for_block_identifier[number-int] 0.00010999209806040009 0.00005664309097976728 48.50% 94.18% 1.94x
select_method_for_block_identifier[predefined-bytes] 0.000049637420646377505 0.00004430264916457117 10.75% 12.04% 1.12x
select_method_for_block_identifier[predefined-str] 0.000027434703007605016 0.000020156969965527204 26.53% 36.11% 1.36x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00047656776885566073 0.0005678073995003241 -19.15% -16.07% 0.84x
PropertyCheckingFactory[big-valid] 0.00047629355617308656 0.0005637112759072881 -18.35% -15.51% 0.84x
PropertyCheckingFactory[inheritance] 0.001002617016731867 0.0009926858398278783 0.99% 1.00% 1.01x
PropertyCheckingFactory[invalid] 0.00047210563369569494 0.0005597506301414862 -18.56% -15.66% 0.84x
PropertyCheckingFactory[multi-normalizer] 0.0004729560874390936 0.0005653792650853818 -19.54% -16.35% 0.84x
PropertyCheckingFactory[multi-prop] 0.00047281196744212463 0.0005649683863905721 -19.49% -16.31% 0.84x
PropertyCheckingFactory[normalized] 0.0004745185046569126 0.0005592575394157704 -17.86% -15.15% 0.85x
PropertyCheckingFactory[valid] 0.001283044350550851 0.0010368420508881531 19.19% 23.75% 1.24x
verify_attr[empty] 0.00010065581455923997 0.00016096049266669268 -59.91% -37.47% 0.63x
verify_attr[found-end] 0.00001205014676890066 0.000009799761100223343 18.68% 22.96% 1.23x
verify_attr[found-start] 0.000009239145801498618 0.000007479867905058741 19.04% 23.52% 1.24x
verify_attr[large-found] 0.00013096080676391908 0.00012891008474379982 1.57% 1.59% 1.02x
verify_attr[large-notfound] 0.00019880036965081325 0.0002601924182381803 -30.88% -23.59% 0.76x
verify_attr[notfound] 0.00010506900801438246 0.0001656245824680986 -57.63% -36.56% 0.63x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006467802023132816 0.0006586629233380558 -1.84% -1.80% 0.98x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007846624182050828 0.00002507252945461855 68.05% 212.96% 3.13x
percentile[100-90th] 0.00011195883239246882 0.000054178537011925456 51.61% 106.65% 2.07x
percentile[100k-99th] 0.03669330182145002 0.03640344560714733 0.79% 0.80% 1.01x
percentile[100k-median] 0.03689018911540223 0.036148792222211006 2.01% 2.05% 1.02x
percentile[10k-10th] 0.0038072351240223076 0.0036636645763375767 3.77% 3.92% 1.04x
percentile[10k-99th] 0.003795960679383804 0.0037043807110969146 2.41% 2.47% 1.02x
percentile[10k-median] 0.003771276475096097 0.003679285062502532 2.44% 2.50% 1.03x
percentile[1k-99th] 0.0004757138872367034 0.00039983348576522226 15.95% 18.98% 1.19x
percentile[1M-median] 0.7165927911999915 0.706307591399991 1.44% 1.46% 1.01x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012794699652088152 0.000006966209075329007 45.55% 83.67% 1.84x
to_bytes_if_hex[empty-str] 0.00031391403728869924 0.000037014459930731936 88.21% 748.08% 8.48x
to_bytes_if_hex[hexstr] 0.00033808275192156475 0.00004577149559343637 86.46% 638.63% 7.39x
to_bytes_if_hex[large-hex] 0.00034515156571502477 0.00005089390147591583 85.25% 578.18% 6.78x
to_bytes_if_hex[non-prefixed-hex] 0.00032343825242327743 0.00004169950164366608 87.11% 675.64% 7.76x
to_bytes_if_hex[nothex] 0.0004173945924088512 0.000268241410852896 35.73% 55.60% 1.56x
to_bytes_if_hex[unicode] 0.00042374366865212176 0.0002748913621928011 35.13% 54.15% 1.54x
to_bytes_if_hex[zero] 0.0003435865424613566 0.000045964965579385615 86.62% 647.50% 7.47x
to_hex_if_bytes[bytes] 0.00022354399165516134 0.00004747964526492191 78.76% 370.82% 4.71x
to_hex_if_bytes[empty-bytes] 0.00021147482079271818 0.00003768403026130522 82.18% 461.18% 5.61x
to_hex_if_bytes[empty-str] 0.00010209769283712936 0.00018783510530197948 -83.98% -45.65% 0.54x
to_hex_if_bytes[hexstr] 0.0002849591658144207 0.00002228660922813686 92.18% 1178.61% 12.79x
to_hex_if_bytes[large-bytes] 0.0002269226550398212 0.00005036414188697048 77.81% 350.56% 4.51x
to_hex_if_bytes[non-prefixed-hex] 0.00010385029194736958 0.00019062340783272824 -83.56% -45.52% 0.54x
to_hex_if_bytes[not-hex] 0.00010440407438300622 0.00019092498047515124 -82.87% -45.32% 0.55x
to_hex_if_bytes[unicode] 0.000110058443759743 0.0001977850510468972 -79.71% -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.00030810475632772085 0.0001068013208988055 65.34% 188.48% 2.88x
all_in_dict[empty-dict] 0.00026101020839744546 0.00007618788906292779 70.81% 242.59% 3.43x
all_in_dict[empty-list] 0.00025952105385959855 0.0000885363609301883 65.88% 193.12% 2.93x
all_in_dict[mixed-types] 0.00030864181961018415 0.00011056484458388317 64.18% 179.15% 2.79x
all_in_dict[no-overlap] 0.0002775762386784262 0.00009170948309815737 66.96% 202.67% 3.03x
all_in_dict[none-in] 0.00028137288639160237 0.0000963756538749886 65.75% 191.95% 2.92x
all_in_dict[one-in] 0.0002828118027668796 0.0000942504817848327 66.67% 200.06% 3.00x
all_in_dict[partial-overlap] 0.000312053423118711 0.00010327460607175722 66.90% 202.16% 3.02x
all_in_dict[value-none] 0.00028029170461526187 0.0000943513499372732 66.34% 197.07% 2.97x
any_in_dict[all-in] 0.0002783578506460487 0.0000941720225438376 66.17% 195.58% 2.96x
any_in_dict[empty-dict] 0.0003078588735850837 0.00009514363489605819 69.10% 223.57% 3.24x
any_in_dict[empty-list] 0.0002607412581510665 0.00009056596990241486 65.27% 187.90% 2.88x
any_in_dict[mixed-types] 0.00028108346023800174 0.00009380619591369392 66.63% 199.64% 3.00x
any_in_dict[no-overlap] 0.0003267442836551379 0.00011050647759638609 66.18% 195.68% 2.96x
any_in_dict[none-in] 0.00029053555014125186 0.00010307055284884208 64.52% 181.88% 2.82x
any_in_dict[one-in] 0.0002766306799887159 0.00009227373610467782 66.64% 199.79% 3.00x
any_in_dict[partial-overlap] 0.00027811789555288313 0.00009351679765817575 66.38% 197.40% 2.97x
any_in_dict[value-none] 0.000277932992047094 0.00009186049734195076 66.95% 202.56% 3.03x
either_set_is_a_subset[both-empty] 0.00016909180563686287 0.0001457689550331895 13.79% 16.00% 1.16x
either_set_is_a_subset[empty-set1] 0.00016972254855081125 0.00014755637658709706 13.06% 15.02% 1.15x
either_set_is_a_subset[empty-set2] 0.00025167647474387073 0.000242490854005891 3.65% 3.79% 1.04x
either_set_is_a_subset[identical] 0.0001862283471739368 0.00016043460570417382 13.85% 16.08% 1.16x
either_set_is_a_subset[mixed-types] 0.00019118629813233025 0.00016617819403234134 13.08% 15.05% 1.15x
either_set_is_a_subset[not-subset] 0.0002726915348473579 0.00024932725874922065 8.57% 9.37% 1.09x
either_set_is_a_subset[partial-overlap] 0.0003012220304494624 0.00027472658144955705 8.80% 9.64% 1.10x
either_set_is_a_subset[subset] 0.00019505887781852478 0.00016926638789849252 13.22% 15.24% 1.15x
either_set_is_a_subset[superset] 0.0002970648539291731 0.00027847771910603493 6.26% 6.67% 1.07x
none_in_dict[all-in] 0.0002920345877237757 0.00008759219896283417 70.01% 233.40% 3.33x
none_in_dict[empty-dict] 0.00032328905729740834 0.00009101132668586374 71.85% 255.22% 3.55x
none_in_dict[empty-list] 0.0002824550114836054 0.00008728877426650087 69.10% 223.59% 3.24x
none_in_dict[mixed-types] 0.00029481657874576804 0.00008960662370785944 69.61% 229.01% 3.29x
none_in_dict[no-overlap] 0.0003416531426615434 0.00010597075890459782 68.98% 222.40% 3.22x
none_in_dict[none-in] 0.00030564992338447783 0.00009815919905386922 67.89% 211.38% 3.11x
none_in_dict[one-in] 0.000291118066180996 0.00008646926134155533 70.30% 236.67% 3.37x
none_in_dict[partial-overlap] 0.0002917979294457202 0.0000880108450462601 69.84% 231.55% 3.32x
none_in_dict[value-none] 0.00029069952551322577 0.00008638450097177778 70.28% 236.52% 3.37x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014839712398233408 0.0014833301854003658 0.04% 0.04% 1.00x
attributedict_hash[flat] 0.0011344353180196415 0.0011144242125837862 1.76% 1.80% 1.02x
attributedict_hash[nested] 0.001741118851154612 0.0017542526108773055 -0.75% -0.75% 0.99x
attributedict_init[empty] 0.00008665639456228267 0.00008859398005927001 -2.24% -2.19% 0.98x
attributedict_init[large] 0.0001271235802323208 0.00012754822155174514 -0.33% -0.33% 1.00x
attributedict_init[small] 0.00009197425443944805 0.00009242532177068574 -0.49% -0.49% 1.00x
mutableattributedict_delitem 0.00039678757937445977 0.0004035036096749894 -1.69% -1.66% 0.98x
mutableattributedict_setitem 0.00032884102244141425 0.0003270138411295369 0.56% 0.56% 1.01x
namedelementonion_add 0.00839935883338209 0.02959600382979448 -252.36% -71.62% 0.28x
namedelementonion_as_tuple_of_middleware 0.00015288808398873424 0.0001535086994907142 -0.41% -0.40% 1.00x
namedelementonion_contains 0.00003023477875052043 0.00003060161288174367 -1.21% -1.20% 0.99x
namedelementonion_getitem 0.00002771829232013915 0.000027657662417911993 0.22% 0.22% 1.00x
namedelementonion_init[callables2] 0.00012574391041215524 0.00012382614913694542 1.53% 1.55% 1.02x
namedelementonion_init[callables3] 0.00015772199599697366 0.00016189258410149722 -2.64% -2.58% 0.97x
namedelementonion_init[empty] 0.0000442703166069107 0.00004352781457733392 1.68% 1.71% 1.02x
namedelementonion_inject 0.030344022580223923 0.0316451839340531 -4.29% -4.11% 0.96x
namedelementonion_iter 0.00015330493141695216 0.00015159242391146955 1.12% 1.13% 1.01x
namedelementonion_remove 0.0006657663347289762 0.0006706371296951045 -0.73% -0.73% 0.99x
namedelementonion_replace 0.0024076434310711676 0.002398982982890685 0.36% 0.36% 1.00x
readableattributedict_getitem[large] 0.00001595473994010914 0.000015998889937259107 -0.28% -0.28% 1.00x
readableattributedict_getitem[small] 0.000014834281976542858 0.000014644140476329122 1.28% 1.30% 1.01x
readableattributedict_init[empty] 0.0000521030371512036 0.0000521221381205437 -0.04% -0.04% 1.00x
readableattributedict_init[large] 0.00008671578251585795 0.0000870072431038981 -0.34% -0.33% 1.00x
readableattributedict_init[small] 0.00005632204930402151 0.00005637958416453755 -0.10% -0.10% 1.00x
readableattributedict_recursive[list-in-dict] 0.0008883307145451495 0.0009002361371247629 -1.34% -1.32% 0.99x
readableattributedict_recursive[nested-dict] 0.0009236128217060719 0.0009203984178665303 0.35% 0.35% 1.00x
readableattributedict_recursive[set] 0.0004730454651483733 0.000463199994687828 2.08% 2.13% 1.02x
tupleize_lists_nested[list-in-dict] 0.0008672388226368009 0.0008628648820757582 0.50% 0.51% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.0009550246025915829 0.0009504884214450069 0.47% 0.48% 1.00x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003308247887099313 0.0002498929839444476 24.46% 32.39% 1.32x
simplecache_cache[100] 0.0026938852615896952 0.0018996655444039143 29.48% 41.81% 1.42x
simplecache_cache[1000] 0.027466116108113253 0.018403734203713138 32.99% 49.24% 1.49x
simplecache_eviction[10] 0.0005891263936992431 0.0005801921929112006 1.52% 1.54% 1.02x
simplecache_eviction[100] 0.005144402839382824 0.005413875864588154 -5.24% -4.98% 0.95x
simplecache_pop[10] 0.0004680336453105864 0.00035806993315316566 23.49% 30.71% 1.31x
simplecache_pop[100] 0.0038379966769280845 0.00297345929166343 22.53% 29.08% 1.29x
simplecache_retrieval[10] 0.00009339089235742824 0.00005845144328877459 37.41% 59.78% 1.60x
simplecache_retrieval[100] 0.0008192310612601534 0.00046498838878451424 43.24% 76.18% 1.76x

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 17, 2025

CodSpeed Performance Report

Merging #124 will not alter performance

Comparing BobTheBuidler-patch-4 (865843d) with master (d0b63a0)1

Summary

✅ 431 untouched
⏩ 91 skipped2

Footnotes

  1. No successful run was found on master (143b210) during the generation of this report, so d0b63a0 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

  2. 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.

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