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.0000019209317139933607 0.0000011270413750378338 41.33% 70.44% 1.70x
is_valid_name[a..eth] 0.00002515154195680704 0.000029605440439702012 -17.71% -15.04% 0.85x
is_valid_name[a.eth..] 0.000025722920834285405 0.000029465229491849298 -14.55% -12.70% 0.87x
is_valid_name[a.eth.] 0.000025360558228777105 0.000029655965502222704 -16.94% -14.48% 0.86x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.24463458820005143 0.23667962539998372 3.25% 3.36% 1.03x
is_valid_name[alice.eth] 0.01073734072631037 0.011045162444444638 -2.87% -2.79% 0.97x
is_valid_name[bob.eth] 0.006463474654078967 0.006831258529801678 -5.69% -5.38% 0.95x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2869450806000259 0.24876874279998445 13.30% 15.35% 1.15x
is_valid_name[subdomain.alice.eth] 0.031888452500005826 0.03314748221873742 -3.95% -3.80% 0.96x
labelhash[] 0.000136353118123463 0.00008307662605643932 39.07% 64.13% 1.64x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23600977799992506 0.24368581939997966 -3.25% -3.15% 0.97x
labelhash[alice] 0.007811333354324033 0.007918953733880494 -1.38% -1.36% 0.99x
labelhash[bob] 0.0035198987326362876 0.003431238215280056 2.52% 2.58% 1.03x
labelhash[emoji\U0001f468\U0001f3fb] 0.28088796479996747 0.23652603800005637 15.79% 18.76% 1.19x
labelhash[xn--fiqs8s] 0.02517347241463562 0.02533827280001333 -0.65% -0.65% 0.99x
namehash[] 0.000010038597330207505 0.000003161233856760621 68.51% 217.55% 3.18x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.47133987160004837 0.47886433180001403 -1.60% -1.57% 0.98x
namehash[alice.eth] 0.022495983733344677 0.02271929900001107 -0.99% -0.98% 0.99x
namehash[bob.eth] 0.01380236005405009 0.014068884027409856 -1.93% -1.89% 0.98x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5277935424000588 0.5045868606000568 4.40% 4.60% 1.05x
namehash[subdomain.alice.eth] 0.06321974281249254 0.06583264637501429 -4.13% -3.97% 0.96x
nameprep[] 0.00000865240092993029 0.000002982106966324581 65.53% 190.14% 2.90x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23034707600008913 0.23737286460009271 -3.05% -2.96% 0.97x
nameprep[alice.eth] 0.010643530831597863 0.010991998573046474 -3.27% -3.17% 0.97x
nameprep[bob.eth] 0.0062006933310769724 0.006628401721857982 -6.90% -6.45% 0.94x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.2549555943999621 0.26650728559993697 -4.53% -4.33% 0.96x
nameprep[subdomain.alice.eth] 0.031459749064527295 0.03233260128128279 -2.77% -2.70% 0.97x
parent[] 9.714404081592976e-7 8.624636916038403e-7 11.22% 12.64% 1.13x
parent[bar.eth] 0.000003754383070600839 0.0000025704145668469034 31.54% 46.06% 1.46x
parent[eth] 0.0000021811270871167663 0.0000015170607628012805 30.45% 43.77% 1.44x
parent[foo.bar.eth] 0.000004433040268510647 0.000003191386399232419 28.01% 38.91% 1.39x
parent[sub.sub2.foo.bar.eth] 0.000005222034786365888 0.0000039580116607954524 24.21% 31.94% 1.32x
reverse_domain[0x0000000000000000000000000000000000000000] 0.000050338468254338656 0.000016828552790643232 66.57% 199.13% 2.99x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005028332746393278 0.000017273103731539023 65.65% 191.11% 2.91x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005063954168193665 0.000016881794979166186 66.66% 199.97% 3.00x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013991741713703836 0.000014558930243220721 -4.05% -3.90% 0.96x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013905356235693896 0.000013929517795235662 -0.17% -0.17% 1.00x
address[alice.eth] 0.000014007436417402025 0.000014028720483425503 -0.15% -0.15% 1.00x
address[bob.eth] 0.000014142725851710955 0.000014093312471041589 0.35% 0.35% 1.00x
address[emoji\U0001f468\U0001f3fb.eth] 0.000014054063096527702 0.00001396059869258231 0.67% 0.67% 1.01x
address[subdomain.alice.eth] 0.000014035804143949686 0.000014013660929804202 0.16% 0.16% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014207143503824348 0.00014095114358534655 0.79% 0.79% 1.01x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0001419627254424154 0.00014151003209624994 0.32% 0.32% 1.00x
normalize_name_ensip15[alice.eth] 0.00014137539620835587 0.00014121486085787182 0.11% 0.11% 1.00x
normalize_name_ensip15[bob.eth] 0.00014100502122513177 0.00014136297535706748 -0.25% -0.25% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014887340544595865 0.00014151911352223005 4.94% 5.20% 1.05x
normalize_name_ensip15[subdomain.alice.eth] 0.00014244707716296512 0.0001408548823038887 1.12% 1.13% 1.01x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.002507721031089119 0.0008339912760438514 66.74% 200.69% 3.01x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002511983351755749 0.0008269392558916843 67.08% 203.77% 3.04x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.002515207702360359 0.0008179147799487282 67.48% 207.51% 3.08x
dns_encode_name[] 0.000006556252781109936 0.000004277899136578186 34.75% 53.26% 1.53x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22799668460002068 0.23603735240003515 -3.53% -3.41% 0.97x
dns_encode_name[alice.eth] 0.01122503401099923 0.011412538415723329 -1.67% -1.64% 0.98x
dns_encode_name[bob.eth] 0.006826479966663707 0.006871903866672255 -0.67% -0.66% 0.99x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.28456130999993545 0.24856228440003178 12.65% 14.48% 1.14x
dns_encode_name[subdomain.alice.eth] 0.03154616366665516 0.032513187781255226 -3.07% -2.97% 0.97x
estimate_auction_start_gas[labels0] 0.00007497043315071169 0.00004823888269491086 35.66% 55.41% 1.55x
estimate_auction_start_gas[labels1] 0.0000759988039435586 0.00004710264649914608 38.02% 61.35% 1.61x
estimate_auction_start_gas[labels2] 0.00006816159344189262 0.00004809645410078329 29.44% 41.72% 1.42x
is_empty_name[ ] 0.00006256830521679832 0.00004038823624212739 35.45% 54.92% 1.55x
is_empty_name[.] 0.00006275450396191237 0.00004142992973165852 33.98% 51.47% 1.51x
is_empty_name[0] 0.00006406699797496228 0.00004001951536705588 37.53% 60.09% 1.60x
is_empty_name[1] 0.00006408982502548633 0.000040391447672037095 36.98% 58.67% 1.59x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000064115252656043 0.000040193077994155296 37.31% 59.52% 1.60x
is_empty_name[alice.eth] 0.00006429858964243545 0.0000400642183622619 37.69% 60.49% 1.60x
is_empty_name[bob.eth] 0.00006362140002593232 0.00004061501715393323 36.16% 56.65% 1.57x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00006372847481106522 0.000041405406328520344 35.03% 53.91% 1.54x
is_empty_name[subdomain.alice.eth] 0.00006458197802855818 0.000040593275265612634 37.14% 59.10% 1.59x
is_none_or_zero_address[] 0.00005103183047412168 0.00003940645142636041 22.78% 29.50% 1.30x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00005849638606919608 0.000047058941329335026 19.55% 24.30% 1.24x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005774398303698233 0.00004866359160609019 15.73% 18.66% 1.19x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005758630125032293 0.00004865906039154939 15.50% 18.35% 1.18x
is_valid_ens_name[] 0.0000018857546402870586 0.0000014143796062577317 25.00% 33.33% 1.33x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23889669040004263 0.23847291020001649 0.18% 0.18% 1.00x
is_valid_ens_name[alice.eth] 0.010724250736850656 0.011099364888877972 -3.50% -3.38% 0.97x
is_valid_ens_name[bar] 0.0000020209559209751462 0.0000015179969029206792 24.89% 33.13% 1.33x
is_valid_ens_name[baz] 0.0000020062774059468717 0.0000014980600978356313 25.33% 33.93% 1.34x
is_valid_ens_name[bob.eth] 0.0065447176560439494 0.006688235357614758 -2.19% -2.15% 0.98x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.2897905327999979 0.2596768866000275 10.39% 11.60% 1.12x
is_valid_ens_name[foo] 0.000002063625152720958 0.0000014918697899139429 27.71% 38.32% 1.38x
is_valid_ens_name[subdomain.alice.eth] 0.03212761056250457 0.03221522018748857 -0.27% -0.27% 1.00x
is_valid_name[] 0.0000016408641617184323 0.0000010008153025189932 39.01% 63.95% 1.64x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23053192920010587 0.24215096359998825 -5.04% -4.80% 0.95x
is_valid_name[alice.eth] 0.010746296947371248 0.011036984033322976 -2.70% -2.63% 0.97x
is_valid_name[bob.eth] 0.006304928981370106 0.006803048249996604 -7.90% -7.32% 0.93x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2699348174000079 0.2593493419999504 3.92% 4.08% 1.04x
is_valid_name[subdomain.alice.eth] 0.031183322393947794 0.03339082809676227 -7.08% -6.61% 0.93x
label_to_hash[] 0.00013514359392607778 0.00008244605958394001 38.99% 63.92% 1.64x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2399160477999885 0.23239753240000027 3.13% 3.24% 1.03x
label_to_hash[alice] 0.007765906969244987 0.008003233974357064 -3.06% -2.97% 0.97x
label_to_hash[bob] 0.003468145568422985 0.003450374501727597 0.51% 0.52% 1.01x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.28781697839999654 0.24049117399999886 16.44% 19.68% 1.20x
label_to_hash[xn--fiqs8s] 0.024931826999991677 0.025025069450020965 -0.37% -0.37% 1.00x
normal_name_to_hash[] 0.000001742918296935488 9.628987408011799e-7 44.75% 81.01% 1.81x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23422618260010494 0.24177618000003348 -3.22% -3.12% 0.97x
normal_name_to_hash[alice.eth] 0.011348280103453132 0.011626616965126823 -2.45% -2.39% 0.98x
normal_name_to_hash[bob.eth] 0.007164068492653876 0.007120040187045096 0.61% 0.62% 1.01x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.26550574679999955 0.264266912399944 0.47% 0.47% 1.00x
normal_name_to_hash[subdomain.alice.eth] 0.03304614439997901 0.03285029200002364 0.59% 0.60% 1.01x
normalize_name[] 0.000008296810695980102 0.000002938985244844404 64.58% 182.30% 2.82x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23682651179997266 0.2382156480000049 -0.59% -0.58% 0.99x
normalize_name[alice.eth] 0.010398573822918422 0.01116730863332628 -7.39% -6.88% 0.93x
normalize_name[bob.eth] 0.006379689800009203 0.006874788093343038 -7.76% -7.20% 0.93x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.28510151700011194 0.259280917399974 9.06% 9.96% 1.10x
normalize_name[subdomain.alice.eth] 0.03137818666665694 0.033977151516094845 -8.28% -7.65% 0.92x
raw_name_to_hash[] 0.000009611732009921821 0.0000031575721829606016 67.15% 204.40% 3.04x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4751731488000587 0.48067716979999203 -1.16% -1.15% 0.99x
raw_name_to_hash[alice.eth] 0.02228771171739343 0.022713437418598575 -1.91% -1.87% 0.98x
raw_name_to_hash[bob.eth] 0.014145893082205438 0.013743997472220017 2.84% 2.92% 1.03x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5811010513999918 0.511392476400033 12.00% 13.63% 1.14x
raw_name_to_hash[subdomain.alice.eth] 0.06380587856249065 0.06569253506251016 -2.96% -2.87% 0.97x
sha3_text[0] 0.00011857478151946119 0.00007630423953133032 35.65% 55.40% 1.55x
sha3_text[1] 0.00011864708988148144 0.00007592857448448461 36.00% 56.26% 1.56x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0001282210872209049 0.00008424867480239343 34.29% 52.19% 1.52x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012799856934478057 0.00008525518375551033 33.39% 50.14% 1.50x
sha3_text[alice.eth] 0.00012888292095237933 0.00008406269960034086 34.78% 53.32% 1.53x
sha3_text[alice] 0.00012800047969866116 0.00008458785984908745 33.92% 51.32% 1.51x
sha3_text[bob.eth] 0.00012801243841712137 0.00008386967303473537 34.48% 52.63% 1.53x
sha3_text[bob] 0.0001286041379240617 0.00008439322787766185 34.38% 52.39% 1.52x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00012829237160743245 0.00008448304429505814 34.15% 51.86% 1.52x
sha3_text[emoji\U0001f468\U0001f3fb] 0.0001280354275912883 0.00008478624937903259 33.78% 51.01% 1.51x
sha3_text[subdomain.alice.eth] 0.00012900516492384535 0.00008440379234535687 34.57% 52.84% 1.53x
sha3_text[xn--fiqs8s] 0.0001267583154106396 0.00008472843224980413 33.16% 49.61% 1.50x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002952923960505737 0.00025496946170601903 13.66% 15.81% 1.16x
fallback_func_abi_exists 0.00024978621159888403 0.0002498311923873404 -0.02% -0.02% 1.00x
filter_by_argument_name[a] 0.000663757196346997 0.0003819152857704644 42.46% 73.80% 1.74x
filter_by_argument_name[a+b] 0.0006715047771038629 0.00038949107319972997 42.00% 72.41% 1.72x
filter_by_argument_name[b] 0.0006625567618379818 0.0003831715403720535 42.17% 72.91% 1.73x
filter_by_argument_name[c] 0.0006891565217652791 0.000384414268443204 44.22% 79.27% 1.79x
filter_by_argument_name[notfound] 0.0006540111591825704 0.0003773461303297099 42.30% 73.32% 1.73x
filter_by_argument_type[address] 0.0005979203857431707 0.0005976371549298452 0.05% 0.05% 1.00x
filter_by_argument_type[notatype] 0.0005924457017457756 0.0005860529429665459 1.08% 1.09% 1.01x
filter_by_argument_type[string] 0.0005984305028961251 0.0005924586584591139 1.00% 1.01% 1.01x
filter_by_argument_type[uint+address] 0.0005965915184046087 0.0005873379541588244 1.55% 1.58% 1.02x
filter_by_argument_type[uint256] 0.0005956993521469228 0.0005895306869597798 1.04% 1.05% 1.01x
filter_by_types[constructor] 0.00003714272349202091 0.00003739480460184155 -0.68% -0.67% 0.99x
filter_by_types[event] 0.00003734669951265961 0.00003754068962949594 -0.52% -0.52% 0.99x
filter_by_types[fallback] 0.000037506113558558834 0.00003766869957361706 -0.43% -0.43% 1.00x
filter_by_types[func+event] 0.00004232575475368888 0.00004267189650371144 -0.82% -0.81% 0.99x
filter_by_types[function] 0.00003762916134208035 0.000037690110776140864 -0.16% -0.16% 1.00x
filter_by_types[none] 0.000036098080237036686 0.00003630322690345152 -0.57% -0.57% 0.99x
filter_by_types[receive] 0.00003861404132709079 0.000038528521376819025 0.22% 0.22% 1.00x
find_constructor_abi_element_by_type 0.00003476288969036514 0.00003367216005783304 3.14% 3.24% 1.03x
get_abi_element_signature[custom] 0.000051972029405505107 0.000050043495155946026 3.71% 3.85% 1.04x
get_abi_element_signature[fallback] 0.000021893750414987303 0.000021533770941965772 1.64% 1.67% 1.02x
get_abi_element_signature[receive] 0.000028906267357926204 0.000028999542622895264 -0.32% -0.32% 1.00x
get_abi_element_signature[transfer] 0.00005708660648284951 0.000055345484498669685 3.05% 3.15% 1.03x
get_name_from_abi_element_identifier[custom] 0.000040170087496134886 0.00003874225155560313 3.55% 3.69% 1.04x
get_name_from_abi_element_identifier[fallback] 0.000011938839846544863 0.000012058094511898564 -1.00% -0.99% 0.99x
get_name_from_abi_element_identifier[func] 0.00004056071515922398 0.00003900337325053175 3.84% 3.99% 1.04x
get_name_from_abi_element_identifier[receive] 0.00001814404685136312 0.000018451207263771545 -1.69% -1.66% 0.98x
get_tuple_type_str_parts[not-tuple] 0.00002356689978448063 0.000023082771349250694 2.05% 2.10% 1.02x
get_tuple_type_str_parts[one-dim] 0.00007558718446936718 0.00007530172218180485 0.38% 0.38% 1.00x
get_tuple_type_str_parts[plain] 0.000047694649399298436 0.00004942524422759533 -3.63% -3.50% 0.96x
get_tuple_type_str_parts[two-dim] 0.00009140494361336435 0.0000908886224965339 0.56% 0.57% 1.01x
is_address_type[address] 0.000043862030946260326 0.000044197192594563856 -0.76% -0.76% 0.99x
is_address_type[array] 0.000044495009979653084 0.00004520893132722255 -1.60% -1.58% 0.98x
is_address_type[bool] 0.00004401753683440952 0.000044464473451148525 -1.02% -1.01% 0.99x
is_address_type[bytes] 0.000044273165376527306 0.00004416498034017294 0.24% 0.24% 1.00x
is_address_type[bytes32] 0.00004523502234875156 0.00004539906213768391 -0.36% -0.36% 1.00x
is_address_type[bytes33] 0.00004464680909318354 0.00004452811077016633 0.27% 0.27% 1.00x
is_address_type[empty] 0.00004375449176159141 0.0000440450795718784 -0.66% -0.66% 0.99x
is_address_type[enum] 0.00004337236573922023 0.00004409175340032422 -1.66% -1.63% 0.98x
is_address_type[int256] 0.00004381200437905981 0.00004428720307586476 -1.08% -1.07% 0.99x
is_address_type[invalid] 0.00004340072799276174 0.00004326364198234807 0.32% 0.32% 1.00x
is_address_type[string] 0.00004372286430613766 0.00004424211445845264 -1.19% -1.17% 0.99x
is_address_type[tuple-array] 0.00004306883962746513 0.000043975185552125183 -2.10% -2.06% 0.98x
is_address_type[tuple] 0.00004405279861412457 0.00004338470647642084 1.52% 1.54% 1.02x
is_address_type[uint256] 0.000045577307313587746 0.00004573539555094757 -0.35% -0.35% 1.00x
is_array_type[address] 0.0003833156147388393 0.0003986825451157073 -4.01% -3.85% 0.96x
is_array_type[array] 0.000396352579540754 0.00041014895281107525 -3.48% -3.36% 0.97x
is_array_type[bool] 0.00035465284536914877 0.00036908260246834866 -4.07% -3.91% 0.96x
is_array_type[bytes] 0.00036880786220825214 0.0003793886331582744 -2.87% -2.79% 0.97x
is_array_type[bytes32] 0.0003847677056327825 0.00040022920946085675 -4.02% -3.86% 0.96x
is_array_type[bytes33] 0.00038532180007947695 0.0004002059140471848 -3.86% -3.72% 0.96x
is_array_type[empty] 0.000294759909358667 0.0003022902903010767 -2.55% -2.49% 0.98x
is_array_type[enum] 0.00037069378931102974 0.0003891704098860577 -4.98% -4.75% 0.95x
is_array_type[int256] 0.00037283548863788213 0.0003914071002068762 -4.98% -4.74% 0.95x
is_array_type[invalid] 0.000392805038827156 0.000407037713427631 -3.62% -3.50% 0.97x
is_array_type[string] 0.00037362947707684916 0.0003887371100620492 -4.04% -3.89% 0.96x
is_array_type[tuple-array] 0.00039595986405541715 0.00040868308113612637 -3.21% -3.11% 0.97x
is_array_type[tuple] 0.00036215768347155105 0.00037838475604207487 -4.48% -4.29% 0.96x
is_array_type[uint256] 0.0003835282999242975 0.00039966825367150513 -4.21% -4.04% 0.96x
is_bool_type[address] 0.000043706238840658525 0.00004346653345896166 0.55% 0.55% 1.01x
is_bool_type[array] 0.00004358737495091727 0.00004286325870704421 1.66% 1.69% 1.02x
is_bool_type[bool] 0.00004421390650640982 0.00004393555230025629 0.63% 0.63% 1.01x
is_bool_type[bytes] 0.000043705608312771983 0.000045045769301406845 -3.07% -2.98% 0.97x
is_bool_type[bytes32] 0.00004400391374913962 0.00004410242843043577 -0.22% -0.22% 1.00x
is_bool_type[bytes33] 0.000043201778500500666 0.000044383550628013486 -2.74% -2.66% 0.97x
is_bool_type[empty] 0.00004473572354169477 0.00004449952290110777 0.53% 0.53% 1.01x
is_bool_type[enum] 0.00004330172163982986 0.00004335143962085152 -0.11% -0.11% 1.00x
is_bool_type[int256] 0.00004416992928761866 0.00004358404317014741 1.33% 1.34% 1.01x
is_bool_type[invalid] 0.00004355118051112119 0.00004475491040135385 -2.76% -2.69% 0.97x
is_bool_type[string] 0.000044072734423465484 0.00004350198493755748 1.30% 1.31% 1.01x
is_bool_type[tuple-array] 0.00004304187009662536 0.000043451875820268144 -0.95% -0.94% 0.99x
is_bool_type[tuple] 0.000043872246226719545 0.0000433023263521654 1.30% 1.32% 1.01x
is_bool_type[uint256] 0.000044343224215605736 0.00004404209483457988 0.68% 0.68% 1.01x
is_bytes_type[address] 0.0003138569538503029 0.00031363454603555366 0.07% 0.07% 1.00x
is_bytes_type[array] 0.0003133777635435227 0.00031344008628008584 -0.02% -0.02% 1.00x
is_bytes_type[bool] 0.0002845177511949649 0.0002795058288559451 1.76% 1.79% 1.02x
is_bytes_type[bytes] 0.0002809924297898588 0.0002784734284120005 0.90% 0.90% 1.01x
is_bytes_type[bytes32] 0.00028981527564396893 0.00030353087422120643 -4.73% -4.52% 0.95x
is_bytes_type[bytes33] 0.0003089940966744373 0.00031000283344109417 -0.33% -0.33% 1.00x
is_bytes_type[empty] 0.00028001288467084553 0.0002826726079349242 -0.95% -0.94% 0.99x
is_bytes_type[enum] 0.0002993660713869962 0.000293317510128872 2.02% 2.06% 1.02x
is_bytes_type[int256] 0.00028940596243109723 0.0002901363059065549 -0.25% -0.25% 1.00x
is_bytes_type[invalid] 0.00027944955826587523 0.0002798991001665248 -0.16% -0.16% 1.00x
is_bytes_type[string] 0.000290638398552976 0.00029842147117653225 -2.68% -2.61% 0.97x
is_bytes_type[tuple-array] 0.0002795801446774194 0.0002804511678636695 -0.31% -0.31% 1.00x
is_bytes_type[tuple] 0.0002814562667047638 0.00028050398642691984 0.34% 0.34% 1.00x
is_bytes_type[uint256] 0.00029709314881950897 0.0003028377289808397 -1.93% -1.90% 0.98x
is_int_type[address] 0.0002042148625020232 0.00020715680087175862 -1.44% -1.42% 0.99x
is_int_type[array] 0.0002029188682103625 0.0002027386448723113 0.09% 0.09% 1.00x
is_int_type[bool] 0.00020394547434049117 0.00020429095181761744 -0.17% -0.17% 1.00x
is_int_type[bytes] 0.00021200816889729615 0.00021592616752329083 -1.85% -1.81% 0.98x
is_int_type[bytes32] 0.00020408631364103385 0.0002034936069978422 0.29% 0.29% 1.00x
is_int_type[bytes33] 0.00020290707875336155 0.00020053441957737226 1.17% 1.18% 1.01x
is_int_type[empty] 0.00020408058114114867 0.00020144305090981701 1.29% 1.31% 1.01x
is_int_type[enum] 0.00022058462409639963 0.0002302452835439862 -4.38% -4.20% 0.96x
is_int_type[int256] 0.00022889905973648333 0.00023268933233893595 -1.66% -1.63% 0.98x
is_int_type[invalid] 0.00020287574455948932 0.00020351896617950177 -0.32% -0.32% 1.00x
is_int_type[string] 0.0002299763893675172 0.00022795227446664498 0.88% 0.89% 1.01x
is_int_type[tuple-array] 0.00020014556658177928 0.00020317984159511632 -1.52% -1.49% 0.99x
is_int_type[tuple] 0.00021171852698752367 0.00021258250374790746 -0.41% -0.41% 1.00x
is_int_type[uint256] 0.00020319787757952802 0.00020153029391660197 0.82% 0.83% 1.01x
is_probably_enum[address] 0.00006580051748720238 0.00006896136212396464 -4.80% -4.58% 0.95x
is_probably_enum[empty] 0.00006012511086012233 0.00006229332743198899 -3.61% -3.48% 0.97x
is_probably_enum[enum] 0.00006533162023681464 0.00006698070428844244 -2.52% -2.46% 0.98x
is_probably_enum[lib-dot] 0.00006664034565733853 0.00006984441701151583 -4.81% -4.59% 0.95x
is_probably_enum[lib-enum] 0.00007450272881054047 0.0000760964397424272 -2.14% -2.09% 0.98x
is_probably_enum[uint256] 0.00006561410190714643 0.00006703783870499584 -2.17% -2.12% 0.98x
is_recognized_type[address] 0.00007952529997582998 0.00008407221184288619 -5.72% -5.41% 0.95x
is_recognized_type[array] 0.00008444143902342021 0.0000881020304695243 -4.34% -4.15% 0.96x
is_recognized_type[bool] 0.00008154800461077198 0.00008282819412582982 -1.57% -1.55% 0.98x
is_recognized_type[bytes] 0.00015501521540958505 0.00016192751382229179 -4.46% -4.27% 0.96x
is_recognized_type[bytes32] 0.00015018300404022548 0.0001561719336521594 -3.99% -3.83% 0.96x
is_recognized_type[bytes33] 0.00013850842800565609 0.00014581744513977478 -5.28% -5.01% 0.95x
is_recognized_type[empty] 0.00006127966666753684 0.0000655601243684659 -6.99% -6.53% 0.93x
is_recognized_type[enum] 0.00008350881550450328 0.00008981843766311763 -7.56% -7.02% 0.93x
is_recognized_type[int256] 0.00012601302876333176 0.00013343358782456018 -5.89% -5.56% 0.94x
is_recognized_type[invalid] 0.00008360687917587935 0.00008947490861823555 -7.02% -6.56% 0.93x
is_recognized_type[string] 0.00010061087420190837 0.00010821902914832106 -7.56% -7.03% 0.93x
is_recognized_type[tuple-array] 0.00008349976242600207 0.00009012147125251462 -7.93% -7.35% 0.93x
is_recognized_type[tuple] 0.00008305193964148127 0.00009035935943835929 -8.80% -8.09% 0.92x
is_recognized_type[uint256] 0.00013166122680107286 0.00013080577543728167 0.65% 0.65% 1.01x
is_string_type[address] 0.00004535913335192133 0.00004428749172068299 2.36% 2.42% 1.02x
is_string_type[array] 0.00004347955754104624 0.00004359268186610886 -0.26% -0.26% 1.00x
is_string_type[bool] 0.00004499994077053729 0.00004423040035322266 1.71% 1.74% 1.02x
is_string_type[bytes] 0.00004459713342264625 0.00004445125182197213 0.33% 0.33% 1.00x
is_string_type[bytes32] 0.00004444619413322689 0.000043792792691365615 1.47% 1.49% 1.01x
is_string_type[bytes33] 0.0000440413384753679 0.0000437639060816406 0.63% 0.63% 1.01x
is_string_type[empty] 0.00004436036871850498 0.00004482307345064771 -1.04% -1.03% 0.99x
is_string_type[enum] 0.00004483512091916778 0.000044893933531264856 -0.13% -0.13% 1.00x
is_string_type[int256] 0.000046446587357293406 0.00004503793544161653 3.03% 3.13% 1.03x
is_string_type[invalid] 0.00004352182017162156 0.000047191680560520864 -8.43% -7.78% 0.92x
is_string_type[string] 0.000044872403766669784 0.00004433421154498125 1.20% 1.21% 1.01x
is_string_type[tuple-array] 0.00004347335302115309 0.00004374111231528979 -0.62% -0.61% 0.99x
is_string_type[tuple] 0.000045250076448295165 0.00004498077305093521 0.60% 0.60% 1.01x
is_string_type[uint256] 0.000045345602313035934 0.00004429858694318071 2.31% 2.36% 1.02x
is_uint_type[address] 0.00023195396344544906 0.000229793513098703 0.93% 0.94% 1.01x
is_uint_type[array] 0.00023221953979405462 0.00022813299840585192 1.76% 1.79% 1.02x
is_uint_type[bool] 0.0002034280108709555 0.00020244253011701853 0.48% 0.49% 1.00x
is_uint_type[bytes] 0.00020175850596972954 0.00020164837199197544 0.05% 0.05% 1.00x
is_uint_type[bytes32] 0.00022345841199729468 0.00022479769703658727 -0.60% -0.60% 0.99x
is_uint_type[bytes33] 0.00023048432496837912 0.00022667401491708897 1.65% 1.68% 1.02x
is_uint_type[empty] 0.0002037162923565625 0.00020308196845552042 0.31% 0.31% 1.00x
is_uint_type[enum] 0.00021451800793060772 0.0002151533104177208 -0.30% -0.30% 1.00x
is_uint_type[int256] 0.00021041683516319438 0.0002167468842619582 -3.01% -2.92% 0.97x
is_uint_type[invalid] 0.0002010740008046836 0.00020250973897024786 -0.71% -0.71% 0.99x
is_uint_type[string] 0.00021166821531870542 0.00021472244943827214 -1.44% -1.42% 0.99x
is_uint_type[tuple-array] 0.00020145727503478113 0.00020104718661267517 0.20% 0.20% 1.00x
is_uint_type[tuple] 0.00021184519262182341 0.0002019616175121649 4.67% 4.89% 1.05x
is_uint_type[uint256] 0.00022769047123414698 0.00023275619141002184 -2.22% -2.18% 0.98x
length_of_array_type[dynamic] 0.00016386270036558565 0.00016773229054829191 -2.36% -2.31% 0.98x
length_of_array_type[fixed] 0.00017808428718592533 0.00017817218919824164 -0.05% -0.05% 1.00x
length_of_array_type[nested] 0.00018242066829994954 0.00019081292480097346 -4.60% -4.40% 0.96x
map_abi_data 0.006344169496402082 0.0050976529116083455 19.65% 24.45% 1.24x
normalize_event_input_types 0.00041816181093181726 0.00043241882806540526 -3.41% -3.30% 0.97x
receive_func_abi_exists 0.0003154634030522759 0.00032241005182422836 -2.20% -2.15% 0.98x
strip_abi_types 0.0016256867859511508 0.0015632841303636668 3.84% 3.99% 1.04x
sub_type_of_array_type[nested] 0.00017849857969591518 0.00018678609105161252 -4.64% -4.44% 0.96x
sub_type_of_array_type[simple] 0.00017110006399086955 0.00017553036727407118 -2.59% -2.52% 0.97x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002119444145662933 0.000022382704190189664 -5.61% -5.31% 0.95x
is_hex_encoded_block_hash[invalid-g] 0.0000859701691410516 0.00006255154825183502 27.24% 37.44% 1.37x
is_hex_encoded_block_hash[none] 0.000020904452559300736 0.000022301226809165015 -6.68% -6.26% 0.94x
is_hex_encoded_block_hash[short] 0.00004558403869154322 0.000029441475641201926 35.41% 54.83% 1.55x
is_hex_encoded_block_hash[too-long] 0.00004549407779109071 0.000028777653322332817 36.74% 58.09% 1.58x
is_hex_encoded_block_hash[too-short] 0.000045562087873501995 0.000029068382266708627 36.20% 56.74% 1.57x
is_hex_encoded_block_hash[valid-a] 0.00009632718616893921 0.00007156509470809836 25.71% 34.60% 1.35x
is_hex_encoded_block_hash[valid-f] 0.00009673465164585594 0.00007315431270470637 24.38% 32.23% 1.32x
is_hex_encoded_block_number[int] 0.000021526132562833608 0.000022377420393292727 -3.95% -3.80% 0.96x
is_hex_encoded_block_number[invalid-g] 0.00016502070205200053 0.00022699054520569924 -37.55% -27.30% 0.73x
is_hex_encoded_block_number[max-64-a] 0.00010792815720383243 0.00008252838428595461 23.53% 30.78% 1.31x
is_hex_encoded_block_number[max-64-f] 0.00010941167847997019 0.00008155039619714504 25.46% 34.16% 1.34x
is_hex_encoded_block_number[none] 0.00002085195311213698 0.000022378168999967864 -7.32% -6.82% 0.93x
is_hex_encoded_block_number[small] 0.00009684219198160751 0.00004688766097698562 51.58% 106.54% 2.07x
is_hex_encoded_block_number[too-long] 0.00010983101449159153 0.0000606819317755952 44.75% 80.99% 1.81x
is_predefined_block_number[bytes-latest] 0.00003155645858711149 0.0000288986166013828 8.42% 9.20% 1.09x
is_predefined_block_number[bytes-pending] 0.00003180578994017875 0.00002876867795162415 9.55% 10.56% 1.11x
is_predefined_block_number[bytes-random] 0.000030953564348870675 0.000027171461307284338 12.22% 13.92% 1.14x
is_predefined_block_number[int] 0.000034587630639813305 0.000024933788516763382 27.91% 38.72% 1.39x
is_predefined_block_number[none] 0.00012341194011288346 0.00021217163759012616 -71.92% -41.83% 0.58x
is_predefined_block_number[object] 0.00015409414919703823 0.0002449339793126959 -58.95% -37.09% 0.63x
is_predefined_block_number[str-earliest] 0.000013891451873366207 0.00001007297047598986 27.49% 37.91% 1.38x
is_predefined_block_number[str-finalized] 0.000014011529937190462 0.000009998107126043777 28.64% 40.14% 1.40x
is_predefined_block_number[str-foo] 0.000013937635728224343 0.000009940494700269056 28.68% 40.21% 1.40x
is_predefined_block_number[str-latest] 0.000014042390960461798 0.000010343292761720546 26.34% 35.76% 1.36x
is_predefined_block_number[str-pending] 0.000014081849087250037 0.000010682979786736546 24.14% 31.82% 1.32x
is_predefined_block_number[str-safe] 0.000013854767741376087 0.000010058602472461714 27.40% 37.74% 1.38x
select_method_for_block_identifier[hash-bytes] 0.00005217883455846884 0.00004268200691241201 18.20% 22.25% 1.22x
select_method_for_block_identifier[hash-hexstr] 0.00013064747775253218 0.00009195142034480886 29.62% 42.08% 1.42x
select_method_for_block_identifier[invalid-none] 0.0009264246620452064 0.001090380742782534 -17.70% -15.04% 0.85x
select_method_for_block_identifier[invalid-object] 0.0009734393997928854 0.001143208911834564 -17.44% -14.85% 0.85x
select_method_for_block_identifier[number-hexstr] 0.00017500162278859436 0.00008695358154749974 50.31% 101.26% 2.01x
select_method_for_block_identifier[number-int] 0.00011100472457006516 0.000059949885306672655 45.99% 85.16% 1.85x
select_method_for_block_identifier[predefined-bytes] 0.0000476562092647478 0.00004371430768843299 8.27% 9.02% 1.09x
select_method_for_block_identifier[predefined-str] 0.000026794116165926516 0.000020789866214936985 22.41% 28.88% 1.29x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.0004566313061121525 0.0005257619528260328 -15.14% -13.15% 0.87x
PropertyCheckingFactory[big-valid] 0.000451642063459569 0.0005310316410250729 -17.58% -14.95% 0.85x
PropertyCheckingFactory[inheritance] 0.000986099964357372 0.000952374187498493 3.42% 3.54% 1.04x
PropertyCheckingFactory[invalid] 0.0004490888514886954 0.0005256123932574585 -17.04% -14.56% 0.85x
PropertyCheckingFactory[multi-normalizer] 0.00045414030463387825 0.0005287758528305994 -16.43% -14.11% 0.86x
PropertyCheckingFactory[multi-prop] 0.0004521836842573527 0.0005270299242523384 -16.55% -14.20% 0.86x
PropertyCheckingFactory[normalized] 0.0004536563906846992 0.0005328551136260332 -17.46% -14.86% 0.85x
PropertyCheckingFactory[valid] 0.0012483598869691232 0.0009951293505400338 20.29% 25.45% 1.25x
verify_attr[empty] 0.0000984954262245689 0.00016113467255761564 -63.60% -38.87% 0.61x
verify_attr[found-end] 0.000012363552462567622 0.00001077863305151839 12.82% 14.70% 1.15x
verify_attr[found-start] 0.000009449045227539228 0.00000809122454716696 14.37% 16.78% 1.17x
verify_attr[large-found] 0.0001298101321504007 0.00012473139025009246 3.91% 4.07% 1.04x
verify_attr[large-notfound] 0.0001962050026187022 0.00026021397523046894 -32.62% -24.60% 0.75x
verify_attr[notfound] 0.00010306325291059593 0.00016656517750200946 -61.61% -38.12% 0.62x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.000635143046642211 0.0006215191439039323 2.15% 2.19% 1.02x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007875743986740584 0.000022394812058740977 71.56% 251.68% 3.52x
percentile[100-90th] 0.00011285881561148423 0.00005454947630567528 51.67% 106.89% 2.07x
percentile[100k-99th] 0.03808897342857368 0.0373963992592676 1.82% 1.85% 1.02x
percentile[100k-median] 0.03822071181478485 0.03726076271997954 2.51% 2.58% 1.03x
percentile[10k-10th] 0.003954407496115708 0.0036660985725143116 7.29% 7.86% 1.08x
percentile[10k-99th] 0.003930353284089554 0.0036301275643865843 7.64% 8.27% 1.08x
percentile[10k-median] 0.003965597536125124 0.0034861101508787424 12.09% 13.75% 1.14x
percentile[1k-99th] 0.0004920976457775305 0.00041227314888813755 16.22% 19.36% 1.19x
percentile[1M-median] 0.6431250441999964 0.6462933045999761 -0.49% -0.49% 1.00x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000013770278974325329 0.000006758079495280891 50.92% 103.76% 2.04x
to_bytes_if_hex[empty-str] 0.0003149083475292471 0.00003673134811119442 88.34% 757.33% 8.57x
to_bytes_if_hex[hexstr] 0.0003323287450377969 0.00004642139616664018 86.03% 615.90% 7.16x
to_bytes_if_hex[large-hex] 0.00034196439476633095 0.00005124462447323168 85.01% 567.32% 6.67x
to_bytes_if_hex[non-prefixed-hex] 0.00031870876480922286 0.000042518268292599287 86.66% 649.58% 7.50x
to_bytes_if_hex[nothex] 0.0004118867211897929 0.0002676498118817239 35.02% 53.89% 1.54x
to_bytes_if_hex[unicode] 0.00043256373739027505 0.0002823569689779906 34.72% 53.20% 1.53x
to_bytes_if_hex[zero] 0.0003390377360881424 0.00004556722370283592 86.56% 644.04% 7.44x
to_hex_if_bytes[bytes] 0.00022378508815417916 0.00004759425855755649 78.73% 370.19% 4.70x
to_hex_if_bytes[empty-bytes] 0.0002104859028101629 0.00003811562238994364 81.89% 452.23% 5.52x
to_hex_if_bytes[empty-str] 0.0001020972515142374 0.0001914953004758697 -87.56% -46.68% 0.53x
to_hex_if_bytes[hexstr] 0.00027577981107064785 0.000023660641907670112 91.42% 1065.56% 11.66x
to_hex_if_bytes[large-bytes] 0.00022596764273708294 0.000050010308147862245 77.87% 351.84% 4.52x
to_hex_if_bytes[non-prefixed-hex] 0.00010413987874913817 0.00019492661952874148 -87.18% -46.57% 0.53x
to_hex_if_bytes[not-hex] 0.00010263346219861551 0.00019229221633674124 -87.36% -46.63% 0.53x
to_hex_if_bytes[unicode] 0.00010671091650242506 0.00020101358363364957 -88.37% -46.91% 0.53x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00030172202013390104 0.00009933134541654929 67.08% 203.75% 3.04x
all_in_dict[empty-dict] 0.00025897853393201783 0.00007630874445899672 70.53% 239.38% 3.39x
all_in_dict[empty-list] 0.0002652873665425079 0.00008577353920100444 67.67% 209.29% 3.09x
all_in_dict[mixed-types] 0.0003077652884613434 0.00010292374708024583 66.56% 199.02% 2.99x
all_in_dict[no-overlap] 0.00027856301620304136 0.00008728376822606399 68.67% 219.15% 3.19x
all_in_dict[none-in] 0.00028032057794584437 0.00008766543895231405 68.73% 219.76% 3.20x
all_in_dict[one-in] 0.0002795832134520182 0.00009159898589624579 67.24% 205.23% 3.05x
all_in_dict[partial-overlap] 0.00031372311938578036 0.00009818391025460397 68.70% 219.53% 3.20x
all_in_dict[value-none] 0.0002804337623689303 0.00009241514446313097 67.05% 203.45% 3.03x
any_in_dict[all-in] 0.00027328977740180864 0.00008904350678202958 67.42% 206.92% 3.07x
any_in_dict[empty-dict] 0.00029360797373040976 0.00009221943595119781 68.59% 218.38% 3.18x
any_in_dict[empty-list] 0.00025623533333408516 0.00008541490531053526 66.67% 199.99% 3.00x
any_in_dict[mixed-types] 0.0002755953858765118 0.00009185029196580719 66.67% 200.05% 3.00x
any_in_dict[no-overlap] 0.0003093415661620975 0.0001072350269783837 65.33% 188.47% 2.88x
any_in_dict[none-in] 0.0002764185959645507 0.0000950471972400081 65.61% 190.82% 2.91x
any_in_dict[one-in] 0.00027950891932440906 0.00008600880879073009 69.23% 224.98% 3.25x
any_in_dict[partial-overlap] 0.0002744697800006356 0.00008642172412027873 68.51% 217.59% 3.18x
any_in_dict[value-none] 0.00027242210598260846 0.00008636098818717404 68.30% 215.45% 3.15x
either_set_is_a_subset[both-empty] 0.00016626824915198945 0.00014836444503356607 10.77% 12.07% 1.12x
either_set_is_a_subset[empty-set1] 0.00016785350599698003 0.00015192049083844093 9.49% 10.49% 1.10x
either_set_is_a_subset[empty-set2] 0.0002596910337603058 0.0002488038926875821 4.19% 4.38% 1.04x
either_set_is_a_subset[identical] 0.00018089235955137114 0.00016660923421801856 7.90% 8.57% 1.09x
either_set_is_a_subset[mixed-types] 0.0001849871834034176 0.00016767871118371076 9.36% 10.32% 1.10x
either_set_is_a_subset[not-subset] 0.0002772660942692722 0.00024853833501904817 10.36% 11.56% 1.12x
either_set_is_a_subset[partial-overlap] 0.00030199573506757495 0.00028002094919471097 7.28% 7.85% 1.08x
either_set_is_a_subset[subset] 0.00018353633403529344 0.0001683472253563853 8.28% 9.02% 1.09x
either_set_is_a_subset[superset] 0.0002933091174260882 0.00028576398596688325 2.57% 2.64% 1.03x
none_in_dict[all-in] 0.0002925986360232451 0.00008814740603972583 69.87% 231.94% 3.32x
none_in_dict[empty-dict] 0.0003165163979569878 0.00009337712501236434 70.50% 238.97% 3.39x
none_in_dict[empty-list] 0.0002741348905874399 0.00008683785290951318 68.32% 215.69% 3.16x
none_in_dict[mixed-types] 0.0002955887685001742 0.00009055521270508025 69.36% 226.42% 3.26x
none_in_dict[no-overlap] 0.00033030900666040095 0.00010874386753081475 67.08% 203.75% 3.04x
none_in_dict[none-in] 0.0002968302381382215 0.00009614850612864658 67.61% 208.72% 3.09x
none_in_dict[one-in] 0.00029318091389671924 0.00008616259785709419 70.61% 240.26% 3.40x
none_in_dict[partial-overlap] 0.0002976254531290398 0.00008776996447879265 70.51% 239.10% 3.39x
none_in_dict[value-none] 0.00029301087623488246 0.00008674318566047078 70.40% 237.79% 3.38x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014605431942049689 0.0014625564462218874 -0.14% -0.14% 1.00x
attributedict_hash[flat] 0.0011031595975290892 0.0010856067954339648 1.59% 1.62% 1.02x
attributedict_hash[nested] 0.0017201104895116577 0.001702338451347411 1.03% 1.04% 1.01x
attributedict_init[empty] 0.0000859598390435034 0.00008642748067146216 -0.54% -0.54% 0.99x
attributedict_init[large] 0.00012504765358731137 0.0001248126156699174 0.19% 0.19% 1.00x
attributedict_init[small] 0.00009611173740164119 0.00009315187557678641 3.08% 3.18% 1.03x
mutableattributedict_delitem 0.00038482024666737903 0.00038224336541607 0.67% 0.67% 1.01x
mutableattributedict_setitem 0.00031570779708197543 0.0003232691513984762 -2.40% -2.34% 0.98x
namedelementonion_add 0.008757263833293413 0.028761529921576153 -228.43% -69.55% 0.30x
namedelementonion_as_tuple_of_middleware 0.00015003483746584058 0.00015248801215323276 -1.64% -1.61% 0.98x
namedelementonion_contains 0.000029523412833671052 0.000029530316386181417 -0.02% -0.02% 1.00x
namedelementonion_getitem 0.000027851792673467004 0.00002769293839983468 0.57% 0.57% 1.01x
namedelementonion_init[callables2] 0.00013141533161199138 0.00013018086845504809 0.94% 0.95% 1.01x
namedelementonion_init[callables3] 0.00016985185334516794 0.00016686710131715726 1.76% 1.79% 1.02x
namedelementonion_init[empty] 0.000043665005315999014 0.000043411504655870446 0.58% 0.58% 1.01x
namedelementonion_inject 0.03303866146985916 0.011597835166639925 64.90% 184.87% 2.85x
namedelementonion_iter 0.0001591311537199216 0.000157999948038161 0.71% 0.72% 1.01x
namedelementonion_remove 0.0007020560604496528 0.0006955868877625005 0.92% 0.93% 1.01x
namedelementonion_replace 0.0024857007242257844 0.0024985809769896383 -0.52% -0.52% 0.99x
readableattributedict_getitem[large] 0.000016157289210568466 0.000015901445362640873 1.58% 1.61% 1.02x
readableattributedict_getitem[small] 0.00001531878983789324 0.000015307358978359927 0.07% 0.07% 1.00x
readableattributedict_init[empty] 0.00005223120783702136 0.000052806004068032026 -1.10% -1.09% 0.99x
readableattributedict_init[large] 0.0000875889463247337 0.00008667182860609647 1.05% 1.06% 1.01x
readableattributedict_init[small] 0.000056762781818234186 0.000056778130783682336 -0.03% -0.03% 1.00x
readableattributedict_recursive[list-in-dict] 0.0009050756785719776 0.0008999349678012517 0.57% 0.57% 1.01x
readableattributedict_recursive[nested-dict] 0.0009222143395470171 0.0009207746113883181 0.16% 0.16% 1.00x
readableattributedict_recursive[set] 0.0004778500554426571 0.00047358681013705506 0.89% 0.90% 1.01x
tupleize_lists_nested[list-in-dict] 0.0008650112032052307 0.0008546887579068359 1.19% 1.21% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.000953713976098934 0.0009379710221420145 1.65% 1.68% 1.02x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003422453650829349 0.0002596504644895272 24.13% 31.81% 1.32x
simplecache_cache[100] 0.0027848134832406455 0.0019927958258269657 28.44% 39.74% 1.40x
simplecache_cache[1000] 0.028515851942867293 0.01913849096153906 32.88% 49.00% 1.49x
simplecache_eviction[10] 0.0006011767324045106 0.0005982115463978608 0.49% 0.50% 1.00x
simplecache_eviction[100] 0.005277051026746814 0.005277707783065241 -0.01% -0.01% 1.00x
simplecache_pop[10] 0.00046541091992658313 0.00037050837239860357 20.39% 25.61% 1.26x
simplecache_pop[100] 0.0038408309717763794 0.0029576848433706176 22.99% 29.86% 1.30x
simplecache_retrieval[10] 0.00009335013250545364 0.00005850353457733021 37.33% 59.56% 1.60x
simplecache_retrieval[100] 0.0007869831670673005 0.0004541495171339001 42.29% 73.29% 1.73x

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 17, 2025

