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.0000017954894440689767 0.0000011450270217091492 36.23% 56.81% 1.57x
is_valid_name[a..eth] 0.000024953429807570594 0.00002995461313120248 -20.04% -16.70% 0.83x
is_valid_name[a.eth..] 0.000025728062518927316 0.00003037619883710939 -18.07% -15.30% 0.85x
is_valid_name[a.eth.] 0.000025450416495434124 0.000030189223219933557 -18.62% -15.70% 0.84x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23058622040002774 0.2353744136000387 -2.08% -2.03% 0.98x
is_valid_name[alice.eth] 0.010300280112267742 0.010793926709683184 -4.79% -4.57% 0.95x
is_valid_name[bob.eth] 0.0061680226871154735 0.006721665555555387 -8.98% -8.24% 0.92x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2619007283999963 0.22439378219996797 14.32% 16.71% 1.17x
is_valid_name[subdomain.alice.eth] 0.030729568588258992 0.03186798737500851 -3.70% -3.57% 0.96x
labelhash[] 0.0001315786631524024 0.00008287399104053314 37.02% 58.77% 1.59x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22530706600000486 0.23530028219997803 -4.44% -4.25% 0.96x
labelhash[alice] 0.007590157448810815 0.007758759158724345 -2.22% -2.17% 0.98x
labelhash[bob] 0.003359437664344241 0.0033955096594184765 -1.07% -1.06% 0.99x
labelhash[emoji\U0001f468\U0001f3fb] 0.2507141993999994 0.23137102100001053 7.72% 8.36% 1.08x
labelhash[xn--fiqs8s] 0.023936096046533517 0.02606378440002004 -8.89% -8.16% 0.92x
namehash[] 0.000009770067916530174 0.000003228268236276337 66.96% 202.64% 3.03x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4691990426000302 0.4664520859999811 0.59% 0.59% 1.01x
namehash[alice.eth] 0.02216834868888024 0.022197268945940263 -0.13% -0.13% 1.00x
namehash[bob.eth] 0.013489691972599508 0.0136115611506826 -0.90% -0.90% 0.99x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5222555468000337 0.5171978576000129 0.97% 0.98% 1.01x
namehash[subdomain.alice.eth] 0.06395395076471205 0.06419864562501232 -0.38% -0.38% 1.00x
nameprep[] 0.000008713779865721581 0.000002956611421570999 66.07% 194.72% 2.95x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23145502179995675 0.2441151944000012 -5.47% -5.19% 0.95x
nameprep[alice.eth] 0.010204619418362069 0.011060465771742616 -8.39% -7.74% 0.92x
nameprep[bob.eth] 0.0062840407744019795 0.006710537545464158 -6.79% -6.36% 0.94x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.25699910139996973 0.23676804020001327 7.87% 8.54% 1.09x
nameprep[subdomain.alice.eth] 0.030956839852947 0.03302446338708368 -6.68% -6.26% 0.94x
parent[] 9.71372284293984e-7 8.324879208397183e-7 14.30% 16.68% 1.17x
parent[bar.eth] 0.0000036551217442702726 0.0000025009339877543974 31.58% 46.15% 1.46x
parent[eth] 0.000001965171039568859 0.0000014198115124450027 27.75% 38.41% 1.38x
parent[foo.bar.eth] 0.0000042510818752712854 0.000003182234563139447 25.14% 33.59% 1.34x
parent[sub.sub2.foo.bar.eth] 0.00000494229894163032 0.000003845772795352081 22.19% 28.51% 1.29x
reverse_domain[0x0000000000000000000000000000000000000000] 0.000050215803289181774 0.000017364530428258586 65.42% 189.19% 2.89x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005087658806100205 0.000017124922492892778 66.34% 197.09% 2.97x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000051428895299634644 0.000017157836060373468 66.64% 199.74% 3.00x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000014143569909782547 0.000014004105166531035 0.99% 1.00% 1.01x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013778963009848237 0.000013642038142729122 0.99% 1.00% 1.01x
address[alice.eth] 0.000013697013380377973 0.000013625933826132346 0.52% 0.52% 1.01x
address[bob.eth] 0.00001383588926597378 0.000013674402631785764 1.17% 1.18% 1.01x
address[emoji\U0001f468\U0001f3fb.eth] 0.000013740437093428172 0.000013912841921376526 -1.25% -1.24% 0.99x
address[subdomain.alice.eth] 0.000013887439931895528 0.000014127687795819881 -1.73% -1.70% 0.98x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014719230804973411 0.00015243276880548865 -3.56% -3.44% 0.97x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014919990317735824 0.0001496314688384499 -0.29% -0.29% 1.00x
normalize_name_ensip15[alice.eth] 0.0001446772126617172 0.00014791162376304426 -2.24% -2.19% 0.98x
normalize_name_ensip15[bob.eth] 0.0001479033989097909 0.00014923604752630526 -0.90% -0.89% 0.99x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014715659042526753 0.00014782950141184982 -0.46% -0.46% 1.00x
normalize_name_ensip15[subdomain.alice.eth] 0.00014842341359539145 0.00014457321839518364 2.59% 2.66% 1.03x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024403486368257867 0.0008420222163332895 65.50% 189.82% 2.90x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0024897793367046365 0.0008365062146516306 66.40% 197.64% 2.98x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0024820259230811923 0.0008283178281692195 66.63% 199.65% 3.00x
dns_encode_name[] 0.000006711017021650812 0.00000438640485790418 34.64% 53.00% 1.53x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23295175020002717 0.23301069879998976 -0.03% -0.03% 1.00x
dns_encode_name[alice.eth] 0.010692039382985406 0.010799369836950458 -1.00% -0.99% 0.99x
dns_encode_name[bob.eth] 0.006570719503305018 0.006535103909095006 0.54% 0.54% 1.01x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2761332774000039 0.23760983600000146 13.95% 16.21% 1.16x
dns_encode_name[subdomain.alice.eth] 0.03249643199999561 0.031504904312519955 3.05% 3.15% 1.03x
estimate_auction_start_gas[labels0] 0.00007411585187844758 0.00004623896334969908 37.61% 60.29% 1.60x
estimate_auction_start_gas[labels1] 0.00007379097357990388 0.00004630583791279176 37.25% 59.36% 1.59x
estimate_auction_start_gas[labels2] 0.00006574491963446893 0.000045968032032814014 30.08% 43.02% 1.43x
is_empty_name[ ] 0.00005666350815994211 0.00004594047211786099 18.92% 23.34% 1.23x
is_empty_name[.] 0.00005573493950949317 0.00004164690800436102 25.28% 33.83% 1.34x
is_empty_name[0] 0.00005560101917621641 0.00004062918720722884 26.93% 36.85% 1.37x
is_empty_name[1] 0.000055605592871800184 0.00004013449003509922 27.82% 38.55% 1.39x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005809568233912372 0.0000410304933250703 29.37% 41.59% 1.42x
is_empty_name[alice.eth] 0.000057793090390319945 0.00004117023535450246 28.76% 40.38% 1.40x
is_empty_name[bob.eth] 0.00005783266006259563 0.00004005914439299244 30.73% 44.37% 1.44x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00006048361675307636 0.00004080508074849515 32.54% 48.23% 1.48x
is_empty_name[subdomain.alice.eth] 0.00005802471048190925 0.00004033954016747623 30.48% 43.84% 1.44x
is_none_or_zero_address[] 0.00004393766436542488 0.00003871574186070086 11.88% 13.49% 1.13x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00004885090779755024 0.00004297919348043731 12.02% 13.66% 1.14x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005190339879665492 0.00004482049494375767 13.65% 15.80% 1.16x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005172199385920281 0.000044944647726552185 13.10% 15.08% 1.15x
is_valid_ens_name[] 0.0000018399746362207722 0.000001443892018466297 21.53% 27.43% 1.27x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22661929900004907 0.3676132846000201 -62.22% -38.35% 0.62x
is_valid_ens_name[alice.eth] 0.010238459851064634 0.015458226553843046 -50.98% -33.77% 0.66x
is_valid_ens_name[bar] 0.0000019099935505778747 0.0000014306028205862264 25.10% 33.51% 1.34x
is_valid_ens_name[baz] 0.0000018947542094704462 0.000001419716006167327 25.07% 33.46% 1.33x
is_valid_ens_name[bob.eth] 0.006241822253089056 0.009064689387365056 -45.23% -31.14% 0.69x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.24953946279993033 0.23738070999997946 4.87% 5.12% 1.05x
is_valid_ens_name[foo] 0.000001913836787642612 0.0000014160089573000683 26.01% 35.16% 1.35x
is_valid_ens_name[subdomain.alice.eth] 0.03033111635292752 0.04712050659090685 -55.35% -35.63% 0.64x
is_valid_name[] 0.000001550457328564267 9.80904782727468e-7 36.73% 58.06% 1.58x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23691364339997562 0.2367588539999815 0.07% 0.07% 1.00x
is_valid_name[alice.eth] 0.010506219051562437 0.011024463586962789 -4.93% -4.70% 0.95x
is_valid_name[bob.eth] 0.006282588262829099 0.006659205329034164 -5.99% -5.66% 0.94x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2583857200000693 0.23703057180005088 8.26% 9.01% 1.09x
is_valid_name[subdomain.alice.eth] 0.031237333030296875 0.03166700846878001 -1.38% -1.36% 0.99x
label_to_hash[] 0.0001326912908139759 0.00008198024124438456 38.22% 61.86% 1.62x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22858440720006 0.23704993539995484 -3.70% -3.57% 0.96x
label_to_hash[alice] 0.007668717215381968 0.007771755365077239 -1.34% -1.33% 0.99x
label_to_hash[bob] 0.0033908210644135657 0.0034203860871026455 -0.87% -0.86% 0.99x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2609964250000303 0.2131937876000393 18.32% 22.42% 1.22x
label_to_hash[xn--fiqs8s] 0.024040415952397 0.02471340626830835 -2.80% -2.72% 0.97x
normal_name_to_hash[] 0.0000016583695686169934 9.834758982450917e-7 40.70% 68.62% 1.69x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23305833619992883 0.246243348400003 -5.66% -5.35% 0.95x
normal_name_to_hash[alice.eth] 0.011558452752813005 0.011680485494100461 -1.06% -1.04% 0.99x
normal_name_to_hash[bob.eth] 0.007269005947366058 0.007245629369570953 0.32% 0.32% 1.00x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2922163474000172 0.23690331459993103 18.93% 23.35% 1.23x
normal_name_to_hash[subdomain.alice.eth] 0.03225159443748993 0.033894183399987315 -5.09% -4.85% 0.95x
normalize_name[] 0.000008314644140302099 0.000002945557048355935 64.57% 182.28% 2.82x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22448695980010597 0.24633367959995667 -9.73% -8.87% 0.91x
normalize_name[alice.eth] 0.010255542030626091 0.010947199462370624 -6.74% -6.32% 0.94x
normalize_name[bob.eth] 0.006153327355833911 0.006537550406449467 -6.24% -5.88% 0.94x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.25616766880002617 0.2025600949999898 20.93% 26.47% 1.26x
normalize_name[subdomain.alice.eth] 0.03035548385294613 0.03225271337500146 -6.25% -5.88% 0.94x
raw_name_to_hash[] 0.000009668486028413648 0.0000032178012568709958 66.72% 200.47% 3.00x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4558632814000248 0.4815262581999377 -5.63% -5.33% 0.95x
raw_name_to_hash[alice.eth] 0.021310960108671086 0.02283207352272918 -7.14% -6.66% 0.93x
raw_name_to_hash[bob.eth] 0.01317248880264132 0.013771387459462096 -4.55% -4.35% 0.96x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5175378037999963 0.49906618780005374 3.57% 3.70% 1.04x
raw_name_to_hash[subdomain.alice.eth] 0.06348134505884338 0.06582191174999252 -3.69% -3.56% 0.96x
sha3_text[0] 0.00011806648180190812 0.00007564766229940547 35.93% 56.07% 1.56x
sha3_text[1] 0.00011826311706304374 0.00007633201891865164 35.46% 54.93% 1.55x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0001297421549860326 0.00008400856890263335 35.25% 54.44% 1.54x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012732475562528514 0.00008483494248363513 33.37% 50.09% 1.50x
sha3_text[alice.eth] 0.0001266176865173447 0.0000841570717443297 33.53% 50.45% 1.50x
sha3_text[alice] 0.00012907132819337428 0.00008418845376913697 34.77% 53.31% 1.53x
sha3_text[bob.eth] 0.00012711968600285077 0.00008463485554272025 33.42% 50.20% 1.50x
sha3_text[bob] 0.00012662802734075932 0.00008464915124920948 33.15% 49.59% 1.50x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.0001277978227054459 0.00008524060040144295 33.30% 49.93% 1.50x
sha3_text[emoji\U0001f468\U0001f3fb] 0.0001272109129484125 0.00008515462474691343 33.06% 49.39% 1.49x
sha3_text[subdomain.alice.eth] 0.00012686107072459884 0.00008476599294317619 33.18% 49.66% 1.50x
sha3_text[xn--fiqs8s] 0.00012704900933333275 0.00008415511899545987 33.76% 50.97% 1.51x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.000289784249019254 0.0002529688119164755 12.70% 14.55% 1.15x
fallback_func_abi_exists 0.00025390474690095536 0.000029140549330759377 88.52% 771.31% 8.71x
filter_by_argument_name[a] 0.0006560137239015338 0.00038423070758594546 41.43% 70.73% 1.71x
filter_by_argument_name[a+b] 0.0006628098259430119 0.00039084085767607805 41.03% 69.59% 1.70x
filter_by_argument_name[b] 0.0006464356637924893 0.00037330089370115645 42.25% 73.17% 1.73x
filter_by_argument_name[c] 0.0006508328280632128 0.0003804940821085718 41.54% 71.05% 1.71x
filter_by_argument_name[notfound] 0.000652630482711976 0.000378265943897595 42.04% 72.53% 1.73x
filter_by_argument_type[address] 0.0005867410037365869 0.0005879142003633347 -0.20% -0.20% 1.00x
filter_by_argument_type[notatype] 0.0005720015128687355 0.0005798271539875453 -1.37% -1.35% 0.99x
filter_by_argument_type[string] 0.0005792590782372078 0.0005924301615027768 -2.27% -2.22% 0.98x
filter_by_argument_type[uint+address] 0.0005887031340690529 0.0005948243643127294 -1.04% -1.03% 0.99x
filter_by_argument_type[uint256] 0.0005841070555567215 0.0005935253594198026 -1.61% -1.59% 0.98x
filter_by_types[constructor] 0.00003680012405877131 0.00003760943054074049 -2.20% -2.15% 0.98x
filter_by_types[event] 0.00003748555434285387 0.000037467746418941594 0.05% 0.05% 1.00x
filter_by_types[fallback] 0.00003737596726021151 0.000038167781106019847 -2.12% -2.07% 0.98x
filter_by_types[func+event] 0.00004218584040116025 0.00004299607374994963 -1.92% -1.88% 0.98x
filter_by_types[function] 0.00003747180472663079 0.00003743604762758504 0.10% 0.10% 1.00x
filter_by_types[none] 0.000038319932754186826 0.00003857464562583973 -0.66% -0.66% 0.99x
filter_by_types[receive] 0.000038608750585169485 0.000039117027724605514 -1.32% -1.30% 0.99x
find_constructor_abi_element_by_type 0.000033540859751943894 0.000033555932375350896 -0.04% -0.04% 1.00x
get_abi_element_signature[custom] 0.0000524037666427915 0.00005016340095943854 4.28% 4.47% 1.04x
get_abi_element_signature[fallback] 0.000020652515643493834 0.00002105807451417336 -1.96% -1.93% 0.98x
get_abi_element_signature[receive] 0.000027953338451792134 0.000028186895596129292 -0.84% -0.83% 0.99x
get_abi_element_signature[transfer] 0.000057327364955671215 0.000053987099835064915 5.83% 6.19% 1.06x
get_name_from_abi_element_identifier[custom] 0.000041384112202393924 0.000037678747505929755 8.95% 9.83% 1.10x
get_name_from_abi_element_identifier[fallback] 0.000012080371212517854 0.000011977620591628936 0.85% 0.86% 1.01x
get_name_from_abi_element_identifier[func] 0.00004122579246009153 0.00003812360856971729 7.52% 8.14% 1.08x
get_name_from_abi_element_identifier[receive] 0.000018182918279637446 0.000018025545866101748 0.87% 0.87% 1.01x
get_tuple_type_str_parts[not-tuple] 0.00002248424368599821 0.00002228024501230989 0.91% 0.92% 1.01x
get_tuple_type_str_parts[one-dim] 0.00007217693820506504 0.00007199689210816896 0.25% 0.25% 1.00x
get_tuple_type_str_parts[plain] 0.000046741107748980675 0.00004691149965186644 -0.36% -0.36% 1.00x
get_tuple_type_str_parts[two-dim] 0.0000894144844437889 0.00008892943410272641 0.54% 0.55% 1.01x
is_address_type[address] 0.00004341962358357972 0.00004295451489179344 1.07% 1.08% 1.01x
is_address_type[array] 0.00004600124089882559 0.00004634405737100751 -0.75% -0.74% 0.99x
is_address_type[bool] 0.000042955242556182006 0.000042132184144969756 1.92% 1.95% 1.02x
is_address_type[bytes] 0.000042937783367254297 0.000043337999729218655 -0.93% -0.92% 0.99x
is_address_type[bytes32] 0.00004462684364131766 0.000044313619023302514 0.70% 0.71% 1.01x
is_address_type[bytes33] 0.00004576539983830961 0.00004721538561999653 -3.17% -3.07% 0.97x
is_address_type[empty] 0.000042647304055290406 0.00004336893106260543 -1.69% -1.66% 0.98x
is_address_type[enum] 0.00004410533442102603 0.0000443375369230586 -0.53% -0.52% 0.99x
is_address_type[int256] 0.000042638185488830764 0.000042543599149654195 0.22% 0.22% 1.00x
is_address_type[invalid] 0.000044424718371527906 0.00004481056657183371 -0.87% -0.86% 0.99x
is_address_type[string] 0.000042559437964698094 0.000042872897663503905 -0.74% -0.73% 0.99x
is_address_type[tuple-array] 0.00004461186160677149 0.00004482075193961106 -0.47% -0.47% 1.00x
is_address_type[tuple] 0.00004248118145384167 0.00004248996906510615 -0.02% -0.02% 1.00x
is_address_type[uint256] 0.00004439306185772222 0.000042881776431185016 3.40% 3.52% 1.04x
is_array_type[address] 0.0003921447195211405 0.00040837929956955346 -4.14% -3.98% 0.96x
is_array_type[array] 0.0003929699561379956 0.0004152181724844153 -5.66% -5.36% 0.95x
is_array_type[bool] 0.00036002679811795855 0.00037002505069661456 -2.78% -2.70% 0.97x
is_array_type[bytes] 0.0003672104505640575 0.00038427160937259665 -4.65% -4.44% 0.96x
is_array_type[bytes32] 0.0003931817869308978 0.0004072644520408032 -3.58% -3.46% 0.97x
is_array_type[bytes33] 0.0003874174553542234 0.00040794903922454967 -5.30% -5.03% 0.95x
is_array_type[empty] 0.00029591305110578125 0.0003165616584037732 -6.98% -6.52% 0.93x
is_array_type[enum] 0.0003810948640869973 0.00039500297617225304 -3.65% -3.52% 0.96x
is_array_type[int256] 0.0003781651128645861 0.000398175697080965 -5.29% -5.03% 0.95x
is_array_type[invalid] 0.00039673884305721187 0.00041776095701207856 -5.30% -5.03% 0.95x
is_array_type[string] 0.0003797947131971243 0.000395613573891247 -4.17% -4.00% 0.96x
is_array_type[tuple-array] 0.0003928985908721426 0.00041518883622557217 -5.67% -5.37% 0.95x
is_array_type[tuple] 0.00036750798234058777 0.0003879449677785176 -5.56% -5.27% 0.95x
is_array_type[uint256] 0.00038618529980899517 0.00039929526901483605 -3.39% -3.28% 0.97x
is_bool_type[address] 0.000042628638844641175 0.00004288417398351148 -0.60% -0.60% 0.99x
is_bool_type[array] 0.00004405963327955048 0.000043372634613371894 1.56% 1.58% 1.02x
is_bool_type[bool] 0.00004173307847177111 0.00004239292212057635 -1.58% -1.56% 0.98x
is_bool_type[bytes] 0.00004235956967730951 0.00004232294233471264 0.09% 0.09% 1.00x
is_bool_type[bytes32] 0.00004250198931908354 0.00004242489354975726 0.18% 0.18% 1.00x
is_bool_type[bytes33] 0.000044039520395284004 0.000044061781238186255 -0.05% -0.05% 1.00x
is_bool_type[empty] 0.00004269481496021366 0.000042014093353044704 1.59% 1.62% 1.02x
is_bool_type[enum] 0.00004334018361568509 0.00004348336606894219 -0.33% -0.33% 1.00x
is_bool_type[int256] 0.00004235127970277708 0.000042668466448227345 -0.75% -0.74% 0.99x
is_bool_type[invalid] 0.00004353597770315815 0.00004395436307813717 -0.96% -0.95% 0.99x
is_bool_type[string] 0.00004260604907685402 0.00004205585987196894 1.29% 1.31% 1.01x
is_bool_type[tuple-array] 0.00004388537629740349 0.00004348492903557389 0.91% 0.92% 1.01x
is_bool_type[tuple] 0.00004210178460176121 0.00004222496526879583 -0.29% -0.29% 1.00x
is_bool_type[uint256] 0.00004258570754966467 0.000042486535890097515 0.23% 0.23% 1.00x
is_bytes_type[address] 0.00034541653382000895 0.0003166032184892351 8.34% 9.10% 1.09x
is_bytes_type[array] 0.0003465536816449562 0.0003105732047137973 10.38% 11.59% 1.12x
is_bytes_type[bool] 0.000310428158574104 0.0002838701283402488 8.56% 9.36% 1.09x
is_bytes_type[bytes] 0.0003119370108734806 0.0002817746456212972 9.67% 10.70% 1.11x
is_bytes_type[bytes32] 0.0003247257989110172 0.0002985667449721652 8.06% 8.76% 1.09x
is_bytes_type[bytes33] 0.000344041790984387 0.0003173294083947004 7.76% 8.42% 1.08x
is_bytes_type[empty] 0.00031259534879027616 0.0002840671844250058 9.13% 10.04% 1.10x
is_bytes_type[enum] 0.0003239062899725216 0.00029635191918856 8.51% 9.30% 1.09x
is_bytes_type[int256] 0.0003211414300038141 0.00030171024773648065 6.05% 6.44% 1.06x
is_bytes_type[invalid] 0.0003124496628565837 0.0002807849905696683 10.13% 11.28% 1.11x
is_bytes_type[string] 0.0003267366807494308 0.0002962408402708439 9.33% 10.29% 1.10x
is_bytes_type[tuple-array] 0.00031206182597878003 0.0002947959659389012 5.53% 5.86% 1.06x
is_bytes_type[tuple] 0.00031196880243734404 0.00028958608224629434 7.17% 7.73% 1.08x
is_bytes_type[uint256] 0.00033597600536132514 0.000324214340664003 3.50% 3.63% 1.04x
is_int_type[address] 0.00020431792897946042 0.0002003293381148442 1.95% 1.99% 1.02x
is_int_type[array] 0.00019896058318229554 0.00020450783176304262 -2.79% -2.71% 0.97x
is_int_type[bool] 0.0002049289657543114 0.00020555123195579664 -0.30% -0.30% 1.00x
is_int_type[bytes] 0.0002224538714483182 0.00022163736146796025 0.37% 0.37% 1.00x
is_int_type[bytes32] 0.00020286511531604246 0.00020496002409946737 -1.03% -1.02% 0.99x
is_int_type[bytes33] 0.00020247052349075203 0.00020384213832686058 -0.68% -0.67% 0.99x
is_int_type[empty] 0.00020098662705820124 0.0002009597889451041 0.01% 0.01% 1.00x
is_int_type[enum] 0.00023604331951861856 0.00023291386460214233 1.33% 1.34% 1.01x
is_int_type[int256] 0.00024033333236542548 0.0002390642073514392 0.53% 0.53% 1.01x
is_int_type[invalid] 0.00020370651949847633 0.00019810843649124948 2.75% 2.83% 1.03x
is_int_type[string] 0.00022644952817667976 0.0002354169730657236 -3.96% -3.81% 0.96x
is_int_type[tuple-array] 0.00020045180503753713 0.0002044323735484118 -1.99% -1.95% 0.98x
is_int_type[tuple] 0.0002213110628925264 0.00022458562720623098 -1.48% -1.46% 0.99x
is_int_type[uint256] 0.00020459656206774356 0.0001999588403773943 2.27% 2.32% 1.02x
is_probably_enum[address] 0.00006602574013033787 0.00006753145705211388 -2.28% -2.23% 0.98x
is_probably_enum[empty] 0.00006107349128913682 0.00006252207200456219 -2.37% -2.32% 0.98x
is_probably_enum[enum] 0.00006489024500656167 0.0000675670708982927 -4.13% -3.96% 0.96x
is_probably_enum[lib-dot] 0.00006657505043049723 0.00006838715512405029 -2.72% -2.65% 0.97x
is_probably_enum[lib-enum] 0.00007283496209190773 0.00007509633776273492 -3.10% -3.01% 0.97x
is_probably_enum[uint256] 0.00006508322243177038 0.00006799899617535038 -4.48% -4.29% 0.96x
is_recognized_type[address] 0.00007886444692660505 0.0000834803340012078 -5.85% -5.53% 0.94x
is_recognized_type[array] 0.00008476395716508329 0.00008922480139920714 -5.26% -5.00% 0.95x
is_recognized_type[bool] 0.00007891494562476505 0.00008410394199727542 -6.58% -6.17% 0.94x
is_recognized_type[bytes] 0.00015490343536164576 0.00015703276447114555 -1.37% -1.36% 0.99x
is_recognized_type[bytes32] 0.00014958698546414814 0.00015575732207900728 -4.12% -3.96% 0.96x
is_recognized_type[bytes33] 0.0001395143805883567 0.00014570914636889432 -4.44% -4.25% 0.96x
is_recognized_type[empty] 0.00006123245920345212 0.00006567535005897417 -7.26% -6.76% 0.93x
is_recognized_type[enum] 0.00008328930632417487 0.00008936697655355273 -7.30% -6.80% 0.93x
is_recognized_type[int256] 0.0001272327699304399 0.0001307731283305226 -2.78% -2.71% 0.97x
is_recognized_type[invalid] 0.00008277004916101961 0.00008951308279839003 -8.15% -7.53% 0.92x
is_recognized_type[string] 0.00010135271406218638 0.000107956807075118 -6.52% -6.12% 0.94x
is_recognized_type[tuple-array] 0.00008375616987566757 0.0000894367924433203 -6.78% -6.35% 0.94x
is_recognized_type[tuple] 0.00008341414243196406 0.00008863783047052583 -6.26% -5.89% 0.94x
is_recognized_type[uint256] 0.0001275630518050823 0.00013318644633447313 -4.41% -4.22% 0.96x
is_string_type[address] 0.00004274149241562717 0.00004212209896576262 1.45% 1.47% 1.01x
is_string_type[array] 0.000045460936610164035 0.00004382155486456761 3.61% 3.74% 1.04x
is_string_type[bool] 0.000043148888434071626 0.00004135278228778606 4.16% 4.34% 1.04x
is_string_type[bytes] 0.00004284551582036208 0.000042308373557971945 1.25% 1.27% 1.01x
is_string_type[bytes32] 0.00004301063095175786 0.00004286574847519089 0.34% 0.34% 1.00x
is_string_type[bytes33] 0.000044817875919054094 0.00004409654635380193 1.61% 1.64% 1.02x
is_string_type[empty] 0.00004338793752237958 0.00004264028645803276 1.72% 1.75% 1.02x
is_string_type[enum] 0.00004721440498566268 0.00004564178428483133 3.33% 3.45% 1.03x
is_string_type[int256] 0.000044162041105596325 0.00004428227834423495 -0.27% -0.27% 1.00x
is_string_type[invalid] 0.000044851030624433634 0.000044552878378813745 0.66% 0.67% 1.01x
is_string_type[string] 0.00004313962454414921 0.0000427101646424477 1.00% 1.01% 1.01x
is_string_type[tuple-array] 0.00004486448265738562 0.0000448698018663007 -0.01% -0.01% 1.00x
is_string_type[tuple] 0.00004343061196250017 0.000043439234241162696 -0.02% -0.02% 1.00x
is_string_type[uint256] 0.0000427991541019697 0.00004209084796756681 1.65% 1.68% 1.02x
is_uint_type[address] 0.00022544809099680766 0.00023569643304567836 -4.55% -4.35% 0.96x
is_uint_type[array] 0.0002270776737698887 0.00024069988851684883 -6.00% -5.66% 0.94x
is_uint_type[bool] 0.00019947050449163143 0.00020393564527519532 -2.24% -2.19% 0.98x
is_uint_type[bytes] 0.00020696085209772976 0.00019863665195848722 4.02% 4.19% 1.04x
is_uint_type[bytes32] 0.00023321726931667668 0.00023690225342315815 -1.58% -1.56% 0.98x
is_uint_type[bytes33] 0.0002472309360582175 0.00024442339288711256 1.14% 1.15% 1.01x
is_uint_type[empty] 0.00020881430727597448 0.00020433094999965093 2.15% 2.19% 1.02x
is_uint_type[enum] 0.00023068586802115667 0.0002218368598714341 3.84% 3.99% 1.04x
is_uint_type[int256] 0.0002153948390520539 0.00022266776320811212 -3.38% -3.27% 0.97x
is_uint_type[invalid] 0.0002034939254397484 0.00020373329108155515 -0.12% -0.12% 1.00x
is_uint_type[string] 0.00022697832290476122 0.00022764922766834624 -0.30% -0.29% 1.00x
is_uint_type[tuple-array] 0.0002079048146902153 0.000201485421126936 3.09% 3.19% 1.03x
is_uint_type[tuple] 0.00020638177653556163 0.00020537962204788168 0.49% 0.49% 1.00x
is_uint_type[uint256] 0.00023117795970233122 0.00023911385381421274 -3.43% -3.32% 0.97x
length_of_array_type[dynamic] 0.0001678368440227871 0.00016629669800565037 0.92% 0.93% 1.01x
length_of_array_type[fixed] 0.00017750316538145205 0.00017960829382494196 -1.19% -1.17% 0.99x
length_of_array_type[nested] 0.00018651437323393316 0.0001864204777640476 0.05% 0.05% 1.00x
map_abi_data 0.006039438609595642 0.003808395099169938 36.94% 58.58% 1.59x
normalize_event_input_types 0.00042693916111919664 0.0004443661001413816 -4.08% -3.92% 0.96x
receive_func_abi_exists 0.0003190086099459558 0.00002863789500308384 91.02% 1013.94% 11.14x
strip_abi_types 0.0016400737028904504 0.0016001707004975904 2.43% 2.49% 1.02x
sub_type_of_array_type[nested] 0.00018070587690755986 0.00018472584278338513 -2.22% -2.18% 0.98x
sub_type_of_array_type[simple] 0.00017303759796961828 0.00017657737478863567 -2.05% -2.00% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000021015895064226052 0.00002187036542512971 -4.07% -3.91% 0.96x
is_hex_encoded_block_hash[invalid-g] 0.0000834176029539525 0.00006144934246098766 26.34% 35.75% 1.36x
is_hex_encoded_block_hash[none] 0.00002100893994328699 0.000021983346444254103 -4.64% -4.43% 0.96x
is_hex_encoded_block_hash[short] 0.000044115243188226054 0.00002702582955632078 38.74% 63.23% 1.63x
is_hex_encoded_block_hash[too-long] 0.0000449807830273572 0.000026980051514633595 40.02% 66.72% 1.67x
is_hex_encoded_block_hash[too-short] 0.000044092350872728696 0.00002677897282339033 39.27% 64.65% 1.65x
is_hex_encoded_block_hash[valid-a] 0.00009441367596757501 0.00007218330078336555 23.55% 30.80% 1.31x
is_hex_encoded_block_hash[valid-f] 0.00009369322988785615 0.00007204515392989524 23.11% 30.05% 1.30x
is_hex_encoded_block_number[int] 0.00002101866827231535 0.000021267270456334894 -1.18% -1.17% 0.99x
is_hex_encoded_block_number[invalid-g] 0.00016650214671919974 0.00022911188349023114 -37.60% -27.33% 0.73x
is_hex_encoded_block_number[max-64-a] 0.00010629804436586213 0.00008265803160640931 22.24% 28.60% 1.29x
is_hex_encoded_block_number[max-64-f] 0.00010649405501370693 0.00008181783545214309 23.17% 30.16% 1.30x
is_hex_encoded_block_number[none] 0.00002094851895381504 0.000021382018148301915 -2.07% -2.03% 0.98x
is_hex_encoded_block_number[small] 0.00009475262391452768 0.000044865489947778635 52.65% 111.19% 2.11x
is_hex_encoded_block_number[too-long] 0.0001085719663192492 0.000060504568435506675 44.27% 79.44% 1.79x
is_predefined_block_number[bytes-latest] 0.00003295472991418078 0.000028645406229287243 13.08% 15.04% 1.15x
is_predefined_block_number[bytes-pending] 0.00003302514355790009 0.00002829008328978091 14.34% 16.74% 1.17x
is_predefined_block_number[bytes-random] 0.000032329358331318226 0.000028147304303746277 12.94% 14.86% 1.15x
is_predefined_block_number[int] 0.00003270298193842592 0.000024097027735388682 26.32% 35.71% 1.36x
is_predefined_block_number[none] 0.00012302314371506065 0.00021484862823212467 -74.64% -42.74% 0.57x
is_predefined_block_number[object] 0.00015596360708351544 0.000249076393848958 -59.70% -37.38% 0.63x
is_predefined_block_number[str-earliest] 0.000013268747114111366 0.000009554070592621813 28.00% 38.88% 1.39x
is_predefined_block_number[str-finalized] 0.000013245757955122242 0.000009417904838942098 28.90% 40.64% 1.41x
is_predefined_block_number[str-foo] 0.000013253659770436279 0.000009273405664651023 30.03% 42.92% 1.43x
is_predefined_block_number[str-latest] 0.00001332614517315445 0.000009461289707458532 29.00% 40.85% 1.41x
is_predefined_block_number[str-pending] 0.000013194698354409851 0.000009410644762803 28.68% 40.21% 1.40x
is_predefined_block_number[str-safe] 0.00001307944145676778 0.000009343901026020813 28.56% 39.98% 1.40x
select_method_for_block_identifier[hash-bytes] 0.00005155192197047971 0.00004050537813761641 21.43% 27.27% 1.27x
select_method_for_block_identifier[hash-hexstr] 0.0001278722888504428 0.0000888342999699649 30.53% 43.94% 1.44x
select_method_for_block_identifier[invalid-none] 0.0008825531993834524 0.0010341672404785012 -17.18% -14.66% 0.85x
select_method_for_block_identifier[invalid-object] 0.0009190045140893505 0.0010760525239174345 -17.09% -14.59% 0.85x
select_method_for_block_identifier[number-hexstr] 0.00017179142338519354 0.00008301860685762569 51.67% 106.93% 2.07x
select_method_for_block_identifier[number-int] 0.00011227384687158474 0.00005648489731972333 49.69% 98.77% 1.99x
select_method_for_block_identifier[predefined-bytes] 0.000050579860646584786 0.00004200135665086188 16.96% 20.42% 1.20x
select_method_for_block_identifier[predefined-str] 0.000028610626646228914 0.000020410866958657658 28.66% 40.17% 1.40x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.0004578965424727929 0.0005309469904313966 -15.95% -13.76% 0.86x
PropertyCheckingFactory[big-valid] 0.0004690750392361163 0.000532375272561379 -13.49% -11.89% 0.88x
PropertyCheckingFactory[inheritance] 0.000959617576205255 0.0009371114036431947 2.35% 2.40% 1.02x
PropertyCheckingFactory[invalid] 0.00045597400808046565 0.0005422333870784805 -18.92% -15.91% 0.84x
PropertyCheckingFactory[multi-normalizer] 0.00045932657301468185 0.0005362690297581547 -16.75% -14.35% 0.86x
PropertyCheckingFactory[multi-prop] 0.0004631116674920397 0.0005383582912738626 -16.25% -13.98% 0.86x
PropertyCheckingFactory[normalized] 0.0004639403611948966 0.000534034561590255 -15.11% -13.13% 0.87x
PropertyCheckingFactory[valid] 0.0010452302358682731 0.001140821780592469 -9.15% -8.38% 0.92x
verify_attr[empty] 0.00010224646658767988 0.00016429556015104996 -60.69% -37.77% 0.62x
verify_attr[found-end] 0.000012326877880707897 0.000009901435477354071 19.68% 24.50% 1.24x
verify_attr[found-start] 0.000009060689112945365 0.000007496432610438304 17.26% 20.87% 1.21x
verify_attr[large-found] 0.00013638777366695344 0.00013190321184115099 3.29% 3.40% 1.03x
verify_attr[large-notfound] 0.00019850168845935584 0.0002616118139261062 -31.79% -24.12% 0.76x
verify_attr[notfound] 0.00010780544301435483 0.0001696129110135738 -57.33% -36.44% 0.64x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006439471311783496 0.0006632436664447753 -3.00% -2.91% 0.97x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.0000797071721875864 0.000024420796707959855 69.36% 226.39% 3.26x
percentile[100-90th] 0.00011295755045532615 0.00005343235104816043 52.70% 111.40% 2.11x
percentile[100k-99th] 0.03697838051849195 0.03691687381482283 0.17% 0.17% 1.00x
percentile[100k-median] 0.036963269518520504 0.036977942555545776 -0.04% -0.04% 1.00x
percentile[10k-10th] 0.003799758411317288 0.0036831475740739363 3.07% 3.17% 1.03x
percentile[10k-99th] 0.003765806185614648 0.0036405640919065932 3.33% 3.44% 1.03x
percentile[10k-median] 0.003777994379702318 0.0036682869044016918 2.90% 2.99% 1.03x
percentile[1k-99th] 0.0004798269948998058 0.00040925101990230763 14.71% 17.25% 1.17x
percentile[1M-median] 0.6261682541999563 0.604374313399967 3.48% 3.61% 1.04x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012603786733400394 0.000006665618671562758 47.11% 89.09% 1.89x
to_bytes_if_hex[empty-str] 0.00031147422739077706 0.000036728696289961084 88.21% 748.04% 8.48x
to_bytes_if_hex[hexstr] 0.0003389869978321934 0.00004514467047564414 86.68% 650.89% 7.51x
to_bytes_if_hex[large-hex] 0.0003439081645073715 0.0000507182676562131 85.25% 578.08% 6.78x
to_bytes_if_hex[non-prefixed-hex] 0.00032517958604376125 0.00004230067696778247 86.99% 668.73% 7.69x
to_bytes_if_hex[nothex] 0.00041356601805512546 0.0002666047830232701 35.54% 55.12% 1.55x
to_bytes_if_hex[unicode] 0.0004340233052830858 0.00027513607604700007 36.61% 57.75% 1.58x
to_bytes_if_hex[zero] 0.00033699495856455485 0.00004586559688962748 86.39% 634.74% 7.35x
to_hex_if_bytes[bytes] 0.00022448412151047188 0.00004958724800168811 77.91% 352.71% 4.53x
to_hex_if_bytes[empty-bytes] 0.0002138291201037893 0.00004001011796453577 81.29% 434.44% 5.34x
to_hex_if_bytes[empty-str] 0.00010291127088052587 0.000189399456818624 -84.04% -45.66% 0.54x
to_hex_if_bytes[hexstr] 0.0002831250566369234 0.000023013984550460437 91.87% 1130.23% 12.30x
to_hex_if_bytes[large-bytes] 0.00023015272489230898 0.00005259326144510692 77.15% 337.61% 4.38x
to_hex_if_bytes[non-prefixed-hex] 0.00010627414384087204 0.00019066899621641756 -79.41% -44.26% 0.56x
to_hex_if_bytes[not-hex] 0.00010619921194039251 0.00019222441297023029 -81.00% -44.75% 0.55x
to_hex_if_bytes[unicode] 0.00011185996470909074 0.00019924378699894108 -78.12% -43.86% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00031010968033092954 0.00010793259226022054 65.20% 187.32% 2.87x
all_in_dict[empty-dict] 0.0002681801229542946 0.00007734260866479113 71.16% 246.74% 3.47x
all_in_dict[empty-list] 0.0002601565585304875 0.00009325014004717128 64.16% 178.99% 2.79x
all_in_dict[mixed-types] 0.00030972088588584795 0.00010710023178760891 65.42% 189.19% 2.89x
all_in_dict[no-overlap] 0.0002856384249176712 0.00008811949662165358 69.15% 224.15% 3.24x
all_in_dict[none-in] 0.00028617570902424156 0.00008807369266684277 69.22% 224.93% 3.25x
all_in_dict[one-in] 0.00028559331101642664 0.00009228713317581297 67.69% 209.46% 3.09x
all_in_dict[partial-overlap] 0.00032448859753954915 0.00010796806232197128 66.73% 200.54% 3.01x
all_in_dict[value-none] 0.00028583142926593785 0.00009126276926957258 68.07% 213.20% 3.13x
any_in_dict[all-in] 0.0002824802740683986 0.00009707592057811125 65.63% 190.99% 2.91x
any_in_dict[empty-dict] 0.0003079208097251384 0.00009127172617914792 70.36% 237.37% 3.37x
any_in_dict[empty-list] 0.0002588053686643319 0.00009292295423146319 64.10% 178.52% 2.79x
any_in_dict[mixed-types] 0.0002805243701064643 0.00009922819162662832 64.63% 182.71% 2.83x
any_in_dict[no-overlap] 0.00032430229632288306 0.0001079988894738847 66.70% 200.28% 3.00x
any_in_dict[none-in] 0.0002886053370754405 0.00009360561277670112 67.57% 208.32% 3.08x
any_in_dict[one-in] 0.00027478753607593524 0.0000953230662869797 65.31% 188.27% 2.88x
any_in_dict[partial-overlap] 0.0002842197940571333 0.0000957971265093227 66.29% 196.69% 2.97x
any_in_dict[value-none] 0.0002825623811714591 0.0000952498809720395 66.29% 196.65% 2.97x
either_set_is_a_subset[both-empty] 0.00016869267530088698 0.0001529749806001585 9.32% 10.27% 1.10x
either_set_is_a_subset[empty-set1] 0.0001696779387536282 0.00015330739125622424 9.65% 10.68% 1.11x
either_set_is_a_subset[empty-set2] 0.00025401109093356103 0.0002537023354414909 0.12% 0.12% 1.00x
either_set_is_a_subset[identical] 0.00019103401079411262 0.00016883299735459914 11.62% 13.15% 1.13x
either_set_is_a_subset[mixed-types] 0.00019530687708210396 0.00017351029576355957 11.16% 12.56% 1.13x
either_set_is_a_subset[not-subset] 0.0002779895474125385 0.00026776131735813314 3.68% 3.82% 1.04x
either_set_is_a_subset[partial-overlap] 0.00029498846668457216 0.00027912705834809393 5.38% 5.68% 1.06x
either_set_is_a_subset[subset] 0.00019505537453408966 0.00016999664332962655 12.85% 14.74% 1.15x
either_set_is_a_subset[superset] 0.00029708401627293924 0.00029244989894535817 1.56% 1.58% 1.02x
none_in_dict[all-in] 0.00029978674634565847 0.00009702600254821068 67.63% 208.98% 3.09x
none_in_dict[empty-dict] 0.00032720513892598265 0.0000918710817668199 71.92% 256.16% 3.56x
none_in_dict[empty-list] 0.00027796719812801893 0.00009519416130882507 65.75% 192.00% 2.92x
none_in_dict[mixed-types] 0.0002969295782693898 0.00009930212510359946 66.56% 199.02% 2.99x
none_in_dict[no-overlap] 0.00034333071767359127 0.00010759225773646914 68.66% 219.10% 3.19x
none_in_dict[none-in] 0.00030795907775467456 0.00009460594567293942 69.28% 225.52% 3.26x
none_in_dict[one-in] 0.00029338552284027803 0.00009519828719423311 67.55% 208.18% 3.08x
none_in_dict[partial-overlap] 0.0003024040317615763 0.00009653312612582581 68.08% 213.26% 3.13x
none_in_dict[value-none] 0.00029917894725746603 0.00009530812986797739 68.14% 213.91% 3.14x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0015199546642451838 0.0015166945895169913 0.21% 0.21% 1.00x
attributedict_hash[flat] 0.0011641480331775526 0.001110988903692823 4.57% 4.78% 1.05x
attributedict_hash[nested] 0.0017940291371237416 0.0017848043453618614 0.51% 0.52% 1.01x
attributedict_init[empty] 0.00008886315559552791 0.00008857171278409919 0.33% 0.33% 1.00x
attributedict_init[large] 0.00013213274179658046 0.00013191282016478237 0.17% 0.17% 1.00x
attributedict_init[small] 0.0000951476983293535 0.00009348059594815563 1.75% 1.78% 1.02x
mutableattributedict_delitem 0.0004028628386548883 0.0003992725719606078 0.89% 0.90% 1.01x
mutableattributedict_setitem 0.00033727854085933935 0.0003381374288779516 -0.25% -0.25% 1.00x
namedelementonion_add 0.027166698765214554 0.02416696911278532 11.04% 12.41% 1.12x
namedelementonion_as_tuple_of_middleware 0.00014773127201498507 0.00014695308371781728 0.53% 0.53% 1.01x
namedelementonion_contains 0.00002988784819653095 0.000029665217440062237 0.74% 0.75% 1.01x
namedelementonion_getitem 0.000026256499482311476 0.000026190225049820354 0.25% 0.25% 1.00x
namedelementonion_init[callables2] 0.00012661379079595064 0.00012632097141324246 0.23% 0.23% 1.00x
namedelementonion_init[callables3] 0.000159521206522316 0.00015807049408814253 0.91% 0.92% 1.01x
namedelementonion_init[empty] 0.00004680144751124928 0.00004329027485027157 7.50% 8.11% 1.08x
namedelementonion_inject 0.03593918882927205 0.028998578443174047 19.31% 23.93% 1.24x
namedelementonion_iter 0.00015288557709566068 0.00015424712440055996 -0.89% -0.88% 0.99x
namedelementonion_remove 0.0006591058462048027 0.0006669307391002237 -1.19% -1.17% 0.99x
namedelementonion_replace 0.0024475714913113965 0.0024183389852648384 1.19% 1.21% 1.01x
readableattributedict_getitem[large] 0.00001526731491730062 0.00001516409800428518 0.68% 0.68% 1.01x
readableattributedict_getitem[small] 0.000014421948508414525 0.000014408977313139804 0.09% 0.09% 1.00x
readableattributedict_init[empty] 0.000052115460126579895 0.00005222073706572329 -0.20% -0.20% 1.00x
readableattributedict_init[large] 0.0000872911741827031 0.00008678788295525086 0.58% 0.58% 1.01x
readableattributedict_init[small] 0.000056825680343076844 0.0000559499213000494 1.54% 1.57% 1.02x
readableattributedict_recursive[list-in-dict] 0.0008986864312126252 0.0009106905278800445 -1.34% -1.32% 0.99x
readableattributedict_recursive[nested-dict] 0.0009217954961770834 0.0009325389589088563 -1.17% -1.15% 0.99x
readableattributedict_recursive[set] 0.0004692254919798478 0.0004783078532624067 -1.94% -1.90% 0.98x
tupleize_lists_nested[list-in-dict] 0.0008660939170659696 0.0008654110208533315 0.08% 0.08% 1.00x
tupleize_lists_nested[tuple-in-dict] 0.0009461127390876424 0.0009387301246613446 0.78% 0.79% 1.01x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003394194425848191 0.00025606036393565197 24.56% 32.55% 1.33x
simplecache_cache[100] 0.0027171839344273543 0.0019657264402405555 27.66% 38.23% 1.38x
simplecache_cache[1000] 0.02757971097221596 0.01873651774075016 32.06% 47.20% 1.47x
simplecache_eviction[10] 0.0005979893648367449 0.0006012229781490123 -0.54% -0.54% 0.99x
simplecache_eviction[100] 0.005369723729740685 0.0052895061489339045 1.49% 1.52% 1.02x
simplecache_pop[10] 0.0004611582048954655 0.00035581532424313277 22.84% 29.61% 1.30x
simplecache_pop[100] 0.0037989034521068304 0.002873269391812484 24.37% 32.22% 1.32x
simplecache_retrieval[10] 0.00009513609905065965 0.00005743124810336351 39.63% 65.65% 1.66x
simplecache_retrieval[100] 0.0008018308780677911 0.00047761856175454573 40.43% 67.88% 1.68x

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 20, 2025

CodSpeed Performance Report

Merging #150 will not alter performance

Comparing ujson (fac1adb) with master (f301772)

Summary

✅ 431 untouched

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