CodSpeed Performance Report

Merging #130 will not alter performance

Comparing async-ipc (7ea5c7c) with master (a133ebd)

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.000001890061745577159 0.000001048861450971182 44.51% 80.20% 1.80x
is_valid_name[a..eth] 0.000025114657866322436 0.000029100537373630317 -15.87% -13.70% 0.86x
is_valid_name[a.eth..] 0.000025722467926978657 0.000029186084886863683 -13.47% -11.87% 0.88x
is_valid_name[a.eth.] 0.000025371265702800363 0.00002887887185356559 -13.83% -12.15% 0.88x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23968017320003127 0.2468414216000383 -2.99% -2.90% 0.97x
is_valid_name[alice.eth] 0.010694612913042696 0.011268657824177932 -5.37% -5.09% 0.95x
is_valid_name[bob.eth] 0.0065874007243652295 0.0068749756688325225 -4.37% -4.18% 0.96x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.27132215940000604 0.25058311180000603 7.64% 8.28% 1.08x
is_valid_name[subdomain.alice.eth] 0.03201924890622365 0.03359003893748991 -4.91% -4.68% 0.95x
labelhash[] 0.00013386726889877973 0.00008392166842290207 37.31% 59.51% 1.60x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23487934060008228 0.2387945813999977 -1.67% -1.64% 0.98x
labelhash[alice] 0.007859207317081873 0.007926649857152385 -0.86% -0.85% 0.99x
labelhash[bob] 0.003480015378104664 0.0034786129087710275 0.04% 0.04% 1.00x
labelhash[emoji\U0001f468\U0001f3fb] 0.2726883329999964 0.2486963016000118 8.80% 9.65% 1.10x
labelhash[xn--fiqs8s] 0.024666203756080394 0.025277513717915447 -2.48% -2.42% 0.98x
namehash[] 0.000010313833565462753 0.0000031744284883663655 69.22% 224.90% 3.25x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.47024536360004277 0.48095551940000403 -2.28% -2.23% 0.98x
namehash[alice.eth] 0.022743006066684758 0.022544486688876632 0.87% 0.88% 1.01x
namehash[bob.eth] 0.013887281424633503 0.013636606405409136 1.81% 1.84% 1.02x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5077416726000138 0.503372983600093 0.86% 0.87% 1.01x
namehash[subdomain.alice.eth] 0.06438572312498536 0.06626880856252626 -2.92% -2.84% 0.97x
nameprep[] 0.000008763158366221989 0.0000029235309759525473 66.64% 199.75% 3.00x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2395699426000192 0.2421570062000228 -1.08% -1.07% 0.99x
nameprep[alice.eth] 0.010999983709660483 0.01104385795604555 -0.40% -0.40% 1.00x
nameprep[bob.eth] 0.006561684651607662 0.006750243699348086 -2.87% -2.79% 0.97x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.28273867979992245 0.25050274619998164 11.40% 12.87% 1.13x
nameprep[subdomain.alice.eth] 0.032194888272739045 0.032913531718740785 -2.23% -2.18% 0.98x
parent[] 9.707580764658978e-7 8.531600796250778e-7 12.11% 13.78% 1.14x
parent[bar.eth] 0.000003677723711139686 0.0000025154510348476868 31.60% 46.21% 1.46x
parent[eth] 0.000002029469453815414 0.0000014214010248658294 29.96% 42.78% 1.43x
parent[foo.bar.eth] 0.0000043273231625618895 0.0000031083923882898615 28.17% 39.21% 1.39x
parent[sub.sub2.foo.bar.eth] 0.000005095843569636279 0.00000395751467455282 22.34% 28.76% 1.29x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005058245093473241 0.00001708623692728669 66.22% 196.04% 2.96x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005153924853545996 0.000017142734952769277 66.74% 200.65% 3.01x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000051451259491201726 0.000017067805595563973 66.83% 201.45% 3.01x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000014112721968841888 0.000013761847926998788 2.49% 2.55% 1.03x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013996119698627373 0.000013629740791911032 2.62% 2.69% 1.03x
address[alice.eth] 0.000013728102233925405 0.000014107475280430469 -2.76% -2.69% 0.97x
address[bob.eth] 0.000013908688601840108 0.000013968729500440599 -0.43% -0.43% 1.00x
address[emoji\U0001f468\U0001f3fb.eth] 0.000013668157429556884 0.000013874396577625787 -1.51% -1.49% 0.99x
address[subdomain.alice.eth] 0.00001393253418864819 0.000013921889553777213 0.08% 0.08% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.0001417596707854414 0.0001420179415365154 -0.18% -0.18% 1.00x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014237685862433978 0.00014036358951101762 1.41% 1.43% 1.01x
normalize_name_ensip15[alice.eth] 0.00013964150177637495 0.00014052948223150814 -0.64% -0.63% 0.99x
normalize_name_ensip15[bob.eth] 0.00014093711211152568 0.00014066664562196804 0.19% 0.19% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014012684660460382 0.00014084448094210872 -0.51% -0.51% 0.99x
normalize_name_ensip15[subdomain.alice.eth] 0.00014198327132566716 0.00014023574015940556 1.23% 1.25% 1.01x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0025519173587780393 0.0008231830296056209 67.74% 210.01% 3.10x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002578862733330658 0.0008236837750822234 68.06% 213.09% 3.13x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0026305266984548224 0.0008300108981858966 68.45% 216.93% 3.17x
dns_encode_name[] 0.0000066566094447951216 0.000004221203072684946 36.59% 57.69% 1.58x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23928199999995742 0.2386977307999132 0.24% 0.24% 1.00x
dns_encode_name[alice.eth] 0.01117373489999712 0.010904512766652866 2.41% 2.47% 1.02x
dns_encode_name[bob.eth] 0.006844161520269928 0.006762330210509198 1.20% 1.21% 1.01x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2572992953999346 0.23747918039994148 7.70% 8.35% 1.08x
dns_encode_name[subdomain.alice.eth] 0.03266577953124283 0.03261864687500804 0.14% 0.14% 1.00x
estimate_auction_start_gas[labels0] 0.00007586606771225752 0.00004715345930856683 37.85% 60.89% 1.61x
estimate_auction_start_gas[labels1] 0.00007596352270776838 0.00004651498076927417 38.77% 63.31% 1.63x
estimate_auction_start_gas[labels2] 0.00006932716667778558 0.00004690948306297812 32.34% 47.79% 1.48x
is_empty_name[ ] 0.00006386080142024144 0.000042343604580906684 33.69% 50.82% 1.51x
is_empty_name[.] 0.00006303173301024201 0.00004335333922183038 31.22% 45.39% 1.45x
is_empty_name[0] 0.00006401997999496036 0.000043202190510935895 32.52% 48.19% 1.48x
is_empty_name[1] 0.0000640163083655911 0.00004198497201089687 34.42% 52.47% 1.52x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00006511692808831629 0.000042638008166080775 34.52% 52.72% 1.53x
is_empty_name[alice.eth] 0.00006333225754124755 0.00004334703011994859 31.56% 46.11% 1.46x
is_empty_name[bob.eth] 0.00006371303689686073 0.00004242732703625086 33.41% 50.17% 1.50x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.0000644967054907973 0.00004369262517892125 32.26% 47.61% 1.48x
is_empty_name[subdomain.alice.eth] 0.00006379949600736482 0.000042079218470063344 34.04% 51.62% 1.52x
is_none_or_zero_address[] 0.00005126497137059832 0.00004132658102070464 19.39% 24.05% 1.24x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.000057454682601739614 0.00004592599665588417 20.07% 25.10% 1.25x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005789906464477011 0.00004684179756817916 19.10% 23.61% 1.24x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005789253019569354 0.00004765280655479236 17.69% 21.49% 1.21x
is_valid_ens_name[] 0.0000019199855502235605 0.0000014247285226356337 25.79% 34.76% 1.35x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23914601219998985 0.24255540039998777 -1.43% -1.41% 0.99x
is_valid_ens_name[alice.eth] 0.010820745869555436 0.011170167549447956 -3.23% -3.13% 0.97x
is_valid_ens_name[bar] 0.0000019238364499922276 0.000001451643618435887 24.54% 32.53% 1.33x
is_valid_ens_name[baz] 0.000001939322412314067 0.0000014574120903002514 24.85% 33.07% 1.33x
is_valid_ens_name[bob.eth] 0.006538298141926604 0.006695182831184889 -2.40% -2.34% 0.98x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.2624125979999917 0.23029048679995867 12.24% 13.95% 1.14x
is_valid_ens_name[foo] 0.0000019326742995313867 0.0000014571974009883768 24.60% 32.63% 1.33x
is_valid_ens_name[subdomain.alice.eth] 0.03291765121876722 0.033205620387060396 -0.87% -0.87% 0.99x
is_valid_name[] 0.0000016632663057958284 0.0000010945673095074034 34.19% 51.96% 1.52x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23915572220003015 0.23555891999999404 1.50% 1.53% 1.02x
is_valid_name[alice.eth] 0.010846442021509438 0.011137587461544772 -2.68% -2.61% 0.97x
is_valid_name[bob.eth] 0.006607390656056265 0.006895241100675543 -4.36% -4.17% 0.96x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2789251987999705 0.25045302659996194 10.21% 11.37% 1.11x
is_valid_name[subdomain.alice.eth] 0.031886231906213425 0.032874909625000726 -3.10% -3.01% 0.97x
label_to_hash[] 0.00013558593034679068 0.00008378012830318286 38.21% 61.84% 1.62x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23383852200004185 0.23359536960001606 0.10% 0.10% 1.00x
label_to_hash[alice] 0.007809136299230642 0.007891768246019911 -1.06% -1.05% 0.99x
label_to_hash[bob] 0.0034897015563295 0.003488160266662115 0.04% 0.04% 1.00x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2705292561999613 0.24398357919999397 9.81% 10.88% 1.11x
label_to_hash[xn--fiqs8s] 0.025259531707333957 0.025113860549987523 0.58% 0.58% 1.01x
normal_name_to_hash[] 0.0000017593834388888557 0.0000010433428506363043 40.70% 68.63% 1.69x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23360947539995322 0.23616957899998853 -1.10% -1.08% 0.99x
normal_name_to_hash[alice.eth] 0.011588325104642451 0.011353872770110558 2.02% 2.06% 1.02x
normal_name_to_hash[bob.eth] 0.00729457782089507 0.007012073314677713 3.87% 4.03% 1.04x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.25268660840001755 0.24552434140000515 2.83% 2.92% 1.03x
normal_name_to_hash[subdomain.alice.eth] 0.0328343355160996 0.03247745590318764 1.09% 1.10% 1.01x
normalize_name[] 0.000008486521667608328 0.0000028980195934054974 65.85% 192.84% 2.93x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2389308985999378 0.24354867899996863 -1.93% -1.90% 0.98x
normalize_name[alice.eth] 0.010698286064523692 0.011012421869553613 -2.94% -2.85% 0.97x
normalize_name[bob.eth] 0.00642095085713545 0.006678382038949344 -4.01% -3.85% 0.96x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2781677802000104 0.23154327479996936 16.76% 20.14% 1.20x
normalize_name[subdomain.alice.eth] 0.031147170406235603 0.032150174750015026 -3.22% -3.12% 0.97x
raw_name_to_hash[] 0.000009800811255845471 0.0000031504597754395504 67.86% 211.09% 3.11x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4709520693999366 0.4740593082000032 -0.66% -0.66% 0.99x
raw_name_to_hash[alice.eth] 0.02252032311110573 0.023009869555547388 -2.17% -2.13% 0.98x
raw_name_to_hash[bob.eth] 0.01410527053424518 0.01405757479452803 0.34% 0.34% 1.00x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5459690027999841 0.5048270319999574 7.54% 8.15% 1.08x
raw_name_to_hash[subdomain.alice.eth] 0.06436949181248508 0.06661508881251166 -3.49% -3.37% 0.97x
sha3_text[0] 0.000120582275986972 0.00007630174667437845 36.72% 58.03% 1.58x
sha3_text[1] 0.00011936595894110821 0.00007664301881234325 35.79% 55.74% 1.56x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012817347276786005 0.00008490329890580879 33.76% 50.96% 1.51x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.0001283313581846231 0.00008491555465058796 33.83% 51.13% 1.51x
sha3_text[alice.eth] 0.00012803303455318702 0.000085280534889257 33.39% 50.13% 1.50x
sha3_text[alice] 0.00012867892571307492 0.00008510290824311917 33.86% 51.20% 1.51x
sha3_text[bob.eth] 0.00012804363597829552 0.00008585094781949993 32.95% 49.15% 1.49x
sha3_text[bob] 0.0001281807617001014 0.00008490257081867528 33.76% 50.97% 1.51x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.0001295728943804811 0.00008611101808910197 33.54% 50.47% 1.50x
sha3_text[emoji\U0001f468\U0001f3fb] 0.0001289843163454838 0.00008541460802862897 33.78% 51.01% 1.51x
sha3_text[subdomain.alice.eth] 0.00012808084161958515 0.00008521048531063706 33.47% 50.31% 1.50x
sha3_text[xn--fiqs8s] 0.00012838565407346172 0.000085311493659778 33.55% 50.49% 1.50x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002925713648808821 0.0002525681645262452 13.67% 15.84% 1.16x
fallback_func_abi_exists 0.0002556155236723078 0.00024818961228364317 2.91% 2.99% 1.03x
filter_by_argument_name[a] 0.0006740290769771685 0.00038145999439898406 43.41% 76.70% 1.77x
filter_by_argument_name[a+b] 0.0006861723535105282 0.00040114204363589487 41.54% 71.05% 1.71x
filter_by_argument_name[b] 0.0006748984932199594 0.00038034025772338057 43.64% 77.45% 1.77x
filter_by_argument_name[c] 0.0006720669791631748 0.00037341692667994134 44.44% 79.98% 1.80x
filter_by_argument_name[notfound] 0.0006640752292388506 0.0003688986745509533 44.45% 80.02% 1.80x
filter_by_argument_type[address] 0.0005972073833125783 0.000588997999397099 1.37% 1.39% 1.01x
filter_by_argument_type[notatype] 0.0005983745851372021 0.000580935659414539 2.91% 3.00% 1.03x
filter_by_argument_type[string] 0.0006048910629076695 0.0005863675844213705 3.06% 3.16% 1.03x
filter_by_argument_type[uint+address] 0.0006088678859985424 0.0006048253814198908 0.66% 0.67% 1.01x
filter_by_argument_type[uint256] 0.0005985935936272327 0.0005935162746160754 0.85% 0.86% 1.01x
filter_by_types[constructor] 0.00003717678392659175 0.000037193918666084076 -0.05% -0.05% 1.00x
filter_by_types[event] 0.000037238532479878554 0.00003769744491833518 -1.23% -1.22% 0.99x
filter_by_types[fallback] 0.000037350580460250497 0.00003752809503301727 -0.48% -0.47% 1.00x
filter_by_types[func+event] 0.000043119210326229914 0.00004290035443007178 0.51% 0.51% 1.01x
filter_by_types[function] 0.00003740551598155206 0.000037654141277153566 -0.66% -0.66% 0.99x
filter_by_types[none] 0.00003612433965230966 0.00003603925177994252 0.24% 0.24% 1.00x
filter_by_types[receive] 0.000038400002316346217 0.00003875858622061781 -0.93% -0.93% 0.99x
find_constructor_abi_element_by_type 0.00003441604908895946 0.00003532308979326202 -2.64% -2.57% 0.97x
get_abi_element_signature[custom] 0.000051856080770466974 0.00005024218102334651 3.11% 3.21% 1.03x
get_abi_element_signature[fallback] 0.000021772669579718027 0.00002172968991753112 0.20% 0.20% 1.00x
get_abi_element_signature[receive] 0.00002911923652807443 0.000028644373928495368 1.63% 1.66% 1.02x
get_abi_element_signature[transfer] 0.00005564989461452959 0.00005448801905358395 2.09% 2.13% 1.02x
get_name_from_abi_element_identifier[custom] 0.00004048448282174656 0.00003804703942899998 6.02% 6.41% 1.06x
get_name_from_abi_element_identifier[fallback] 0.000012084804570680021 0.000011963230568860913 1.01% 1.02% 1.01x
get_name_from_abi_element_identifier[func] 0.0000403961784339371 0.000038838819267508716 3.86% 4.01% 1.04x
get_name_from_abi_element_identifier[receive] 0.000018447343884456485 0.00001843296498297217 0.08% 0.08% 1.00x
get_tuple_type_str_parts[not-tuple] 0.000022966394635355705 0.000022684691458807497 1.23% 1.24% 1.01x
get_tuple_type_str_parts[one-dim] 0.00007492194618225896 0.00007691688468664399 -2.66% -2.59% 0.97x
get_tuple_type_str_parts[plain] 0.000048549014529590874 0.00004798215668113917 1.17% 1.18% 1.01x
get_tuple_type_str_parts[two-dim] 0.00009544697424770929 0.00009655953242128385 -1.17% -1.15% 0.99x
is_address_type[address] 0.00004417865977289454 0.00004505936688529907 -1.99% -1.95% 0.98x
is_address_type[array] 0.00004453863550215014 0.000043932361362454214 1.36% 1.38% 1.01x
is_address_type[bool] 0.000044147716174257847 0.000043697405645796066 1.02% 1.03% 1.01x
is_address_type[bytes] 0.000043915122553986343 0.00004440922089569626 -1.13% -1.11% 0.99x
is_address_type[bytes32] 0.00004540862129852954 0.000045588852123878476 -0.40% -0.40% 1.00x
is_address_type[bytes33] 0.00004481278579598148 0.0000453109923072649 -1.11% -1.10% 0.99x
is_address_type[empty] 0.00004422129966506522 0.00004482843067773888 -1.37% -1.35% 0.99x
is_address_type[enum] 0.00004345984149279448 0.00004411257913211176 -1.50% -1.48% 0.99x
is_address_type[int256] 0.00004456955519731304 0.0000444967456719163 0.16% 0.16% 1.00x
is_address_type[invalid] 0.00004403726230113345 0.0000445397671354423 -1.14% -1.13% 0.99x
is_address_type[string] 0.00004430740826971354 0.000044103226378765215 0.46% 0.46% 1.00x
is_address_type[tuple-array] 0.00004376702423246737 0.000044514722548189365 -1.71% -1.68% 0.98x
is_address_type[tuple] 0.00004422608207474771 0.000045283325072159125 -2.39% -2.33% 0.98x
is_address_type[uint256] 0.000045617511051083146 0.00004571716599614856 -0.22% -0.22% 1.00x
is_array_type[address] 0.00038514665310352683 0.0003960255997604087 -2.82% -2.75% 0.97x
is_array_type[array] 0.0003982512111079286 0.00041131533103418226 -3.28% -3.18% 0.97x
is_array_type[bool] 0.0003568402726834792 0.0003673894204714178 -2.96% -2.87% 0.97x
is_array_type[bytes] 0.00036621742568768075 0.00037551516580238835 -2.54% -2.48% 0.98x
is_array_type[bytes32] 0.00038723788292760485 0.0003972031903390097 -2.57% -2.51% 0.97x
is_array_type[bytes33] 0.0003887896008542112 0.0003965848764456187 -2.01% -1.97% 0.98x
is_array_type[empty] 0.0002946792152524882 0.00030306292267985406 -2.85% -2.77% 0.97x
is_array_type[enum] 0.0003730745635378225 0.0003854034674284603 -3.30% -3.20% 0.97x
is_array_type[int256] 0.0003757503659807443 0.000391740628278557 -4.26% -4.08% 0.96x
is_array_type[invalid] 0.00039651114986123963 0.0004072620184641811 -2.71% -2.64% 0.97x
is_array_type[string] 0.00037872907435214945 0.00039054411719156395 -3.12% -3.03% 0.97x
is_array_type[tuple-array] 0.00040096084830450467 0.0004127954392171302 -2.95% -2.87% 0.97x
is_array_type[tuple] 0.0003664440629327462 0.00037799386837401936 -3.15% -3.06% 0.97x
is_array_type[uint256] 0.0003857540721205268 0.0003986801869973314 -3.35% -3.24% 0.97x
is_bool_type[address] 0.0000443964022414152 0.00004173461068488136 6.00% 6.38% 1.06x
is_bool_type[array] 0.00004377067585347046 0.000044034190512335764 -0.60% -0.60% 0.99x
is_bool_type[bool] 0.00004508691128131053 0.0000436494390730345 3.19% 3.29% 1.03x
is_bool_type[bytes] 0.00004461033753369967 0.00004408518349248468 1.18% 1.19% 1.01x
is_bool_type[bytes32] 0.000044657845047415964 0.00004438101009679514 0.62% 0.62% 1.01x
is_bool_type[bytes33] 0.00004435912711028504 0.00004393885899087776 0.95% 0.96% 1.01x
is_bool_type[empty] 0.00004503256680985174 0.000044150221503608745 1.96% 2.00% 1.02x
is_bool_type[enum] 0.000043605628291499976 0.00004378501631040005 -0.41% -0.41% 1.00x
is_bool_type[int256] 0.00004426769417925611 0.000043803817840956355 1.05% 1.06% 1.01x
is_bool_type[invalid] 0.00004254433498992204 0.000043507771609942263 -2.26% -2.21% 0.98x
is_bool_type[string] 0.00004467046492698453 0.00004413350405640445 1.20% 1.22% 1.01x
is_bool_type[tuple-array] 0.00004366159266847056 0.00004370538020198919 -0.10% -0.10% 1.00x
is_bool_type[tuple] 0.000044284454258956885 0.000045571456674691926 -2.91% -2.82% 0.97x
is_bool_type[uint256] 0.00004476235656918947 0.0000445867482236669 0.39% 0.39% 1.00x
is_bytes_type[address] 0.00031490628251736047 0.0003243928090343254 -3.01% -2.92% 0.97x
is_bytes_type[array] 0.00030381914028373806 0.00030976478921292805 -1.96% -1.92% 0.98x
is_bytes_type[bool] 0.0002782870259138444 0.00027922863378918093 -0.34% -0.34% 1.00x
is_bytes_type[bytes] 0.00027749681055739417 0.0002779442783419543 -0.16% -0.16% 1.00x
is_bytes_type[bytes32] 0.0002905895723959113 0.0002985493639767843 -2.74% -2.67% 0.97x
is_bytes_type[bytes33] 0.0003178608956966182 0.0003069193757244023 3.44% 3.56% 1.04x
is_bytes_type[empty] 0.00027773972848691076 0.00027828559062009875 -0.20% -0.20% 1.00x
is_bytes_type[enum] 0.0002884279135823502 0.00029247008369318083 -1.40% -1.38% 0.99x
is_bytes_type[int256] 0.00028809928770572306 0.000293105926613481 -1.74% -1.71% 0.98x
is_bytes_type[invalid] 0.00027927079966565284 0.00027864235901020905 0.23% 0.23% 1.00x
is_bytes_type[string] 0.00028821187507176426 0.0002898646107547587 -0.57% -0.57% 0.99x
is_bytes_type[tuple-array] 0.0002789240395315446 0.0002797824918040196 -0.31% -0.31% 1.00x
is_bytes_type[tuple] 0.00027907342987267724 0.0002803874652512538 -0.47% -0.47% 1.00x
is_bytes_type[uint256] 0.0003003985399085764 0.0003167781039516326 -5.45% -5.17% 0.95x
is_int_type[address] 0.00020720917540708938 0.000207673574028257 -0.22% -0.22% 1.00x
is_int_type[array] 0.00020470398991017226 0.0002041585336557985 0.27% 0.27% 1.00x
is_int_type[bool] 0.00020332056442746947 0.0002046083009478469 -0.63% -0.63% 0.99x
is_int_type[bytes] 0.00021569238401767646 0.0002167868821792502 -0.51% -0.50% 0.99x
is_int_type[bytes32] 0.00020674153391432167 0.0002064531812535218 0.14% 0.14% 1.00x
is_int_type[bytes33] 0.00020206628478984276 0.0002045889607130546 -1.25% -1.23% 0.99x
is_int_type[empty] 0.00020371251039595452 0.00020842202002712554 -2.31% -2.26% 0.98x
is_int_type[enum] 0.00022606823522981076 0.00022826172512521747 -0.97% -0.96% 0.99x
is_int_type[int256] 0.00023123786599976525 0.00023054625172298773 0.30% 0.30% 1.00x
is_int_type[invalid] 0.000201947538841872 0.00020831856673586265 -3.15% -3.06% 0.97x
is_int_type[string] 0.00022931864130677315 0.00023144869751056608 -0.93% -0.92% 0.99x
is_int_type[tuple-array] 0.00020235101455985175 0.00020557136815933303 -1.59% -1.57% 0.98x
is_int_type[tuple] 0.00021620107779124427 0.00021695147075534928 -0.35% -0.35% 1.00x
is_int_type[uint256] 0.00020374512935700072 0.00020490735784453178 -0.57% -0.57% 0.99x
is_probably_enum[address] 0.00006649862975664089 0.00006851549347486251 -3.03% -2.94% 0.97x
is_probably_enum[empty] 0.00006061106776309489 0.00006111315789781479 -0.83% -0.82% 0.99x
is_probably_enum[enum] 0.00006628394504525892 0.00006767668470659986 -2.10% -2.06% 0.98x
is_probably_enum[lib-dot] 0.00007248816041565031 0.00006952051705646275 4.09% 4.27% 1.04x
is_probably_enum[lib-enum] 0.00007523625637703243 0.00008143859226740676 -8.24% -7.62% 0.92x
is_probably_enum[uint256] 0.00007098376203696518 0.00006803376911013867 4.16% 4.34% 1.04x
is_recognized_type[address] 0.00007931507974760618 0.00008426617933403552 -6.24% -5.88% 0.94x
is_recognized_type[array] 0.00008446344118190361 0.00008871649440980282 -5.04% -4.79% 0.95x
is_recognized_type[bool] 0.00008331067568338472 0.00008329684543484572 0.02% 0.02% 1.00x
is_recognized_type[bytes] 0.00015538254770654784 0.0001620549269102143 -4.29% -4.12% 0.96x
is_recognized_type[bytes32] 0.0001499578748454314 0.00015589021020985067 -3.96% -3.81% 0.96x
is_recognized_type[bytes33] 0.00014393098296180647 0.00014601941448780104 -1.45% -1.43% 0.99x
is_recognized_type[empty] 0.00006010430735002333 0.00006463435144397056 -7.54% -7.01% 0.93x
is_recognized_type[enum] 0.00008727393139886038 0.00008857898191152396 -1.50% -1.47% 0.99x
is_recognized_type[int256] 0.00012569083279311908 0.00013153548853893574 -4.65% -4.44% 0.96x
is_recognized_type[invalid] 0.00008322170265989207 0.00008988627806342182 -8.01% -7.41% 0.93x
is_recognized_type[string] 0.00010127691196263793 0.00010884759705173615 -7.48% -6.96% 0.93x
is_recognized_type[tuple-array] 0.00008306906265005654 0.00008912512579367494 -7.29% -6.80% 0.93x
is_recognized_type[tuple] 0.00008379932070530953 0.00008947801450658704 -6.78% -6.35% 0.94x
is_recognized_type[uint256] 0.00012836625739139274 0.0001323351512019555 -3.09% -3.00% 0.97x
is_string_type[address] 0.00004498696661145718 0.00004457796328648692 0.91% 0.92% 1.01x
is_string_type[array] 0.00004355811938616771 0.000044456195780306235 -2.06% -2.02% 0.98x
is_string_type[bool] 0.000044677290648753254 0.000044235444389355764 0.99% 1.00% 1.01x
is_string_type[bytes] 0.000043746367490329594 0.00004497036654963828 -2.80% -2.72% 0.97x
is_string_type[bytes32] 0.0000447021140255586 0.000044606756895533235 0.21% 0.21% 1.00x
is_string_type[bytes33] 0.000043738785200074516 0.000044129535453161354 -0.89% -0.89% 0.99x
is_string_type[empty] 0.00004573196360194344 0.000044789226881731204 2.06% 2.10% 1.02x
is_string_type[enum] 0.00004431216166809063 0.00004529724526654008 -2.22% -2.17% 0.98x
is_string_type[int256] 0.00004596980149727608 0.00004460254653011745 2.97% 3.07% 1.03x
is_string_type[invalid] 0.00004337032518689373 0.00004462013916832511 -2.88% -2.80% 0.97x
is_string_type[string] 0.000043771648810812244 0.00004462812569332533 -1.96% -1.92% 0.98x
is_string_type[tuple-array] 0.000043473586390565244 0.00004469785207376341 -2.82% -2.74% 0.97x
is_string_type[tuple] 0.00004431208846405759 0.0000448450644148684 -1.20% -1.19% 0.99x
is_string_type[uint256] 0.00004474769218830081 0.000045146246443909175 -0.89% -0.88% 0.99x
is_uint_type[address] 0.00023654038270512793 0.00023868717310056547 -0.91% -0.90% 0.99x
is_uint_type[array] 0.00022977275951177503 0.00022370674733201667 2.64% 2.71% 1.03x
is_uint_type[bool] 0.00020496256561027402 0.00020312743316364053 0.90% 0.90% 1.01x
is_uint_type[bytes] 0.00020298587628379909 0.00020548201697980504 -1.23% -1.21% 0.99x
is_uint_type[bytes32] 0.00023067417721741527 0.00022307506999231084 3.29% 3.41% 1.03x
is_uint_type[bytes33] 0.00023094739162576023 0.00022555285262331558 2.34% 2.39% 1.02x
is_uint_type[empty] 0.00020278168679804616 0.00020468386600710063 -0.94% -0.93% 0.99x
is_uint_type[enum] 0.00020982202307206395 0.0002162188556021303 -3.05% -2.96% 0.97x
is_uint_type[int256] 0.00021170331520211922 0.00021778968488436902 -2.87% -2.79% 0.97x
is_uint_type[invalid] 0.00020178990487314846 0.00020182857940648815 -0.02% -0.02% 1.00x
is_uint_type[string] 0.0002147616609948488 0.0002157261781480824 -0.45% -0.45% 1.00x
is_uint_type[tuple-array] 0.00020148492421558393 0.0002053964995884703 -1.94% -1.90% 0.98x
is_uint_type[tuple] 0.0002013961477303097 0.00020565709262996404 -2.12% -2.07% 0.98x
is_uint_type[uint256] 0.00022756571492338972 0.00023455691390082692 -3.07% -2.98% 0.97x
length_of_array_type[dynamic] 0.00017251658855231105 0.00016777735247189423 2.75% 2.82% 1.03x
length_of_array_type[fixed] 0.0001786974345570714 0.00017361988567107057 2.84% 2.92% 1.03x
length_of_array_type[nested] 0.00018775386891447987 0.0001877755840937324 -0.01% -0.01% 1.00x
map_abi_data 0.006342655080283772 0.005020575094973619 20.84% 26.33% 1.26x
normalize_event_input_types 0.00042061208355514035 0.0004366513498606418 -3.81% -3.67% 0.96x
receive_func_abi_exists 0.0003200510335309633 0.000323587969235799 -1.11% -1.09% 0.99x
strip_abi_types 0.0015950568881437878 0.0015526820031839194 2.66% 2.73% 1.03x
sub_type_of_array_type[nested] 0.00018371902108763922 0.00018690144324229438 -1.73% -1.70% 0.98x
sub_type_of_array_type[simple] 0.00017587015160018635 0.00017853510846498258 -1.52% -1.49% 0.99x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000021245916248376525 0.00002268493738461861 -6.77% -6.34% 0.94x
is_hex_encoded_block_hash[invalid-g] 0.00008631626766015153 0.00006211007623329135 28.04% 38.97% 1.39x
is_hex_encoded_block_hash[none] 0.000021056220303216285 0.00002270136815991066 -7.81% -7.25% 0.93x
is_hex_encoded_block_hash[short] 0.00004656525257788427 0.00002789481181135786 40.10% 66.93% 1.67x
is_hex_encoded_block_hash[too-long] 0.00004622584096424346 0.00002803606821887748 39.35% 64.88% 1.65x
is_hex_encoded_block_hash[too-short] 0.000046119051683922655 0.00002799594396753712 39.30% 64.73% 1.65x
is_hex_encoded_block_hash[valid-a] 0.0000955772602156872 0.00007359611787590219 23.00% 29.87% 1.30x
is_hex_encoded_block_hash[valid-f] 0.0000964197381373734 0.00007320281411038706 24.08% 31.72% 1.32x
is_hex_encoded_block_number[int] 0.000020986152479159136 0.00002281211282187347 -8.70% -8.00% 0.92x
is_hex_encoded_block_number[invalid-g] 0.00017023900731654457 0.00022652063929693694 -33.06% -24.85% 0.75x
is_hex_encoded_block_number[max-64-a] 0.00010686989450317944 0.00008354426694804334 21.83% 27.92% 1.28x
is_hex_encoded_block_number[max-64-f] 0.00010704175248441715 0.00008461097937875669 20.96% 26.51% 1.27x
is_hex_encoded_block_number[none] 0.000021192633897607405 0.000022820812361232562 -7.68% -7.13% 0.93x
is_hex_encoded_block_number[small] 0.00009881025944556973 0.000047518681032028495 51.91% 107.94% 2.08x
is_hex_encoded_block_number[too-long] 0.00011202071643974678 0.00006267457907090463 44.05% 78.73% 1.79x
is_predefined_block_number[bytes-latest] 0.00003170410812671827 0.000029901203689434447 5.69% 6.03% 1.06x
is_predefined_block_number[bytes-pending] 0.000032084091055762255 0.000029971903156086605 6.58% 7.05% 1.07x
is_predefined_block_number[bytes-random] 0.000031405397571743534 0.00002795350029036967 10.99% 12.35% 1.12x
is_predefined_block_number[int] 0.000034827705873922536 0.000025007453320139144 28.20% 39.27% 1.39x
is_predefined_block_number[none] 0.00012515993192621722 0.00021083990044898303 -68.46% -40.64% 0.59x
is_predefined_block_number[object] 0.00015410074472671566 0.000246173577767171 -59.75% -37.40% 0.63x
is_predefined_block_number[str-earliest] 0.000013933907483328368 0.000010370197964397037 25.58% 34.36% 1.34x
is_predefined_block_number[str-finalized] 0.000013753921041907832 0.000010425648751168308 24.20% 31.92% 1.32x
is_predefined_block_number[str-foo] 0.000013731567601171836 0.000010237478830890027 25.45% 34.13% 1.34x
is_predefined_block_number[str-latest] 0.00001379477986136633 0.000010406557658327502 24.56% 32.56% 1.33x
is_predefined_block_number[str-pending] 0.00001366651500021763 0.000010435126475719474 23.64% 30.97% 1.31x
is_predefined_block_number[str-safe] 0.00001388093244917389 0.000010363464333322042 25.34% 33.94% 1.34x
select_method_for_block_identifier[hash-bytes] 0.000052461929258656526 0.000041073948119337325 21.71% 27.73% 1.28x
select_method_for_block_identifier[hash-hexstr] 0.00012944523604327028 0.00009064602827627023 29.97% 42.80% 1.43x
select_method_for_block_identifier[invalid-none] 0.0009032712041420368 0.0010629866463724674 -17.68% -15.03% 0.85x
select_method_for_block_identifier[invalid-object] 0.0009469838057442915 0.0011048351646873254 -16.67% -14.29% 0.86x
select_method_for_block_identifier[number-hexstr] 0.0001775518685211844 0.00008573295215782986 51.71% 107.10% 2.07x
select_method_for_block_identifier[number-int] 0.00010975380175266615 0.00006101787228477251 44.40% 79.87% 1.80x
select_method_for_block_identifier[predefined-bytes] 0.00004940428883774827 0.00004406658719134994 10.80% 12.11% 1.12x
select_method_for_block_identifier[predefined-str] 0.000027991218375745326 0.000020990012509539917 25.01% 33.35% 1.33x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00045921575438764454 0.0005468245337384653 -19.08% -16.02% 0.84x
PropertyCheckingFactory[big-valid] 0.000458635134331172 0.0005456281736612174 -18.97% -15.94% 0.84x
PropertyCheckingFactory[inheritance] 0.0010035752613757288 0.0009766989799372915 2.68% 2.75% 1.03x
PropertyCheckingFactory[invalid] 0.00045727603545809187 0.0005500319410710323 -20.28% -16.86% 0.83x
PropertyCheckingFactory[multi-normalizer] 0.000473012886838939 0.0005476414780282334 -15.78% -13.63% 0.86x
PropertyCheckingFactory[multi-prop] 0.00045789604990376234 0.0005418359337251447 -18.33% -15.49% 0.85x
PropertyCheckingFactory[normalized] 0.0004610873110475839 0.0005598114224736727 -21.41% -17.64% 0.82x
PropertyCheckingFactory[valid] 0.0012140553489134816 0.001016633063561373 16.26% 19.42% 1.19x
verify_attr[empty] 0.00009908581292898632 0.00015899162924981662 -60.46% -37.68% 0.62x
verify_attr[found-end] 0.000012293990131047044 0.000011253961308678614 8.46% 9.24% 1.09x
verify_attr[found-start] 0.000009279412388307005 0.000008086311386365479 12.86% 14.75% 1.15x
verify_attr[large-found] 0.0001332061449126033 0.00013785230502209183 -3.49% -3.37% 0.97x
verify_attr[large-notfound] 0.00019824131264028501 0.00026199821791958195 -32.16% -24.33% 0.76x
verify_attr[notfound] 0.00010394410052419289 0.00016315879769814704 -56.97% -36.29% 0.64x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006430915455740567 0.0006551357855621268 -1.87% -1.84% 0.98x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00008009059902074533 0.00002223393192598922 72.24% 260.22% 3.60x
percentile[100-90th] 0.00011409102229726283 0.000055837123649606424 51.06% 104.33% 2.04x
percentile[100k-99th] 0.03922836892307329 0.03644600792858098 7.09% 7.63% 1.08x
percentile[100k-median] 0.03711106669231867 0.03720514253847376 -0.25% -0.25% 1.00x
percentile[10k-10th] 0.003890782913214145 0.003689262581474395 5.18% 5.46% 1.05x
percentile[10k-99th] 0.003939446720471461 0.003714516359547546 5.71% 6.06% 1.06x
percentile[10k-median] 0.0038096993768649825 0.003642778047276145 4.38% 4.58% 1.05x
percentile[1k-99th] 0.00048608735491478995 0.00040606898953529636 16.46% 19.71% 1.20x
percentile[1M-median] 0.6436020388000088 0.6206852547999915 3.56% 3.69% 1.04x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000013757795271770801 0.000006726253802818723 51.11% 104.54% 2.05x
to_bytes_if_hex[empty-str] 0.0003173817118469226 0.00003795910848541647 88.04% 736.11% 8.36x
to_bytes_if_hex[hexstr] 0.00034585364163228324 0.0000482686299323731 86.04% 616.52% 7.17x
to_bytes_if_hex[large-hex] 0.00035212823505654807 0.00005302579699347476 84.94% 564.07% 6.64x
to_bytes_if_hex[non-prefixed-hex] 0.0003270398077571217 0.00004503392762756019 86.23% 626.21% 7.26x
to_bytes_if_hex[nothex] 0.0004221587554764317 0.0002675869559438595 36.61% 57.77% 1.58x
to_bytes_if_hex[unicode] 0.00043684815751092205 0.00027603822744368643 36.81% 58.26% 1.58x
to_bytes_if_hex[zero] 0.0003399140226217823 0.00004808521419728424 85.85% 606.90% 7.07x
to_hex_if_bytes[bytes] 0.0002294361529146358 0.00004937465636960775 78.48% 364.68% 4.65x
to_hex_if_bytes[empty-bytes] 0.00022015137403828963 0.00003745866350221712 82.99% 487.72% 5.88x
to_hex_if_bytes[empty-str] 0.0001021057424268597 0.0001903033353214625 -86.38% -46.35% 0.54x
to_hex_if_bytes[hexstr] 0.00028510370596824354 0.00002313154099956495 91.89% 1132.53% 12.33x
to_hex_if_bytes[large-bytes] 0.00023312066079232737 0.000050960196743723764 78.14% 357.46% 4.57x
to_hex_if_bytes[non-prefixed-hex] 0.00010456859167742387 0.00019094007180078004 -82.60% -45.23% 0.55x
to_hex_if_bytes[not-hex] 0.00010402725479150416 0.000190196046835821 -82.83% -45.31% 0.55x
to_hex_if_bytes[unicode] 0.00010774336705589054 0.0001957492910260943 -81.68% -44.96% 0.55x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00029785786674621175 0.00011388734048042168 61.76% 161.54% 2.62x
all_in_dict[empty-dict] 0.000257341148004376 0.00007952782795874144 69.10% 223.59% 3.24x
all_in_dict[empty-list] 0.0002635840021915696 0.00008997485001454692 65.86% 192.95% 2.93x
all_in_dict[mixed-types] 0.0003031567445183313 0.00010531356279200819 65.26% 187.86% 2.88x
all_in_dict[no-overlap] 0.0002758475794219147 0.00009226784009366112 66.55% 198.96% 2.99x
all_in_dict[none-in] 0.0002777659789859134 0.00009223168756347892 66.80% 201.16% 3.01x
all_in_dict[one-in] 0.0002772438277503096 0.00009718347002483941 64.95% 185.28% 2.85x
all_in_dict[partial-overlap] 0.00031064747628209216 0.00010385104864938509 66.57% 199.13% 2.99x
all_in_dict[value-none] 0.0002779938821744887 0.00009724171558920581 65.02% 185.88% 2.86x
any_in_dict[all-in] 0.00028471785718395086 0.00010331807981917215 63.71% 175.57% 2.76x
any_in_dict[empty-dict] 0.0002941740854514179 0.0000959087678612555 67.40% 206.72% 3.07x
any_in_dict[empty-list] 0.00025935882793777867 0.00008826252288177525 65.97% 193.85% 2.94x
any_in_dict[mixed-types] 0.0002751922576235374 0.00009108552439998799 66.90% 202.13% 3.02x
any_in_dict[no-overlap] 0.00031196806287282 0.00010815213422196 65.33% 188.45% 2.88x
any_in_dict[none-in] 0.0002819302082180763 0.00009499130372275703 66.31% 196.80% 2.97x
any_in_dict[one-in] 0.00027487292246222705 0.00008836529989093243 67.85% 211.06% 3.11x
any_in_dict[partial-overlap] 0.00027269539418105037 0.00008952416998877717 67.17% 204.61% 3.05x
any_in_dict[value-none] 0.00027037552014187537 0.00008895572843525121 67.10% 203.94% 3.04x
either_set_is_a_subset[both-empty] 0.00017088671547315243 0.0001565825984096758 8.37% 9.14% 1.09x
either_set_is_a_subset[empty-set1] 0.00017075269152759946 0.0001568633213688676 8.13% 8.85% 1.09x
either_set_is_a_subset[empty-set2] 0.0002550107359110882 0.0002590079090460143 -1.57% -1.54% 0.98x
either_set_is_a_subset[identical] 0.0001833698712124152 0.00016927536711337234 7.69% 8.33% 1.08x
either_set_is_a_subset[mixed-types] 0.00018860655120479106 0.00017120405620097695 9.23% 10.16% 1.10x
either_set_is_a_subset[not-subset] 0.00027042172631821046 0.0002589384709936116 4.25% 4.43% 1.04x
either_set_is_a_subset[partial-overlap] 0.0002974957387160771 0.0002826592529769896 4.99% 5.25% 1.05x
either_set_is_a_subset[subset] 0.00018925393838791255 0.0001711057627642653 9.59% 10.61% 1.11x
either_set_is_a_subset[superset] 0.00028961498856999 0.0002886140693037271 0.35% 0.35% 1.00x
none_in_dict[all-in] 0.0002983972929856592 0.00011176753186915691 62.54% 166.98% 2.67x
none_in_dict[empty-dict] 0.0003075214112880051 0.00009624528545248549 68.70% 219.52% 3.20x
none_in_dict[empty-list] 0.00027501528650090523 0.00009149136409261609 66.73% 200.59% 3.01x
none_in_dict[mixed-types] 0.0002944671777635691 0.00009274617381790222 68.50% 217.50% 3.17x
none_in_dict[no-overlap] 0.0003288001363613988 0.00010781185104221389 67.21% 204.98% 3.05x
none_in_dict[none-in] 0.0002994469724096721 0.00009665799341531434 67.72% 209.80% 3.10x
none_in_dict[one-in] 0.00029071897063466285 0.00008972242011314886 69.14% 224.02% 3.24x
none_in_dict[partial-overlap] 0.0002930415014695819 0.00009144612820075027 68.79% 220.45% 3.20x
none_in_dict[value-none] 0.0002927472934807749 0.00008951306081394452 69.42% 227.04% 3.27x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014522400547465168 0.0014364985177836023 1.08% 1.10% 1.01x
attributedict_hash[flat] 0.0010953449080005082 0.0011040684461999255 -0.80% -0.79% 0.99x
attributedict_hash[nested] 0.0017133311405271578 0.0016977250597265145 0.91% 0.92% 1.01x
attributedict_init[empty] 0.00008481503307625585 0.00008341793441328104 1.65% 1.67% 1.02x
attributedict_init[large] 0.0001265568992903266 0.00012631485773846897 0.19% 0.19% 1.00x
attributedict_init[small] 0.00009123821905857065 0.0000901755075231985 1.16% 1.18% 1.01x
mutableattributedict_delitem 0.00038667304319597455 0.0003868627342837266 -0.05% -0.05% 1.00x
mutableattributedict_setitem 0.00032174096722914134 0.000319027569887477 0.84% 0.85% 1.01x
namedelementonion_add 0.027676470106535206 0.02751562130574393 0.58% 0.58% 1.01x
namedelementonion_as_tuple_of_middleware 0.00015187327851448807 0.00016687989325748218 -9.88% -8.99% 0.91x
namedelementonion_contains 0.000029761640646364848 0.000030200930649943355 -1.48% -1.45% 0.99x
namedelementonion_getitem 0.000027576410309228957 0.000027471698013347682 0.38% 0.38% 1.00x
namedelementonion_init[callables2] 0.0001267023191907133 0.00012505306847823136 1.30% 1.32% 1.01x
namedelementonion_init[callables3] 0.00016170227222640123 0.00015862945231053592 1.90% 1.94% 1.02x
namedelementonion_init[empty] 0.000043248939283145766 0.00004299759826453035 0.58% 0.58% 1.01x
namedelementonion_inject 0.03175970762789231 0.029498124958346732 7.12% 7.67% 1.08x
namedelementonion_iter 0.00015717402543334306 0.00015505902655701818 1.35% 1.36% 1.01x
namedelementonion_remove 0.0006892189309215084 0.0006779591593529342 1.63% 1.66% 1.02x
namedelementonion_replace 0.002457423818636685 0.0024446889072471853 0.52% 0.52% 1.01x
readableattributedict_getitem[large] 0.000016301979733491806 0.00001627070420728999 0.19% 0.19% 1.00x
readableattributedict_getitem[small] 0.000015470890059339365 0.000015391234282396084 0.51% 0.52% 1.01x
readableattributedict_init[empty] 0.000051360563371740165 0.00005132743345406658 0.06% 0.06% 1.00x
readableattributedict_init[large] 0.00008724520015911329 0.00008681021036885153 0.50% 0.50% 1.01x
readableattributedict_init[small] 0.000054843578068820435 0.000056099545810227675 -2.29% -2.24% 0.98x
readableattributedict_recursive[list-in-dict] 0.0008992176322519408 0.0008925479883541437 0.74% 0.75% 1.01x
readableattributedict_recursive[nested-dict] 0.000923619031828078 0.0009260182187084754 -0.26% -0.26% 1.00x
readableattributedict_recursive[set] 0.00047810763280353925 0.00046944750187987566 1.81% 1.84% 1.02x
tupleize_lists_nested[list-in-dict] 0.0008543174223514678 0.0008459533306123209 0.98% 0.99% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.0009342824532322404 0.0009256135094859231 0.93% 0.94% 1.01x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.00034820232009235034 0.00025687069433633634 26.23% 35.56% 1.36x
simplecache_cache[100] 0.002762864843139689 0.0019411433925093442 29.74% 42.33% 1.42x
simplecache_cache[1000] 0.028112905527804186 0.01859837709088507 33.84% 51.16% 1.51x
simplecache_eviction[10] 0.0005906868635784234 0.0005904692892038685 0.04% 0.04% 1.00x
simplecache_eviction[100] 0.005281381048131483 0.005303001112309706 -0.41% -0.41% 1.00x
simplecache_pop[10] 0.0004575891054617266 0.0003648018563058252 20.28% 25.43% 1.25x
simplecache_pop[100] 0.0038561891445230145 0.0029906119359815776 22.45% 28.94% 1.29x
simplecache_retrieval[10] 0.00009003269013045015 0.00005420547826685835 39.79% 66.10% 1.66x
simplecache_retrieval[100] 0.0007984071985531788 0.0004495631064513122 43.69% 77.60% 1.78x

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