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.000001888696457969126 0.0000010586836490774207 43.95% 78.40% 1.78x
is_valid_name[a..eth] 0.000026482151872299697 0.00003147661555937453 -18.86% -15.87% 0.84x
is_valid_name[a.eth..] 0.000027099242310321574 0.000031511599720540065 -16.28% -14.00% 0.86x
is_valid_name[a.eth.] 0.000027102428300930843 0.00003141340554189145 -15.91% -13.72% 0.86x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23842933139994785 0.26852172139997493 -12.62% -11.21% 0.89x
is_valid_name[alice.eth] 0.010818895344828397 0.01177580566666317 -8.84% -8.13% 0.92x
is_valid_name[bob.eth] 0.0066526623200085545 0.007064742282748206 -6.19% -5.83% 0.94x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2856621673999598 0.25413323840002705 11.04% 12.41% 1.12x
is_valid_name[subdomain.alice.eth] 0.03208041237497383 0.03570876642854565 -11.31% -10.16% 0.90x
labelhash[] 0.0001429442442856434 0.00009048729243350806 36.70% 57.97% 1.58x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2432424137999078 0.2636198590000731 -8.38% -7.73% 0.92x
labelhash[alice] 0.008183692871283494 0.008440959770122464 -3.14% -3.05% 0.97x
labelhash[bob] 0.0036581470794287735 0.003780582459462476 -3.35% -3.24% 0.97x
labelhash[emoji\U0001f468\U0001f3fb] 0.2727940830000534 0.2509646536000673 8.00% 8.70% 1.09x
labelhash[xn--fiqs8s] 0.02576556539998478 0.02685869613156013 -4.24% -4.07% 0.96x
namehash[] 0.000010262745596752906 0.0000033020985373790144 67.82% 210.79% 3.11x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4954437059999691 0.5286164363998977 -6.70% -6.28% 0.94x
namehash[alice.eth] 0.023694149888885678 0.023541530894733927 0.64% 0.65% 1.01x
namehash[bob.eth] 0.014610517826078149 0.014528901449281968 0.56% 0.56% 1.01x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5886067291999553 0.5219060306000756 11.33% 12.78% 1.13x
namehash[subdomain.alice.eth] 0.06857704853329476 0.07181269519998447 -4.72% -4.51% 0.95x
nameprep[] 0.000008978354697230579 0.000003120709399919714 65.24% 187.70% 2.88x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.24735757679995912 0.25355409040002996 -2.51% -2.44% 0.98x
nameprep[alice.eth] 0.011153933315226724 0.011742679586644348 -5.28% -5.01% 0.95x
nameprep[bob.eth] 0.006732721999983839 0.00724285900718733 -7.58% -7.04% 0.93x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.27527551699995456 0.25860990599990147 6.05% 6.44% 1.06x
nameprep[subdomain.alice.eth] 0.03311804003226738 0.03599133551726701 -8.68% -7.98% 0.92x
parent[] 0.0000010369428037678584 9.128331197441074e-7 11.97% 13.60% 1.14x
parent[bar.eth] 0.000003867003602226017 0.000002894510351058821 25.15% 33.60% 1.34x
parent[eth] 0.0000021327142752840404 0.0000015857086038438406 25.65% 34.50% 1.34x
parent[foo.bar.eth] 0.000004512105924517642 0.0000035355199869696775 21.64% 27.62% 1.28x
parent[sub.sub2.foo.bar.eth] 0.0000051618611415940395 0.000004225250354037922 18.14% 22.17% 1.22x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005453974924057547 0.000018934368087258677 65.28% 188.05% 2.88x
reverse_domain[0x1111111111111111111111111111111111111111] 0.000055359499568068794 0.000018704483045723354 66.21% 195.97% 2.96x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005509406397912854 0.000018530598361776923 66.37% 197.31% 2.97x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000014440223890745696 0.000014479981854424773 -0.28% -0.27% 1.00x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000014481739505329606 0.000014268406001067299 1.47% 1.50% 1.01x
address[alice.eth] 0.000014374298138508857 0.000014605251677004676 -1.61% -1.58% 0.98x
address[bob.eth] 0.000014489409615387083 0.00001442803665351049 0.42% 0.43% 1.00x
address[emoji\U0001f468\U0001f3fb.eth] 0.000014694449095173735 0.000014290801620180482 2.75% 2.82% 1.03x
address[subdomain.alice.eth] 0.000014458120395770054 0.000014278604694757831 1.24% 1.26% 1.01x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.0001506232916394988 0.0001532877650785193 -1.77% -1.74% 0.98x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00015400489531206966 0.00015183332953713156 1.41% 1.43% 1.01x
normalize_name_ensip15[alice.eth] 0.00015601111963298194 0.00015197021631512838 2.59% 2.66% 1.03x
normalize_name_ensip15[bob.eth] 0.00015136654444388158 0.00015533533549360996 -2.62% -2.55% 0.97x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00015194962106268676 0.0001534729241243921 -1.00% -0.99% 0.99x
normalize_name_ensip15[subdomain.alice.eth] 0.00015235209831147321 0.00015359525815894425 -0.82% -0.81% 0.99x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0026771058805536542 0.0009046687929728992 66.21% 195.92% 2.96x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0027517836368805724 0.0008912907507341813 67.61% 208.74% 3.09x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.002732834583324562 0.0009021874611321822 66.99% 202.91% 3.03x
dns_encode_name[] 0.000007233232764276033 0.000004610457703504346 36.26% 56.89% 1.57x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.24502731659999882 0.2632190706000529 -7.42% -6.91% 0.93x
dns_encode_name[alice.eth] 0.01143752358748884 0.01201433743835255 -5.04% -4.80% 0.95x
dns_encode_name[bob.eth] 0.007068197801417943 0.007312661258737109 -3.46% -3.34% 0.97x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2722806068000409 0.24657003819997952 9.44% 10.43% 1.10x
dns_encode_name[subdomain.alice.eth] 0.03305601293545219 0.034671789099972254 -4.89% -4.66% 0.95x
estimate_auction_start_gas[labels0] 0.00007915215856535959 0.0000479049992058482 39.48% 65.23% 1.65x
estimate_auction_start_gas[labels1] 0.00007968635746857222 0.0000482454263096808 39.46% 65.17% 1.65x
estimate_auction_start_gas[labels2] 0.00007116032769120642 0.00004819232416218908 32.28% 47.66% 1.48x
is_empty_name[ ] 0.00006105838409985786 0.00004090918670998294 33.00% 49.25% 1.49x
is_empty_name[.] 0.00005971656460132342 0.000041495575798746046 30.51% 43.91% 1.44x
is_empty_name[0] 0.00006140878824787168 0.00003999244660399307 34.88% 53.55% 1.54x
is_empty_name[1] 0.00005962279756538849 0.000040048360143192626 32.83% 48.88% 1.49x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00006244363046994344 0.00004089601419169297 34.51% 52.69% 1.53x
is_empty_name[alice.eth] 0.00006119230140338018 0.00004145540611329261 32.25% 47.61% 1.48x
is_empty_name[bob.eth] 0.00006246684633432038 0.000040967511828786286 34.42% 52.48% 1.52x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00006274531034749783 0.000042288434558429326 32.60% 48.37% 1.48x
is_empty_name[subdomain.alice.eth] 0.00006262131106091164 0.00004216197848617043 32.67% 48.53% 1.49x
is_none_or_zero_address[] 0.00004644792378853482 0.000041470805770652994 10.72% 12.00% 1.12x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00005335625000012953 0.00004831135350821293 9.46% 10.44% 1.10x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005536458595689209 0.00004974194193208012 10.16% 11.30% 1.11x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0000555602637150835 0.00004887860641789474 12.03% 13.67% 1.14x
is_valid_ens_name[] 0.000001976602452663749 0.0000014690584518156955 25.68% 34.55% 1.35x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2443675747999805 0.2662543361999724 -8.96% -8.22% 0.92x
is_valid_ens_name[alice.eth] 0.011192108846161827 0.011629220609748012 -3.91% -3.76% 0.96x
is_valid_ens_name[bar] 0.000002048375070480101 0.000001647056644753532 19.59% 24.37% 1.24x
is_valid_ens_name[baz] 0.00000202418956691694 0.0000016414619705181777 18.91% 23.32% 1.23x
is_valid_ens_name[bob.eth] 0.006623691430472085 0.007080962750001795 -6.90% -6.46% 0.94x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.26476385860000845 0.2525451541998791 4.61% 4.84% 1.05x
is_valid_ens_name[foo] 0.0000020379827781838123 0.0000016625128461542597 18.42% 22.58% 1.23x
is_valid_ens_name[subdomain.alice.eth] 0.03302043803124377 0.03641480021425585 -10.28% -9.32% 0.91x
is_valid_name[] 0.0000016888429668959381 0.0000011280998347122508 33.20% 49.71% 1.50x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2455059357999744 0.271759409599963 -10.69% -9.66% 0.90x
is_valid_name[alice.eth] 0.01110065948810892 0.01173555958024859 -5.72% -5.41% 0.95x
is_valid_name[bob.eth] 0.006631605726025331 0.0070015912620670735 -5.58% -5.28% 0.95x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2733342102000279 0.23817843140004696 12.86% 14.76% 1.15x
is_valid_name[subdomain.alice.eth] 0.03282738812903987 0.0355463335516984 -8.28% -7.65% 0.92x
label_to_hash[] 0.0001442261554784354 0.00009040135444639188 37.32% 59.54% 1.60x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.24632738059995063 0.24786518720006825 -0.62% -0.62% 0.99x
label_to_hash[alice] 0.008243572284324692 0.008543390893617064 -3.64% -3.51% 0.96x
label_to_hash[bob] 0.003681178670441995 0.003683292482761296 -0.06% -0.06% 1.00x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2733035428000221 0.25117357979997906 8.10% 8.81% 1.09x
label_to_hash[xn--fiqs8s] 0.025724630538463363 0.027209161131586848 -5.77% -5.46% 0.95x
normal_name_to_hash[] 0.0000017799080453930605 0.0000010637986765710287 40.23% 67.32% 1.67x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.24741563859997767 0.2539959036000255 -2.66% -2.59% 0.97x
normal_name_to_hash[alice.eth] 0.012269714726032475 0.012230428212509992 0.32% 0.32% 1.00x
normal_name_to_hash[bob.eth] 0.007603347977275614 0.007729303079372585 -1.66% -1.63% 0.98x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.27994872879999094 0.26206047640007457 6.39% 6.83% 1.07x
normal_name_to_hash[subdomain.alice.eth] 0.03434044429999782 0.034728329827595224 -1.13% -1.12% 0.99x
normalize_name[] 0.000008815193345758882 0.0000030659880741784983 65.22% 187.52% 2.88x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.24807788939997408 0.2602488041999095 -4.91% -4.68% 0.95x
normalize_name[alice.eth] 0.011202280195408908 0.011837930028169583 -5.67% -5.37% 0.95x
normalize_name[bob.eth] 0.00675788746051347 0.00701481221015133 -3.80% -3.66% 0.96x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2756675310000446 0.2458808792000582 10.81% 12.11% 1.12x
normalize_name[subdomain.alice.eth] 0.032517547218745335 0.035293936200021865 -8.54% -7.87% 0.92x
raw_name_to_hash[] 0.000010177749785297501 0.0000033643474724318716 66.94% 202.52% 3.03x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.49148027380001624 0.513518869400059 -4.48% -4.29% 0.96x
raw_name_to_hash[alice.eth] 0.02392069343902288 0.024540886973688048 -2.59% -2.53% 0.97x
raw_name_to_hash[bob.eth] 0.014452450507477222 0.014700029373144973 -1.71% -1.68% 0.98x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5625876563998645 0.5119394924000062 9.00% 9.89% 1.10x
raw_name_to_hash[subdomain.alice.eth] 0.06738762973329054 0.0696444051999606 -3.35% -3.24% 0.97x
sha3_text[0] 0.00012643587358510125 0.00008287840895766535 34.45% 52.56% 1.53x
sha3_text[1] 0.00012582212365765626 0.00008437457755865015 32.94% 49.12% 1.49x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00013742047090128189 0.00009194019169759073 33.10% 49.47% 1.49x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.0001347450941377769 0.00009354952411981132 30.57% 44.04% 1.44x
sha3_text[alice.eth] 0.00013873123501501495 0.00009075147131866663 34.58% 52.87% 1.53x
sha3_text[alice] 0.00013655661984914532 0.0000920855380427802 32.57% 48.29% 1.48x
sha3_text[bob.eth] 0.00013747753208048557 0.00009169260767475755 33.30% 49.93% 1.50x
sha3_text[bob] 0.0001365336389063764 0.00009153301471009768 32.96% 49.16% 1.49x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00013695425323904172 0.00009159803226784345 33.12% 49.52% 1.50x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00013782223272091836 0.00009185883094747333 33.35% 50.04% 1.50x
sha3_text[subdomain.alice.eth] 0.0001362016378287316 0.00009240788609550956 32.15% 47.39% 1.47x
sha3_text[xn--fiqs8s] 0.0001374923302327536 0.00009311858027050753 32.27% 47.65% 1.48x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.00031688634243631834 0.00027850255042784775 12.11% 13.78% 1.14x
fallback_func_abi_exists 0.00026901536099580757 0.00026859154259860016 0.16% 0.16% 1.00x
filter_by_argument_name[a] 0.0006830655989799774 0.00039534456367200144 42.12% 72.78% 1.73x
filter_by_argument_name[a+b] 0.0007094286079920325 0.00043620633651582504 38.51% 62.64% 1.63x
filter_by_argument_name[b] 0.0006928850163339914 0.0004072730318765298 41.22% 70.13% 1.70x
filter_by_argument_name[c] 0.0006971676543758656 0.0004101776930494548 41.17% 69.97% 1.70x
filter_by_argument_name[notfound] 0.0006983841165082179 0.0003956210300688816 43.35% 76.53% 1.77x
filter_by_argument_type[address] 0.0006317755928215821 0.0006266030843572725 0.82% 0.83% 1.01x
filter_by_argument_type[notatype] 0.00062149845588031 0.0006159292045293428 0.90% 0.90% 1.01x
filter_by_argument_type[string] 0.0006354924217395299 0.0006288142855204635 1.05% 1.06% 1.01x
filter_by_argument_type[uint+address] 0.0006352677874300896 0.0006308885314402702 0.69% 0.69% 1.01x
filter_by_argument_type[uint256] 0.0006360443181220185 0.0006318931512196138 0.65% 0.66% 1.01x
filter_by_types[constructor] 0.000038994514955199596 0.00003929364766012713 -0.77% -0.76% 0.99x
filter_by_types[event] 0.000039196821149869525 0.00003967394796046257 -1.22% -1.20% 0.99x
filter_by_types[fallback] 0.00003989780758008258 0.000040145850766496703 -0.62% -0.62% 0.99x
filter_by_types[func+event] 0.00004420072981928369 0.000044738539705021394 -1.22% -1.20% 0.99x
filter_by_types[function] 0.00003933534653306275 0.00003982724809242503 -1.25% -1.24% 0.99x
filter_by_types[none] 0.0000389798281280553 0.00003885614010497249 0.32% 0.32% 1.00x
filter_by_types[receive] 0.000040854976172199706 0.00004083867767835772 0.04% 0.04% 1.00x
find_constructor_abi_element_by_type 0.00003629394024998353 0.0000364416456430608 -0.41% -0.41% 1.00x
get_abi_element_signature[custom] 0.000055230537727896056 0.00005322051240880122 3.64% 3.78% 1.04x
get_abi_element_signature[fallback] 0.000022391284421499264 0.000022299151604062377 0.41% 0.41% 1.00x
get_abi_element_signature[receive] 0.00002955724465465319 0.00002991432586124168 -1.21% -1.19% 0.99x
get_abi_element_signature[transfer] 0.000060112299921046104 0.00005877200353128424 2.23% 2.28% 1.02x
get_name_from_abi_element_identifier[custom] 0.00004492192114289356 0.00004130746817642255 8.05% 8.75% 1.09x
get_name_from_abi_element_identifier[fallback] 0.000012883705052217159 0.00001298707595556125 -0.80% -0.80% 0.99x
get_name_from_abi_element_identifier[func] 0.000044643029305629246 0.000040985539782685165 8.19% 8.92% 1.09x
get_name_from_abi_element_identifier[receive] 0.000019623346228222736 0.00001959222744010302 0.16% 0.16% 1.00x
get_tuple_type_str_parts[not-tuple] 0.00002471962588018805 0.000024586378174705525 0.54% 0.54% 1.01x
get_tuple_type_str_parts[one-dim] 0.00007764751087174311 0.00007980640352723757 -2.78% -2.71% 0.97x
get_tuple_type_str_parts[plain] 0.000051328224996044745 0.000051857823164608005 -1.03% -1.02% 0.99x
get_tuple_type_str_parts[two-dim] 0.000097887243172484 0.00009679580403371077 1.11% 1.13% 1.01x
is_address_type[address] 0.000046934711434488735 0.00004637069231816969 1.20% 1.22% 1.01x
is_address_type[array] 0.00005027744711262659 0.00005068845716201733 -0.82% -0.81% 0.99x
is_address_type[bool] 0.0000468580173621231 0.000046631771951336764 0.48% 0.49% 1.00x
is_address_type[bytes] 0.00004631164945950844 0.00004642300376123444 -0.24% -0.24% 1.00x
is_address_type[bytes32] 0.00004993566974817046 0.00004927517115004461 1.32% 1.34% 1.01x
is_address_type[bytes33] 0.0000503755953707049 0.0000498591264181769 1.03% 1.04% 1.01x
is_address_type[empty] 0.000045646977010484434 0.00004653195361385999 -1.94% -1.90% 0.98x
is_address_type[enum] 0.000048009996558590777 0.00004833701058897169 -0.68% -0.68% 0.99x
is_address_type[int256] 0.00004625253513129235 0.000046359075414045025 -0.23% -0.23% 1.00x
is_address_type[invalid] 0.00004766951063042976 0.000047876875452005885 -0.44% -0.43% 1.00x
is_address_type[string] 0.000047120440820250816 0.000045705696059024204 3.00% 3.10% 1.03x
is_address_type[tuple-array] 0.00004790994482359153 0.00004793431447696119 -0.05% -0.05% 1.00x
is_address_type[tuple] 0.000047203028724428626 0.00004705456968360616 0.31% 0.32% 1.00x
is_address_type[uint256] 0.00004803239774215028 0.000048236239142716524 -0.42% -0.42% 1.00x
is_array_type[address] 0.0004217887738276603 0.0004344217233924122 -3.00% -2.91% 0.97x
is_array_type[array] 0.00043059799481268764 0.00044400976776911346 -3.11% -3.02% 0.97x
is_array_type[bool] 0.00039528540265745257 0.0004008304321824138 -1.40% -1.38% 0.99x
is_array_type[bytes] 0.0003988067680087917 0.00041349459631570513 -3.68% -3.55% 0.96x
is_array_type[bytes32] 0.0004234821274595242 0.0004383516855417496 -3.51% -3.39% 0.97x
is_array_type[bytes33] 0.000420629979670043 0.00043598318531621374 -3.65% -3.52% 0.96x
is_array_type[empty] 0.00032345785782987346 0.00034206058125798737 -5.75% -5.44% 0.95x
is_array_type[enum] 0.00041346716426149844 0.00042902594868633384 -3.76% -3.63% 0.96x
is_array_type[int256] 0.0004140789908919465 0.0004220556537453258 -1.93% -1.89% 0.98x
is_array_type[invalid] 0.00042699734587527593 0.00044909281892093405 -5.17% -4.92% 0.95x
is_array_type[string] 0.0004117292027076335 0.00042691042539220493 -3.69% -3.56% 0.96x
is_array_type[tuple-array] 0.0004347635265483822 0.0004463439827551245 -2.66% -2.59% 0.97x
is_array_type[tuple] 0.00039816697430730544 0.00041475489842744597 -4.17% -4.00% 0.96x
is_array_type[uint256] 0.00042612733093521125 0.00043126250675956586 -1.21% -1.19% 0.99x
is_bool_type[address] 0.00004547361323685496 0.00004547779730067965 -0.01% -0.01% 1.00x
is_bool_type[array] 0.00004699864192094116 0.000046796936621476324 0.43% 0.43% 1.00x
is_bool_type[bool] 0.00004574076595290417 0.00004544384101324144 0.65% 0.65% 1.01x
is_bool_type[bytes] 0.00004534007342627166 0.00004548782216069558 -0.33% -0.32% 1.00x
is_bool_type[bytes32] 0.000045734216376199794 0.00004620576423386488 -1.03% -1.02% 0.99x
is_bool_type[bytes33] 0.00004703570163436339 0.00004747315151121119 -0.93% -0.92% 0.99x
is_bool_type[empty] 0.00004619072083388546 0.000046248061442996356 -0.12% -0.12% 1.00x
is_bool_type[enum] 0.000046935206647737385 0.00004712316719987408 -0.40% -0.40% 1.00x
is_bool_type[int256] 0.00004488237985495729 0.00004494419308325237 -0.14% -0.14% 1.00x
is_bool_type[invalid] 0.000046864880702674475 0.00004678722059142337 0.17% 0.17% 1.00x
is_bool_type[string] 0.00004532672737457357 0.00004591410194975031 -1.30% -1.28% 0.99x
is_bool_type[tuple-array] 0.0000463585225796914 0.00004718655024845004 -1.79% -1.75% 0.98x
is_bool_type[tuple] 0.00004481390127271651 0.00004582931845311251 -2.27% -2.22% 0.98x
is_bool_type[uint256] 0.00004549882663956473 0.000045500972875669715 -0.00% -0.00% 1.00x
is_bytes_type[address] 0.0003604658796576863 0.0003429659413629806 4.85% 5.10% 1.05x
is_bytes_type[array] 0.00035058319972745253 0.0003454172041414531 1.47% 1.50% 1.01x
is_bytes_type[bool] 0.0003151142973073252 0.00031090817200744007 1.33% 1.35% 1.01x
is_bytes_type[bytes] 0.0003039487056297304 0.0003061121397197737 -0.71% -0.71% 0.99x
is_bytes_type[bytes32] 0.0003353232206317808 0.0003261486249054354 2.74% 2.81% 1.03x
is_bytes_type[bytes33] 0.00034946341589352204 0.0003359106197272452 3.88% 4.03% 1.04x
is_bytes_type[empty] 0.00031184232118584447 0.00030347894754600676 2.68% 2.76% 1.03x
is_bytes_type[enum] 0.0003224620738508863 0.0003264875622559806 -1.25% -1.23% 0.99x
is_bytes_type[int256] 0.00032751036281753685 0.00031950438235067664 2.44% 2.51% 1.03x
is_bytes_type[invalid] 0.000316375959665937 0.00030122519669056446 4.79% 5.03% 1.05x
is_bytes_type[string] 0.0003327692710579853 0.00032655974124119183 1.87% 1.90% 1.02x
is_bytes_type[tuple-array] 0.00030324770896800337 0.00030935504807698796 -2.01% -1.97% 0.98x
is_bytes_type[tuple] 0.0003108677032040578 0.0003124880723480435 -0.52% -0.52% 0.99x
is_bytes_type[uint256] 0.00035570875545835043 0.00034935121409090307 1.79% 1.82% 1.02x
is_int_type[address] 0.00021295954444853712 0.00021912176177143447 -2.89% -2.81% 0.97x
is_int_type[array] 0.00021706413204658912 0.00021471437390057805 1.08% 1.09% 1.01x
is_int_type[bool] 0.0002200309076750771 0.00021458762744801555 2.47% 2.54% 1.03x
is_int_type[bytes] 0.0002341372697273722 0.00024348273415620563 -3.99% -3.84% 0.96x
is_int_type[bytes32] 0.00021791576823716876 0.00022074049338507726 -1.30% -1.28% 0.99x
is_int_type[bytes33] 0.00021853304338077215 0.00021391903843198245 2.11% 2.16% 1.02x
is_int_type[empty] 0.0002144743046756048 0.00021719347312075483 -1.27% -1.25% 0.99x
is_int_type[enum] 0.00026019814710295867 0.0002594225638947698 0.30% 0.30% 1.00x
is_int_type[int256] 0.0002574428761368451 0.00025073014007732556 2.61% 2.68% 1.03x
is_int_type[invalid] 0.00021381944131081468 0.00022051059044440562 -3.13% -3.03% 0.97x
is_int_type[string] 0.0002509420496944525 0.00024921782285928894 0.69% 0.69% 1.01x
is_int_type[tuple-array] 0.00021674913069193847 0.00021586568021592502 0.41% 0.41% 1.00x
is_int_type[tuple] 0.00022521453207806577 0.00023676659479079942 -5.13% -4.88% 0.95x
is_int_type[uint256] 0.00022006034913205335 0.00022595728810093776 -2.68% -2.61% 0.97x
is_probably_enum[address] 0.00007433350906448799 0.00007645863028752666 -2.86% -2.78% 0.97x
is_probably_enum[empty] 0.00006929277975000197 0.000072414230134313 -4.50% -4.31% 0.96x
is_probably_enum[enum] 0.0000742397814911541 0.00007655490388285184 -3.12% -3.02% 0.97x
is_probably_enum[lib-dot] 0.0000759145749364684 0.0000774699453121876 -2.05% -2.01% 0.98x
is_probably_enum[lib-enum] 0.00008369646198720367 0.00008521335966457586 -1.81% -1.78% 0.98x
is_probably_enum[uint256] 0.00007435829511172528 0.00007595954873047207 -2.15% -2.11% 0.98x
is_recognized_type[address] 0.0000860501030920126 0.0000918731757155567 -6.77% -6.34% 0.94x
is_recognized_type[array] 0.00009104699360116256 0.00009614174596903531 -5.60% -5.30% 0.95x
is_recognized_type[bool] 0.00009038476665763381 0.00009105813969270183 -0.75% -0.74% 0.99x
is_recognized_type[bytes] 0.0001682809495518497 0.00017103619181020244 -1.64% -1.61% 0.98x
is_recognized_type[bytes32] 0.0001643021743839212 0.00017195444520333157 -4.66% -4.45% 0.96x
is_recognized_type[bytes33] 0.00015206919781760118 0.00015833681927785985 -4.12% -3.96% 0.96x
is_recognized_type[empty] 0.00006820467951097873 0.0000720108631324086 -5.58% -5.29% 0.95x
is_recognized_type[enum] 0.00009618330401458712 0.00010148432145117924 -5.51% -5.22% 0.95x
is_recognized_type[int256] 0.00013657396347168147 0.00014205412019944983 -4.01% -3.86% 0.96x
is_recognized_type[invalid] 0.00009632718807518177 0.00010101440145023683 -4.87% -4.64% 0.95x
is_recognized_type[string] 0.00011311643112350692 0.00012098226688365614 -6.95% -6.50% 0.93x
is_recognized_type[tuple-array] 0.00009445650614089334 0.00010041688614689943 -6.31% -5.94% 0.94x
is_recognized_type[tuple] 0.00009587274229182282 0.00010060960908737864 -4.94% -4.71% 0.95x
is_recognized_type[uint256] 0.00013774174195675456 0.00014283409475944936 -3.70% -3.57% 0.96x
is_string_type[address] 0.000046395521450009534 0.000046218244735358664 0.38% 0.38% 1.00x
is_string_type[array] 0.00004794595579506006 0.00004804497348856121 -0.21% -0.21% 1.00x
is_string_type[bool] 0.00004530288650845078 0.00004669269620001626 -3.07% -2.98% 0.97x
is_string_type[bytes] 0.000046825712441150847 0.00004597571369598953 1.82% 1.85% 1.02x
is_string_type[bytes32] 0.00004690906918021891 0.000045470265746547065 3.07% 3.16% 1.03x
is_string_type[bytes33] 0.000048176932295231494 0.000047654541531752574 1.08% 1.10% 1.01x
is_string_type[empty] 0.000046786423379235725 0.000046217447024382065 1.22% 1.23% 1.01x
is_string_type[enum] 0.00005024385293641716 0.00004982199160297689 0.84% 0.85% 1.01x
is_string_type[int256] 0.00004915063565414612 0.00004940859786132907 -0.52% -0.52% 0.99x
is_string_type[invalid] 0.00004870842780496456 0.000048009159037070955 1.44% 1.46% 1.01x
is_string_type[string] 0.000047338386397541974 0.00004629281659515904 2.21% 2.26% 1.02x
is_string_type[tuple-array] 0.00004805755565071087 0.00004722478398520376 1.73% 1.76% 1.02x
is_string_type[tuple] 0.000046322343243079604 0.000047070056364054335 -1.61% -1.59% 0.98x
is_string_type[uint256] 0.00004541979294532232 0.00004598270624575378 -1.24% -1.22% 0.99x
is_uint_type[address] 0.00024392530247905022 0.0002586435761872594 -6.03% -5.69% 0.94x
is_uint_type[array] 0.0002536715853451105 0.0002550987619686789 -0.56% -0.56% 0.99x
is_uint_type[bool] 0.0002134692516699173 0.00021893163426082738 -2.56% -2.50% 0.98x
is_uint_type[bytes] 0.00021376755867348376 0.00021395167566549007 -0.09% -0.09% 1.00x
is_uint_type[bytes32] 0.0002490633658243354 0.0002398710413746202 3.69% 3.83% 1.04x
is_uint_type[bytes33] 0.00024470095164686384 0.000244057338961827 0.26% 0.26% 1.00x
is_uint_type[empty] 0.0002142432207260017 0.00021579257405535308 -0.72% -0.72% 0.99x
is_uint_type[enum] 0.00023268352952851345 0.00023679506047510185 -1.77% -1.74% 0.98x
is_uint_type[int256] 0.00024323774524846165 0.00023390498479920912 3.84% 3.99% 1.04x
is_uint_type[invalid] 0.00021583665214530148 0.00021132097644107882 2.09% 2.14% 1.02x
is_uint_type[string] 0.0002405759800190567 0.00024217756663070692 -0.67% -0.66% 0.99x
is_uint_type[tuple-array] 0.00021023657270295544 0.00020934887884375243 0.42% 0.42% 1.00x
is_uint_type[tuple] 0.00020983506224536214 0.00022026182361818827 -4.97% -4.73% 0.95x
is_uint_type[uint256] 0.00025257665379774794 0.0002483487122266423 1.67% 1.70% 1.02x
length_of_array_type[dynamic] 0.0001819398933813682 0.0001801695757231669 0.97% 0.98% 1.01x
length_of_array_type[fixed] 0.00019284732600127538 0.00019432521414753181 -0.77% -0.76% 0.99x
length_of_array_type[nested] 0.0002008623976060768 0.00020151977242310052 -0.33% -0.33% 1.00x
map_abi_data 0.00698015171053612 0.005535909503063566 20.69% 26.09% 1.26x
normalize_event_input_types 0.0004583365742679669 0.0004786609044737302 -4.43% -4.25% 0.96x
receive_func_abi_exists 0.00034162294868038276 0.00034781865292413914 -1.81% -1.78% 0.98x
strip_abi_types 0.0017359194569351272 0.0016962555686633788 2.28% 2.34% 1.02x
sub_type_of_array_type[nested] 0.00019607095237443594 0.00019893320548979541 -1.46% -1.44% 0.99x
sub_type_of_array_type[simple] 0.00018795282045415846 0.0001900952664310767 -1.14% -1.13% 0.99x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002478483524455586 0.000025314754170712787 -2.14% -2.09% 0.98x
is_hex_encoded_block_hash[invalid-g] 0.00009159975760126017 0.000063274872069802 30.92% 44.76% 1.45x
is_hex_encoded_block_hash[none] 0.000024887519230887822 0.00002563248145686863 -2.99% -2.91% 0.97x
is_hex_encoded_block_hash[short] 0.00004778387173470506 0.000028483542343434158 40.39% 67.76% 1.68x
is_hex_encoded_block_hash[too-long] 0.00004807235111416083 0.000028955148730892907 39.77% 66.02% 1.66x
is_hex_encoded_block_hash[too-short] 0.00004749728302054186 0.000028640211823763747 39.70% 65.84% 1.66x
is_hex_encoded_block_hash[valid-a] 0.00010412137836081318 0.00007665354089796055 26.38% 35.83% 1.36x
is_hex_encoded_block_hash[valid-f] 0.00010364238510798221 0.00007844197105539864 24.31% 32.13% 1.32x
is_hex_encoded_block_number[int] 0.000024838325999819318 0.00002707388299383185 -9.00% -8.26% 0.92x
is_hex_encoded_block_number[invalid-g] 0.00017507015826476055 0.00023357408754372917 -33.42% -25.05% 0.75x
is_hex_encoded_block_number[max-64-a] 0.00011443260335640865 0.00009002950029612316 21.33% 27.11% 1.27x
is_hex_encoded_block_number[max-64-f] 0.00011365072716869323 0.00009247231463155981 18.63% 22.90% 1.23x
is_hex_encoded_block_number[none] 0.000024721409752322617 0.000026851764329851243 -8.62% -7.93% 0.92x
is_hex_encoded_block_number[small] 0.00010085687287417586 0.00005274842098214475 47.70% 91.20% 1.91x
is_hex_encoded_block_number[too-long] 0.00011665278973199918 0.000068606100397207 41.19% 70.03% 1.70x
is_predefined_block_number[bytes-latest] 0.000035264964238469045 0.000030510782362728416 13.48% 15.58% 1.16x
is_predefined_block_number[bytes-pending] 0.00003578585999296447 0.000030413937487252604 15.01% 17.66% 1.18x
is_predefined_block_number[bytes-random] 0.0000347730396002507 0.000029768869423451656 14.39% 16.81% 1.17x
is_predefined_block_number[int] 0.00003924157407674485 0.00002752819778348669 29.85% 42.55% 1.43x
is_predefined_block_number[none] 0.00013320355503373867 0.0002273118912062596 -70.65% -41.40% 0.59x
is_predefined_block_number[object] 0.00016823462059189202 0.0002680264133141601 -59.32% -37.23% 0.63x
is_predefined_block_number[str-earliest] 0.000014413721031594678 0.000010364748735198293 28.09% 39.06% 1.39x
is_predefined_block_number[str-finalized] 0.000014190557167433313 0.000010660003335168695 24.88% 33.12% 1.33x
is_predefined_block_number[str-foo] 0.000014531099586782418 0.000010718927862580754 26.23% 35.56% 1.36x
is_predefined_block_number[str-latest] 0.000014231035864187921 0.000010771647697893693 24.31% 32.12% 1.32x
is_predefined_block_number[str-pending] 0.00001430222438422546 0.000010448631526320756 26.94% 36.88% 1.37x
is_predefined_block_number[str-safe] 0.000014443450880420082 0.00001041788791630148 27.87% 38.64% 1.39x
select_method_for_block_identifier[hash-bytes] 0.00005788981480211689 0.00004613750161479193 20.30% 25.47% 1.25x
select_method_for_block_identifier[hash-hexstr] 0.00014490658861265917 0.00010175971863364097 29.78% 42.40% 1.42x
select_method_for_block_identifier[invalid-none] 0.0009719305437086353 0.0011611378171030658 -19.47% -16.29% 0.84x
select_method_for_block_identifier[invalid-object] 0.0010200965005464303 0.0012155410196068308 -19.16% -16.08% 0.84x
select_method_for_block_identifier[number-hexstr] 0.00018921249756970182 0.00009362629319744385 50.52% 102.09% 2.02x
select_method_for_block_identifier[number-int] 0.0001291582274858107 0.00006862492093806848 46.87% 88.21% 1.88x
select_method_for_block_identifier[predefined-bytes] 0.00005632920251394542 0.000046711790214810254 17.07% 20.59% 1.21x
select_method_for_block_identifier[predefined-str] 0.0000322956597669152 0.00002225861483890907 31.08% 45.09% 1.45x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.0004961804818499576 0.0005900611259443095 -18.92% -15.91% 0.84x
PropertyCheckingFactory[big-valid] 0.0004954172774927936 0.0005913583816139998 -19.37% -16.22% 0.84x
PropertyCheckingFactory[inheritance] 0.0010789089096377104 0.001070893931835633 0.74% 0.75% 1.01x
PropertyCheckingFactory[invalid] 0.0005033991391361746 0.0005899369686461026 -17.19% -14.67% 0.85x
PropertyCheckingFactory[multi-normalizer] 0.0004964837935565283 0.0005886233767519775 -18.56% -15.65% 0.84x
PropertyCheckingFactory[multi-prop] 0.0004982664794565731 0.0005868421664425285 -17.78% -15.09% 0.85x
PropertyCheckingFactory[normalized] 0.000510542221307753 0.000588616101795697 -15.29% -13.26% 0.87x
PropertyCheckingFactory[valid] 0.001477582203302608 0.0011190599196560704 24.26% 32.04% 1.32x
verify_attr[empty] 0.00010755595871125709 0.00016941342758796526 -57.51% -36.51% 0.63x
verify_attr[found-end] 0.000012295788325307874 0.00001149195813890788 6.54% 6.99% 1.07x
verify_attr[found-start] 0.000010292937555303583 0.000008548517777293907 16.95% 20.41% 1.20x
verify_attr[large-found] 0.0001535592531943712 0.00014601788072507454 4.91% 5.16% 1.05x
verify_attr[large-notfound] 0.00021333285723885146 0.0002777450339146576 -30.19% -23.19% 0.77x
verify_attr[notfound] 0.00011355394041550345 0.0001753741377928636 -54.44% -35.25% 0.65x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006938774658802312 0.0007143401705968984 -2.95% -2.86% 0.97x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00008534231808026865 0.000024553536062176297 71.23% 247.58% 3.48x
percentile[100-90th] 0.00012020372739089429 0.00005744995705347696 52.21% 109.23% 2.09x
percentile[100k-99th] 0.03978045935997215 0.039002649269202896 1.96% 1.99% 1.02x
percentile[100k-median] 0.03955792363998625 0.03889083991993175 1.69% 1.72% 1.02x
percentile[10k-10th] 0.004048795100002659 0.003908040636366358 3.48% 3.60% 1.04x
percentile[10k-99th] 0.0041319430537374155 0.0038811173577281495 6.07% 6.46% 1.06x
percentile[10k-median] 0.004046874454183039 0.003913733987790293 3.29% 3.40% 1.03x
percentile[1k-99th] 0.0005142887666568726 0.0004345437849391991 15.51% 18.35% 1.18x
percentile[1M-median] 0.9513198396000917 0.9230512562000512 2.97% 3.06% 1.03x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000013835248504715167 0.000007315032176714753 47.13% 89.13% 1.89x
to_bytes_if_hex[empty-str] 0.0003316674125721412 0.000040750163837939344 87.71% 713.90% 8.14x
to_bytes_if_hex[hexstr] 0.0003671754220636621 0.00005028195275289742 86.31% 630.23% 7.30x
to_bytes_if_hex[large-hex] 0.00036808502269668935 0.00005684166295665877 84.56% 547.56% 6.48x
to_bytes_if_hex[non-prefixed-hex] 0.0003433044777531436 0.00004837278727303311 85.91% 609.71% 7.10x
to_bytes_if_hex[nothex] 0.00044906979806866553 0.0002874243944603974 36.00% 56.24% 1.56x
to_bytes_if_hex[unicode] 0.000452045445826842 0.0002981796568252376 34.04% 51.60% 1.52x
to_bytes_if_hex[zero] 0.00036574895728788015 0.000050168036345322996 86.28% 629.05% 7.29x
to_hex_if_bytes[bytes] 0.00024125658415185807 0.00005102977096616094 78.85% 372.78% 4.73x
to_hex_if_bytes[empty-bytes] 0.00022468490606218893 0.00004215658686516119 81.24% 432.98% 5.33x
to_hex_if_bytes[empty-str] 0.00010930717311685791 0.00020042746705943145 -83.36% -45.46% 0.55x
to_hex_if_bytes[hexstr] 0.00030119463899587923 0.0000251145290774498 91.66% 1099.28% 11.99x
to_hex_if_bytes[large-bytes] 0.00024279243843521546 0.000055022377982454184 77.34% 341.26% 4.41x
to_hex_if_bytes[non-prefixed-hex] 0.00011236299701960149 0.00020371680657147934 -81.30% -44.84% 0.55x
to_hex_if_bytes[not-hex] 0.00011261762425596732 0.00020440839961305792 -81.51% -44.91% 0.55x
to_hex_if_bytes[unicode] 0.00011648147983145639 0.00020956936477253284 -79.92% -44.42% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0003291716018304407 0.000106632057209768 67.61% 208.70% 3.09x
all_in_dict[empty-dict] 0.00028184416193114363 0.00008183231924958856 70.97% 244.42% 3.44x
all_in_dict[empty-list] 0.0002779905379394326 0.00009083123212139231 67.33% 206.05% 3.06x
all_in_dict[mixed-types] 0.0003275150784260819 0.00010792949780674441 67.05% 203.45% 3.03x
all_in_dict[no-overlap] 0.0002963261546248696 0.00009351570712831493 68.44% 216.87% 3.17x
all_in_dict[none-in] 0.00029826729021948214 0.00009413183354581052 68.44% 216.86% 3.17x
all_in_dict[one-in] 0.0003004208394156448 0.00009736549830349456 67.59% 208.55% 3.09x
all_in_dict[partial-overlap] 0.0003373525564461772 0.00010695758858644202 68.30% 215.41% 3.15x
all_in_dict[value-none] 0.00030095670893143825 0.000100444819151756 66.62% 199.62% 3.00x
any_in_dict[all-in] 0.00029659851359059455 0.0000991232101234244 66.58% 199.22% 2.99x
any_in_dict[empty-dict] 0.00032075031246030575 0.00009619037448323861 70.01% 233.45% 3.33x
any_in_dict[empty-list] 0.00027265740596484886 0.0000928714659571435 65.94% 193.59% 2.94x
any_in_dict[mixed-types] 0.00029527577043756494 0.00010013810475209648 66.09% 194.87% 2.95x
any_in_dict[no-overlap] 0.00033946798677053256 0.00011156057955798713 67.14% 204.29% 3.04x
any_in_dict[none-in] 0.00030645180922077016 0.00010077615220426487 67.12% 204.09% 3.04x
any_in_dict[one-in] 0.0002934079258837873 0.00009877802519779575 66.33% 197.04% 2.97x
any_in_dict[partial-overlap] 0.0002963296784614847 0.00009849476521560939 66.76% 200.86% 3.01x
any_in_dict[value-none] 0.0002942331786194482 0.00009918716804887615 66.29% 196.64% 2.97x
either_set_is_a_subset[both-empty] 0.00018409337053720327 0.00016267077368734253 11.64% 13.17% 1.13x
either_set_is_a_subset[empty-set1] 0.00018120374424207268 0.00016059849896635787 11.37% 12.83% 1.13x
either_set_is_a_subset[empty-set2] 0.00027035036960666394 0.0002644128078235507 2.20% 2.25% 1.02x
either_set_is_a_subset[identical] 0.00020062197640686804 0.00017163114020497965 14.45% 16.89% 1.17x
either_set_is_a_subset[mixed-types] 0.00020614420876512382 0.00017881824592601593 13.26% 15.28% 1.15x
either_set_is_a_subset[not-subset] 0.0003018845504931889 0.00027909916929760327 7.55% 8.16% 1.08x
either_set_is_a_subset[partial-overlap] 0.00032214174047387733 0.00029421243397684694 8.67% 9.49% 1.09x
either_set_is_a_subset[subset] 0.00020582897688002955 0.0001761288319560277 14.43% 16.86% 1.17x
either_set_is_a_subset[superset] 0.00031565559898903803 0.0003026657808511032 4.12% 4.29% 1.04x
none_in_dict[all-in] 0.00031573885083815626 0.00009953667074976861 68.48% 217.21% 3.17x
none_in_dict[empty-dict] 0.0003376259844502724 0.0000965942721429238 71.39% 249.53% 3.50x
none_in_dict[empty-list] 0.00029383209397158605 0.00009143277072167028 68.88% 221.36% 3.21x
none_in_dict[mixed-types] 0.00031379928934245795 0.00009838958740621527 68.65% 218.94% 3.19x
none_in_dict[no-overlap] 0.000366326578846733 0.00011370233167089759 68.96% 222.18% 3.22x
none_in_dict[none-in] 0.0003212754669285018 0.0000992654340641183 69.10% 223.65% 3.24x
none_in_dict[one-in] 0.0003126616144422397 0.00009746676658957909 68.83% 220.79% 3.21x
none_in_dict[partial-overlap] 0.00031930909429341746 0.00009769464308478889 69.40% 226.84% 3.27x
none_in_dict[value-none] 0.0003121007515452457 0.00009850037365815433 68.44% 216.85% 3.17x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0015572576505353101 0.001568471924911712 -0.72% -0.71% 0.99x
attributedict_hash[flat] 0.0011694776027305583 0.0011668920123036868 0.22% 0.22% 1.00x
attributedict_hash[nested] 0.001851246729135519 0.001818378888397659 1.78% 1.81% 1.02x
attributedict_init[empty] 0.00009543944805961806 0.00009320059756719927 2.35% 2.40% 1.02x
attributedict_init[large] 0.00013725739299925418 0.00013505924311737306 1.60% 1.63% 1.02x
attributedict_init[small] 0.00010002697865546146 0.00010009215411373908 -0.07% -0.07% 1.00x
mutableattributedict_delitem 0.0004298198495356203 0.0004341143084218886 -1.00% -0.99% 0.99x
mutableattributedict_setitem 0.0003631374568561104 0.00036385689246861444 -0.20% -0.20% 1.00x
namedelementonion_add 0.009149613000045066 0.03774325450368552 -312.51% -75.76% 0.24x
namedelementonion_as_tuple_of_middleware 0.00015953174336881507 0.0001596956253515707 -0.10% -0.10% 1.00x
namedelementonion_contains 0.000031799926573523696 0.00003222236652152934 -1.33% -1.31% 0.99x
namedelementonion_getitem 0.000028260209079410574 0.000028249304824200786 0.04% 0.04% 1.00x
namedelementonion_init[callables2] 0.00013614999221192678 0.00013346844071177724 1.97% 2.01% 1.02x
namedelementonion_init[callables3] 0.00016925696060336105 0.00016876998262148793 0.29% 0.29% 1.00x
namedelementonion_init[empty] 0.00004634496024126792 0.000046025953632699934 0.69% 0.69% 1.01x
namedelementonion_inject 0.031388075916645955 0.04879925589410264 -55.47% -35.68% 0.64x
namedelementonion_iter 0.00016457703997753892 0.00016327108763427022 0.79% 0.80% 1.01x
namedelementonion_remove 0.0007287167555938059 0.0007288313686725767 -0.02% -0.02% 1.00x
namedelementonion_replace 0.002659999019392936 0.002656291769217755 0.14% 0.14% 1.00x
readableattributedict_getitem[large] 0.000016215138248607332 0.000016100104989566416 0.71% 0.71% 1.01x
readableattributedict_getitem[small] 0.000015551762060601577 0.00001523207316084614 2.06% 2.10% 1.02x
readableattributedict_init[empty] 0.00005816356822071889 0.000055096572364577516 5.27% 5.57% 1.06x
readableattributedict_init[large] 0.00009115971047705315 0.00009136638544183447 -0.23% -0.23% 1.00x
readableattributedict_init[small] 0.00005949532668358428 0.000060047630290649936 -0.93% -0.92% 0.99x
readableattributedict_recursive[list-in-dict] 0.000948271916670924 0.0009532826783606183 -0.53% -0.53% 0.99x
readableattributedict_recursive[nested-dict] 0.0009760775665369792 0.0009723064048796424 0.39% 0.39% 1.00x
readableattributedict_recursive[set] 0.0004944029475176332 0.0004923595901396951 0.41% 0.42% 1.00x
tupleize_lists_nested[list-in-dict] 0.0009205644651871537 0.0009035003468693724 1.85% 1.89% 1.02x
tupleize_lists_nested[tuple-in-dict] 0.001019669205199627 0.0009931616391784949 2.60% 2.67% 1.03x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003665977485327005 0.0002674289755456801 27.05% 37.08% 1.37x
simplecache_cache[100] 0.002899664258276627 0.002092891532156944 27.82% 38.55% 1.39x
simplecache_cache[1000] 0.029348572735256418 0.020207908040809307 31.15% 45.23% 1.45x
simplecache_eviction[10] 0.000618078105645065 0.0006210819617646408 -0.49% -0.48% 1.00x
simplecache_eviction[100] 0.005616076174138481 0.005660530817167455 -0.79% -0.79% 0.99x
simplecache_pop[10] 0.00048616733564453313 0.0003974673521609588 18.24% 22.32% 1.22x
simplecache_pop[100] 0.004064790417023107 0.003188034075423066 21.57% 27.50% 1.28x
simplecache_retrieval[10] 0.00009909822902479114 0.00006125068961193483 38.19% 61.79% 1.62x
simplecache_retrieval[100] 0.0008613816438000012 0.0005052384218978942 41.35% 70.49% 1.70x

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 15, 2025

CodSpeed Performance Report

Merging #114 will not alter performance

Comparing events (6f25e47) with master (d9ef7f5)

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.0000017237686707981665 9.052382699798805e-7 47.48% 90.42% 1.90x
is_valid_name[a..eth] 0.00002383735044115704 0.00002680389435409348 -12.44% -11.07% 0.89x
is_valid_name[a.eth..] 0.000024035350635406482 0.000026855912889387818 -11.74% -10.50% 0.89x
is_valid_name[a.eth.] 0.000023875107567910577 0.00002658605503644513 -11.35% -10.20% 0.90x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.18926086233337477 0.18811521033332687 0.61% 0.61% 1.01x
is_valid_name[alice.eth] 0.00866666594783075 0.008561846826084903 1.21% 1.22% 1.01x
is_valid_name[bob.eth] 0.005196870815791499 0.005089245257733599 2.07% 2.11% 1.02x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2059755860000223 0.18736748933334488 9.03% 9.93% 1.10x
is_valid_name[subdomain.alice.eth] 0.025925750575001415 0.02549344587498865 1.67% 1.70% 1.02x
labelhash[] 0.00011878870097561219 0.00007656239520708127 35.55% 55.15% 1.55x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.18688462916664625 0.18599747350001886 0.47% 0.48% 1.00x
labelhash[alice] 0.00632406043919172 0.006193238638707044 2.07% 2.11% 1.02x
labelhash[bob] 0.0028127219532145626 0.002682776178770184 4.62% 4.84% 1.05x
labelhash[emoji\U0001f468\U0001f3fb] 0.19968531299996356 0.18328595699995276 8.21% 8.95% 1.09x
labelhash[xn--fiqs8s] 0.019926892920002503 0.019897324940004638 0.15% 0.15% 1.00x
namehash[] 0.000010321685040965729 0.0000031523451944003905 69.46% 227.43% 3.27x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.3796999809999761 0.38108170379998685 -0.36% -0.36% 1.00x
namehash[alice.eth] 0.018178505472728416 0.0177779825714351 2.20% 2.25% 1.02x
namehash[bob.eth] 0.011188763022471576 0.011008033499998102 1.62% 1.64% 1.02x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.40544304200002446 0.3738428474000102 7.79% 8.45% 1.08x
namehash[subdomain.alice.eth] 0.054249441000007434 0.051817803150009924 4.48% 4.69% 1.05x
nameprep[] 0.00000879925635138869 0.0000029481435044871164 66.50% 198.47% 2.98x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.1894411931666582 0.18879938283333786 0.34% 0.34% 1.00x
nameprep[alice.eth] 0.008667520114034176 0.008598050815788938 0.80% 0.81% 1.01x
nameprep[bob.eth] 0.005189783382198437 0.005166979890624053 0.44% 0.44% 1.00x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.20274383699997997 0.1853059433333518 8.60% 9.41% 1.09x
nameprep[subdomain.alice.eth] 0.025434979100009514 0.025359818924997057 0.30% 0.30% 1.00x
parent[] 9.508262054627247e-7 7.887270086010656e-7 17.05% 20.55% 1.21x
parent[bar.eth] 0.0000033697204750896427 0.000002345166543306377 30.40% 43.69% 1.44x
parent[eth] 0.0000019776791610970258 0.00000128313178353026 35.12% 54.13% 1.54x
parent[foo.bar.eth] 0.000004021738613733955 0.0000029826875956233674 25.84% 34.84% 1.35x
parent[sub.sub2.foo.bar.eth] 0.000004700236453836049 0.0000037449557703180503 20.32% 25.51% 1.26x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00004899923474829058 0.00001618669138416982 66.97% 202.71% 3.03x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00004989313201451614 0.000016044914016523994 67.84% 210.96% 3.11x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00004934707015669578 0.000016129868238537084 67.31% 205.94% 3.06x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000012230624254768317 0.000012115453235507968 0.94% 0.95% 1.01x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000012050239683607885 0.000012098206155893892 -0.40% -0.40% 1.00x
address[alice.eth] 0.000012143871404276255 0.000012042162864331985 0.84% 0.84% 1.01x
address[bob.eth] 0.000012017864230174136 0.00001213239070578786 -0.95% -0.94% 0.99x
address[emoji\U0001f468\U0001f3fb.eth] 0.0000121083267276137 0.000012191346477155474 -0.69% -0.68% 0.99x
address[subdomain.alice.eth] 0.000012060716897752389 0.000012099820927985292 -0.32% -0.32% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00012722423648929156 0.00012644912795397304 0.61% 0.61% 1.01x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012716658912078214 0.0001267195562456696 0.35% 0.35% 1.00x
normalize_name_ensip15[alice.eth] 0.00012932643517369873 0.00012688259343756245 1.89% 1.93% 1.02x
normalize_name_ensip15[bob.eth] 0.0001264785160979847 0.0001361205738143106 -7.62% -7.08% 0.93x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00012833922272696848 0.0001269575245706995 1.08% 1.09% 1.01x
normalize_name_ensip15[subdomain.alice.eth] 0.00012706856370123026 0.00012689238709682996 0.14% 0.14% 1.00x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024169477849932263 0.0007836844893653448 67.58% 208.41% 3.08x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002466408140662679 0.0007741075983391524 68.61% 218.61% 3.19x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.002462784043365914 0.000775107366642401 68.53% 217.73% 3.18x
dns_encode_name[] 0.000006053152302284462 0.000004319746198378552 28.64% 40.13% 1.40x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.18984047883327548 0.1884648316666547 0.72% 0.73% 1.01x
dns_encode_name[alice.eth] 0.008966898636363525 0.008615858230094864 3.91% 4.07% 1.04x
dns_encode_name[bob.eth] 0.005484092513964816 0.005142059178006664 6.24% 6.65% 1.07x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.20260196899994298 0.18528290549996504 8.55% 9.35% 1.09x
dns_encode_name[subdomain.alice.eth] 0.0263610688717936 0.025398821350012212 3.65% 3.79% 1.04x
estimate_auction_start_gas[labels0] 0.00006875108562149468 0.00004093463203969796 40.46% 67.95% 1.68x
estimate_auction_start_gas[labels1] 0.00006947389153698904 0.00004114816966015906 40.77% 68.84% 1.69x
estimate_auction_start_gas[labels2] 0.00006130049785938649 0.00004102446447511367 33.08% 49.42% 1.49x
is_empty_name[ ] 0.00005296318564110016 0.00003650258744261299 31.08% 45.09% 1.45x
is_empty_name[.] 0.00005343258641756413 0.00003725073055451549 30.28% 43.44% 1.43x
is_empty_name[0] 0.000052738188387495845 0.00003588219032733288 31.96% 46.98% 1.47x
is_empty_name[1] 0.00005358021036178106 0.000035868698716800085 33.06% 49.38% 1.49x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005441274322847877 0.000037150475709279675 31.72% 46.47% 1.46x
is_empty_name[alice.eth] 0.00005430980358016408 0.00003720905671315302 31.49% 45.96% 1.46x
is_empty_name[bob.eth] 0.00005305504303122169 0.00003727023368753073 29.75% 42.35% 1.42x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00005504705671688808 0.00003799241703616369 30.98% 44.89% 1.45x
is_empty_name[subdomain.alice.eth] 0.00005555477438089457 0.000037202747098521984 33.03% 49.33% 1.49x
is_none_or_zero_address[] 0.000040431929589074594 0.00003446954673677449 14.75% 17.30% 1.17x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00004554092791006341 0.00004059406134532864 10.86% 12.19% 1.12x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.000048533244279906894 0.00004238380729909292 12.67% 14.51% 1.15x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00004862017409146723 0.00004242059274801066 12.75% 14.61% 1.15x
is_valid_ens_name[] 0.000001745087441482344 0.0000012213231953613458 30.01% 42.88% 1.43x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.19115207766662934 0.18798283166665897 1.66% 1.69% 1.02x
is_valid_ens_name[alice.eth] 0.008703908088480893 0.008569940561379122 1.54% 1.56% 1.02x
is_valid_ens_name[bar] 0.0000018204830202917237 0.0000012836849652338917 29.49% 41.82% 1.42x
is_valid_ens_name[baz] 0.0000018223080714622886 0.0000012800046378315032 29.76% 42.37% 1.42x
is_valid_ens_name[bob.eth] 0.005223857222214671 0.005104277804233279 2.29% 2.34% 1.02x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.2015066652000314 0.186067244500047 7.66% 8.30% 1.08x
is_valid_ens_name[foo] 0.000001815072762054875 0.000001285810478853007 29.16% 41.16% 1.41x
is_valid_ens_name[subdomain.alice.eth] 0.025538471974994082 0.025271327449996762 1.05% 1.06% 1.01x
is_valid_name[] 0.0000015106465491093195 8.85776791705404e-7 41.36% 70.54% 1.71x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.19035772916671098 0.1879456355000002 1.27% 1.28% 1.01x
is_valid_name[alice.eth] 0.008694027289471594 0.00865549188695537 0.44% 0.45% 1.00x
is_valid_name[bob.eth] 0.005205672354483637 0.005086577020744976 2.29% 2.34% 1.02x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2017019507999976 0.1857321974999877 7.92% 8.60% 1.09x
is_valid_name[subdomain.alice.eth] 0.025517863410244992 0.025171032675007154 1.36% 1.38% 1.01x
label_to_hash[] 0.00011955229066920264 0.00007546924590427492 36.87% 58.41% 1.58x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.18725065816670394 0.18562455033334876 0.87% 0.88% 1.01x
label_to_hash[alice] 0.006296694709675238 0.006343537872596829 -0.74% -0.74% 0.99x
label_to_hash[bob] 0.002830621547624495 0.00274419160623773 3.05% 3.15% 1.03x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.19987954219996026 0.18281981233337774 8.54% 9.33% 1.09x
label_to_hash[xn--fiqs8s] 0.019966921580003145 0.019873772200007807 0.47% 0.47% 1.00x
normal_name_to_hash[] 0.0000015607072988891724 9.052330336658162e-7 42.00% 72.41% 1.72x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.18997291716671802 0.19428777250000925 -2.27% -2.22% 0.98x
normal_name_to_hash[alice.eth] 0.009413361582527641 0.009214151386797894 2.12% 2.16% 1.02x
normal_name_to_hash[bob.eth] 0.00592622802425026 0.005640991450861761 4.81% 5.06% 1.05x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.20502917540002272 0.18669799833332945 8.94% 9.82% 1.10x
normal_name_to_hash[subdomain.alice.eth] 0.026619174342104805 0.026610680289470685 0.03% 0.03% 1.00x
normalize_name[] 0.000008439220649690086 0.000002927396117658812 65.31% 188.28% 2.88x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.19151978966668062 0.18801561183331236 1.83% 1.86% 1.02x
normalize_name[alice.eth] 0.008716196469033568 0.008771446973907152 -0.63% -0.63% 0.99x
normalize_name[bob.eth] 0.005209175021053924 0.005084413637307522 2.40% 2.45% 1.02x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.20178911460002383 0.18564644249998233 8.00% 8.70% 1.09x
normalize_name[subdomain.alice.eth] 0.02559686027499879 0.025261289874993053 1.31% 1.33% 1.01x
raw_name_to_hash[] 0.000010085562856707693 0.000003119025587049099 69.07% 223.36% 3.23x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.38083875879992773 0.3882622653999988 -1.95% -1.91% 0.98x
raw_name_to_hash[alice.eth] 0.018218653909103853 0.018063993763631846 0.85% 0.86% 1.01x
raw_name_to_hash[bob.eth] 0.011192017955053916 0.010887976010990515 2.72% 2.79% 1.03x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.4099496312000156 0.3754512626000178 8.42% 9.19% 1.09x
raw_name_to_hash[subdomain.alice.eth] 0.05223828785000251 0.05273424757890672 -0.95% -0.94% 0.99x
sha3_text[0] 0.00010619027419926975 0.00006980478025038008 34.26% 52.12% 1.52x
sha3_text[1] 0.00010573000216765118 0.00006977107376105872 34.01% 51.54% 1.52x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00011389591435047242 0.00007772643772719082 31.76% 46.53% 1.47x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00011366726093284791 0.00007756792067749843 31.76% 46.54% 1.47x
sha3_text[alice.eth] 0.00011333601821866391 0.00007766270874325353 31.48% 45.93% 1.46x
sha3_text[alice] 0.00011356596757159515 0.00007779811896982778 31.50% 45.98% 1.46x
sha3_text[bob.eth] 0.00011402784265539061 0.0000772289864127052 32.27% 47.65% 1.48x
sha3_text[bob] 0.00011351442527238427 0.00007780023162633268 31.46% 45.90% 1.46x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00011563956532877024 0.00007941962790945787 31.32% 45.61% 1.46x
sha3_text[emoji\U0001f468\U0001f3fb] 0.0001137968736343191 0.00007769459514316171 31.73% 46.47% 1.46x
sha3_text[subdomain.alice.eth] 0.00011484119680690456 0.00007728064134712426 32.71% 48.60% 1.49x
sha3_text[xn--fiqs8s] 0.00011365135356913296 0.00007731030865811644 31.98% 47.01% 1.47x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002691515271617309 0.0002307409390235124 14.27% 16.65% 1.17x
fallback_func_abi_exists 0.0002245400611298098 0.00022085435504280297 1.64% 1.67% 1.02x
filter_by_argument_name[a] 0.0006149463648729784 0.0003692778383701129 39.95% 66.53% 1.67x
filter_by_argument_name[a+b] 0.0006274748051868148 0.00038471576438840163 38.69% 63.10% 1.63x
filter_by_argument_name[b] 0.0006137164296496543 0.00036926997880761637 39.83% 66.20% 1.66x
filter_by_argument_name[c] 0.0006185572643595611 0.00037880140172303896 38.76% 63.29% 1.63x
filter_by_argument_name[notfound] 0.0006056919591642605 0.0003633414319384487 40.01% 66.70% 1.67x
filter_by_argument_type[address] 0.0005455989509170817 0.0005453285894161929 0.05% 0.05% 1.00x
filter_by_argument_type[notatype] 0.0005340823357025338 0.0005274762849384381 1.24% 1.25% 1.01x
filter_by_argument_type[string] 0.0005412786361949008 0.0005342492827662567 1.30% 1.32% 1.01x
filter_by_argument_type[uint+address] 0.0005462494775692858 0.0005405221772252843 1.05% 1.06% 1.01x
filter_by_argument_type[uint256] 0.0005446156406828062 0.0005501828972819959 -1.02% -1.01% 0.99x
filter_by_types[constructor] 0.00003486666599724966 0.00003478682817081332 0.23% 0.23% 1.00x
filter_by_types[event] 0.000035019511926300455 0.000035065420881099595 -0.13% -0.13% 1.00x
filter_by_types[fallback] 0.000035094691085367365 0.00003548614160870805 -1.12% -1.10% 0.99x
filter_by_types[func+event] 0.0000384897304059611 0.00003848890841101616 0.00% 0.00% 1.00x
filter_by_types[function] 0.00003495886774277834 0.0000349664995640522 -0.02% -0.02% 1.00x
filter_by_types[none] 0.000033687365810215443 0.00003392734935807043 -0.71% -0.71% 0.99x
filter_by_types[receive] 0.00003481278536538285 0.000034671388224330674 0.41% 0.41% 1.00x
find_constructor_abi_element_by_type 0.00003222450462921447 0.00003273924831534051 -1.60% -1.57% 0.98x
get_abi_element_signature[custom] 0.00005135135395420278 0.000049068011489330786 4.45% 4.65% 1.05x
get_abi_element_signature[fallback] 0.00001996761044600596 0.00002001483746361684 -0.24% -0.24% 1.00x
get_abi_element_signature[receive] 0.000026855987194885987 0.000026773456471871196 0.31% 0.31% 1.00x
get_abi_element_signature[transfer] 0.000053329593855256925 0.000050406137234312095 5.48% 5.80% 1.06x
get_name_from_abi_element_identifier[custom] 0.00004161836550569569 0.00003880694609819637 6.76% 7.24% 1.07x
get_name_from_abi_element_identifier[fallback] 0.000011190545427549769 0.000011225204375401346 -0.31% -0.31% 1.00x
get_name_from_abi_element_identifier[func] 0.000042330631946958416 0.00003904643239176444 7.76% 8.41% 1.08x
get_name_from_abi_element_identifier[receive] 0.000016858011587473802 0.0000169400815659819 -0.49% -0.48% 1.00x
get_tuple_type_str_parts[not-tuple] 0.000021238300366287448 0.000021512231578899967 -1.29% -1.27% 0.99x
get_tuple_type_str_parts[one-dim] 0.00006740618266217777 0.0000670406561851449 0.54% 0.55% 1.01x
get_tuple_type_str_parts[plain] 0.00004468079071147544 0.000044602086516963465 0.18% 0.18% 1.00x
get_tuple_type_str_parts[two-dim] 0.00008701419186798194 0.00008454360699482221 2.84% 2.92% 1.03x
is_address_type[address] 0.000038770327712533674 0.00003876668137968615 0.01% 0.01% 1.00x
is_address_type[array] 0.00004197558801327479 0.00004193757186126471 0.09% 0.09% 1.00x
is_address_type[bool] 0.000039014181637082304 0.0000384552145177277 1.43% 1.45% 1.01x
is_address_type[bytes] 0.00003843637113167387 0.00003850195336139203 -0.17% -0.17% 1.00x
is_address_type[bytes32] 0.00004136242609862874 0.000041370067002067745 -0.02% -0.02% 1.00x
is_address_type[bytes33] 0.000041969350914425194 0.00004194839406209621 0.05% 0.05% 1.00x
is_address_type[empty] 0.000038492126703311366 0.00003853086391796109 -0.10% -0.10% 1.00x
is_address_type[enum] 0.00003930556881038994 0.000039310055878937336 -0.01% -0.01% 1.00x
is_address_type[int256] 0.000038462147575593305 0.000038414105802392965 0.12% 0.13% 1.00x
is_address_type[invalid] 0.00003919558594358603 0.000039145617277392604 0.13% 0.13% 1.00x
is_address_type[string] 0.00003852904298480637 0.000038438109826317854 0.24% 0.24% 1.00x
is_address_type[tuple-array] 0.00003911079362902492 0.00003912617699171274 -0.04% -0.04% 1.00x
is_address_type[tuple] 0.00003861749775059495 0.00003846023027629876 0.41% 0.41% 1.00x
is_address_type[uint256] 0.00004191171173292832 0.00004146062069569234 1.08% 1.09% 1.01x
is_array_type[address] 0.0003444416610523988 0.000348676744964097 -1.23% -1.21% 0.99x
is_array_type[array] 0.0003443861728762335 0.0003528995083824222 -2.47% -2.41% 0.98x
is_array_type[bool] 0.00032123590041854616 0.0003253272950230795 -1.27% -1.26% 0.99x
is_array_type[bytes] 0.0003274102176557747 0.00033332976688573975 -1.81% -1.78% 0.98x
is_array_type[bytes32] 0.00034435859174898565 0.0003487553507624399 -1.28% -1.26% 0.99x
is_array_type[bytes33] 0.0003475575595121685 0.00034996677468148736 -0.69% -0.69% 0.99x
is_array_type[empty] 0.00026767568041385475 0.000269358003899348 -0.63% -0.62% 0.99x
is_array_type[enum] 0.00033583038751480536 0.00034078647470199 -1.48% -1.45% 0.99x
is_array_type[int256] 0.00034302273978283185 0.0003403970500707619 0.77% 0.77% 1.01x
is_array_type[invalid] 0.00035327701747390854 0.0003583484560468991 -1.44% -1.42% 0.99x
is_array_type[string] 0.00033663484414265057 0.00034142915587300106 -1.42% -1.40% 0.99x
is_array_type[tuple-array] 0.0003430547909721179 0.0003503140060213131 -2.12% -2.07% 0.98x
is_array_type[tuple] 0.00033099288933952244 0.00033582979361063077 -1.46% -1.44% 0.99x
is_array_type[uint256] 0.00034425667940439383 0.00035057090706091095 -1.83% -1.80% 0.98x
is_bool_type[address] 0.00003863146025288105 0.00003859788797146071 0.09% 0.09% 1.00x
is_bool_type[array] 0.000039234185726045346 0.000039277114623134196 -0.11% -0.11% 1.00x
is_bool_type[bool] 0.000038755323299283094 0.00003878922218381775 -0.09% -0.09% 1.00x
is_bool_type[bytes] 0.00003850614057252508 0.00003852128628415195 -0.04% -0.04% 1.00x
is_bool_type[bytes32] 0.00003852348275363408 0.000038511847218738976 0.03% 0.03% 1.00x
is_bool_type[bytes33] 0.0000391623149081823 0.0000392284440864365 -0.17% -0.17% 1.00x
is_bool_type[empty] 0.00003859974132821774 0.000038527834938154746 0.19% 0.19% 1.00x
is_bool_type[enum] 0.000039392949104129224 0.000039259380586945495 0.34% 0.34% 1.00x
is_bool_type[int256] 0.00003846557758685594 0.00003854408886960305 -0.20% -0.20% 1.00x
is_bool_type[invalid] 0.000039147521111458994 0.00003917422356173551 -0.07% -0.07% 1.00x
is_bool_type[string] 0.000038515066934173346 0.0000384520553906152 0.16% 0.16% 1.00x
is_bool_type[tuple-array] 0.0000392139047722336 0.00003913841918611917 0.19% 0.19% 1.00x
is_bool_type[tuple] 0.00003847697681483301 0.00003847901198399338 -0.01% -0.01% 1.00x
is_bool_type[uint256] 0.000038461226140589656 0.000038549474489537105 -0.23% -0.23% 1.00x
is_bytes_type[address] 0.00028163383376575 0.0002813650934029584 0.10% 0.10% 1.00x
is_bytes_type[array] 0.0002815264498332877 0.00028437983894619064 -1.01% -1.00% 0.99x
is_bytes_type[bool] 0.0002517140321997557 0.00025115336224228456 0.22% 0.22% 1.00x
is_bytes_type[bytes] 0.00024998791887602173 0.00025088653730266267 -0.36% -0.36% 1.00x
is_bytes_type[bytes32] 0.0002758887216038416 0.00027692101083878214 -0.37% -0.37% 1.00x
is_bytes_type[bytes33] 0.0002808995298375188 0.0002807534918115619 0.05% 0.05% 1.00x
is_bytes_type[empty] 0.0002516518299209083 0.0002510719274457908 0.23% 0.23% 1.00x
is_bytes_type[enum] 0.00026442494128782354 0.00026571978959379945 -0.49% -0.49% 1.00x
is_bytes_type[int256] 0.00026420665761892694 0.0002657821622300696 -0.60% -0.59% 0.99x
is_bytes_type[invalid] 0.0002506361284576362 0.00025591806752594946 -2.11% -2.06% 0.98x
is_bytes_type[string] 0.0002642165846685994 0.0002656555053276514 -0.54% -0.54% 0.99x
is_bytes_type[tuple-array] 0.00025114298318810747 0.0002513102741883738 -0.07% -0.07% 1.00x
is_bytes_type[tuple] 0.00025408739870789483 0.00025415944453304937 -0.03% -0.03% 1.00x
is_bytes_type[uint256] 0.00028118591994004253 0.0002812944295257667 -0.04% -0.04% 1.00x
is_int_type[address] 0.00018129577322377336 0.0001811852582357002 0.06% 0.06% 1.00x
is_int_type[array] 0.00018076956484108209 0.00018091921863944407 -0.08% -0.08% 1.00x
is_int_type[bool] 0.00018047024575736364 0.00018078602637148396 -0.17% -0.17% 1.00x
is_int_type[bytes] 0.0001919503696028806 0.0001918350393469954 0.06% 0.06% 1.00x
is_int_type[bytes32] 0.0001809792643266151 0.0001812991976429048 -0.18% -0.18% 1.00x
is_int_type[bytes33] 0.00018087555346851228 0.0001807663566587733 0.06% 0.06% 1.00x
is_int_type[empty] 0.00018110175620349362 0.00018122051081929496 -0.07% -0.07% 1.00x
is_int_type[enum] 0.00020304101378272482 0.00020287687735904468 0.08% 0.08% 1.00x
is_int_type[int256] 0.00020495568344650736 0.0002049562371248463 -0.00% -0.00% 1.00x
is_int_type[invalid] 0.0001808426540591014 0.0001810133818032839 -0.09% -0.09% 1.00x
is_int_type[string] 0.00020301765407933738 0.00020501895204355094 -0.99% -0.98% 0.99x
is_int_type[tuple-array] 0.0001808215974313982 0.00018144926714602143 -0.35% -0.35% 1.00x
is_int_type[tuple] 0.00019187065027916116 0.00019297559396444681 -0.58% -0.57% 0.99x
is_int_type[uint256] 0.0001811754797090499 0.00018136726457618942 -0.11% -0.11% 1.00x
is_probably_enum[address] 0.00005712531777188119 0.000057498254322942836 -0.65% -0.65% 0.99x
is_probably_enum[empty] 0.00005313429359918542 0.00005431312942623436 -2.22% -2.17% 0.98x
is_probably_enum[enum] 0.000056233563075114064 0.00005717522355956351 -1.67% -1.65% 0.98x
is_probably_enum[lib-dot] 0.00005697360353478606 0.00005805087390315549 -1.89% -1.86% 0.98x
is_probably_enum[lib-enum] 0.00006412693080058409 0.00006533127955346901 -1.88% -1.84% 0.98x
is_probably_enum[uint256] 0.00005639697420770589 0.00005745967792977709 -1.88% -1.85% 0.98x
is_recognized_type[address] 0.00006822114248461893 0.00007227382652313492 -5.94% -5.61% 0.94x
is_recognized_type[array] 0.00007194659367669505 0.0000762710951910314 -6.01% -5.67% 0.94x
is_recognized_type[bool] 0.00006795294818256823 0.00007236712791421414 -6.50% -6.10% 0.94x
is_recognized_type[bytes] 0.00011830040837144915 0.00012221333008388568 -3.31% -3.20% 0.97x
is_recognized_type[bytes32] 0.00011620370027502052 0.00012079785579109457 -3.95% -3.80% 0.96x
is_recognized_type[bytes33] 0.00010951659935052242 0.00011266307456608352 -2.87% -2.79% 0.97x
is_recognized_type[empty] 0.000053115382428857966 0.0000570834639165164 -7.47% -6.95% 0.93x
is_recognized_type[enum] 0.00007634453859103923 0.00008028540673719553 -5.16% -4.91% 0.95x
is_recognized_type[int256] 0.00010054466421381632 0.00010459412903330342 -4.03% -3.87% 0.96x
is_recognized_type[invalid] 0.00007680574341998507 0.00008035037250821072 -4.62% -4.41% 0.96x
is_recognized_type[string] 0.0000902532144669397 0.00009443636367294976 -4.63% -4.43% 0.96x
is_recognized_type[tuple-array] 0.00007666348919955011 0.00008038940902766615 -4.86% -4.63% 0.95x
is_recognized_type[tuple] 0.00007626554431222278 0.00008060072831869872 -5.68% -5.38% 0.95x
is_recognized_type[uint256] 0.00009913777563460469 0.00010329553281452807 -4.19% -4.03% 0.96x
is_string_type[address] 0.00003850111158058868 0.00003842753257861763 0.19% 0.19% 1.00x
is_string_type[array] 0.00003913496498388519 0.00003918224946719565 -0.12% -0.12% 1.00x
is_string_type[bool] 0.00003847706086745532 0.000038465218908842325 0.03% 0.03% 1.00x
is_string_type[bytes] 0.000038462411058240206 0.000038432693387040284 0.08% 0.08% 1.00x
is_string_type[bytes32] 0.00003840979396353237 0.000038446392497620184 -0.10% -0.10% 1.00x
is_string_type[bytes33] 0.00003913643622457292 0.000039132707644318764 0.01% 0.01% 1.00x
is_string_type[empty] 0.000038454506594083836 0.00003898073149153516 -1.37% -1.35% 0.99x
is_string_type[enum] 0.000041981359337424586 0.00004200383199771261 -0.05% -0.05% 1.00x
is_string_type[int256] 0.00004178218552000614 0.00004149712645813101 0.68% 0.69% 1.01x
is_string_type[invalid] 0.00003915311307260597 0.00003914498562272635 0.02% 0.02% 1.00x
is_string_type[string] 0.000038667360292441126 0.00003869705699763616 -0.08% -0.08% 1.00x
is_string_type[tuple-array] 0.00003922935374629472 0.00003914610434606826 0.21% 0.21% 1.00x
is_string_type[tuple] 0.00003839942582801114 0.0000384780513302185 -0.20% -0.20% 1.00x
is_string_type[uint256] 0.00003844034876767736 0.00003848765358706811 -0.12% -0.12% 1.00x
is_uint_type[address] 0.00020365846525427711 0.0002031630942630436 0.24% 0.24% 1.00x
is_uint_type[array] 0.00020310003793436694 0.0002030303923258083 0.03% 0.03% 1.00x
is_uint_type[bool] 0.00018156186853694227 0.00018119713808654957 0.20% 0.20% 1.00x
is_uint_type[bytes] 0.00018078176267073915 0.00018028358464486995 0.28% 0.28% 1.00x
is_uint_type[bytes32] 0.00020368086652664352 0.00020370613986360155 -0.01% -0.01% 1.00x
is_uint_type[bytes33] 0.00020341228349799085 0.0002032397189017062 0.08% 0.08% 1.00x
is_uint_type[empty] 0.00018192514533511852 0.0001811963839542548 0.40% 0.40% 1.00x
is_uint_type[enum] 0.00019219775370712963 0.0001917034247781419 0.26% 0.26% 1.00x
is_uint_type[int256] 0.00019211232816070462 0.00019133715017359432 0.40% 0.41% 1.00x
is_uint_type[invalid] 0.00018138016269654062 0.00018095147111210391 0.24% 0.24% 1.00x
is_uint_type[string] 0.0001921378423789107 0.00019211111866390785 0.01% 0.01% 1.00x
is_uint_type[tuple-array] 0.00018127269810577217 0.00018107709831069517 0.11% 0.11% 1.00x
is_uint_type[tuple] 0.00018067817447378308 0.00018092187257716518 -0.13% -0.13% 1.00x
is_uint_type[uint256] 0.0002053954750476677 0.0002050506254634098 0.17% 0.17% 1.00x
length_of_array_type[dynamic] 0.00014685008394091956 0.00014830577686748662 -0.99% -0.98% 0.99x
length_of_array_type[fixed] 0.00015902759903009214 0.00015691522615903514 1.33% 1.35% 1.01x
length_of_array_type[nested] 0.00016682047478079034 0.00017457996668190126 -4.65% -4.44% 0.96x
map_abi_data 0.00554699085092941 0.004543696318403736 18.09% 22.08% 1.22x
normalize_event_input_types 0.0003676174072764636 0.00037580544858281477 -2.23% -2.18% 0.98x
receive_func_abi_exists 0.00028300016609509015 0.0002801098921301181 1.02% 1.03% 1.01x
strip_abi_types 0.0014500286233374061 0.0014575732570519606 -0.52% -0.52% 0.99x
sub_type_of_array_type[nested] 0.0001593247547368276 0.00016166746422119967 -1.47% -1.45% 0.99x
sub_type_of_array_type[simple] 0.0001488968065993148 0.00015220308719265252 -2.22% -2.17% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000018776936693036193 0.000019641268304585723 -4.60% -4.40% 0.96x
is_hex_encoded_block_hash[invalid-g] 0.00008273062444244043 0.00005612084448089484 32.16% 47.42% 1.47x
is_hex_encoded_block_hash[none] 0.000018783868129201317 0.00001968645485656167 -4.81% -4.58% 0.95x
is_hex_encoded_block_hash[short] 0.00004172653983977511 0.000025208439522355892 39.59% 65.53% 1.66x
is_hex_encoded_block_hash[too-long] 0.00004152553043561626 0.000024971649373298693 39.86% 66.29% 1.66x
is_hex_encoded_block_hash[too-short] 0.00004138582529002995 0.00002518094746601709 39.16% 64.35% 1.64x
is_hex_encoded_block_hash[valid-a] 0.00009311496269897837 0.00006531622265936059 29.85% 42.56% 1.43x
is_hex_encoded_block_hash[valid-f] 0.00009143399627253431 0.0000641451781882919 29.85% 42.54% 1.43x
is_hex_encoded_block_number[int] 0.000018780293470404522 0.000019695036072465165 -4.87% -4.64% 0.95x
is_hex_encoded_block_number[invalid-g] 0.00015821195362284557 0.00019740915454297174 -24.78% -19.86% 0.80x
is_hex_encoded_block_number[max-64-a] 0.00010347469997001933 0.0000757665961752363 26.78% 36.57% 1.37x
is_hex_encoded_block_number[max-64-f] 0.00010349859733619122 0.00007391632738829134 28.58% 40.02% 1.40x
is_hex_encoded_block_number[none] 0.00001888404866154133 0.000019690046548990814 -4.27% -4.09% 0.96x
is_hex_encoded_block_number[small] 0.00008833985624338302 0.00004102131010403561 53.56% 115.35% 2.15x
is_hex_encoded_block_number[too-long] 0.00010377593996802139 0.00005791247915125325 44.19% 79.19% 1.79x
is_predefined_block_number[bytes-latest] 0.000029638472343322282 0.00002569679003723952 13.30% 15.34% 1.15x
is_predefined_block_number[bytes-pending] 0.00002990355871918747 0.000025864007674684393 13.51% 15.62% 1.16x
is_predefined_block_number[bytes-random] 0.00002888837838348285 0.000024869937280870032 13.91% 16.16% 1.16x
is_predefined_block_number[int] 0.000030519862695315816 0.00002239854104042042 26.61% 36.26% 1.36x
is_predefined_block_number[none] 0.00011499731124728468 0.0001873422230882384 -62.91% -38.62% 0.61x
is_predefined_block_number[object] 0.0001375214879719491 0.000216490854409033 -57.42% -36.48% 0.64x
is_predefined_block_number[str-earliest] 0.00001260994789836312 0.000008507853181450598 32.53% 48.22% 1.48x
is_predefined_block_number[str-finalized] 0.000012594620323110373 0.000008521852357862939 32.34% 47.79% 1.48x
is_predefined_block_number[str-foo] 0.000012565372485922734 0.000008434133607280142 32.88% 48.98% 1.49x
is_predefined_block_number[str-latest] 0.000012646865766468056 0.000008510920569822552 32.70% 48.60% 1.49x
is_predefined_block_number[str-pending] 0.00001258244955900645 0.00000854518203591094 32.09% 47.25% 1.47x
is_predefined_block_number[str-safe] 0.000012599230344210292 0.000008505026277472876 32.50% 48.14% 1.48x
select_method_for_block_identifier[hash-bytes] 0.000048059275490103564 0.000038411728922753254 20.07% 25.12% 1.25x
select_method_for_block_identifier[hash-hexstr] 0.00012458601157373046 0.00008315307088459014 33.26% 49.83% 1.50x
select_method_for_block_identifier[invalid-none] 0.00082428934396403 0.0009722319669158214 -17.95% -15.22% 0.85x
select_method_for_block_identifier[invalid-object] 0.0008640666492224883 0.001019993397142904 -18.05% -15.29% 0.85x
select_method_for_block_identifier[number-hexstr] 0.00016143065853469168 0.00007757042751685059 51.95% 108.11% 2.08x
select_method_for_block_identifier[number-int] 0.00010501111389940201 0.00005388959091191615 48.68% 94.86% 1.95x
select_method_for_block_identifier[predefined-bytes] 0.00004627862301988332 0.000038002892094329444 17.88% 21.78% 1.22x
select_method_for_block_identifier[predefined-str] 0.000026597548960139908 0.000019164126086198748 27.95% 38.79% 1.39x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00042054035444539974 0.0004941191013205546 -17.50% -14.89% 0.85x
PropertyCheckingFactory[big-valid] 0.0004211960501905989 0.0004948761849400235 -17.49% -14.89% 0.85x
PropertyCheckingFactory[inheritance] 0.0008617282989036532 0.0008309285100989163 3.57% 3.71% 1.04x
PropertyCheckingFactory[invalid] 0.0004218996537203807 0.0004928195290014841 -16.81% -14.39% 0.86x
PropertyCheckingFactory[multi-normalizer] 0.0004206111872029543 0.0004931141413881472 -17.24% -14.70% 0.85x
PropertyCheckingFactory[multi-prop] 0.0004220756846579918 0.000494607599888559 -17.18% -14.66% 0.85x
PropertyCheckingFactory[normalized] 0.0004250539256794298 0.000492985680040414 -15.98% -13.78% 0.86x
PropertyCheckingFactory[valid] 0.0011303761641371253 0.0008555118500038572 24.32% 32.13% 1.32x
verify_attr[empty] 0.00008552316865709452 0.0001422248241339205 -66.30% -39.87% 0.60x
verify_attr[found-end] 0.000011530887674554655 0.000009313854455346838 19.23% 23.80% 1.24x
verify_attr[found-start] 0.000008694381604108174 0.000006782206647993324 21.99% 28.19% 1.28x
verify_attr[large-found] 0.00011474226004419025 0.00011225257729605434 2.17% 2.22% 1.02x
verify_attr[large-notfound] 0.00017416846646184744 0.00023294017886122057 -33.74% -25.23% 0.75x
verify_attr[notfound] 0.00008943282571232694 0.00014684293187305076 -64.19% -39.10% 0.61x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006035009679690904 0.0006161258544990285 -2.09% -2.05% 0.98x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.0000685197015079388 0.000021143846505571217 69.14% 224.06% 3.24x
percentile[100-90th] 0.00010292532447526158 0.00005104935874436924 50.40% 101.62% 2.02x
percentile[100k-99th] 0.05278099431580143 0.05263433515789841 0.28% 0.28% 1.00x
percentile[100k-median] 0.05286027273685154 0.05274621047364666 0.22% 0.22% 1.00x
percentile[10k-10th] 0.004427456484299584 0.004337732368420595 2.03% 2.07% 1.02x
percentile[10k-99th] 0.004398475715550174 0.004334685296939566 1.45% 1.47% 1.01x
percentile[10k-median] 0.004468078695047026 0.004318837639138822 3.34% 3.46% 1.03x
percentile[1k-99th] 0.0005223554336443849 0.0004572025108057438 12.47% 14.25% 1.14x
percentile[1M-median] 0.7383950412000558 0.745480305000001 -0.96% -0.95% 0.99x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000011688595972656099 0.0000060251335052427546 48.45% 94.00% 1.94x
to_bytes_if_hex[empty-str] 0.00029160119442795713 0.00003425374849814411 88.25% 751.30% 8.51x
to_bytes_if_hex[hexstr] 0.00032264239182089934 0.0000409739527943055 87.30% 687.43% 7.87x
to_bytes_if_hex[large-hex] 0.00032725997778058636 0.000046050754387304355 85.93% 610.65% 7.11x
to_bytes_if_hex[non-prefixed-hex] 0.0002974344352988986 0.00003914532492470091 86.84% 659.82% 7.60x
to_bytes_if_hex[nothex] 0.0003832820335252494 0.000249218765553027 34.98% 53.79% 1.54x
to_bytes_if_hex[unicode] 0.0003971750267228031 0.00025781130186693416 35.09% 54.06% 1.54x
to_bytes_if_hex[zero] 0.0003194275796788538 0.00004072174070126017 87.25% 684.42% 7.84x
to_hex_if_bytes[bytes] 0.00021367599712399788 0.00004579727639931277 78.57% 366.57% 4.67x
to_hex_if_bytes[empty-bytes] 0.00019565407761381592 0.000037547076082458365 80.81% 421.09% 5.21x
to_hex_if_bytes[empty-str] 0.00008702355915911958 0.0001666240791964226 -91.47% -47.77% 0.52x
to_hex_if_bytes[hexstr] 0.0002545522729474245 0.00002158455715675242 91.52% 1079.33% 11.79x
to_hex_if_bytes[large-bytes] 0.00021738068872342758 0.00004817669993885989 77.84% 351.22% 4.51x
to_hex_if_bytes[non-prefixed-hex] 0.00008850622642418647 0.00016484419811898924 -86.25% -46.31% 0.54x
to_hex_if_bytes[not-hex] 0.00009044615236148005 0.0001648505182776432 -82.26% -45.13% 0.55x
to_hex_if_bytes[unicode] 0.0000917049916473853 0.0001684749937525596 -83.71% -45.57% 0.54x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00028946075590672774 0.0000947496284653653 67.27% 205.50% 3.06x
all_in_dict[empty-dict] 0.00024195446305142398 0.00006972431601243968 71.18% 247.02% 3.47x
all_in_dict[empty-list] 0.00024252490526882286 0.00007904332150578885 67.41% 206.83% 3.07x
all_in_dict[mixed-types] 0.00028940457974632673 0.00009933934809420882 65.67% 191.33% 2.91x
all_in_dict[no-overlap] 0.0002595753668252166 0.00008128265706769572 68.69% 219.35% 3.19x
all_in_dict[none-in] 0.00025898761357664665 0.0000810638261695194 68.70% 219.49% 3.19x
all_in_dict[one-in] 0.0002664783192254207 0.00008648339830265867 67.55% 208.13% 3.08x
all_in_dict[partial-overlap] 0.00029834849125973676 0.00009472776820846853 68.25% 214.95% 3.15x
all_in_dict[value-none] 0.0002664584530040678 0.0000867944170311605 67.43% 207.00% 3.07x
any_in_dict[all-in] 0.00026022113594949904 0.00008346052354497299 67.93% 211.79% 3.12x
any_in_dict[empty-dict] 0.00028665294245856543 0.0000843286084523738 70.58% 239.92% 3.40x
any_in_dict[empty-list] 0.0002509735918527947 0.0000783011893145173 68.80% 220.52% 3.21x
any_in_dict[mixed-types] 0.0002584958631705719 0.0000835271527769973 67.69% 209.48% 3.09x
any_in_dict[no-overlap] 0.0003131073723008561 0.00009768474688685517 68.80% 220.53% 3.21x
any_in_dict[none-in] 0.00027615413883570164 0.00008733203162833761 68.38% 216.21% 3.16x
any_in_dict[one-in] 0.0002588713028895913 0.00008178438953368043 68.41% 216.53% 3.17x
any_in_dict[partial-overlap] 0.00025943945105665674 0.00008256099910641762 68.18% 214.24% 3.14x
any_in_dict[value-none] 0.0002572160962878555 0.00008179524576116908 68.20% 214.46% 3.14x
either_set_is_a_subset[both-empty] 0.00015684678537782135 0.00015411103843825365 1.74% 1.78% 1.02x
either_set_is_a_subset[empty-set1] 0.00015599777207923947 0.00015962100300346795 -2.32% -2.27% 0.98x
either_set_is_a_subset[empty-set2] 0.00024177975225169436 0.0002659865442871679 -10.01% -9.10% 0.91x
either_set_is_a_subset[identical] 0.0001650864207365228 0.00017016448290930867 -3.08% -2.98% 0.97x
either_set_is_a_subset[mixed-types] 0.00017185304280289892 0.00017201826101687708 -0.10% -0.10% 1.00x
either_set_is_a_subset[not-subset] 0.0002518969948342199 0.00024079442975808793 4.41% 4.61% 1.05x
either_set_is_a_subset[partial-overlap] 0.00027543837059612033 0.0002891965904166553 -5.00% -4.76% 0.95x
either_set_is_a_subset[subset] 0.00017115456289393458 0.00016889798390120212 1.32% 1.34% 1.01x
either_set_is_a_subset[superset] 0.0002755401488031759 0.000295661631092018 -7.30% -6.81% 0.93x
none_in_dict[all-in] 0.0002756453633188103 0.00008491215737509213 69.20% 224.62% 3.25x
none_in_dict[empty-dict] 0.0003024810570810631 0.00008514857105037407 71.85% 255.24% 3.55x
none_in_dict[empty-list] 0.0002640131839908086 0.0000803076345879002 69.58% 228.75% 3.29x
none_in_dict[mixed-types] 0.00027603524572187454 0.00008449836978838251 69.39% 226.68% 3.27x
none_in_dict[no-overlap] 0.0003275815826870408 0.00010095188678598921 69.18% 224.49% 3.24x
none_in_dict[none-in] 0.00029363475769364077 0.0000889109569312326 69.72% 230.26% 3.30x
none_in_dict[one-in] 0.00027421246672347646 0.00008330823358492265 69.62% 229.15% 3.29x
none_in_dict[partial-overlap] 0.0002733658056485528 0.0000838871372017822 69.31% 225.87% 3.26x
none_in_dict[value-none] 0.0002730085183208526 0.00008333099509981009 69.48% 227.62% 3.28x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0013617088986525479 0.0013633730918364458 -0.12% -0.12% 1.00x
attributedict_hash[flat] 0.0010904760479580509 0.0010303702134660721 5.51% 5.83% 1.06x
attributedict_hash[nested] 0.0015677669242668653 0.0015724150721040605 -0.30% -0.30% 1.00x
attributedict_init[empty] 0.0000786996626593165 0.00007864022814272173 0.08% 0.08% 1.00x
attributedict_init[large] 0.00011666344133360748 0.00011656897524958646 0.08% 0.08% 1.00x
attributedict_init[small] 0.00008762069264028506 0.00008776781133269089 -0.17% -0.17% 1.00x
mutableattributedict_delitem 0.0003768176898981922 0.00037900807098107645 -0.58% -0.58% 0.99x
mutableattributedict_setitem 0.0003158779212941591 0.0003165219457092245 -0.20% -0.20% 1.00x
namedelementonion_add 0.00795409349999924 0.029580004394734703 -271.88% -73.11% 0.27x
namedelementonion_as_tuple_of_middleware 0.00014232879984576153 0.00014155722095613758 0.54% 0.55% 1.01x
namedelementonion_contains 0.000029146238365771245 0.000029106137196443356 0.14% 0.14% 1.00x
namedelementonion_getitem 0.000026099395440311334 0.000026131709131516187 -0.12% -0.12% 1.00x
namedelementonion_init[callables2] 0.00012636167064214286 0.00012613856051304112 0.18% 0.18% 1.00x
namedelementonion_init[callables3] 0.00016217755840067856 0.00016219509935048036 -0.01% -0.01% 1.00x
namedelementonion_init[empty] 0.00004262093141811969 0.000042958597383918914 -0.79% -0.79% 0.99x
namedelementonion_inject 0.035527789493673044 0.03580151324998345 -0.77% -0.76% 0.99x
namedelementonion_iter 0.0001500496210604898 0.0001503819216602904 -0.22% -0.22% 1.00x
namedelementonion_remove 0.0006603269141864875 0.0006628786000019255 -0.39% -0.38% 1.00x
namedelementonion_replace 0.002309614902619798 0.002305556418822401 0.18% 0.18% 1.00x
readableattributedict_getitem[large] 0.000013929948948981457 0.000013817997688303595 0.80% 0.81% 1.01x
readableattributedict_getitem[small] 0.000013414372300981411 0.000013327996463545883 0.64% 0.65% 1.01x
readableattributedict_init[empty] 0.000049089507692661156 0.00004889974940097847 0.39% 0.39% 1.00x
readableattributedict_init[large] 0.0000842690119577237 0.00008586969703305884 -1.90% -1.86% 0.98x
readableattributedict_init[small] 0.000057524530160283316 0.000057527707663416236 -0.01% -0.01% 1.00x
readableattributedict_recursive[list-in-dict] 0.0008520028762209153 0.0008540924815124765 -0.25% -0.24% 1.00x
readableattributedict_recursive[nested-dict] 0.0008841495496866727 0.000889817604105504 -0.64% -0.64% 0.99x
readableattributedict_recursive[set] 0.0004518515197784382 0.0004486460407880143 0.71% 0.71% 1.01x
tupleize_lists_nested[list-in-dict] 0.000797486412445111 0.0007969576601834153 0.07% 0.07% 1.00x
tupleize_lists_nested[tuple-in-dict] 0.0008653712478501751 0.0008673294452003009 -0.23% -0.23% 1.00x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.00031560370803872435 0.00023677946114379787 24.98% 33.29% 1.33x
simplecache_cache[100] 0.002516623057000203 0.0017599935214324854 30.07% 42.99% 1.43x
simplecache_cache[1000] 0.025772685025621727 0.016710417599987672 35.16% 54.23% 1.54x
simplecache_eviction[10] 0.0005623578514367002 0.0005632353140239912 -0.16% -0.16% 1.00x
simplecache_eviction[100] 0.005009997308069146 0.004978771034825174 0.62% 0.63% 1.01x
simplecache_pop[10] 0.0004332054402583434 0.0003576460515442452 17.44% 21.13% 1.21x
simplecache_pop[100] 0.003564675654533031 0.0027773509152544482 22.09% 28.35% 1.28x
simplecache_retrieval[10] 0.0000813793508189152 0.00005282191578079941 35.09% 54.06% 1.54x
simplecache_retrieval[100] 0.0007491645842048386 0.0004264691431045594 43.07% 75.67% 1.76x

@BobTheBuidler BobTheBuidler force-pushed the events branch 2 times, most recently from 43a798a to 112d454 Compare October 16, 2025 03:34
@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.0000018082562065506617 9.898321817300526e-7 45.26% 82.68% 1.83x
is_valid_name[a..eth] 0.000024790199473371738 0.0000299823420447703 -20.94% -17.32% 0.83x
is_valid_name[a.eth..] 0.00002569800713424681 0.000030477923833128225 -18.60% -15.68% 0.84x
is_valid_name[a.eth.] 0.000025619554130706957 0.00003003632433907567 -17.24% -14.70% 0.85x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23319422099993972 0.2514521088000038 -7.83% -7.26% 0.93x
is_valid_name[alice.eth] 0.010562636762905331 0.010808299097818788 -2.33% -2.27% 0.98x
is_valid_name[bob.eth] 0.006453014210199827 0.0066561135131600595 -3.15% -3.05% 0.97x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2635138767999706 0.25593733859996065 2.88% 2.96% 1.03x
is_valid_name[subdomain.alice.eth] 0.031838746437543364 0.033522574249971626 -5.29% -5.02% 0.95x
labelhash[] 0.00013140149623167043 0.00008114347840864464 38.25% 61.94% 1.62x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22907548579978537 0.22977699720004238 -0.31% -0.31% 1.00x
labelhash[alice] 0.007819405867170559 0.007823176160018193 -0.05% -0.05% 1.00x
labelhash[bob] 0.0034832499581921895 0.003459109261303204 0.69% 0.70% 1.01x
labelhash[emoji\U0001f468\U0001f3fb] 0.2808751198000209 0.2318904579999071 17.44% 21.12% 1.21x
labelhash[xn--fiqs8s] 0.02430660248776293 0.02492462845001455 -2.54% -2.48% 0.98x
namehash[] 0.000009822373195551997 0.0000031959686501132783 67.46% 207.34% 3.07x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4673389993999081 0.48528254660004677 -3.84% -3.70% 0.96x
namehash[alice.eth] 0.02260035258691657 0.022777178613668268 -0.78% -0.78% 0.99x
namehash[bob.eth] 0.013543197535747302 0.013824514162172057 -2.08% -2.03% 0.98x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5689796106001268 0.5130190426000809 9.84% 10.91% 1.11x
namehash[subdomain.alice.eth] 0.06751059687496763 0.06517434143745504 3.46% 3.58% 1.04x
nameprep[] 0.000008495823529998782 0.0000029799785236943442 64.92% 185.10% 2.85x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23774893619993237 0.2453596130000733 -3.20% -3.10% 0.97x
nameprep[alice.eth] 0.010523634071428112 0.011008426322218334 -4.61% -4.40% 0.96x
nameprep[bob.eth] 0.006241043762511822 0.006731115376612263 -7.85% -7.28% 0.93x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.2669713031999891 0.2431644941999366 8.92% 9.79% 1.10x
nameprep[subdomain.alice.eth] 0.03174096831254758 0.03473148899997795 -9.42% -8.61% 0.91x
parent[] 0.000001022505983903297 8.295907977722532e-7 18.87% 23.25% 1.23x
parent[bar.eth] 0.000003721109890894464 0.000002574504716217785 30.81% 44.54% 1.45x
parent[eth] 0.000002005460961470989 0.0000015262516315085546 23.90% 31.40% 1.31x
parent[foo.bar.eth] 0.0000042429173816851615 0.0000032150593025441957 24.23% 31.97% 1.32x
parent[sub.sub2.foo.bar.eth] 0.000005087302719160215 0.000003945561658667134 22.44% 28.94% 1.29x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00004998511375710069 0.000016525418980328637 66.94% 202.47% 3.02x
reverse_domain[0x1111111111111111111111111111111111111111] 0.000050516728307114143 0.000016646419593430184 67.05% 203.47% 3.03x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000050520621906033355 0.000016666356589303237 67.01% 203.13% 3.03x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013778314140359104 0.000013735783821967738 0.31% 0.31% 1.00x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013941013858606553 0.000013870037585346581 0.51% 0.51% 1.01x
address[alice.eth] 0.000013666717256440979 0.000014068038235557867 -2.94% -2.85% 0.97x
address[bob.eth] 0.000013541815927294886 0.000013860452376407133 -2.35% -2.30% 0.98x
address[emoji\U0001f468\U0001f3fb.eth] 0.000013815623263194362 0.000013917608299721101 -0.74% -0.73% 0.99x
address[subdomain.alice.eth] 0.000013921420063804073 0.000013835599864438398 0.62% 0.62% 1.01x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014299656928838629 0.00014500810921411387 -1.41% -1.39% 0.99x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0001435103916419145 0.0001451708315086803 -1.16% -1.14% 0.99x
normalize_name_ensip15[alice.eth] 0.00014825640177810244 0.0001431245359523366 3.46% 3.59% 1.04x
normalize_name_ensip15[bob.eth] 0.000142426428992157 0.00014396147761215345 -1.08% -1.07% 0.99x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.0001495807266137512 0.000148282794269231 0.87% 0.88% 1.01x
normalize_name_ensip15[subdomain.alice.eth] 0.00014422261017338342 0.00014559245267809493 -0.95% -0.94% 0.99x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.002485230862957167 0.0008184557950092615 67.07% 203.65% 3.04x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0025358990511528605 0.0008094267610122811 68.08% 213.30% 3.13x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.002535378467000971 0.0008104683133947502 68.03% 212.83% 3.13x
dns_encode_name[] 0.000006735985066747765 0.000004264660695240037 36.69% 57.95% 1.58x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22625411359986175 0.23911919819993271 -5.69% -5.38% 0.95x
dns_encode_name[alice.eth] 0.010747080728270188 0.011109092076921925 -3.37% -3.26% 0.97x
dns_encode_name[bob.eth] 0.0065398339673212085 0.006694841606461142 -2.37% -2.32% 0.98x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2527139978000378 0.22878554040016752 9.47% 10.46% 1.10x
dns_encode_name[subdomain.alice.eth] 0.03135487212497878 0.03229902906254267 -3.01% -2.92% 0.97x
estimate_auction_start_gas[labels0] 0.00007572856117315507 0.00004832661047965649 36.18% 56.70% 1.57x
estimate_auction_start_gas[labels1] 0.00007639058952690031 0.000045472409989043076 40.47% 67.99% 1.68x
estimate_auction_start_gas[labels2] 0.00006735204573289206 0.000046050765148595173 31.63% 46.26% 1.46x
is_empty_name[ ] 0.000056336356176881965 0.00004026739469567073 28.52% 39.91% 1.40x
is_empty_name[.] 0.00005987574393662742 0.00003999328193908516 33.21% 49.71% 1.50x
is_empty_name[0] 0.000055892689436249904 0.00003922767561324647 29.82% 42.48% 1.42x
is_empty_name[1] 0.000056262012007321784 0.00003932300672333594 30.11% 43.08% 1.43x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005905075245434042 0.00004118391101945756 30.26% 43.38% 1.43x
is_empty_name[alice.eth] 0.000056793619349605825 0.00003908224255365732 31.19% 45.32% 1.45x
is_empty_name[bob.eth] 0.00005772043228624992 0.000038526585399208014 33.25% 49.82% 1.50x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.000060308486813772845 0.000041358308829985124 31.42% 45.82% 1.46x
is_empty_name[subdomain.alice.eth] 0.00005667867845818622 0.000039873535630838216 29.65% 42.15% 1.42x
is_none_or_zero_address[] 0.00004521297097985338 0.000039838417508460056 11.89% 13.49% 1.13x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.000050418475706328107 0.00004621805057059787 8.33% 9.09% 1.09x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.000053570299212416925 0.00004820449708068445 10.02% 11.13% 1.11x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0000533641834561751 0.000050348273561454346 5.65% 5.99% 1.06x
is_valid_ens_name[] 0.0000018348667019902393 0.0000014481707312787793 21.07% 26.70% 1.27x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23032592779991318 0.2350098946001708 -2.03% -1.99% 0.98x
is_valid_ens_name[alice.eth] 0.01077478582980338 0.011061699010790635 -2.66% -2.59% 0.97x
is_valid_ens_name[bar] 0.0000019172294996783044 0.0000015702465685270378 18.10% 22.10% 1.22x
is_valid_ens_name[baz] 0.0000019098077657084986 0.0000015673329888028312 17.93% 21.85% 1.22x
is_valid_ens_name[bob.eth] 0.006628840921043894 0.006815324385632837 -2.81% -2.74% 0.97x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.2850606609999886 0.22184588259997326 22.18% 28.49% 1.28x
is_valid_ens_name[foo] 0.0000019258095158544277 0.0000015665677845025667 18.65% 22.93% 1.23x
is_valid_ens_name[subdomain.alice.eth] 0.031540517500005194 0.03216855896870641 -1.99% -1.95% 0.98x
is_valid_name[] 0.0000015735631688507782 9.724213161836103e-7 38.20% 61.82% 1.62x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23030568619988118 0.2454889933999766 -6.59% -6.18% 0.94x
is_valid_name[alice.eth] 0.01036945167012051 0.01095091936264038 -5.61% -5.31% 0.95x
is_valid_name[bob.eth] 0.006313088672940117 0.006594868175315324 -4.46% -4.27% 0.96x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2590494753999337 0.22179329159998815 14.38% 16.80% 1.17x
is_valid_name[subdomain.alice.eth] 0.030582133823479712 0.03322185790626975 -8.63% -7.95% 0.92x
label_to_hash[] 0.00013234879462154496 0.00008079520196017013 38.95% 63.81% 1.64x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23349628959995244 0.2351431348000915 -0.71% -0.70% 0.99x
label_to_hash[alice] 0.007622478818165511 0.008091018428572964 -6.15% -5.79% 0.94x
label_to_hash[bob] 0.0035219065765291083 0.0035047938542247413 0.49% 0.49% 1.00x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2645987025998693 0.22580226000009135 14.66% 17.18% 1.17x
label_to_hash[xn--fiqs8s] 0.023949926571428175 0.025309957317082393 -5.68% -5.37% 0.95x
normal_name_to_hash[] 0.000001661009116922851 9.853882055624506e-7 40.68% 68.56% 1.69x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23873687499999505 0.24480130240008294 -2.54% -2.48% 0.98x
normal_name_to_hash[alice.eth] 0.011560529528698429 0.011739570114916687 -1.55% -1.53% 0.98x
normal_name_to_hash[bob.eth] 0.007285381108695087 0.007234866816160694 0.69% 0.70% 1.01x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.28896833779999725 0.23727389000005134 17.89% 21.79% 1.22x
normal_name_to_hash[subdomain.alice.eth] 0.03312515338708885 0.03386710480642632 -2.24% -2.19% 0.98x
normalize_name[] 0.000008135700272503078 0.0000029726471162916486 63.46% 173.69% 2.74x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23161845479999102 0.24266742899990276 -4.77% -4.55% 0.95x
normalize_name[alice.eth] 0.010322471040817804 0.01106397307689354 -7.18% -6.70% 0.93x
normalize_name[bob.eth] 0.006337197917725427 0.00676463729606188 -6.74% -6.32% 0.94x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2550275954000426 0.24946289179997622 2.18% 2.23% 1.02x
normalize_name[subdomain.alice.eth] 0.03085794427274915 0.03294767845159919 -6.77% -6.34% 0.94x
raw_name_to_hash[] 0.000009578506709054905 0.000003241621970790559 66.16% 195.49% 2.95x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.472698407399912 0.47676572460013633 -0.86% -0.85% 0.99x
raw_name_to_hash[alice.eth] 0.022378910893611974 0.023210586133336618 -3.72% -3.58% 0.96x
raw_name_to_hash[bob.eth] 0.014017010444433708 0.013820788236096683 1.40% 1.42% 1.01x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5548025849999249 0.4874331895999603 12.14% 13.82% 1.14x
raw_name_to_hash[subdomain.alice.eth] 0.0662047589374879 0.06683769893734848 -0.96% -0.95% 0.99x
sha3_text[0] 0.00011652740078684028 0.00007451676103980313 36.05% 56.38% 1.56x
sha3_text[1] 0.00011691652639166964 0.00007484403385186007 35.99% 56.21% 1.56x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012616722320199175 0.00008286329212954135 34.32% 52.26% 1.52x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012600400357305465 0.00008310458148496918 34.05% 51.62% 1.52x
sha3_text[alice.eth] 0.00012687034741433754 0.00008327022347570403 34.37% 52.36% 1.52x
sha3_text[alice] 0.00012558859320652372 0.00008297080588282765 33.93% 51.36% 1.51x
sha3_text[bob.eth] 0.00012618237692668829 0.00008263431432931225 34.51% 52.70% 1.53x
sha3_text[bob] 0.0001256723317689362 0.0000826733391239948 34.22% 52.01% 1.52x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.0001267114112419032 0.00008374676597502787 33.91% 51.30% 1.51x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012612474570486117 0.00008374004751504026 33.61% 50.61% 1.51x
sha3_text[subdomain.alice.eth] 0.0001260870778174399 0.00008305948261886282 34.13% 51.80% 1.52x
sha3_text[xn--fiqs8s] 0.00012621411087765217 0.00008297463781941733 34.26% 52.11% 1.52x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.00028940933883890655 0.0002523847142916872 12.79% 14.67% 1.15x
fallback_func_abi_exists 0.0002524379627425463 0.00024976135016652114 1.06% 1.07% 1.01x
filter_by_argument_name[a] 0.0006350540533874849 0.0003761915216691328 40.76% 68.81% 1.69x
filter_by_argument_name[a+b] 0.0006664364244704999 0.0004036110580400304 39.44% 65.12% 1.65x
filter_by_argument_name[b] 0.0006395322117171733 0.00038214691995207896 40.25% 67.35% 1.67x
filter_by_argument_name[c] 0.0006399690630060141 0.0003805633041026269 40.53% 68.16% 1.68x
filter_by_argument_name[notfound] 0.00062797688695592 0.000374215462244862 40.41% 67.81% 1.68x
filter_by_argument_type[address] 0.0005760627367220415 0.0005801871251444105 -0.72% -0.71% 0.99x
filter_by_argument_type[notatype] 0.000568341576744451 0.0005749295193926986 -1.16% -1.15% 0.99x
filter_by_argument_type[string] 0.0005770152424228207 0.0005854428764229593 -1.46% -1.44% 0.99x
filter_by_argument_type[uint+address] 0.0005853946765540407 0.0005971576971012067 -2.01% -1.97% 0.98x
filter_by_argument_type[uint256] 0.0005732843441625849 0.0005858193137902538 -2.19% -2.14% 0.98x
filter_by_types[constructor] 0.000036717924606047624 0.00003682486714259227 -0.29% -0.29% 1.00x
filter_by_types[event] 0.00003721635792925609 0.000037115668331932426 0.27% 0.27% 1.00x
filter_by_types[fallback] 0.000037925831054867054 0.000037435826926207125 1.29% 1.31% 1.01x
filter_by_types[func+event] 0.000042279791490642056 0.00004179525834982225 1.15% 1.16% 1.01x
filter_by_types[function] 0.000037667212298921366 0.00003683182216582058 2.22% 2.27% 1.02x
filter_by_types[none] 0.00003669752444050298 0.00003672669153213062 -0.08% -0.08% 1.00x
filter_by_types[receive] 0.00003812726394167237 0.00003851620389193416 -1.02% -1.01% 0.99x
find_constructor_abi_element_by_type 0.000033925751591643934 0.00003413239582117339 -0.61% -0.61% 0.99x
get_abi_element_signature[custom] 0.000052839002228279397 0.000049848879428212864 5.66% 6.00% 1.06x
get_abi_element_signature[fallback] 0.000021243366616229762 0.000021163266724037005 0.38% 0.38% 1.00x
get_abi_element_signature[receive] 0.00002815428000981081 0.000028130930103881256 0.08% 0.08% 1.00x
get_abi_element_signature[transfer] 0.000057435917575689856 0.000053596910583769086 6.68% 7.16% 1.07x
get_name_from_abi_element_identifier[custom] 0.000042149423181254774 0.00003829778925748122 9.14% 10.06% 1.10x
get_name_from_abi_element_identifier[fallback] 0.00001155932073113431 0.000011667906488992172 -0.94% -0.93% 0.99x
get_name_from_abi_element_identifier[func] 0.00004207436748445675 0.00003855553409083091 8.36% 9.13% 1.09x
get_name_from_abi_element_identifier[receive] 0.00001803109716806393 0.00001823072388855206 -1.11% -1.10% 0.99x
get_tuple_type_str_parts[not-tuple] 0.000022685717386887223 0.000021224347652784224 6.44% 6.89% 1.07x
get_tuple_type_str_parts[one-dim] 0.00007351994888190144 0.00007402514272363301 -0.69% -0.68% 0.99x
get_tuple_type_str_parts[plain] 0.000047859723664963 0.000048675751256309044 -1.71% -1.68% 0.98x
get_tuple_type_str_parts[two-dim] 0.0000907807572460602 0.00009122107299012351 -0.49% -0.48% 1.00x
is_address_type[address] 0.000042199745795806595 0.00004416547008384753 -4.66% -4.45% 0.96x
is_address_type[array] 0.000047085504735715016 0.00004556793109251248 3.22% 3.33% 1.03x
is_address_type[bool] 0.00004325521018101361 0.0000433977776447177 -0.33% -0.33% 1.00x
is_address_type[bytes] 0.00004260831634097137 0.00004350920668101547 -2.11% -2.07% 0.98x
is_address_type[bytes32] 0.00004459993077944049 0.00004447898914274893 0.27% 0.27% 1.00x
is_address_type[bytes33] 0.00004652804979051508 0.00004700393336095781 -1.02% -1.01% 0.99x
is_address_type[empty] 0.00004292206607276393 0.00004178451156936824 2.65% 2.72% 1.03x
is_address_type[enum] 0.00004440552393184114 0.00004474052924139024 -0.75% -0.75% 0.99x
is_address_type[int256] 0.00004325956931833013 0.00004361414247967554 -0.82% -0.81% 0.99x
is_address_type[invalid] 0.000044072881483629607 0.000044904936335150564 -1.89% -1.85% 0.98x
is_address_type[string] 0.00004273264372746101 0.00004318795202897146 -1.07% -1.05% 0.99x
is_address_type[tuple-array] 0.00004465054275475322 0.00004429930822578273 0.79% 0.79% 1.01x
is_address_type[tuple] 0.000042797173654326315 0.00004293308668820388 -0.32% -0.32% 1.00x
is_address_type[uint256] 0.00004502554751069061 0.000045062837861791215 -0.08% -0.08% 1.00x
is_array_type[address] 0.0003855371721318679 0.00039449276416886765 -2.32% -2.27% 0.98x
is_array_type[array] 0.00039798469690477883 0.00040719129910279245 -2.31% -2.26% 0.98x
is_array_type[bool] 0.0003613896656143408 0.0003685684189519319 -1.99% -1.95% 0.98x
is_array_type[bytes] 0.00036758624833375134 0.00037538985250212624 -2.12% -2.08% 0.98x
is_array_type[bytes32] 0.0003886227678559289 0.0003937774297090497 -1.33% -1.31% 0.99x
is_array_type[bytes33] 0.0003851098099773398 0.0003979436566922905 -3.33% -3.23% 0.97x
is_array_type[empty] 0.00029958944936646023 0.00030676248561302736 -2.39% -2.34% 0.98x
is_array_type[enum] 0.0003775973285976582 0.0003850719947542629 -1.98% -1.94% 0.98x
is_array_type[int256] 0.00038059524383740113 0.00038602335689486526 -1.43% -1.41% 0.99x
is_array_type[invalid] 0.00039777463910544846 0.00040208530755765675 -1.08% -1.07% 0.99x
is_array_type[string] 0.0003783143791031423 0.00038627000439882974 -2.10% -2.06% 0.98x
is_array_type[tuple-array] 0.0003936698912606712 0.0004101247839196967 -4.18% -4.01% 0.96x
is_array_type[tuple] 0.0003679632109127739 0.0003745674522404565 -1.79% -1.76% 0.98x
is_array_type[uint256] 0.00038843684619059815 0.00039845229392698566 -2.58% -2.51% 0.97x
is_bool_type[address] 0.00004295578744181773 0.00004337506973545236 -0.98% -0.97% 0.99x
is_bool_type[array] 0.000044203908773799414 0.000045333466383673707 -2.56% -2.49% 0.98x
is_bool_type[bool] 0.000042667333331193366 0.000042976638625822834 -0.72% -0.72% 0.99x
is_bool_type[bytes] 0.000042674171529384465 0.000043510281036719106 -1.96% -1.92% 0.98x
is_bool_type[bytes32] 0.00004323051267333516 0.00004256539681360871 1.54% 1.56% 1.02x
is_bool_type[bytes33] 0.000044623725297312243 0.00004509151913687398 -1.05% -1.04% 0.99x
is_bool_type[empty] 0.00004253472832254802 0.00004437482570840448 -4.33% -4.15% 0.96x
is_bool_type[enum] 0.000044086150066182304 0.00004509284911443035 -2.28% -2.23% 0.98x
is_bool_type[int256] 0.0000430287297863875 0.00004288147499706831 0.34% 0.34% 1.00x
is_bool_type[invalid] 0.000046219914132702916 0.000045294217527822026 2.00% 2.04% 1.02x
is_bool_type[string] 0.000043246976942622264 0.0000442307973107364 -2.27% -2.22% 0.98x
is_bool_type[tuple-array] 0.00004480182655364758 0.00004552688423571682 -1.62% -1.59% 0.98x
is_bool_type[tuple] 0.00004294693483387674 0.00004352802650613265 -1.35% -1.33% 0.99x
is_bool_type[uint256] 0.00004302400294497429 0.00004300622094355364 0.04% 0.04% 1.00x
is_bytes_type[address] 0.0003137069238651508 0.0003067038309162234 2.23% 2.28% 1.02x
is_bytes_type[array] 0.0003091714139884516 0.00031376004385341033 -1.48% -1.46% 0.99x
is_bytes_type[bool] 0.000283053165261566 0.00027951411372193966 1.25% 1.27% 1.01x
is_bytes_type[bytes] 0.00027492984253204384 0.00028544795846525446 -3.83% -3.68% 0.96x
is_bytes_type[bytes32] 0.0002982610461797423 0.0002910378381278696 2.42% 2.48% 1.02x
is_bytes_type[bytes33] 0.00031620025030656225 0.000308484457111331 2.44% 2.50% 1.03x
is_bytes_type[empty] 0.0002833385521366807 0.00028353384767915884 -0.07% -0.07% 1.00x
is_bytes_type[enum] 0.0002977422113248277 0.00029886509254127704 -0.38% -0.38% 1.00x
is_bytes_type[int256] 0.00029588287280276374 0.0002944886146731897 0.47% 0.47% 1.00x
is_bytes_type[invalid] 0.0002838374459764766 0.00028801030995077355 -1.47% -1.45% 0.99x
is_bytes_type[string] 0.00030157852946310925 0.0002942762512588498 2.42% 2.48% 1.02x
is_bytes_type[tuple-array] 0.00028250089635518483 0.0002889040699082332 -2.27% -2.22% 0.98x
is_bytes_type[tuple] 0.0002845144822056538 0.00028455598932870395 -0.01% -0.01% 1.00x
is_bytes_type[uint256] 0.00031502177953552 0.0003268011804356407 -3.74% -3.60% 0.96x
is_int_type[address] 0.00020508389687074447 0.00020062362547581996 2.17% 2.22% 1.02x
is_int_type[array] 0.00020138830596090206 0.00020031672156839732 0.53% 0.53% 1.01x
is_int_type[bool] 0.00020581881283626292 0.00020099547334265086 2.34% 2.40% 1.02x
is_int_type[bytes] 0.00021248030418286387 0.00022079917211882512 -3.92% -3.77% 0.96x
is_int_type[bytes32] 0.00020054476604896993 0.0002006259781390273 -0.04% -0.04% 1.00x
is_int_type[bytes33] 0.00020154292650670055 0.00020237810204334225 -0.41% -0.41% 1.00x
is_int_type[empty] 0.0001993180932827746 0.00020276198495517897 -1.73% -1.70% 0.98x
is_int_type[enum] 0.0002336981493027732 0.0002314703965268768 0.95% 0.96% 1.01x
is_int_type[int256] 0.00023108696747889426 0.0002341174061486242 -1.31% -1.29% 0.99x
is_int_type[invalid] 0.00020100727410365718 0.00020083252607288772 0.09% 0.09% 1.00x
is_int_type[string] 0.00023058730606845108 0.00023113977423993865 -0.24% -0.24% 1.00x
is_int_type[tuple-array] 0.00020531050450380657 0.0002051470334071052 0.08% 0.08% 1.00x
is_int_type[tuple] 0.0002202619219223882 0.00021488638093251084 2.44% 2.50% 1.03x
is_int_type[uint256] 0.00020060371670697162 0.00020465665242161765 -2.02% -1.98% 0.98x
is_probably_enum[address] 0.00006436745071061336 0.00006614740975637743 -2.77% -2.69% 0.97x
is_probably_enum[empty] 0.00005984235207065458 0.00006146440762333962 -2.71% -2.64% 0.97x
is_probably_enum[enum] 0.00006344678889506242 0.0000659447900285424 -3.94% -3.79% 0.96x
is_probably_enum[lib-dot] 0.00006502708992953387 0.00006748801639034428 -3.78% -3.65% 0.96x
is_probably_enum[lib-enum] 0.0000717905369290479 0.00007365874645347767 -2.60% -2.54% 0.97x
is_probably_enum[uint256] 0.00006378667170474712 0.0000659489209023107 -3.39% -3.28% 0.97x
is_recognized_type[address] 0.00007774214345109112 0.00008196804799267627 -5.44% -5.16% 0.95x
is_recognized_type[array] 0.00008247984450450523 0.00008709932462047333 -5.60% -5.30% 0.95x
is_recognized_type[bool] 0.00007735579791168924 0.00008205406423284816 -6.07% -5.73% 0.94x
is_recognized_type[bytes] 0.0001530088952228961 0.00016064271647507424 -4.99% -4.75% 0.95x
is_recognized_type[bytes32] 0.000147732010770908 0.0001543536563998906 -4.48% -4.29% 0.96x
is_recognized_type[bytes33] 0.00013725326851055724 0.00014485060530509996 -5.54% -5.24% 0.95x
is_recognized_type[empty] 0.00006054421476859365 0.00006377273722621601 -5.33% -5.06% 0.95x
is_recognized_type[enum] 0.00008193225556353686 0.0000893764348427532 -9.09% -8.33% 0.92x
is_recognized_type[int256] 0.00012414053692539264 0.00012872908450585013 -3.70% -3.56% 0.96x
is_recognized_type[invalid] 0.0000821619410595689 0.00008911847127690908 -8.47% -7.81% 0.92x
is_recognized_type[string] 0.00009943776036365907 0.00010729486404830554 -7.90% -7.32% 0.93x
is_recognized_type[tuple-array] 0.00008274467147881338 0.00008950481849532413 -8.17% -7.55% 0.92x
is_recognized_type[tuple] 0.00008144956067493802 0.00008949706753223602 -9.88% -8.99% 0.91x
is_recognized_type[uint256] 0.00012604211338095551 0.0001299950708522423 -3.14% -3.04% 0.97x
is_string_type[address] 0.00004354848508686117 0.00004302426006437269 1.20% 1.22% 1.01x
is_string_type[array] 0.000044838327187317604 0.00004490667071338582 -0.15% -0.15% 1.00x
is_string_type[bool] 0.00004334155034894189 0.00004374416553228423 -0.93% -0.92% 0.99x
is_string_type[bytes] 0.00004318491550095901 0.00004388461823053857 -1.62% -1.59% 0.98x
is_string_type[bytes32] 0.000043295632652407626 0.00004378104005216923 -1.12% -1.11% 0.99x
is_string_type[bytes33] 0.00004679985577658307 0.00004520768956231396 3.40% 3.52% 1.04x
is_string_type[empty] 0.000043790662410884905 0.000043397635316881 0.90% 0.91% 1.01x
is_string_type[enum] 0.00004598768888758493 0.00004616671153828056 -0.39% -0.39% 1.00x
is_string_type[int256] 0.00004461849817852753 0.000045928137741457886 -2.94% -2.85% 0.97x
is_string_type[invalid] 0.000044838898992426745 0.000045213270582620616 -0.83% -0.83% 0.99x
is_string_type[string] 0.000043071233299814365 0.000043374419459499824 -0.70% -0.70% 0.99x
is_string_type[tuple-array] 0.00004482901564768561 0.000045266469207346306 -0.98% -0.97% 0.99x
is_string_type[tuple] 0.00004320996043942739 0.00004368633745844129 -1.10% -1.09% 0.99x
is_string_type[uint256] 0.00004323273177580356 0.000044239920941994 -2.33% -2.28% 0.98x
is_uint_type[address] 0.00022566445728748805 0.00022246732847073196 1.42% 1.44% 1.01x
is_uint_type[array] 0.0002335507724565547 0.0002342303268209603 -0.29% -0.29% 1.00x
is_uint_type[bool] 0.0002006589649200731 0.00020506787292701902 -2.20% -2.15% 0.98x
is_uint_type[bytes] 0.0002065410523195743 0.00020745527246671323 -0.44% -0.44% 1.00x
is_uint_type[bytes32] 0.00023390767622699852 0.0002307532455617083 1.35% 1.37% 1.01x
is_uint_type[bytes33] 0.00023713517312277813 0.0002282920552756627 3.73% 3.87% 1.04x
is_uint_type[empty] 0.00020413848257742757 0.000199954268108762 2.05% 2.09% 1.02x
is_uint_type[enum] 0.00021792446695192435 0.00021706616377319233 0.39% 0.40% 1.00x
is_uint_type[int256] 0.0002196968258794356 0.00021560219206445366 1.86% 1.90% 1.02x
is_uint_type[invalid] 0.00020505983519289488 0.0002056089900882133 -0.27% -0.27% 1.00x
is_uint_type[string] 0.00022133235416025096 0.0002156205897126311 2.58% 2.65% 1.03x
is_uint_type[tuple-array] 0.00020608694987478713 0.00020607046153960106 0.01% 0.01% 1.00x
is_uint_type[tuple] 0.00020386058300793226 0.00020684018583562016 -1.46% -1.44% 0.99x
is_uint_type[uint256] 0.00024178255645148925 0.00022857499313122897 5.46% 5.78% 1.06x
length_of_array_type[dynamic] 0.00016449469253104496 0.00016886147191375907 -2.65% -2.59% 0.97x
length_of_array_type[fixed] 0.00017660380513610425 0.00017854721864182866 -1.10% -1.09% 0.99x
length_of_array_type[nested] 0.00018577862457126948 0.0001874426006448381 -0.90% -0.89% 0.99x
map_abi_data 0.006288353617656091 0.0050551432362771175 19.61% 24.40% 1.24x
normalize_event_input_types 0.0004138710836312822 0.0004246118577710938 -2.60% -2.53% 0.97x
receive_func_abi_exists 0.00031784544388151545 0.00031741564414529655 0.14% 0.14% 1.00x
strip_abi_types 0.0016034376088475653 0.0015899200634011345 0.84% 0.85% 1.01x
sub_type_of_array_type[nested] 0.00017754489333321656 0.00018248237843717922 -2.78% -2.71% 0.97x
sub_type_of_array_type[simple] 0.00017034341887245917 0.00017329439536836828 -1.73% -1.70% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002077036987524478 0.000021950180706121926 -5.68% -5.37% 0.95x
is_hex_encoded_block_hash[invalid-g] 0.00008484172991778814 0.000056880896487840564 32.96% 49.16% 1.49x
is_hex_encoded_block_hash[none] 0.000019636731944326007 0.00002172579633960757 -10.64% -9.62% 0.90x
is_hex_encoded_block_hash[short] 0.00004454559563784528 0.00002566644836619534 42.38% 73.56% 1.74x
is_hex_encoded_block_hash[too-long] 0.00004454672553660419 0.000025868388361062253 41.93% 72.21% 1.72x
is_hex_encoded_block_hash[too-short] 0.00004450184759426275 0.00002556931202392244 42.54% 74.04% 1.74x
is_hex_encoded_block_hash[valid-a] 0.00009422242182100286 0.00006864999092826604 27.14% 37.25% 1.37x
is_hex_encoded_block_hash[valid-f] 0.00009435233198924627 0.00007028610911165376 25.51% 34.24% 1.34x
is_hex_encoded_block_number[int] 0.000020777659478925768 0.000021580721810550292 -3.87% -3.72% 0.96x
is_hex_encoded_block_number[invalid-g] 0.00016266989395224635 0.00022634261689267175 -39.14% -28.13% 0.72x
is_hex_encoded_block_number[max-64-a] 0.00010323430559686015 0.00008007886122703453 22.43% 28.92% 1.29x
is_hex_encoded_block_number[max-64-f] 0.0001051062560347106 0.000081759144910938 22.21% 28.56% 1.29x
is_hex_encoded_block_number[none] 0.000020583651280939948 0.000021797469351343013 -5.90% -5.57% 0.94x
is_hex_encoded_block_number[small] 0.00009457711542494824 0.000046425420543899255 50.91% 103.72% 2.04x
is_hex_encoded_block_number[too-long] 0.00010864356892834478 0.00006012336670106095 44.66% 80.70% 1.81x
is_predefined_block_number[bytes-latest] 0.00003251713875854164 0.00002869177964935294 11.76% 13.33% 1.13x
is_predefined_block_number[bytes-pending] 0.00003270245561953991 0.000028880525693416184 11.69% 13.23% 1.13x
is_predefined_block_number[bytes-random] 0.00003132294266640056 0.000027798259883684282 11.25% 12.68% 1.13x
is_predefined_block_number[int] 0.00003345507734633634 0.0000242245569195385 27.59% 38.10% 1.38x
is_predefined_block_number[none] 0.00012248289998817267 0.0002183159682123024 -78.24% -43.90% 0.56x
is_predefined_block_number[object] 0.00015413390988755753 0.0002510037232183709 -62.85% -38.59% 0.61x
is_predefined_block_number[str-earliest] 0.000013323390187160598 0.000009717232384800724 27.07% 37.11% 1.37x
is_predefined_block_number[str-finalized] 0.000013216558891197724 0.000009574083442061835 27.56% 38.05% 1.38x
is_predefined_block_number[str-foo] 0.000013293385531672042 0.000009261063506252474 30.33% 43.54% 1.44x
is_predefined_block_number[str-latest] 0.00001329895481184784 0.000009511174203118823 28.48% 39.82% 1.40x
is_predefined_block_number[str-pending] 0.00001336876289637908 0.000009599587775708983 28.19% 39.26% 1.39x
is_predefined_block_number[str-safe] 0.000013335495008213046 0.000009740589799562054 26.96% 36.91% 1.37x
select_method_for_block_identifier[hash-bytes] 0.00005194497931256354 0.000041544276157753336 20.02% 25.04% 1.25x
select_method_for_block_identifier[hash-hexstr] 0.0001258045488268879 0.00008907309172095768 29.20% 41.24% 1.41x
select_method_for_block_identifier[invalid-none] 0.000907836941816974 0.0010680641997603746 -17.65% -15.00% 0.85x
select_method_for_block_identifier[invalid-object] 0.0009366314934604862 0.0011081491184059533 -18.31% -15.48% 0.85x
select_method_for_block_identifier[number-hexstr] 0.0001709495567519224 0.00008368883370332287 51.04% 104.27% 2.04x
select_method_for_block_identifier[number-int] 0.00011354399220034655 0.00005718299071238359 49.64% 98.56% 1.99x
select_method_for_block_identifier[predefined-bytes] 0.00005051080092827857 0.00004285846032806478 15.15% 17.85% 1.18x
select_method_for_block_identifier[predefined-str] 0.000027635173673470494 0.000019891896301840263 28.02% 38.93% 1.39x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00046282212792732563 0.0005409455305582418 -16.88% -14.44% 0.86x
PropertyCheckingFactory[big-valid] 0.0004627396393474889 0.0005385668706225836 -16.39% -14.08% 0.86x
PropertyCheckingFactory[inheritance] 0.0010040781378221147 0.0009764286920798511 2.75% 2.83% 1.03x
PropertyCheckingFactory[invalid] 0.00046382876251247087 0.0005398874485366239 -16.40% -14.09% 0.86x
PropertyCheckingFactory[multi-normalizer] 0.00046691896474614867 0.0005434039128073625 -16.38% -14.08% 0.86x
PropertyCheckingFactory[multi-prop] 0.00046298681844952563 0.0005397381688047034 -16.58% -14.22% 0.86x
PropertyCheckingFactory[normalized] 0.00046278349122111574 0.000542208747052053 -17.16% -14.65% 0.85x
PropertyCheckingFactory[valid] 0.001262562658656452 0.0010130786371306225 19.76% 24.63% 1.25x
verify_attr[empty] 0.00010150225002874084 0.00015940819677384084 -57.05% -36.33% 0.64x
verify_attr[found-end] 0.000011299722141126743 0.000010389786460025886 8.05% 8.76% 1.09x
verify_attr[found-start] 0.00000920672422668921 0.000007206283535515272 21.73% 27.76% 1.28x
verify_attr[large-found] 0.0001335886849642689 0.00012513812902886182 6.33% 6.75% 1.07x
verify_attr[large-notfound] 0.00019911891182490028 0.00025807882378531586 -29.61% -22.85% 0.77x
verify_attr[notfound] 0.00010638991952766285 0.00016526500903964693 -55.34% -35.62% 0.64x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006343553265567785 0.0006475905306252145 -2.09% -2.04% 0.98x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.0000785924741754774 0.000021868548288664434 72.17% 259.39% 3.59x
percentile[100-90th] 0.00011058238677291046 0.000052085565792593366 52.90% 112.31% 2.12x
percentile[100k-99th] 0.03725977874069873 0.036948375714262384 0.84% 0.84% 1.01x
percentile[100k-median] 0.036805740925922655 0.036794754074064795 0.03% 0.03% 1.00x
percentile[10k-10th] 0.003760139931822929 0.003625976878685619 3.57% 3.70% 1.04x
percentile[10k-99th] 0.003688546937025792 0.00365937222508653 0.79% 0.80% 1.01x
percentile[10k-median] 0.003735283473871793 0.0036643468357466773 1.90% 1.94% 1.02x
percentile[1k-99th] 0.0004702484462452382 0.0004021991891621406 14.47% 16.92% 1.17x
percentile[1M-median] 0.6094865474000472 0.608641312600048 0.14% 0.14% 1.00x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012585530556096814 0.000006589757622180782 47.64% 90.99% 1.91x
to_bytes_if_hex[empty-str] 0.00031333972081347227 0.00003832546453220411 87.77% 717.58% 8.18x
to_bytes_if_hex[hexstr] 0.00033884372810486326 0.000045894633740481715 86.46% 638.31% 7.38x
to_bytes_if_hex[large-hex] 0.0003446953608371998 0.00005142361627811115 85.08% 570.31% 6.70x
to_bytes_if_hex[non-prefixed-hex] 0.00032037762321924823 0.000042322872527907576 86.79% 656.98% 7.57x
to_bytes_if_hex[nothex] 0.0004148225245577595 0.00026735050463801613 35.55% 55.16% 1.55x
to_bytes_if_hex[unicode] 0.00042962979011472506 0.00027587548896102816 35.79% 55.73% 1.56x
to_bytes_if_hex[zero] 0.0003394978100096351 0.000046001791155457325 86.45% 638.01% 7.38x
to_hex_if_bytes[bytes] 0.0002243958880410512 0.00004963251873918051 77.88% 352.11% 4.52x
to_hex_if_bytes[empty-bytes] 0.00021049303492972404 0.000039320887177202744 81.32% 435.32% 5.35x
to_hex_if_bytes[empty-str] 0.00010230770635956475 0.0001881225054135372 -83.88% -45.62% 0.54x
to_hex_if_bytes[hexstr] 0.0002843879822895466 0.00002310947687059776 91.87% 1130.61% 12.31x
to_hex_if_bytes[large-bytes] 0.00022761182727275956 0.000052084508806697375 77.12% 337.00% 4.37x
to_hex_if_bytes[non-prefixed-hex] 0.00010503016910557132 0.00019099078484935045 -81.84% -45.01% 0.55x
to_hex_if_bytes[not-hex] 0.00010496639839133892 0.00019148615754523737 -82.43% -45.18% 0.55x
to_hex_if_bytes[unicode] 0.00010982533262268596 0.0001972973453074665 -79.65% -44.34% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.00031224054247618716 0.00010665887215792804 65.84% 192.75% 2.93x
all_in_dict[empty-dict] 0.0002688692661600637 0.00007674173685982076 71.46% 250.36% 3.50x
all_in_dict[empty-list] 0.0002624215241881446 0.00008826341386997802 66.37% 197.32% 2.97x
all_in_dict[mixed-types] 0.0003188784219360216 0.00010963096313880301 65.62% 190.87% 2.91x
all_in_dict[no-overlap] 0.0002858125631279051 0.00009254590054136368 67.62% 208.83% 3.09x
all_in_dict[none-in] 0.00028627002997704893 0.00009263954738166799 67.64% 209.01% 3.09x
all_in_dict[one-in] 0.00029079140655583423 0.00009888825958452265 65.99% 194.06% 2.94x
all_in_dict[partial-overlap] 0.00032133667793296907 0.00010282064718967512 68.00% 212.52% 3.13x
all_in_dict[value-none] 0.00028724082164290673 0.00009869226488430863 65.64% 191.05% 2.91x
any_in_dict[all-in] 0.0002881518071127139 0.00008816357141487327 69.40% 226.84% 3.27x
any_in_dict[empty-dict] 0.0003106521002240324 0.00009088152083158061 70.74% 241.82% 3.42x
any_in_dict[empty-list] 0.0002634692390419117 0.00008687222055471343 67.03% 203.28% 3.03x
any_in_dict[mixed-types] 0.0002833393918994434 0.00009008757959265296 68.21% 214.52% 3.15x
any_in_dict[no-overlap] 0.0003249937805633911 0.00010762970156642714 66.88% 201.96% 3.02x
any_in_dict[none-in] 0.00029193508264937763 0.00009582768145717894 67.18% 204.65% 3.05x
any_in_dict[one-in] 0.0002846114080819259 0.00008803735226564906 69.07% 223.28% 3.23x
any_in_dict[partial-overlap] 0.0002855446058479623 0.00008866742513343483 68.95% 222.04% 3.22x
any_in_dict[value-none] 0.0002807868143486222 0.00008627406885395405 69.27% 225.46% 3.25x
either_set_is_a_subset[both-empty] 0.00016860683620868714 0.00015891800079388636 5.75% 6.10% 1.06x
either_set_is_a_subset[empty-set1] 0.0001674736315345329 0.0001565884284368499 6.50% 6.95% 1.07x
either_set_is_a_subset[empty-set2] 0.0002540014079092965 0.0002563840103940788 -0.94% -0.93% 0.99x
either_set_is_a_subset[identical] 0.00018453012784800545 0.000168014191488259 8.95% 9.83% 1.10x
either_set_is_a_subset[mixed-types] 0.00019802371327797864 0.00018317515012221245 7.50% 8.11% 1.08x
either_set_is_a_subset[not-subset] 0.00027238951881348685 0.0002598294648805677 4.61% 4.83% 1.05x
either_set_is_a_subset[partial-overlap] 0.0003019071374925508 0.00028631980997192037 5.16% 5.44% 1.05x
either_set_is_a_subset[subset] 0.00019439807863967613 0.00017527523050645682 9.84% 10.91% 1.11x
either_set_is_a_subset[superset] 0.00029544057475808965 0.00029260245642813605 0.96% 0.97% 1.01x
none_in_dict[all-in] 0.000303530276900132 0.00009113594398195485 69.97% 233.05% 3.33x
none_in_dict[empty-dict] 0.0003228572021952122 0.00009450069035383025 70.73% 241.65% 3.42x
none_in_dict[empty-list] 0.0002800077012734533 0.00009036835128400838 67.73% 209.85% 3.10x
none_in_dict[mixed-types] 0.000301451009875534 0.00009122061565186301 69.74% 230.46% 3.30x
none_in_dict[no-overlap] 0.00034179049726913783 0.00011088903611488158 67.56% 208.23% 3.08x
none_in_dict[none-in] 0.00030470995237760496 0.0000987412771786764 67.59% 208.59% 3.09x
none_in_dict[one-in] 0.0002986414665124429 0.00008958559403019147 70.00% 233.36% 3.33x
none_in_dict[partial-overlap] 0.0003008004714670178 0.00008987630134814765 70.12% 234.68% 3.35x
none_in_dict[value-none] 0.00030119614108192424 0.00008913550924089128 70.41% 237.91% 3.38x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0015476945961688468 0.0015142358885543385 2.16% 2.21% 1.02x
attributedict_hash[flat] 0.0011521854421996647 0.001131758142222309 1.77% 1.80% 1.02x
attributedict_hash[nested] 0.0017574816429979433 0.0017859121063599059 -1.62% -1.59% 0.98x
attributedict_init[empty] 0.00008660956293563479 0.00008534330692705036 1.46% 1.48% 1.01x
attributedict_init[large] 0.00012699625109541867 0.00012812661971528362 -0.89% -0.88% 0.99x
attributedict_init[small] 0.00009135735940864796 0.00009425400346076359 -3.17% -3.07% 0.97x
mutableattributedict_delitem 0.0003982329786768843 0.00039794026615310173 0.07% 0.07% 1.00x
mutableattributedict_setitem 0.0003326260574497159 0.000334181896905814 -0.47% -0.47% 1.00x
namedelementonion_add 0.00893837049989088 0.02761987879847406 -209.00% -67.64% 0.32x
namedelementonion_as_tuple_of_middleware 0.0001456024499158492 0.00014655884115107612 -0.66% -0.65% 0.99x
namedelementonion_contains 0.00003029118707522639 0.00003003683582165095 0.84% 0.85% 1.01x
namedelementonion_getitem 0.000028954334682461738 0.00002873681876999836 0.75% 0.76% 1.01x
namedelementonion_init[callables2] 0.00013370167074880422 0.00013232500113462145 1.03% 1.04% 1.01x
namedelementonion_init[callables3] 0.00016929740556345237 0.00016836377315978312 0.55% 0.55% 1.01x
namedelementonion_init[empty] 0.00004611099272687446 0.000046225277878808 -0.25% -0.25% 1.00x
namedelementonion_inject 0.013020360166744164 0.03520459841111005 -170.38% -63.02% 0.37x
namedelementonion_iter 0.00014985795574332493 0.00015051815167667037 -0.44% -0.44% 1.00x
namedelementonion_remove 0.0007110725256251025 0.0006910018485762391 2.82% 2.90% 1.03x
namedelementonion_replace 0.002491181839594762 0.0025086328236769992 -0.70% -0.70% 0.99x
readableattributedict_getitem[large] 0.000015176594961999962 0.000015304785337836325 -0.84% -0.84% 0.99x
readableattributedict_getitem[small] 0.000014498313853168776 0.000014429645342782336 0.47% 0.48% 1.00x
readableattributedict_init[empty] 0.00005155614091132529 0.00005161077709570091 -0.11% -0.11% 1.00x
readableattributedict_init[large] 0.00008654754242438778 0.00008677331825877989 -0.26% -0.26% 1.00x
readableattributedict_init[small] 0.000056896009824052 0.00005676772167519987 0.23% 0.23% 1.00x
readableattributedict_recursive[list-in-dict] 0.0009150643421376515 0.0008975343505903332 1.92% 1.95% 1.02x
readableattributedict_recursive[nested-dict] 0.000915782333972394 0.000915083521036879 0.08% 0.08% 1.00x
readableattributedict_recursive[set] 0.00047506347770497997 0.0004629308424598367 2.55% 2.62% 1.03x
tupleize_lists_nested[list-in-dict] 0.0008602846037009399 0.0008570894646714262 0.37% 0.37% 1.00x
tupleize_lists_nested[tuple-in-dict] 0.0009417368805812274 0.0009417912431408911 -0.01% -0.01% 1.00x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003349846121647035 0.00025347578488826064 24.33% 32.16% 1.32x
simplecache_cache[100] 0.002676826242579429 0.0019478178869071093 27.23% 37.43% 1.37x
simplecache_cache[1000] 0.0273904542162052 0.019041988150959543 30.48% 43.84% 1.44x
simplecache_eviction[10] 0.0005897048729252944 0.0005820487608400116 1.30% 1.32% 1.01x
simplecache_eviction[100] 0.0052294033978972695 0.005218337732984341 0.21% 0.21% 1.00x
simplecache_pop[10] 0.0004505467935791872 0.000367511480979131 18.43% 22.59% 1.23x
simplecache_pop[100] 0.0037712654068374363 0.0029707693543523884 21.23% 26.95% 1.27x
simplecache_retrieval[10] 0.00009420066613860562 0.000057506163107270516 38.95% 63.81% 1.64x
simplecache_retrieval[100] 0.0008142610016124102 0.00047835005875876283 41.25% 70.22% 1.70x

@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.000001787602206993633 0.000001014163232500525 43.27% 76.26% 1.76x
is_valid_name[a..eth] 0.000024903734696017852 0.00003118815003136877 -25.23% -20.15% 0.80x
is_valid_name[a.eth..] 0.000025308188446872648 0.00003135213844342036 -23.88% -19.28% 0.81x
is_valid_name[a.eth.] 0.0000256127943541143 0.00003135889732865185 -22.43% -18.32% 0.82x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23100123019999047 0.23730455340000844 -2.73% -2.66% 0.97x
is_valid_name[alice.eth] 0.010338676670115317 0.01124948315217135 -8.81% -8.10% 0.92x
is_valid_name[bob.eth] 0.00630317657861132 0.00675219163157318 -7.12% -6.65% 0.93x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2559903467998993 0.24338566000005812 4.92% 5.18% 1.05x
is_valid_name[subdomain.alice.eth] 0.030666462818241296 0.03187519778124681 -3.94% -3.79% 0.96x
labelhash[] 0.0001478450442398396 0.00008468267664182176 42.72% 74.59% 1.75x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.25129144760007877 0.25579171279996443 -1.79% -1.76% 0.98x
labelhash[alice] 0.00841883443333889 0.008500087042724166 -0.97% -0.96% 0.99x
labelhash[bob] 0.0037448365305255775 0.0037469326000064028 -0.06% -0.06% 1.00x
labelhash[emoji\U0001f468\U0001f3fb] 0.2819813117999729 0.24352914399992187 13.64% 15.79% 1.16x
labelhash[xn--fiqs8s] 0.02711699960528485 0.027115520736838573 0.01% 0.01% 1.00x
namehash[] 0.000009750382680054586 0.000003293509767634878 66.22% 196.05% 2.96x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4516113875999054 0.473261054600016 -4.79% -4.57% 0.95x
namehash[alice.eth] 0.024637625365868165 0.02220409947728347 9.88% 10.96% 1.11x
namehash[bob.eth] 0.015393562727302362 0.013507587810789954 12.25% 13.96% 1.14x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5013188928000091 0.4502770371999759 10.18% 11.34% 1.11x
namehash[subdomain.alice.eth] 0.06193946205877075 0.064879478624988 -4.75% -4.53% 0.95x
nameprep[] 0.000008667447469651886 0.000003046624645688719 64.85% 184.49% 2.84x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22656029979993947 0.2349258321999514 -3.69% -3.56% 0.96x
nameprep[alice.eth] 0.010458859826531825 0.010764286255544498 -2.92% -2.84% 0.97x
nameprep[bob.eth] 0.006179150204966475 0.006505906722589228 -5.29% -5.02% 0.95x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.2560752682000384 0.2362873736000438 7.73% 8.37% 1.08x
nameprep[subdomain.alice.eth] 0.030653767363632636 0.03283995465628209 -7.13% -6.66% 0.93x
parent[] 9.65488063091954e-7 8.50588928896516e-7 11.90% 13.51% 1.14x
parent[bar.eth] 0.0000035640404983672585 0.000002570145015097151 27.89% 38.67% 1.39x
parent[eth] 0.0000019931873609119493 0.0000015244083627946567 23.52% 30.75% 1.31x
parent[foo.bar.eth] 0.00000420956327783199 0.0000031815660402075957 24.42% 32.31% 1.32x
parent[sub.sub2.foo.bar.eth] 0.000004980073149449603 0.000003970923738104874 20.26% 25.41% 1.25x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005066356438329371 0.000016649901107159277 67.14% 204.29% 3.04x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005140340093494269 0.00001658651414995694 67.73% 209.91% 3.10x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005116498140974138 0.0000166675813355488 67.42% 206.97% 3.07x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.00001366758965721261 0.000013861260878492215 -1.42% -1.40% 0.99x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000014134993920706996 0.000013845213238868905 2.05% 2.09% 1.02x
address[alice.eth] 0.000013862711636491638 0.000014169335630832952 -2.21% -2.16% 0.98x
address[bob.eth] 0.000013724417136543868 0.000013903536953195515 -1.31% -1.29% 0.99x
address[emoji\U0001f468\U0001f3fb.eth] 0.000013637621833452084 0.000013904092327137945 -1.95% -1.92% 0.98x
address[subdomain.alice.eth] 0.000014194663419721085 0.000014203915077119559 -0.07% -0.07% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014520986930747758 0.00014465465466156357 0.38% 0.38% 1.00x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014469671037583038 0.00014402616430962865 0.46% 0.47% 1.00x
normalize_name_ensip15[alice.eth] 0.0001460122438962629 0.0001445938609348373 0.97% 0.98% 1.01x
normalize_name_ensip15[bob.eth] 0.00014548498672371164 0.00014435738328268146 0.78% 0.78% 1.01x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014992644377275182 0.00014367561816535382 4.17% 4.35% 1.04x
normalize_name_ensip15[subdomain.alice.eth] 0.00014425380455321968 0.00014358167021352684 0.47% 0.47% 1.00x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024462652225008697 0.0008147457981945448 66.69% 200.25% 3.00x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0025032453476146323 0.000804264096856949 67.87% 211.25% 3.11x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00249180097744227 0.0008034107718309761 67.76% 210.15% 3.10x
dns_encode_name[] 0.000006654530621095593 0.000004216288089245234 36.64% 57.83% 1.58x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2300102534000416 0.2322139848000006 -0.96% -0.95% 0.99x
dns_encode_name[alice.eth] 0.010827547957459733 0.010895681999991903 -0.63% -0.63% 0.99x
dns_encode_name[bob.eth] 0.006563826473340365 0.006536377399995599 0.42% 0.42% 1.00x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2568853264000609 0.20491675319995012 20.23% 25.36% 1.25x
dns_encode_name[subdomain.alice.eth] 0.030956921781282176 0.03135639034377391 -1.29% -1.27% 0.99x
estimate_auction_start_gas[labels0] 0.0000743005331625634 0.000045691894733901044 38.50% 62.61% 1.63x
estimate_auction_start_gas[labels1] 0.0000746912183186105 0.00004600371293646834 38.41% 62.36% 1.62x
estimate_auction_start_gas[labels2] 0.00006638384682343216 0.00004663586599619844 29.75% 42.35% 1.42x
is_empty_name[ ] 0.000056062071432153534 0.000037969558839538835 32.27% 47.65% 1.48x
is_empty_name[.] 0.00005556925685976772 0.00003942988897236329 29.04% 40.93% 1.41x
is_empty_name[0] 0.000055456909802752435 0.00003664006217795522 33.93% 51.36% 1.51x
is_empty_name[1] 0.00005504263048828975 0.00003812325206976103 30.74% 44.38% 1.44x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005782786875562481 0.000039166026820391825 32.27% 47.65% 1.48x
is_empty_name[alice.eth] 0.000057182062811831354 0.00003922016912873896 31.41% 45.80% 1.46x
is_empty_name[bob.eth] 0.000055900791807499894 0.000039200506750551675 29.87% 42.60% 1.43x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00006109881622351432 0.00003999227536136755 34.54% 52.78% 1.53x
is_empty_name[subdomain.alice.eth] 0.000057000280599580846 0.000039179826677794685 31.26% 45.48% 1.45x
is_none_or_zero_address[] 0.00004334938596684318 0.00003980113604448696 8.19% 8.91% 1.09x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00004928508402300461 0.00004542943293082139 7.82% 8.49% 1.08x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005192661668826623 0.0000466081803791052 10.24% 11.41% 1.11x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005280359017417584 0.00004637090417319075 12.18% 13.87% 1.14x
is_valid_ens_name[] 0.0000018529328875210132 0.0000014961910801405204 19.25% 23.84% 1.24x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23149747639995438 0.23677354880001075 -2.28% -2.23% 0.98x
is_valid_ens_name[alice.eth] 0.010511661104168013 0.010912897880436267 -3.82% -3.68% 0.96x
is_valid_ens_name[bar] 0.0000019542531113569714 0.0000015279668817478853 21.81% 27.90% 1.28x
is_valid_ens_name[baz] 0.000001916009106842928 0.0000016156239190613272 15.68% 18.59% 1.19x
is_valid_ens_name[bob.eth] 0.006337995354031715 0.006863262333333409 -8.29% -7.65% 0.92x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.25619701340001483 0.2372304635999626 7.40% 7.99% 1.08x
is_valid_ens_name[foo] 0.0000019267782280080148 0.0000016576487444499738 13.97% 16.24% 1.16x
is_valid_ens_name[subdomain.alice.eth] 0.03086162512120912 0.03282935528125108 -6.38% -5.99% 0.94x
is_valid_name[] 0.000001567874009932081 0.0000010042993454747939 35.95% 56.12% 1.56x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22677220919995306 0.2330512627999724 -2.77% -2.69% 0.97x
is_valid_name[alice.eth] 0.01033402491838369 0.010944491064519361 -5.91% -5.58% 0.94x
is_valid_name[bob.eth] 0.0062515084049179 0.0065663161290367795 -5.04% -4.79% 0.95x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.25602699559999564 0.21872679340003742 14.57% 17.05% 1.17x
is_valid_name[subdomain.alice.eth] 0.030613654764679536 0.03151439087499597 -2.94% -2.86% 0.97x
label_to_hash[] 0.00013247172734200374 0.000081550712771817 38.44% 62.44% 1.62x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2292506391999723 0.22848923639999158 0.33% 0.33% 1.00x
label_to_hash[alice] 0.007689984279068085 0.00769737422046822 -0.10% -0.10% 1.00x
label_to_hash[bob] 0.0034392926851261173 0.0034597282482547813 -0.59% -0.59% 0.99x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.27909383819996947 0.24536672580002233 12.08% 13.75% 1.14x
label_to_hash[xn--fiqs8s] 0.024481682268293385 0.0246519238536643 -0.70% -0.69% 0.99x
normal_name_to_hash[] 0.0000016109047833151574 9.874254646231883e-7 38.70% 63.14% 1.63x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22824856659995021 0.2329759097999613 -2.07% -2.03% 0.98x
normal_name_to_hash[alice.eth] 0.011261860022473688 0.0112845504317947 -0.20% -0.20% 1.00x
normal_name_to_hash[bob.eth] 0.007119754302815521 0.006929474139853126 2.67% 2.75% 1.03x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2574745966000137 0.22365205420001075 13.14% 15.12% 1.15x
normal_name_to_hash[subdomain.alice.eth] 0.03181791731250172 0.03201546580645563 -0.62% -0.62% 0.99x
normalize_name[] 0.000008349554010478133 0.0000030721486832616644 63.21% 171.78% 2.72x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23216224960001455 0.2308551009999519 0.56% 0.57% 1.01x
normalize_name[alice.eth] 0.010447941670104838 0.010892673709677378 -4.26% -4.08% 0.96x
normalize_name[bob.eth] 0.006274765057674778 0.006472917279223099 -3.16% -3.06% 0.97x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2561661536000429 0.23409277480004675 8.62% 9.43% 1.09x
normalize_name[subdomain.alice.eth] 0.03042124626471618 0.03138690896969709 -3.17% -3.08% 0.97x
raw_name_to_hash[] 0.000009659716236473158 0.0000032049070912240737 66.82% 201.40% 3.01x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.45883034199991923 0.4714508374000161 -2.75% -2.68% 0.97x
raw_name_to_hash[alice.eth] 0.02163883419564172 0.02184540136956121 -0.95% -0.95% 0.99x
raw_name_to_hash[bob.eth] 0.013361279453350411 0.013719623320002938 -2.68% -2.61% 0.97x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.512688709799977 0.45292545480006086 11.66% 13.19% 1.13x
raw_name_to_hash[subdomain.alice.eth] 0.06281916305885502 0.06466403031249968 -2.94% -2.85% 0.97x
sha3_text[0] 0.00011744978527472127 0.00007432039742191453 36.72% 58.03% 1.58x
sha3_text[1] 0.00011663939181047886 0.00007483779173224959 35.84% 55.86% 1.56x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012752405373482825 0.00008289933805385442 34.99% 53.83% 1.54x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012594134005961295 0.00008308147051790503 34.03% 51.59% 1.52x
sha3_text[alice.eth] 0.00012670869385584976 0.00008287905397271148 34.59% 52.88% 1.53x
sha3_text[alice] 0.00012850912720216502 0.0000837563168344061 34.82% 53.43% 1.53x
sha3_text[bob.eth] 0.0001271533959994478 0.00008368527309213062 34.19% 51.94% 1.52x
sha3_text[bob] 0.00012711958130912028 0.00008302781012422588 34.69% 53.10% 1.53x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.0001278971271835928 0.00008346432076307768 34.74% 53.24% 1.53x
sha3_text[emoji\U0001f468\U0001f3fb] 0.0001271953096320128 0.00008348953356180037 34.36% 52.35% 1.52x
sha3_text[subdomain.alice.eth] 0.0001277443169535787 0.0000829377672716391 35.08% 54.02% 1.54x
sha3_text[xn--fiqs8s] 0.00012673890919666486 0.00008321200309569535 34.34% 52.31% 1.52x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002877928698404462 0.0002545563251590885 11.55% 13.06% 1.13x
fallback_func_abi_exists 0.0002503112567692057 0.0002511236004720093 -0.32% -0.32% 1.00x
filter_by_argument_name[a] 0.0006499308294811326 0.00037758103302478163 41.90% 72.13% 1.72x
filter_by_argument_name[a+b] 0.0006604071890015394 0.00040444723336408175 38.76% 63.29% 1.63x
filter_by_argument_name[b] 0.0006421117088958721 0.00037539845280057046 41.54% 71.05% 1.71x
filter_by_argument_name[c] 0.0006524365819371181 0.0003765600102337247 42.28% 73.26% 1.73x
filter_by_argument_name[notfound] 0.0006430215273135252 0.00037497525444030356 41.69% 71.48% 1.71x
filter_by_argument_type[address] 0.0005776002379865188 0.0005851906375562358 -1.31% -1.30% 0.99x
filter_by_argument_type[notatype] 0.0005660421211616458 0.000575226808995788 -1.62% -1.60% 0.98x
filter_by_argument_type[string] 0.0005772555000017469 0.000589719096057489 -2.16% -2.11% 0.98x
filter_by_argument_type[uint+address] 0.00058491505256476 0.0005953045287742745 -1.78% -1.75% 0.98x
filter_by_argument_type[uint256] 0.0005755222584406106 0.000583257644997464 -1.34% -1.33% 0.99x
filter_by_types[constructor] 0.0000375737477054529 0.000037110544454568766 1.23% 1.25% 1.01x
filter_by_types[event] 0.00003609676390932586 0.000036807488295045594 -1.97% -1.93% 0.98x
filter_by_types[fallback] 0.00003820837408753284 0.0000376848462821468 1.37% 1.39% 1.01x
filter_by_types[func+event] 0.00004240041285391818 0.00004197647755960505 1.00% 1.01% 1.01x
filter_by_types[function] 0.00003674909573512623 0.00003783260410854445 -2.95% -2.86% 0.97x
filter_by_types[none] 0.000037084627264978084 0.000036766440851581626 0.86% 0.87% 1.01x
filter_by_types[receive] 0.000039034228907892925 0.000038518867978203796 1.32% 1.34% 1.01x
find_constructor_abi_element_by_type 0.000034565568669761256 0.000034480823739474007 0.25% 0.25% 1.00x
get_abi_element_signature[custom] 0.00005213143343864652 0.000049298264190520075 5.43% 5.75% 1.06x
get_abi_element_signature[fallback] 0.000021247301553376675 0.000020926587953260042 1.51% 1.53% 1.02x
get_abi_element_signature[receive] 0.00002857201030474436 0.00002880714523273723 -0.82% -0.82% 0.99x
get_abi_element_signature[transfer] 0.00005665719633486836 0.000054690883850073 3.47% 3.60% 1.04x
get_name_from_abi_element_identifier[custom] 0.00004236534767503843 0.00003818836156692793 9.86% 10.94% 1.11x
get_name_from_abi_element_identifier[fallback] 0.000011837421128761832 0.00001191413062553596 -0.65% -0.64% 0.99x
get_name_from_abi_element_identifier[func] 0.00004194029902504995 0.000037963062109355015 9.48% 10.48% 1.10x
get_name_from_abi_element_identifier[receive] 0.0000181177715891461 0.000018520122528296627 -2.22% -2.17% 0.98x
get_tuple_type_str_parts[not-tuple] 0.000021470583769275527 0.000022014053955934494 -2.53% -2.47% 0.98x
get_tuple_type_str_parts[one-dim] 0.00007272737948345563 0.00007262111243861924 0.15% 0.15% 1.00x
get_tuple_type_str_parts[plain] 0.00004718323889013926 0.000047259526279311074 -0.16% -0.16% 1.00x
get_tuple_type_str_parts[two-dim] 0.0000898888482465587 0.00009017491425001724 -0.32% -0.32% 1.00x
is_address_type[address] 0.000043207701726980785 0.000042859509224474285 0.81% 0.81% 1.01x
is_address_type[array] 0.0000461489648768199 0.00004579813501644483 0.76% 0.77% 1.01x
is_address_type[bool] 0.000042505314638120436 0.00004236902262338809 0.32% 0.32% 1.00x
is_address_type[bytes] 0.00004215793093002797 0.000042372079725642294 -0.51% -0.51% 0.99x
is_address_type[bytes32] 0.00004443337809425824 0.00004381109228448419 1.40% 1.42% 1.01x
is_address_type[bytes33] 0.00004599599578673678 0.00004591604461033481 0.17% 0.17% 1.00x
is_address_type[empty] 0.0000425666113221968 0.00004239481372937211 0.40% 0.41% 1.00x
is_address_type[enum] 0.00004407132406856621 0.000044029296540787905 0.10% 0.10% 1.00x
is_address_type[int256] 0.00004254110299638851 0.00004230768284795065 0.55% 0.55% 1.01x
is_address_type[invalid] 0.00004406540755016647 0.00004364738126141251 0.95% 0.96% 1.01x
is_address_type[string] 0.00004251738580264018 0.000042599603256103935 -0.19% -0.19% 1.00x
is_address_type[tuple-array] 0.00004400432407857957 0.00004389080537723597 0.26% 0.26% 1.00x
is_address_type[tuple] 0.00004256104774104295 0.000042342270773245984 0.51% 0.52% 1.01x
is_address_type[uint256] 0.00004331104884051877 0.00004440886893471109 -2.53% -2.47% 0.98x
is_array_type[address] 0.00038701621769348315 0.00039791147101477875 -2.82% -2.74% 0.97x
is_array_type[array] 0.00039849053116228987 0.00039940101752190224 -0.23% -0.23% 1.00x
is_array_type[bool] 0.00036590769386712056 0.0003742359973371665 -2.28% -2.23% 0.98x
is_array_type[bytes] 0.0003704078500356994 0.00037803964515997876 -2.06% -2.02% 0.98x
is_array_type[bytes32] 0.0003901362152198392 0.00039712317729706493 -1.79% -1.76% 0.98x
is_array_type[bytes33] 0.0003908988739558535 0.00040015852967166564 -2.37% -2.31% 0.98x
is_array_type[empty] 0.00030443399264973086 0.00031185076227843007 -2.44% -2.38% 0.98x
is_array_type[enum] 0.0003806670669477827 0.000386009962731684 -1.40% -1.38% 0.99x
is_array_type[int256] 0.0003821771302242475 0.0003904240805017742 -2.16% -2.11% 0.98x
is_array_type[invalid] 0.00040028547015442636 0.0004078941486881381 -1.90% -1.87% 0.98x
is_array_type[string] 0.00038114880806662933 0.0003885462341240472 -1.94% -1.90% 0.98x
is_array_type[tuple-array] 0.00039479417782272764 0.0004069034075987341 -3.07% -2.98% 0.97x
is_array_type[tuple] 0.0003717893121228007 0.00037700074769607585 -1.40% -1.38% 0.99x
is_array_type[uint256] 0.00039111041204903987 0.0004050410028593822 -3.56% -3.44% 0.97x
is_bool_type[address] 0.00004276153366103061 0.00004286383756137599 -0.24% -0.24% 1.00x
is_bool_type[array] 0.00004514130849909314 0.00004443958487535712 1.55% 1.58% 1.02x
is_bool_type[bool] 0.00004222259260782607 0.00004337702077044498 -2.73% -2.66% 0.97x
is_bool_type[bytes] 0.000042902316938030504 0.000042225747466147737 1.58% 1.60% 1.02x
is_bool_type[bytes32] 0.000042564733907512183 0.000042482120012358915 0.19% 0.19% 1.00x
is_bool_type[bytes33] 0.00004364584163548015 0.000043912959821045786 -0.61% -0.61% 0.99x
is_bool_type[empty] 0.00004241324786706198 0.000042345635523778055 0.16% 0.16% 1.00x
is_bool_type[enum] 0.00004367327879037741 0.00004385562285555307 -0.42% -0.42% 1.00x
is_bool_type[int256] 0.00004255171791525749 0.00004213509679964975 0.98% 0.99% 1.01x
is_bool_type[invalid] 0.00004409306604368433 0.00004409962259509243 -0.01% -0.01% 1.00x
is_bool_type[string] 0.00004254692854983981 0.00004252597664395855 0.05% 0.05% 1.00x
is_bool_type[tuple-array] 0.00004365955771239854 0.000044388437533432596 -1.67% -1.64% 0.98x
is_bool_type[tuple] 0.00004288347761718158 0.00004203968600127954 1.97% 2.01% 1.02x
is_bool_type[uint256] 0.00004206213949701311 0.000042919486746301766 -2.04% -2.00% 0.98x
is_bytes_type[address] 0.00031567558887663036 0.00030674138385368714 2.83% 2.91% 1.03x
is_bytes_type[array] 0.00031207090553551806 0.00031678023883340874 -1.51% -1.49% 0.99x
is_bytes_type[bool] 0.0002793036590914042 0.0002838632103263748 -1.63% -1.61% 0.98x
is_bytes_type[bytes] 0.00027806480702258603 0.0002774958974876016 0.20% 0.21% 1.00x
is_bytes_type[bytes32] 0.00030813296264240207 0.0003078386699030592 0.10% 0.10% 1.00x
is_bytes_type[bytes33] 0.00031675365342140284 0.0003293802376908198 -3.99% -3.83% 0.96x
is_bytes_type[empty] 0.00028858412840994613 0.0002828028039008541 2.00% 2.04% 1.02x
is_bytes_type[enum] 0.0003036333005643324 0.00029410391106598967 3.14% 3.24% 1.03x
is_bytes_type[int256] 0.00028940580303879514 0.0002944421105968295 -1.74% -1.71% 0.98x
is_bytes_type[invalid] 0.00028330137988924643 0.00028278416906861887 0.18% 0.18% 1.00x
is_bytes_type[string] 0.00030122109678264934 0.00029911552934136905 0.70% 0.70% 1.01x
is_bytes_type[tuple-array] 0.00028303741316420747 0.0002889785099382771 -2.10% -2.06% 0.98x
is_bytes_type[tuple] 0.00028416987477695175 0.0002851087349686799 -0.33% -0.33% 1.00x
is_bytes_type[uint256] 0.00031287994251713103 0.00032319309110919825 -3.30% -3.19% 0.97x
is_int_type[address] 0.00019963132510057737 0.00020366973677867376 -2.02% -1.98% 0.98x
is_int_type[array] 0.00019938123845520124 0.00019963800320124393 -0.13% -0.13% 1.00x
is_int_type[bool] 0.00020582561200007475 0.00020487331064947996 0.46% 0.46% 1.00x
is_int_type[bytes] 0.00021122376380729662 0.00022193069368520423 -5.07% -4.82% 0.95x
is_int_type[bytes32] 0.00019901965910963608 0.00020415523134694952 -2.58% -2.52% 0.97x
is_int_type[bytes33] 0.00019785793557036165 0.00020458392652647343 -3.40% -3.29% 0.97x
is_int_type[empty] 0.00019899138936783643 0.00020953376091689362 -5.30% -5.03% 0.95x
is_int_type[enum] 0.0002193626002155244 0.00023696761369143554 -8.03% -7.43% 0.93x
is_int_type[int256] 0.00022674399726785796 0.00023231405915080314 -2.46% -2.40% 0.98x
is_int_type[invalid] 0.00019923591452441298 0.00020856313540178745 -4.68% -4.47% 0.96x
is_int_type[string] 0.00023371378206362662 0.0002261316800272467 3.24% 3.35% 1.03x
is_int_type[tuple-array] 0.00019848168911162621 0.00019943219631554017 -0.48% -0.48% 1.00x
is_int_type[tuple] 0.00020739381373428533 0.0002156341229713256 -3.97% -3.82% 0.96x
is_int_type[uint256] 0.00019785484070474954 0.0002006083422259224 -1.39% -1.37% 0.99x
is_probably_enum[address] 0.00006339079665122009 0.00006704537356836425 -5.77% -5.45% 0.95x
is_probably_enum[empty] 0.00005977638819506437 0.00006120378425298652 -2.39% -2.33% 0.98x
is_probably_enum[enum] 0.00006416282570744368 0.00006627673266272346 -3.29% -3.19% 0.97x
is_probably_enum[lib-dot] 0.00006532465204709617 0.00006765476788940571 -3.57% -3.44% 0.97x
is_probably_enum[lib-enum] 0.00007205524435716903 0.00007392636695393705 -2.60% -2.53% 0.97x
is_probably_enum[uint256] 0.00006434237797881416 0.00006633539830017955 -3.10% -3.00% 0.97x
is_recognized_type[address] 0.00007580601327956095 0.00008159110312973638 -7.63% -7.09% 0.93x
is_recognized_type[array] 0.00008077683962915556 0.00008580861431615692 -6.23% -5.86% 0.94x
is_recognized_type[bool] 0.00007755436056173109 0.0000799171122878483 -3.05% -2.96% 0.97x
is_recognized_type[bytes] 0.00014833113022781413 0.00015420650409279853 -3.96% -3.81% 0.96x
is_recognized_type[bytes32] 0.00014661316025867975 0.0001523526871340449 -3.91% -3.77% 0.96x
is_recognized_type[bytes33] 0.00013837158055183456 0.00014328434040169355 -3.55% -3.43% 0.97x
is_recognized_type[empty] 0.000059415140803172005 0.00006335096547196989 -6.62% -6.21% 0.94x
is_recognized_type[enum] 0.00008129272981746435 0.00008842657045302215 -8.78% -8.07% 0.92x
is_recognized_type[int256] 0.00012265344607295203 0.000127582915407844 -4.02% -3.86% 0.96x
is_recognized_type[invalid] 0.0000812412397624184 0.00008851080149695114 -8.95% -8.21% 0.92x
is_recognized_type[string] 0.00009857964801431608 0.0001050676061242413 -6.58% -6.18% 0.94x
is_recognized_type[tuple-array] 0.00008129852980216733 0.00008839431451634903 -8.73% -8.03% 0.92x
is_recognized_type[tuple] 0.00008125413778019847 0.00008763103630841367 -7.85% -7.28% 0.93x
is_recognized_type[uint256] 0.00012364930565671075 0.0001293618865650915 -4.62% -4.42% 0.96x
is_string_type[address] 0.00004203271276920592 0.00004278500914996766 -1.79% -1.76% 0.98x
is_string_type[array] 0.00004438151696561407 0.00004470855106112355 -0.74% -0.73% 0.99x
is_string_type[bool] 0.00004214471477573461 0.00004306970055492871 -2.19% -2.15% 0.98x
is_string_type[bytes] 0.0000431207099074974 0.000043165448337009856 -0.10% -0.10% 1.00x
is_string_type[bytes32] 0.00004253052156791874 0.000042790623666006454 -0.61% -0.61% 0.99x
is_string_type[bytes33] 0.00004433805438713638 0.000044640261973598304 -0.68% -0.68% 0.99x
is_string_type[empty] 0.00004338548363343186 0.00004316375955487577 0.51% 0.51% 1.01x
is_string_type[enum] 0.00004606798537835618 0.00004651934199951716 -0.98% -0.97% 0.99x
is_string_type[int256] 0.00004409266455263525 0.000044434638862287415 -0.78% -0.77% 0.99x
is_string_type[invalid] 0.00004441298949812297 0.00004496792875483431 -1.25% -1.23% 0.99x
is_string_type[string] 0.000042900535659734124 0.00004318124764941656 -0.65% -0.65% 0.99x
is_string_type[tuple-array] 0.00004421497406226155 0.00004495163900511357 -1.67% -1.64% 0.98x
is_string_type[tuple] 0.000042307215536534956 0.00004329911392470495 -2.34% -2.29% 0.98x
is_string_type[uint256] 0.00004221814079024743 0.00004308766174999331 -2.06% -2.02% 0.98x
is_uint_type[address] 0.00023357989855897485 0.00022899450022994232 1.96% 2.00% 1.02x
is_uint_type[array] 0.0002365695487218367 0.00023289354193840696 1.55% 1.58% 1.02x
is_uint_type[bool] 0.0001979199857151602 0.00019778129693400658 0.07% 0.07% 1.00x
is_uint_type[bytes] 0.00019803494455529827 0.00020558096865528404 -3.81% -3.67% 0.96x
is_uint_type[bytes32] 0.0002259375459831668 0.0002285901010908138 -1.17% -1.16% 0.99x
is_uint_type[bytes33] 0.00022946451670364154 0.0002194120037113485 4.38% 4.58% 1.05x
is_uint_type[empty] 0.00019684722167770033 0.0001978151894380372 -0.49% -0.49% 1.00x
is_uint_type[enum] 0.0002213101690929184 0.0002164227149058033 2.21% 2.26% 1.02x
is_uint_type[int256] 0.00021826283633661614 0.00021717423709562508 0.50% 0.50% 1.01x
is_uint_type[invalid] 0.00019978149000569631 0.00019994872612080582 -0.08% -0.08% 1.00x
is_uint_type[string] 0.00021619518970749375 0.00022200695486853465 -2.69% -2.62% 0.97x
is_uint_type[tuple-array] 0.00020366610528582582 0.00019996561865610478 1.82% 1.85% 1.02x
is_uint_type[tuple] 0.00020056419489383788 0.0002047239414542074 -2.07% -2.03% 0.98x
is_uint_type[uint256] 0.0002244761276212453 0.00022209049191794776 1.06% 1.07% 1.01x
length_of_array_type[dynamic] 0.0001670863344856036 0.00016374163408793297 2.00% 2.04% 1.02x
length_of_array_type[fixed] 0.00017234313137704974 0.0001781627670023312 -3.38% -3.27% 0.97x
length_of_array_type[nested] 0.00018624009360553284 0.00018565662878724018 0.31% 0.31% 1.00x
map_abi_data 0.00629006943064853 0.005048101081964654 19.74% 24.60% 1.25x
normalize_event_input_types 0.0004109018633165579 0.0004239906322044215 -3.19% -3.09% 0.97x
receive_func_abi_exists 0.00031442624934680126 0.00031601516205411904 -0.51% -0.50% 0.99x
strip_abi_types 0.001600224333889819 0.0015635838894257443 2.29% 2.34% 1.02x
sub_type_of_array_type[nested] 0.00018031185121394886 0.00018371272769060275 -1.89% -1.85% 0.98x
sub_type_of_array_type[simple] 0.0001716050988729326 0.00017525825732504015 -2.13% -2.08% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000020373705063169764 0.000021955091953361628 -7.76% -7.20% 0.93x
is_hex_encoded_block_hash[invalid-g] 0.00008492900972477619 0.000059788432379164696 29.60% 42.05% 1.42x
is_hex_encoded_block_hash[none] 0.000020516619927398804 0.00002143705453532143 -4.49% -4.29% 0.96x
is_hex_encoded_block_hash[short] 0.00004374899768491547 0.000025844150721521844 40.93% 69.28% 1.69x
is_hex_encoded_block_hash[too-long] 0.00004424000174089494 0.000026867455146741404 39.27% 64.66% 1.65x
is_hex_encoded_block_hash[too-short] 0.000043578962942041516 0.000026231295736353866 39.81% 66.13% 1.66x
is_hex_encoded_block_hash[valid-a] 0.00009501274422957294 0.00007137469147733413 24.88% 33.12% 1.33x
is_hex_encoded_block_hash[valid-f] 0.00009448346931187876 0.00007095610458252565 24.90% 33.16% 1.33x
is_hex_encoded_block_number[int] 0.000020463820849897345 0.00002127725528381572 -3.97% -3.82% 0.96x
is_hex_encoded_block_number[invalid-g] 0.00016416552263320413 0.00022315766551332932 -35.93% -26.44% 0.74x
is_hex_encoded_block_number[max-64-a] 0.00010847602794469148 0.00008121948857209643 25.13% 33.56% 1.34x
is_hex_encoded_block_number[max-64-f] 0.00010284149551246614 0.00008278433195264926 19.50% 24.23% 1.24x
is_hex_encoded_block_number[none] 0.000020343450462267986 0.000021360549829346907 -5.00% -4.76% 0.95x
is_hex_encoded_block_number[small] 0.00009263918102984201 0.00004789230346782999 48.30% 93.43% 1.93x
is_hex_encoded_block_number[too-long] 0.00010727741187221249 0.00006133048647368233 42.83% 74.92% 1.75x
is_predefined_block_number[bytes-latest] 0.00003163273698472551 0.000027957936838566823 11.62% 13.14% 1.13x
is_predefined_block_number[bytes-pending] 0.00003189129453666475 0.000027913763341796377 12.47% 14.25% 1.14x
is_predefined_block_number[bytes-random] 0.00003127595268094013 0.00002687102639418368 14.08% 16.39% 1.16x
is_predefined_block_number[int] 0.000033367931104668553 0.00002459599867834305 26.29% 35.66% 1.36x
is_predefined_block_number[none] 0.00012150956985734655 0.0002106401605706424 -73.35% -42.31% 0.58x
is_predefined_block_number[object] 0.00015698352842039874 0.00024577583347162537 -56.56% -36.13% 0.64x
is_predefined_block_number[str-earliest] 0.000013075029774477396 0.000010166249622958862 22.25% 28.61% 1.29x
is_predefined_block_number[str-finalized] 0.00001297732381546704 0.000010168222085903314 21.65% 27.63% 1.28x
is_predefined_block_number[str-foo] 0.000013238544082761603 0.000010627114684654185 19.73% 24.57% 1.25x
is_predefined_block_number[str-latest] 0.000013025718634212682 0.000010168279224511847 21.94% 28.10% 1.28x
is_predefined_block_number[str-pending] 0.000013133920057505224 0.000010169364518628264 22.57% 29.15% 1.29x
is_predefined_block_number[str-safe] 0.00001317340093064562 0.0000101634557133749 22.85% 29.62% 1.30x
select_method_for_block_identifier[hash-bytes] 0.0000520127643475596 0.000042313636561839854 18.65% 22.92% 1.23x
select_method_for_block_identifier[hash-hexstr] 0.00012979589364904386 0.00009264389450436283 28.62% 40.10% 1.40x
select_method_for_block_identifier[invalid-none] 0.0009162603218803119 0.0010622105464316671 -15.93% -13.74% 0.86x
select_method_for_block_identifier[invalid-object] 0.000953621955762093 0.001119610850423532 -17.41% -14.83% 0.85x
select_method_for_block_identifier[number-hexstr] 0.00017290971950068444 0.00008847747804140994 48.83% 95.43% 1.95x
select_method_for_block_identifier[number-int] 0.00011237558247022629 0.00005783397769068998 48.54% 94.31% 1.94x
select_method_for_block_identifier[predefined-bytes] 0.00005155478440118906 0.00004293648826670301 16.72% 20.07% 1.20x
select_method_for_block_identifier[predefined-str] 0.000027217523958907888 0.00001994429585323221 26.72% 36.47% 1.36x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00047030705250403145 0.0005421178498226405 -15.27% -13.25% 0.87x
PropertyCheckingFactory[big-valid] 0.00047135718853882127 0.0005440149982739069 -15.41% -13.36% 0.87x
PropertyCheckingFactory[inheritance] 0.0009835472998916586 0.000949521825747646 3.46% 3.58% 1.04x
PropertyCheckingFactory[invalid] 0.00046854101235198743 0.0005481849477112817 -17.00% -14.53% 0.85x
PropertyCheckingFactory[multi-normalizer] 0.00047193664014140197 0.0005447588905471844 -15.43% -13.37% 0.87x
PropertyCheckingFactory[multi-prop] 0.0004685547068128246 0.0005437843303455282 -16.06% -13.83% 0.86x
PropertyCheckingFactory[normalized] 0.000471812692539789 0.0005456433381453712 -15.65% -13.53% 0.86x
PropertyCheckingFactory[valid] 0.0011923265083181717 0.0010174616818201811 14.67% 17.19% 1.17x
verify_attr[empty] 0.00010118028686265958 0.00016325094504346187 -61.35% -38.02% 0.62x
verify_attr[found-end] 0.00001157626088311809 0.000009895856039382677 14.52% 16.98% 1.17x
verify_attr[found-start] 0.000009357285857254602 0.000007595427632123239 18.83% 23.20% 1.23x
verify_attr[large-found] 0.00012525868312048054 0.00012576012477400562 -0.40% -0.40% 1.00x
verify_attr[large-notfound] 0.00020220279806260543 0.0002634595187290109 -30.29% -23.25% 0.77x
verify_attr[notfound] 0.00010692671875724834 0.00016911094977013037 -58.16% -36.77% 0.63x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006485713202888612 0.0006450384539811587 0.54% 0.55% 1.01x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.0000767469947425507 0.000022002434086824913 71.33% 248.81% 3.49x
percentile[100-90th] 0.00011033993386754685 0.00005124257095654601 53.56% 115.33% 2.15x
percentile[100k-99th] 0.03674883042855624 0.036307261392859606 1.20% 1.22% 1.01x
percentile[100k-median] 0.03679150248147515 0.03633245142308484 1.25% 1.26% 1.01x
percentile[10k-10th] 0.0038313177480663292 0.0037025778550129995 3.36% 3.48% 1.03x
percentile[10k-99th] 0.0037724532613610377 0.00369190840519945 2.14% 2.18% 1.02x
percentile[10k-median] 0.003783511319237767 0.0036900282213983495 2.47% 2.53% 1.03x
percentile[1k-99th] 0.0004597329418870807 0.00039228665465687574 14.67% 17.19% 1.17x
percentile[1M-median] 0.5971940730000369 0.6272890619999998 -5.04% -4.80% 0.95x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012833257205863911 0.000006581648746581311 48.71% 94.99% 1.95x
to_bytes_if_hex[empty-str] 0.0003064155512717235 0.0000356372671231514 88.37% 759.82% 8.60x
to_bytes_if_hex[hexstr] 0.0003332444593667512 0.00004523648034424071 86.43% 636.67% 7.37x
to_bytes_if_hex[large-hex] 0.0003423824223342261 0.00005029300937491317 85.31% 580.78% 6.81x
to_bytes_if_hex[non-prefixed-hex] 0.00031836568172478695 0.00004236051839709123 86.69% 651.56% 7.52x
to_bytes_if_hex[nothex] 0.0004079380093378848 0.0002634079434044007 35.43% 54.87% 1.55x
to_bytes_if_hex[unicode] 0.00042113823658478886 0.00027460799338641215 34.79% 53.36% 1.53x
to_bytes_if_hex[zero] 0.0003346533036007955 0.00004421426408987317 86.79% 656.89% 7.57x
to_hex_if_bytes[bytes] 0.00022244781332806431 0.000048944691673821094 78.00% 354.49% 4.54x
to_hex_if_bytes[empty-bytes] 0.00020947031899692437 0.00003991368540092274 80.95% 424.81% 5.25x
to_hex_if_bytes[empty-str] 0.00010181118481916825 0.00018854603257600246 -85.19% -46.00% 0.54x
to_hex_if_bytes[hexstr] 0.00028036503629649286 0.000022914855711643008 91.83% 1123.51% 12.24x
to_hex_if_bytes[large-bytes] 0.0002261952632084231 0.00005166542807278362 77.16% 337.81% 4.38x
to_hex_if_bytes[non-prefixed-hex] 0.000105632495628736 0.00019089882034071883 -80.72% -44.67% 0.55x
to_hex_if_bytes[not-hex] 0.00010507777616736139 0.00018979964033161056 -80.63% -44.64% 0.55x
to_hex_if_bytes[unicode] 0.00011060248013199809 0.00019625540265463554 -77.44% -43.64% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.000303136806627561 0.00010233620860519437 66.24% 196.22% 2.96x
all_in_dict[empty-dict] 0.0002772528557491657 0.00008054084229140662 70.95% 244.24% 3.44x
all_in_dict[empty-list] 0.0002580101678637249 0.00008444166903606169 67.27% 205.55% 3.06x
all_in_dict[mixed-types] 0.00030774501172535084 0.00010412137125529872 66.17% 195.56% 2.96x
all_in_dict[no-overlap] 0.000279796229021378 0.00008911329496821325 68.15% 213.98% 3.14x
all_in_dict[none-in] 0.0002806668783007215 0.0000894839917001629 68.12% 213.65% 3.14x
all_in_dict[one-in] 0.00027943752503670736 0.00009476839902188975 66.09% 194.86% 2.95x
all_in_dict[partial-overlap] 0.0003212897552819642 0.00010408564934084997 67.60% 208.68% 3.09x
all_in_dict[value-none] 0.00028469376334592524 0.00009574698376673224 66.37% 197.34% 2.97x
any_in_dict[all-in] 0.0002776025429945606 0.000088771227766032 68.02% 212.72% 3.13x
any_in_dict[empty-dict] 0.0003050902867184716 0.00008992140992421033 70.53% 239.29% 3.39x
any_in_dict[empty-list] 0.00026053996872763685 0.00008577872509591135 67.08% 203.73% 3.04x
any_in_dict[mixed-types] 0.0002768797166016024 0.00009045589881176551 67.33% 206.09% 3.06x
any_in_dict[no-overlap] 0.00032831796421257275 0.00010531894221417803 67.92% 211.74% 3.12x
any_in_dict[none-in] 0.0002865204535576235 0.00009334586815649875 67.42% 206.94% 3.07x
any_in_dict[one-in] 0.0002829246891924635 0.00008691511573688258 69.28% 225.52% 3.26x
any_in_dict[partial-overlap] 0.000278101464962755 0.00008741432506350415 68.57% 218.14% 3.18x
any_in_dict[value-none] 0.00027824189940142176 0.00008689822674559097 68.77% 220.19% 3.20x
either_set_is_a_subset[both-empty] 0.00016967080914737992 0.00014752236311726036 13.05% 15.01% 1.15x
either_set_is_a_subset[empty-set1] 0.000170208450355065 0.00014936858523321715 12.24% 13.95% 1.14x
either_set_is_a_subset[empty-set2] 0.0002538537817484446 0.00025226560412518575 0.63% 0.63% 1.01x
either_set_is_a_subset[identical] 0.00018840078134069825 0.00017039875150709404 9.56% 10.56% 1.11x
either_set_is_a_subset[mixed-types] 0.00019497668334309104 0.0001710661818188732 12.26% 13.98% 1.14x
either_set_is_a_subset[not-subset] 0.00028041133771217154 0.00026129728999673855 6.82% 7.32% 1.07x
either_set_is_a_subset[partial-overlap] 0.00030128091054919433 0.00029278793118273414 2.82% 2.90% 1.03x
either_set_is_a_subset[subset] 0.00019867321155966677 0.00017030948120690622 14.28% 16.65% 1.17x
either_set_is_a_subset[superset] 0.0002996654284349409 0.0002995839165920968 0.03% 0.03% 1.00x
none_in_dict[all-in] 0.0002958283510111095 0.0000890483262044298 69.90% 232.21% 3.32x
none_in_dict[empty-dict] 0.00031571015042108333 0.00009052419289028084 71.33% 248.76% 3.49x
none_in_dict[empty-list] 0.0002748177165286756 0.00008646893828373909 68.54% 217.82% 3.18x
none_in_dict[mixed-types] 0.0002912890342348609 0.00009122547815091263 68.68% 219.31% 3.19x
none_in_dict[no-overlap] 0.00033776767289326703 0.00010668051151116181 68.42% 216.62% 3.17x
none_in_dict[none-in] 0.000300800565876474 0.0000942214969007053 68.68% 219.25% 3.19x
none_in_dict[one-in] 0.0002924052903759894 0.00008839298374709613 69.77% 230.80% 3.31x
none_in_dict[partial-overlap] 0.00029297198703891745 0.00008789931490681676 70.00% 233.30% 3.33x
none_in_dict[value-none] 0.00029249323819903635 0.00008756791745947124 70.06% 234.02% 3.34x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014637610571409303 0.001474384183122043 -0.73% -0.72% 0.99x
attributedict_hash[flat] 0.0011347957794047194 0.0011073509469508144 2.42% 2.48% 1.02x
attributedict_hash[nested] 0.0017044462197999802 0.0017381638281804075 -1.98% -1.94% 0.98x
attributedict_init[empty] 0.00008472825160007764 0.00008386174031898522 1.02% 1.03% 1.01x
attributedict_init[large] 0.0001262405968891672 0.0001248445938315695 1.11% 1.12% 1.01x
attributedict_init[small] 0.00009100735422582644 0.00008922669861122054 1.96% 2.00% 1.02x
mutableattributedict_delitem 0.00040230507731803846 0.0003994270633593495 0.72% 0.72% 1.01x
mutableattributedict_setitem 0.00033355538817603794 0.0003329456402689817 0.18% 0.18% 1.00x
namedelementonion_add 0.02999210225893023 0.02615972412781376 12.78% 14.65% 1.15x
namedelementonion_as_tuple_of_middleware 0.00014576560489440224 0.00014589641986705937 -0.09% -0.09% 1.00x
namedelementonion_contains 0.000031804078427942454 0.000032105802403348584 -0.95% -0.94% 0.99x
namedelementonion_getitem 0.00002892965416055248 0.000029181284047347526 -0.87% -0.86% 0.99x
namedelementonion_init[callables2] 0.000132193755055447 0.00013166858179247253 0.40% 0.40% 1.00x
namedelementonion_init[callables3] 0.00016550657746766906 0.0001627046959234393 1.69% 1.72% 1.02x
namedelementonion_init[empty] 0.000043432110789479994 0.000043366872594005297 0.15% 0.15% 1.00x
namedelementonion_inject 0.03281473621794435 0.03138150506818637 4.37% 4.57% 1.05x
namedelementonion_iter 0.00015029091004889917 0.00014973351819541492 0.37% 0.37% 1.00x
namedelementonion_remove 0.0006817053132380125 0.000691179317836712 -1.39% -1.37% 0.99x
namedelementonion_replace 0.0024682798062068013 0.002516335422391486 -1.95% -1.91% 0.98x
readableattributedict_getitem[large] 0.000015463726619766852 0.0000154772895021412 -0.09% -0.09% 1.00x
readableattributedict_getitem[small] 0.000014380532060406746 0.000014404050509149763 -0.16% -0.16% 1.00x
readableattributedict_init[empty] 0.0000511101161314204 0.000051291337571743895 -0.35% -0.35% 1.00x
readableattributedict_init[large] 0.0000858644336543879 0.00008623645009390828 -0.43% -0.43% 1.00x
readableattributedict_init[small] 0.000056139943118385 0.00005717446592562976 -1.84% -1.81% 0.98x
readableattributedict_recursive[list-in-dict] 0.0008779071106078253 0.0008996030064418313 -2.47% -2.41% 0.98x
readableattributedict_recursive[nested-dict] 0.0009108929316919938 0.0009214058200758369 -1.15% -1.14% 0.99x
readableattributedict_recursive[set] 0.00045894193531174866 0.00045286917617678074 1.32% 1.34% 1.01x
tupleize_lists_nested[list-in-dict] 0.000847790539740335 0.0008418276666680756 0.70% 0.71% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.0009192381008160803 0.0009278498557250148 -0.94% -0.93% 0.99x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.000332709882539401 0.0002582168993011084 22.39% 28.85% 1.29x
simplecache_cache[100] 0.0027088850109842516 0.001964340020081126 27.49% 37.90% 1.38x
simplecache_cache[1000] 0.027487925459464914 0.01894325349056364 31.09% 45.11% 1.45x
simplecache_eviction[10] 0.0006021808087880761 0.0005961644458617835 1.00% 1.01% 1.01x
simplecache_eviction[100] 0.005226621063162671 0.0052565970210480375 -0.57% -0.57% 0.99x
simplecache_pop[10] 0.00046076884735737146 0.00036860180961294383 20.00% 25.00% 1.25x
simplecache_pop[100] 0.0038508421621653616 0.002963668849839019 23.04% 29.93% 1.30x
simplecache_retrieval[10] 0.00009402885623427818 0.0000590209197371111 37.23% 59.31% 1.59x
simplecache_retrieval[100] 0.0007904453429266728 0.0004743554668274134 39.99% 66.64% 1.67x

@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.000001980620351041617 0.0000011980351281860152 39.51% 65.32% 1.65x
is_valid_name[a..eth] 0.000025640072600562655 0.000030418841105802617 -18.64% -15.71% 0.84x
is_valid_name[a.eth..] 0.000026224450578474554 0.0000307233163898289 -17.16% -14.64% 0.85x
is_valid_name[a.eth.] 0.00002628303865684199 0.00003073310390887575 -16.93% -14.48% 0.86x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2591164767999999 0.26326736579999305 -1.60% -1.58% 0.98x
is_valid_name[alice.eth] 0.011704786295462616 0.011942587931035559 -2.03% -1.99% 0.98x
is_valid_name[bob.eth] 0.006950302944444629 0.00716831361904376 -3.14% -3.04% 0.97x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.30054656639995303 0.2664954840000064 11.33% 12.78% 1.13x
is_valid_name[subdomain.alice.eth] 0.034603479225779665 0.03595048926667156 -3.89% -3.75% 0.96x
labelhash[] 0.00014868001030091877 0.0000832616475519925 44.00% 78.57% 1.79x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.25569136539998 0.25279486439999344 1.13% 1.15% 1.01x
labelhash[alice] 0.008524415806728755 0.008565217800002717 -0.48% -0.48% 1.00x
labelhash[bob] 0.003809515648646333 0.003705645841323346 2.73% 2.80% 1.03x
labelhash[emoji\U0001f468\U0001f3fb] 0.3017386809999607 0.24798350819996812 17.82% 21.68% 1.22x
labelhash[xn--fiqs8s] 0.026971137874988928 0.026744090684204774 0.84% 0.85% 1.01x
namehash[] 0.000009949788744009778 0.000003218735885321036 67.65% 209.12% 3.09x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.5014072111999667 0.5241354076000334 -4.53% -4.34% 0.96x
namehash[alice.eth] 0.02476394000001121 0.024308437634145752 1.84% 1.87% 1.02x
namehash[bob.eth] 0.014898400820903358 0.0145884726470593 2.08% 2.12% 1.02x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.6093387712000549 0.5269552885999473 13.52% 15.63% 1.16x
namehash[subdomain.alice.eth] 0.0696906927333051 0.07174731280003167 -2.95% -2.87% 0.97x
nameprep[] 0.000008889772467409229 0.0000031570149619612634 64.49% 181.59% 2.82x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2620037169999705 0.2624629710000136 -0.18% -0.17% 1.00x
nameprep[alice.eth] 0.011306069698939707 0.012118708428553353 -7.19% -6.71% 0.93x
nameprep[bob.eth] 0.0069599380066052464 0.007405478935261402 -6.40% -6.02% 0.94x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.30019556080001164 0.2660679539999819 11.37% 12.83% 1.13x
nameprep[subdomain.alice.eth] 0.03470261462068485 0.03545354406895152 -2.16% -2.12% 0.98x
parent[] 9.792367712973138e-7 8.602843685145263e-7 12.15% 13.83% 1.14x
parent[bar.eth] 0.000003658102221677811 0.0000025321517984767516 30.78% 44.47% 1.44x
parent[eth] 0.000001998534711213304 0.0000014158224429647237 29.16% 41.16% 1.41x
parent[foo.bar.eth] 0.000004307864915133859 0.000003179656228815119 26.19% 35.48% 1.35x
parent[sub.sub2.foo.bar.eth] 0.00000507589557055213 0.0000039610697344253916 21.96% 28.14% 1.28x
reverse_domain[0x0000000000000000000000000000000000000000] 0.0000507828721145423 0.000016882109975767315 66.76% 200.81% 3.01x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005146247551084199 0.000017017465917221535 66.93% 202.41% 3.02x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005152843632028745 0.000016896832757230082 67.21% 204.96% 3.05x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013785856406295688 0.000013654975779405685 0.95% 0.96% 1.01x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013802527294266196 0.000013578349391026857 1.62% 1.65% 1.02x
address[alice.eth] 0.000013622735086180911 0.00001342905649145413 1.42% 1.44% 1.01x
address[bob.eth] 0.000013800834943568054 0.000013602475900919254 1.44% 1.46% 1.01x
address[emoji\U0001f468\U0001f3fb.eth] 0.000013759512579286509 0.00001362093098861798 1.01% 1.02% 1.01x
address[subdomain.alice.eth] 0.000013972087292465417 0.000013507670546287974 3.32% 3.44% 1.03x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.00014137637045957873 0.00014104865708281116 0.23% 0.23% 1.00x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014065153281042072 0.0001416215981604723 -0.69% -0.68% 0.99x
normalize_name_ensip15[alice.eth] 0.00014114349679095545 0.00014086219670760713 0.20% 0.20% 1.00x
normalize_name_ensip15[bob.eth] 0.00014102481906750665 0.00014086969962414544 0.11% 0.11% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014267614753592076 0.0001410654362829938 1.13% 1.14% 1.01x
normalize_name_ensip15[subdomain.alice.eth] 0.00014202545792512113 0.0001431076794041572 -0.76% -0.76% 0.99x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024887824592303045 0.0008287122205821014 66.70% 200.32% 3.00x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002504849767503288 0.0008088352728770751 67.71% 209.69% 3.10x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00251153088832759 0.0008327803834728821 66.84% 201.58% 3.02x
dns_encode_name[] 0.000006536754354398176 0.000004342599318364092 33.57% 50.53% 1.51x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2293185688000449 0.23636375940000107 -3.07% -2.98% 0.97x
dns_encode_name[alice.eth] 0.010611467925540869 0.011143709044936872 -5.02% -4.78% 0.95x
dns_encode_name[bob.eth] 0.006555689614383096 0.00679389406757217 -3.63% -3.51% 0.96x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2798021463998793 0.24884637699997256 11.06% 12.44% 1.12x
dns_encode_name[subdomain.alice.eth] 0.0317845867812494 0.03299850941938266 -3.82% -3.68% 0.96x
estimate_auction_start_gas[labels0] 0.00007570794164976753 0.00004981320619891521 34.20% 51.98% 1.52x
estimate_auction_start_gas[labels1] 0.00007641389858246056 0.00004774845827035245 37.51% 60.03% 1.60x
estimate_auction_start_gas[labels2] 0.00006902496770972505 0.00004739240436732598 31.34% 45.65% 1.46x
is_empty_name[ ] 0.00006267740958753163 0.000041793515312704906 33.32% 49.97% 1.50x
is_empty_name[.] 0.00006504757002818399 0.00004237846069455357 34.85% 53.49% 1.53x
is_empty_name[0] 0.0000643195930428596 0.000041859601042380044 34.92% 53.66% 1.54x
is_empty_name[1] 0.00006359313165813307 0.00004271822467173719 32.83% 48.87% 1.49x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0000649349646381555 0.00004102232879162589 36.83% 58.29% 1.58x
is_empty_name[alice.eth] 0.00006315306426031615 0.00004193630209037065 33.60% 50.59% 1.51x
is_empty_name[bob.eth] 0.00006347848835916199 0.00004241091122142204 33.19% 49.67% 1.50x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00006442505406151111 0.00004421955919451993 31.36% 45.69% 1.46x
is_empty_name[subdomain.alice.eth] 0.00006210175411418995 0.00004178965832463889 32.71% 48.61% 1.49x
is_none_or_zero_address[] 0.00005231596374755543 0.00004356784866432247 16.72% 20.08% 1.20x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00005846701885224419 0.00004800500558879551 17.89% 21.79% 1.22x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005818971481207995 0.000048733894932706225 16.25% 19.40% 1.19x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005818431366527539 0.00004836890300028968 16.87% 20.29% 1.20x
is_valid_ens_name[] 0.0000018699898781343466 0.0000014050618833401125 24.86% 33.09% 1.33x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23131344399994305 0.2372045839999828 -2.55% -2.48% 0.98x
is_valid_ens_name[alice.eth] 0.010458380041664364 0.011268982152182121 -7.75% -7.19% 0.93x
is_valid_ens_name[bar] 0.000001929422322799013 0.0000014301093170048542 25.88% 34.91% 1.35x
is_valid_ens_name[baz] 0.0000019046533215247351 0.000001431954623468051 24.82% 33.01% 1.33x
is_valid_ens_name[bob.eth] 0.006196946049386991 0.0067775444794472 -9.37% -8.57% 0.91x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.2766922897999848 0.23615528099994662 14.65% 17.17% 1.17x
is_valid_ens_name[foo] 0.0000019205095363862216 0.0000014381126583142518 25.12% 33.54% 1.34x
is_valid_ens_name[subdomain.alice.eth] 0.03131887159374713 0.032423028937493825 -3.53% -3.41% 0.97x
is_valid_name[] 0.000001652057679025701 0.0000010883936458065632 34.12% 51.79% 1.52x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2271172567999656 0.24152696820005987 -6.34% -5.97% 0.94x
is_valid_name[alice.eth] 0.010416736608249266 0.010948869373623393 -5.11% -4.86% 0.95x
is_valid_name[bob.eth] 0.0064072713312583575 0.006591935655861066 -2.88% -2.80% 0.97x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2775357100000292 0.24511302519995298 11.68% 13.23% 1.13x
is_valid_name[subdomain.alice.eth] 0.03153181533327894 0.03221405203223713 -2.16% -2.12% 0.98x
label_to_hash[] 0.0001329662852361295 0.00008181469694297813 38.47% 62.52% 1.63x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23285523559998184 0.2335731440000018 -0.31% -0.31% 1.00x
label_to_hash[alice] 0.007679717576923814 0.007903475622950908 -2.91% -2.83% 0.97x
label_to_hash[bob] 0.00348979246527708 0.003462887473125033 0.77% 0.78% 1.01x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.279160605800007 0.23570105299995703 15.57% 18.44% 1.18x
label_to_hash[xn--fiqs8s] 0.02417301021427236 0.025746598358951954 -6.51% -6.11% 0.94x
normal_name_to_hash[] 0.0000017205028473081306 9.755237706011847e-7 43.30% 76.37% 1.76x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22918688280001334 0.2360621983999863 -3.00% -2.91% 0.97x
normal_name_to_hash[alice.eth] 0.011378107397712773 0.01144888445976161 -0.62% -0.62% 0.99x
normal_name_to_hash[bob.eth] 0.007105075690147509 0.007086791070932967 0.26% 0.26% 1.00x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.25794557879999047 0.24223415940004997 6.09% 6.49% 1.06x
normal_name_to_hash[subdomain.alice.eth] 0.03215543281248756 0.033110193322587994 -2.97% -2.88% 0.97x
normalize_name[] 0.00000842253633735252 0.000003001926492819082 64.36% 180.57% 2.81x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2317059457999676 0.23382762080009342 -0.92% -0.91% 0.99x
normalize_name[alice.eth] 0.010494027412386055 0.011020094648351865 -5.01% -4.77% 0.95x
normalize_name[bob.eth] 0.006294150271625689 0.00660281919608619 -4.90% -4.67% 0.95x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.2771841701999165 0.23931632200001332 13.66% 15.82% 1.16x
normalize_name[subdomain.alice.eth] 0.031220169818191083 0.032094351750011185 -2.80% -2.72% 0.97x
raw_name_to_hash[] 0.0000095196570795411 0.0000030424150716575513 68.04% 212.90% 3.13x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4581702177999887 0.4685424465999404 -2.26% -2.21% 0.98x
raw_name_to_hash[alice.eth] 0.021998442630438545 0.02223349471111962 -1.07% -1.06% 0.99x
raw_name_to_hash[bob.eth] 0.013406902306669508 0.01345324762162609 -0.35% -0.34% 1.00x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5052102935999756 0.4803906119999738 4.91% 5.17% 1.05x
raw_name_to_hash[subdomain.alice.eth] 0.062308507235296504 0.06493375862498851 -4.21% -4.04% 0.96x
sha3_text[0] 0.00011997893295301765 0.00007563160310653881 36.96% 58.64% 1.59x
sha3_text[1] 0.00011803707453529846 0.00007568008536505305 35.88% 55.97% 1.56x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012786204375123431 0.00008451326611120255 33.90% 51.29% 1.51x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012759669782174424 0.00008460383319191062 33.69% 50.82% 1.51x
sha3_text[alice.eth] 0.00012723304068950318 0.0000841684727426355 33.85% 51.16% 1.51x
sha3_text[alice] 0.00012735534878093315 0.0000843789480029164 33.75% 50.93% 1.51x
sha3_text[bob.eth] 0.0001280553751106288 0.00008482337076114144 33.76% 50.97% 1.51x
sha3_text[bob] 0.000128260431446055 0.00008502565351368388 33.71% 50.85% 1.51x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00012860197328094745 0.00008495766505130444 33.94% 51.37% 1.51x
sha3_text[emoji\U0001f468\U0001f3fb] 0.0001278548888908853 0.00008469722226072788 33.76% 50.96% 1.51x
sha3_text[subdomain.alice.eth] 0.00012758826825463786 0.00008518195297866527 33.24% 49.78% 1.50x
sha3_text[xn--fiqs8s] 0.00012711460717387246 0.00008461905998539503 33.43% 50.22% 1.50x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.00029859482270612535 0.0002601248680862242 12.88% 14.79% 1.15x
fallback_func_abi_exists 0.00025612112085031565 0.00025038082249725197 2.24% 2.29% 1.02x
filter_by_argument_name[a] 0.0006750024654961571 0.00038290850099955543 43.27% 76.28% 1.76x
filter_by_argument_name[a+b] 0.000707998177324432 0.00041425242042957076 41.49% 70.91% 1.71x
filter_by_argument_name[b] 0.0006733052559850774 0.0003854379197058743 42.75% 74.69% 1.75x
filter_by_argument_name[c] 0.0006701373466354816 0.0003760939546324998 43.88% 78.18% 1.78x
filter_by_argument_name[notfound] 0.0006535855735363832 0.0003659660363308072 44.01% 78.59% 1.79x
filter_by_argument_type[address] 0.0006015977986203125 0.0005852105134477064 2.72% 2.80% 1.03x
filter_by_argument_type[notatype] 0.0005870839009548199 0.0005806270211765086 1.10% 1.11% 1.01x
filter_by_argument_type[string] 0.0005932201211197956 0.0005846138180133636 1.45% 1.47% 1.01x
filter_by_argument_type[uint+address] 0.0006220458465356211 0.0005853407335817581 5.90% 6.27% 1.06x
filter_by_argument_type[uint256] 0.0005973077911314783 0.0005901298117682363 1.20% 1.22% 1.01x
filter_by_types[constructor] 0.000037411495332195153 0.00003721516399859491 0.52% 0.53% 1.01x
filter_by_types[event] 0.00003717524044605617 0.0000371246515314085 0.14% 0.14% 1.00x
filter_by_types[fallback] 0.00003723170590596996 0.00003721851882784399 0.04% 0.04% 1.00x
filter_by_types[func+event] 0.00004277953155969152 0.00004250268254294425 0.65% 0.65% 1.01x
filter_by_types[function] 0.000037248144319042766 0.00003711029582730282 0.37% 0.37% 1.00x
filter_by_types[none] 0.00003613852139350344 0.0000358742650714369 0.73% 0.74% 1.01x
filter_by_types[receive] 0.0000385398265404494 0.00003846258125414349 0.20% 0.20% 1.00x
find_constructor_abi_element_by_type 0.0000342478663732379 0.000034281307471241324 -0.10% -0.10% 1.00x
get_abi_element_signature[custom] 0.000052730147838087616 0.000049993054588308456 5.19% 5.47% 1.05x
get_abi_element_signature[fallback] 0.000021672732287939117 0.000021613258557292707 0.27% 0.28% 1.00x
get_abi_element_signature[receive] 0.000029299700075318797 0.00002905186166875923 0.85% 0.85% 1.01x
get_abi_element_signature[transfer] 0.000057258640803368775 0.00005532922980644068 3.37% 3.49% 1.03x
get_name_from_abi_element_identifier[custom] 0.000040630021627838154 0.0000380829697154709 6.27% 6.69% 1.07x
get_name_from_abi_element_identifier[fallback] 0.000012432349551701033 0.00001190066277387371 4.28% 4.47% 1.04x
get_name_from_abi_element_identifier[func] 0.000042092975407527 0.00003881696745250844 7.78% 8.44% 1.08x
get_name_from_abi_element_identifier[receive] 0.00001858357915699275 0.000018341545357798874 1.30% 1.32% 1.01x
get_tuple_type_str_parts[not-tuple] 0.00002269361390831036 0.000022636369590014217 0.25% 0.25% 1.00x
get_tuple_type_str_parts[one-dim] 0.00007616474159240151 0.00007680051180736886 -0.83% -0.83% 0.99x
get_tuple_type_str_parts[plain] 0.000047314778912458276 0.00004713593324319533 0.38% 0.38% 1.00x
get_tuple_type_str_parts[two-dim] 0.00009635945268189077 0.00009602266268909019 0.35% 0.35% 1.00x
is_address_type[address] 0.00004435312014177548 0.00004453596789414956 -0.41% -0.41% 1.00x
is_address_type[array] 0.00004476638206487711 0.00004514473965390735 -0.85% -0.84% 0.99x
is_address_type[bool] 0.00004458015112569367 0.00004430991828962049 0.61% 0.61% 1.01x
is_address_type[bytes] 0.000043541853686886036 0.000044501916832797656 -2.20% -2.16% 0.98x
is_address_type[bytes32] 0.00004556054847491682 0.00004289169103741695 5.86% 6.22% 1.06x
is_address_type[bytes33] 0.00004475558089373918 0.00004540807953721365 -1.46% -1.44% 0.99x
is_address_type[empty] 0.00004444780885657574 0.0000442872342764535 0.36% 0.36% 1.00x
is_address_type[enum] 0.000043722024930059664 0.000043564480951958637 0.36% 0.36% 1.00x
is_address_type[int256] 0.0000440770569286872 0.00004524435674457408 -2.65% -2.58% 0.97x
is_address_type[invalid] 0.0000436169452533629 0.000043510300022834134 0.24% 0.25% 1.00x
is_address_type[string] 0.00004428729979904348 0.00004403338551035895 0.57% 0.58% 1.01x
is_address_type[tuple-array] 0.00004393845674966735 0.000044321294164292674 -0.87% -0.86% 0.99x
is_address_type[tuple] 0.000043613309570333375 0.00004396911470778297 -0.82% -0.81% 0.99x
is_address_type[uint256] 0.00004556043096502874 0.000045785091600391487 -0.49% -0.49% 1.00x
is_array_type[address] 0.00039618887539570976 0.00040670894764554595 -2.66% -2.59% 0.97x
is_array_type[array] 0.0004085398791188006 0.0004189995961863084 -2.56% -2.50% 0.98x
is_array_type[bool] 0.0003647965821671583 0.00037772727637736306 -3.54% -3.42% 0.97x
is_array_type[bytes] 0.00037638793972170724 0.0003866985080710916 -2.74% -2.67% 0.97x
is_array_type[bytes32] 0.0003960189241825849 0.00040574425010236675 -2.46% -2.40% 0.98x
is_array_type[bytes33] 0.0003993919198406397 0.00041232528025863385 -3.24% -3.14% 0.97x
is_array_type[empty] 0.00029976583254058407 0.000309571738227438 -3.27% -3.17% 0.97x
is_array_type[enum] 0.00038404269186793617 0.0003987317214961028 -3.82% -3.68% 0.96x
is_array_type[int256] 0.00038411322856074113 0.0003951484086007265 -2.87% -2.79% 0.97x
is_array_type[invalid] 0.0004049353562093433 0.000415035595953118 -2.49% -2.43% 0.98x
is_array_type[string] 0.00038646094413387295 0.0003967494198848865 -2.66% -2.59% 0.97x
is_array_type[tuple-array] 0.00041275769815972565 0.00042208067315261603 -2.26% -2.21% 0.98x
is_array_type[tuple] 0.0003774707520347015 0.0003867096084193322 -2.45% -2.39% 0.98x
is_array_type[uint256] 0.0003912924459497673 0.000408191084170924 -4.32% -4.14% 0.96x
is_bool_type[address] 0.00004447605845945675 0.000044270287241912616 0.46% 0.46% 1.00x
is_bool_type[array] 0.00004472110886714283 0.000043812043434220745 2.03% 2.07% 1.02x
is_bool_type[bool] 0.00004515520557108663 0.000044148563909791006 2.23% 2.28% 1.02x
is_bool_type[bytes] 0.00004460012627469965 0.000044584402879231826 0.04% 0.04% 1.00x
is_bool_type[bytes32] 0.000044044523060968596 0.00004452449757351826 -1.09% -1.08% 0.99x
is_bool_type[bytes33] 0.000043831865142926734 0.000043890294134069424 -0.13% -0.13% 1.00x
is_bool_type[empty] 0.000044500571384042 0.00004487430150001356 -0.84% -0.83% 0.99x
is_bool_type[enum] 0.000044629285180925325 0.00004380423418873703 1.85% 1.88% 1.02x
is_bool_type[int256] 0.000044666394284304034 0.000043685557527470215 2.20% 2.25% 1.02x
is_bool_type[invalid] 0.00004379648027327406 0.000044541046780728176 -1.70% -1.67% 0.98x
is_bool_type[string] 0.0000449551134702416 0.00004442552640342899 1.18% 1.19% 1.01x
is_bool_type[tuple-array] 0.00004461893020247479 0.00004424998253982251 0.83% 0.83% 1.01x
is_bool_type[tuple] 0.00004466464990963877 0.00004493751328688567 -0.61% -0.61% 0.99x
is_bool_type[uint256] 0.000044978123370909316 0.00004437480981472281 1.34% 1.36% 1.01x
is_bytes_type[address] 0.0003082699426915031 0.0003003443315589667 2.57% 2.64% 1.03x
is_bytes_type[array] 0.0003013261590495009 0.0003036066354407277 -0.76% -0.75% 0.99x
is_bytes_type[bool] 0.0002852239906057245 0.00027888325110724904 2.22% 2.27% 1.02x
is_bytes_type[bytes] 0.00028076194769318855 0.00027775322423115447 1.07% 1.08% 1.01x
is_bytes_type[bytes32] 0.0003012322138446653 0.00029428093830217316 2.31% 2.36% 1.02x
is_bytes_type[bytes33] 0.00029822254749630237 0.0003011830569310394 -0.99% -0.98% 0.99x
is_bytes_type[empty] 0.00028527737355851725 0.00027955663038469153 2.01% 2.05% 1.02x
is_bytes_type[enum] 0.00029607512380369546 0.0002957402082332703 0.11% 0.11% 1.00x
is_bytes_type[int256] 0.00029047058779132237 0.00028983052484434657 0.22% 0.22% 1.00x
is_bytes_type[invalid] 0.0002842844278904589 0.00027983240411993314 1.57% 1.59% 1.02x
is_bytes_type[string] 0.0002961253265883778 0.00028875794670169485 2.49% 2.55% 1.03x
is_bytes_type[tuple-array] 0.0002818578316811493 0.0002782734574962176 1.27% 1.29% 1.01x
is_bytes_type[tuple] 0.0002851584103712041 0.00027934591474637746 2.04% 2.08% 1.02x
is_bytes_type[uint256] 0.0003069790484155458 0.00031251883680559234 -1.80% -1.77% 0.98x
is_int_type[address] 0.00020451862011691674 0.00020438789205244905 0.06% 0.06% 1.00x
is_int_type[array] 0.00020506936937850602 0.00020545010120409033 -0.19% -0.19% 1.00x
is_int_type[bool] 0.00020219283819846524 0.00020527815941317183 -1.53% -1.50% 0.98x
is_int_type[bytes] 0.00021763345879216673 0.00021295830647816784 2.15% 2.20% 1.02x
is_int_type[bytes32] 0.0002027882287846318 0.00020721435705620996 -2.18% -2.14% 0.98x
is_int_type[bytes33] 0.00020153418448364736 0.00020365929801476407 -1.05% -1.04% 0.99x
is_int_type[empty] 0.00020303540270500444 0.00020514100590249534 -1.04% -1.03% 0.99x
is_int_type[enum] 0.0002262469783224041 0.00023230264773755864 -2.68% -2.61% 0.97x
is_int_type[int256] 0.00023143131370101532 0.00022481905328551428 2.86% 2.94% 1.03x
is_int_type[invalid] 0.00020440359805843822 0.00020472565716135572 -0.16% -0.16% 1.00x
is_int_type[string] 0.00022096560547939077 0.00022348837021974794 -1.14% -1.13% 0.99x
is_int_type[tuple-array] 0.00020360291522612023 0.00020384152565806877 -0.12% -0.12% 1.00x
is_int_type[tuple] 0.00021533259675563733 0.0002125359849411823 1.30% 1.32% 1.01x
is_int_type[uint256] 0.00020266975421584532 0.00020286477790003947 -0.10% -0.10% 1.00x
is_probably_enum[address] 0.00006618701834991652 0.00006889254247952482 -4.09% -3.93% 0.96x
is_probably_enum[empty] 0.000060762820344552656 0.00006326563042417208 -4.12% -3.96% 0.96x
is_probably_enum[enum] 0.00007003478175318218 0.00006750065449719995 3.62% 3.75% 1.04x
is_probably_enum[lib-dot] 0.00006775433840418314 0.0000704129756270635 -3.92% -3.78% 0.96x
is_probably_enum[lib-enum] 0.00010336241139360754 0.0000766341749639659 25.86% 34.88% 1.35x
is_probably_enum[uint256] 0.00006634608697750585 0.00007029334553481307 -5.95% -5.62% 0.94x
is_recognized_type[address] 0.00008066649496323063 0.00008459198763797408 -4.87% -4.64% 0.95x
is_recognized_type[array] 0.00008628913108695257 0.00008936622096483496 -3.57% -3.44% 0.97x
is_recognized_type[bool] 0.00008226705991202943 0.00008479906227317377 -3.08% -2.99% 0.97x
is_recognized_type[bytes] 0.00015319867440747144 0.00015987922470732944 -4.36% -4.18% 0.96x
is_recognized_type[bytes32] 0.00015273662170926195 0.00016204281725464072 -6.09% -5.74% 0.94x
is_recognized_type[bytes33] 0.0001401066392226057 0.00014563925808015987 -3.95% -3.80% 0.96x
is_recognized_type[empty] 0.00006185509105241968 0.00006507198383675836 -5.20% -4.94% 0.95x
is_recognized_type[enum] 0.00008921823823932299 0.00008928224303135767 -0.07% -0.07% 1.00x
is_recognized_type[int256] 0.00012821136910299804 0.0001314238084099701 -2.51% -2.44% 0.98x
is_recognized_type[invalid] 0.00008252299957111935 0.00008833944106720889 -7.05% -6.58% 0.93x
is_recognized_type[string] 0.00010300561041917566 0.00010998522067724324 -6.78% -6.35% 0.94x
is_recognized_type[tuple-array] 0.00008203963608943861 0.00008912817697247635 -8.64% -7.95% 0.92x
is_recognized_type[tuple] 0.00008269589978382817 0.00008970197229883183 -8.47% -7.81% 0.92x
is_recognized_type[uint256] 0.00012882868684603978 0.00013397826349490253 -4.00% -3.84% 0.96x
is_string_type[address] 0.000044726756154615266 0.00004572402192065999 -2.23% -2.18% 0.98x
is_string_type[array] 0.00004407195807464016 0.000044768601075567495 -1.58% -1.56% 0.98x
is_string_type[bool] 0.00004429847251727236 0.000044474603419478076 -0.40% -0.40% 1.00x
is_string_type[bytes] 0.00004443664025890672 0.00004417263388021773 0.59% 0.60% 1.01x
is_string_type[bytes32] 0.000044743776535811404 0.000045048606917113564 -0.68% -0.68% 0.99x
is_string_type[bytes33] 0.00004370846461025374 0.00004374901237400352 -0.09% -0.09% 1.00x
is_string_type[empty] 0.00004408174552789871 0.00004513721595395486 -2.39% -2.34% 0.98x
is_string_type[enum] 0.00004574979347680223 0.00004566415388822087 0.19% 0.19% 1.00x
is_string_type[int256] 0.00004585428040985689 0.000045959262796777346 -0.23% -0.23% 1.00x
is_string_type[invalid] 0.00004374561270878725 0.00004462849341978266 -2.02% -1.98% 0.98x
is_string_type[string] 0.00004466320227953138 0.00004483638072286205 -0.39% -0.39% 1.00x
is_string_type[tuple-array] 0.000044495543404066434 0.000044609646002810875 -0.26% -0.26% 1.00x
is_string_type[tuple] 0.00004443526493940063 0.000045572030559563245 -2.56% -2.49% 0.98x
is_string_type[uint256] 0.00004443079865371354 0.000044552737210443275 -0.27% -0.27% 1.00x
is_uint_type[address] 0.00023350325648753217 0.00023300549124026756 0.21% 0.21% 1.00x
is_uint_type[array] 0.0002295222796170852 0.0002295485965946544 -0.01% -0.01% 1.00x
is_uint_type[bool] 0.00020368423395537963 0.00020404851757707077 -0.18% -0.18% 1.00x
is_uint_type[bytes] 0.00020217678826229282 0.00020409560057461768 -0.95% -0.94% 0.99x
is_uint_type[bytes32] 0.00022835237714824975 0.00023420366011752555 -2.56% -2.50% 0.98x
is_uint_type[bytes33] 0.0002282204674414766 0.00022878973468528512 -0.25% -0.25% 1.00x
is_uint_type[empty] 0.00020206143472130224 0.00020355172292401278 -0.74% -0.73% 0.99x
is_uint_type[enum] 0.00021266539374287512 0.00021741434708236163 -2.23% -2.18% 0.98x
is_uint_type[int256] 0.00021380749063452267 0.00021687975277171823 -1.44% -1.42% 0.99x
is_uint_type[invalid] 0.00020508918352565432 0.0002038914758867954 0.58% 0.59% 1.01x
is_uint_type[string] 0.00021589522360538653 0.000221302436909932 -2.50% -2.44% 0.98x
is_uint_type[tuple-array] 0.0002041095562372623 0.00020335833626894024 0.37% 0.37% 1.00x
is_uint_type[tuple] 0.00020217933393284825 0.00020259079704325935 -0.20% -0.20% 1.00x
is_uint_type[uint256] 0.0002304387671995677 0.00023591511453738276 -2.38% -2.32% 0.98x
length_of_array_type[dynamic] 0.0001661945223554383 0.00016406443025404464 1.28% 1.30% 1.01x
length_of_array_type[fixed] 0.00017600908602667266 0.0001740803599464728 1.10% 1.11% 1.01x
length_of_array_type[nested] 0.00018906365200431388 0.00018627820109984658 1.47% 1.50% 1.01x
map_abi_data 0.006369033217380172 0.005133964826812357 19.39% 24.06% 1.24x
normalize_event_input_types 0.00042765650137068596 0.0004354121427910737 -1.81% -1.78% 0.98x
receive_func_abi_exists 0.00031982513228413615 0.0003193207524414837 0.16% 0.16% 1.00x
strip_abi_types 0.0016078601959452344 0.0015616526373748046 2.87% 2.96% 1.03x
sub_type_of_array_type[nested] 0.00018234347353312695 0.0001872663487384909 -2.70% -2.63% 0.97x
sub_type_of_array_type[simple] 0.00017745302267569384 0.00018218827576358085 -2.67% -2.60% 0.97x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000021053436255297783 0.000022137851731703783 -5.15% -4.90% 0.95x
is_hex_encoded_block_hash[invalid-g] 0.00008578047982506711 0.00006227684267033469 27.40% 37.74% 1.38x
is_hex_encoded_block_hash[none] 0.000020930362143689363 0.00002213110495714235 -5.74% -5.43% 0.95x
is_hex_encoded_block_hash[short] 0.00004623833589051618 0.000028611658881554233 38.12% 61.61% 1.62x
is_hex_encoded_block_hash[too-long] 0.00004572807955710846 0.00002868823332990359 37.26% 59.40% 1.59x
is_hex_encoded_block_hash[too-short] 0.0000462774564038046 0.000028600454957988286 38.20% 61.81% 1.62x
is_hex_encoded_block_hash[valid-a] 0.0000947472536979937 0.00007216557002966966 23.83% 31.29% 1.31x
is_hex_encoded_block_hash[valid-f] 0.00009618158903940001 0.00007130075806619025 25.87% 34.90% 1.35x
is_hex_encoded_block_number[int] 0.000021023899062910114 0.000022198408260084393 -5.59% -5.29% 0.95x
is_hex_encoded_block_number[invalid-g] 0.0001626976557070004 0.00022282152620106858 -36.95% -26.98% 0.73x
is_hex_encoded_block_number[max-64-a] 0.0001057627551271303 0.00008449228487991864 20.11% 25.17% 1.25x
is_hex_encoded_block_number[max-64-f] 0.0001069701308153423 0.00008212326342839168 23.23% 30.26% 1.30x
is_hex_encoded_block_number[none] 0.000021055754202969362 0.000022249025315563326 -5.67% -5.36% 0.95x
is_hex_encoded_block_number[small] 0.00009734724333134053 0.00004643061152664074 52.30% 109.66% 2.10x
is_hex_encoded_block_number[too-long] 0.00011056620301618336 0.00006216769134755057 43.77% 77.85% 1.78x
is_predefined_block_number[bytes-latest] 0.00003182854262848275 0.000029014413020100475 8.84% 9.70% 1.10x
is_predefined_block_number[bytes-pending] 0.00003176133098039673 0.00002903855971377601 8.57% 9.38% 1.09x
is_predefined_block_number[bytes-random] 0.000030968615597579665 0.000027824316495196458 10.15% 11.30% 1.11x
is_predefined_block_number[int] 0.00003525894197203524 0.000024571106381122314 30.31% 43.50% 1.43x
is_predefined_block_number[none] 0.00012346241208957713 0.00021076321673292156 -70.71% -41.42% 0.59x
is_predefined_block_number[object] 0.00015607580421402552 0.0002445949754395099 -56.72% -36.19% 0.64x
is_predefined_block_number[str-earliest] 0.000014164916120440573 0.000010221326184402467 27.84% 38.58% 1.39x
is_predefined_block_number[str-finalized] 0.000014098685468121786 0.000010319019059617986 26.81% 36.63% 1.37x
is_predefined_block_number[str-foo] 0.000014045435209782719 0.000010238299123515878 27.11% 37.19% 1.37x
is_predefined_block_number[str-latest] 0.000013982425159149183 0.000010801692451918285 22.75% 29.45% 1.29x
is_predefined_block_number[str-pending] 0.000014138226360827598 0.000010332892669601258 26.92% 36.83% 1.37x
is_predefined_block_number[str-safe] 0.000014096043958456445 0.000010297422775942139 26.95% 36.89% 1.37x
select_method_for_block_identifier[hash-bytes] 0.00005220781557144668 0.00004102521179064268 21.42% 27.26% 1.27x
select_method_for_block_identifier[hash-hexstr] 0.0001297071914755145 0.00009066184915988902 30.10% 43.07% 1.43x
select_method_for_block_identifier[invalid-none] 0.0009147440058892615 0.001066455549358964 -16.59% -14.23% 0.86x
select_method_for_block_identifier[invalid-object] 0.0009722732093976111 0.001117809794596775 -14.97% -13.02% 0.87x
select_method_for_block_identifier[number-hexstr] 0.0001764653383568704 0.000087138855586033 50.62% 102.51% 2.03x
select_method_for_block_identifier[number-int] 0.00011077221654954913 0.00006117467986227368 44.77% 81.08% 1.81x
select_method_for_block_identifier[predefined-bytes] 0.00004904019066516702 0.00004272788861785186 12.87% 14.77% 1.15x
select_method_for_block_identifier[predefined-str] 0.00002706748922892614 0.000020000148429757887 26.11% 35.34% 1.35x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.0004555542530286958 0.0005415355769651127 -18.87% -15.88% 0.84x
PropertyCheckingFactory[big-valid] 0.00045929981856709576 0.00053634270458371 -16.77% -14.36% 0.86x
PropertyCheckingFactory[inheritance] 0.0009921038252054043 0.0009620974131106517 3.02% 3.12% 1.03x
PropertyCheckingFactory[invalid] 0.0004606689478040186 0.0005420670813871299 -17.67% -15.02% 0.85x
PropertyCheckingFactory[multi-normalizer] 0.0004549956610113174 0.0005434959198547683 -19.45% -16.28% 0.84x
PropertyCheckingFactory[multi-prop] 0.0004579707529687046 0.0005378996567253115 -17.45% -14.86% 0.85x
PropertyCheckingFactory[normalized] 0.0004615994968909922 0.0005370750741576692 -16.35% -14.05% 0.86x
PropertyCheckingFactory[valid] 0.0012283494880135303 0.000996807214589082 18.85% 23.23% 1.23x
verify_attr[empty] 0.00009843781565443301 0.0001589013340593891 -61.42% -38.05% 0.62x
verify_attr[found-end] 0.000012066209167783489 0.000010678012080055784 11.50% 13.00% 1.13x
verify_attr[found-start] 0.000009288802314245158 0.000007946828686383487 14.45% 16.89% 1.17x
verify_attr[large-found] 0.00013065283838083707 0.00012559507876168797 3.87% 4.03% 1.04x
verify_attr[large-notfound] 0.00019636440886039376 0.0002594497872421761 -32.13% -24.32% 0.76x
verify_attr[notfound] 0.00010184846913892689 0.00016213742442650338 -59.19% -37.18% 0.63x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006310034689878389 0.0006164621127001719 2.30% 2.36% 1.02x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00008098165564489739 0.000022000631655073755 72.83% 268.09% 3.68x
percentile[100-90th] 0.00011444792757132342 0.00005328070086948682 53.45% 114.80% 2.15x
percentile[100k-99th] 0.03672354621426166 0.03653857900002322 0.50% 0.51% 1.01x
percentile[100k-median] 0.036557463444431185 0.03646230900000903 0.26% 0.26% 1.00x
percentile[10k-10th] 0.0038508300151516833 0.003647145680775583 5.29% 5.58% 1.06x
percentile[10k-99th] 0.003845954279251669 0.003655901144976712 4.94% 5.20% 1.05x
percentile[10k-median] 0.0038822227558224865 0.0036544501970706567 5.87% 6.23% 1.06x
percentile[1k-99th] 0.000493059259673589 0.0004193281094197245 14.95% 17.58% 1.18x
percentile[1M-median] 0.6079690884000228 0.6044870566000554 0.57% 0.58% 1.01x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000013399716137403823 0.000006997510030353884 47.78% 91.49% 1.91x
to_bytes_if_hex[empty-str] 0.0003048434214873406 0.00003761123340169794 87.66% 710.51% 8.11x
to_bytes_if_hex[hexstr] 0.0003353463278140171 0.00004658888319857777 86.11% 619.80% 7.20x
to_bytes_if_hex[large-hex] 0.0003396258131801505 0.00005110205438398792 84.95% 564.60% 6.65x
to_bytes_if_hex[non-prefixed-hex] 0.00032460266510514344 0.000043315953896581415 86.66% 649.38% 7.49x
to_bytes_if_hex[nothex] 0.00041284129163328306 0.00026418674009306335 36.01% 56.27% 1.56x
to_bytes_if_hex[unicode] 0.00042947476502313816 0.0002747625207045835 36.02% 56.31% 1.56x
to_bytes_if_hex[zero] 0.00033344294273863286 0.000045282905326576385 86.42% 636.36% 7.36x
to_hex_if_bytes[bytes] 0.0002243037604970347 0.00004938101954013576 77.98% 354.23% 4.54x
to_hex_if_bytes[empty-bytes] 0.0002104049927989308 0.00003936994578762468 81.29% 434.43% 5.34x
to_hex_if_bytes[empty-str] 0.00010236567940114315 0.00018617798607220435 -81.88% -45.02% 0.55x
to_hex_if_bytes[hexstr] 0.0002820344495094557 0.000023111860496629043 91.81% 1120.30% 12.20x
to_hex_if_bytes[large-bytes] 0.00022822674910379627 0.00005130782344416621 77.52% 344.82% 4.45x
to_hex_if_bytes[non-prefixed-hex] 0.00010379954402710407 0.00018690174836811585 -80.06% -44.46% 0.56x
to_hex_if_bytes[not-hex] 0.0001038337812374198 0.00018708554047662578 -80.18% -44.50% 0.56x
to_hex_if_bytes[unicode] 0.00010738637670643771 0.00019249070323352536 -79.25% -44.21% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.000298066835823304 0.00010254835170263018 65.60% 190.66% 2.91x
all_in_dict[empty-dict] 0.00025544002922212814 0.00007654971103197394 70.03% 233.69% 3.34x
all_in_dict[empty-list] 0.0002560082354393493 0.00008908048546053988 65.20% 187.39% 2.87x
all_in_dict[mixed-types] 0.0003067615613229456 0.00010609795933579083 65.41% 189.13% 2.89x
all_in_dict[no-overlap] 0.00027367622106317665 0.00008820049033911697 67.77% 210.29% 3.10x
all_in_dict[none-in] 0.00027181203591829456 0.00009052866944661926 66.69% 200.25% 3.00x
all_in_dict[one-in] 0.0002745736028800274 0.0000949460432452263 65.42% 189.19% 2.89x
all_in_dict[partial-overlap] 0.00031499023868091733 0.00010268846498659808 67.40% 206.74% 3.07x
all_in_dict[value-none] 0.0002746617814633311 0.00009549548083533266 65.23% 187.62% 2.88x
any_in_dict[all-in] 0.0002715421328842266 0.00009260941729641259 65.90% 193.21% 2.93x
any_in_dict[empty-dict] 0.0002912857356397116 0.00009167347841528158 68.53% 217.74% 3.18x
any_in_dict[empty-list] 0.0002497829556227912 0.00008903441312277637 64.36% 180.55% 2.81x
any_in_dict[mixed-types] 0.0002712639393100509 0.00009090576310092319 66.49% 198.40% 2.98x
any_in_dict[no-overlap] 0.00029699963121377785 0.00010753451456232418 63.79% 176.19% 2.76x
any_in_dict[none-in] 0.0002723061871615524 0.00009371231188193919 65.59% 190.58% 2.91x
any_in_dict[one-in] 0.0002708102824048182 0.00008924697268890457 67.04% 203.44% 3.03x
any_in_dict[partial-overlap] 0.00027213372093618323 0.00009102572865478957 66.55% 198.96% 2.99x
any_in_dict[value-none] 0.00026264357386157936 0.00009062336755620896 65.50% 189.82% 2.90x
either_set_is_a_subset[both-empty] 0.00016232742748199642 0.00015446942899469712 4.84% 5.09% 1.05x
either_set_is_a_subset[empty-set1] 0.00016123079475481518 0.0001564168292994068 2.99% 3.08% 1.03x
either_set_is_a_subset[empty-set2] 0.0002451751063245882 0.00025395376298626804 -3.58% -3.46% 0.97x
either_set_is_a_subset[identical] 0.0001745911563960765 0.00016760564099630685 4.00% 4.17% 1.04x
either_set_is_a_subset[mixed-types] 0.00018298977380764838 0.0001761481232528388 3.74% 3.88% 1.04x
either_set_is_a_subset[not-subset] 0.00026992774906479684 0.00025288414212617784 6.31% 6.74% 1.07x
either_set_is_a_subset[partial-overlap] 0.00029250089283331114 0.0002879943028190657 1.54% 1.56% 1.02x
either_set_is_a_subset[subset] 0.00018584630601249075 0.00017339319429227545 6.70% 7.18% 1.07x
either_set_is_a_subset[superset] 0.00029183040781053364 0.00029623907609634115 -1.51% -1.49% 0.99x
none_in_dict[all-in] 0.00029421017595242195 0.00008844564235666559 69.94% 232.65% 3.33x
none_in_dict[empty-dict] 0.0003040516038228081 0.00009267784215952284 69.52% 228.07% 3.28x
none_in_dict[empty-list] 0.00026634663927295357 0.00008844043670572142 66.79% 201.16% 3.01x
none_in_dict[mixed-types] 0.0002863359666568582 0.00009082128685280489 68.28% 215.27% 3.15x
none_in_dict[no-overlap] 0.00032004946416405245 0.00010548896435291576 67.04% 203.40% 3.03x
none_in_dict[none-in] 0.0002958571137125749 0.00009545446366243581 67.74% 209.95% 3.10x
none_in_dict[one-in] 0.0002853372939547529 0.000087553088744188 69.32% 225.90% 3.26x
none_in_dict[partial-overlap] 0.00028514317223596666 0.00009086390372769996 68.13% 213.81% 3.14x
none_in_dict[value-none] 0.0002864038552732187 0.00009099112375379184 68.23% 214.76% 3.15x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014929514667862483 0.0014622060073538907 2.06% 2.10% 1.02x
attributedict_hash[flat] 0.0010945038931322762 0.001085103854523796 0.86% 0.87% 1.01x
attributedict_hash[nested] 0.0017432649796348947 0.0017115559782627146 1.82% 1.85% 1.02x
attributedict_init[empty] 0.00008429947917122498 0.00008697601953859133 -3.18% -3.08% 0.97x
attributedict_init[large] 0.00012377374405994504 0.00012553571135662115 -1.42% -1.40% 0.99x
attributedict_init[small] 0.00009012989525532363 0.00009081965319383668 -0.77% -0.76% 0.99x
mutableattributedict_delitem 0.00037692912827532815 0.00037579495801999134 0.30% 0.30% 1.00x
mutableattributedict_setitem 0.00031455714406102556 0.00031335774973823596 0.38% 0.38% 1.00x
namedelementonion_add 0.028269973999990955 0.025977793362410816 8.11% 8.82% 1.09x
namedelementonion_as_tuple_of_middleware 0.00015224862990943 0.00015198824385145529 0.17% 0.17% 1.00x
namedelementonion_contains 0.000029942067746773583 0.00003033011399521041 -1.30% -1.28% 0.99x
namedelementonion_getitem 0.000028131334512632965 0.00002762528375963012 1.80% 1.83% 1.02x
namedelementonion_init[callables2] 0.00012581983672967805 0.00012611255382240344 -0.23% -0.23% 1.00x
namedelementonion_init[callables3] 0.0001616951763836324 0.00016021507149932383 0.92% 0.92% 1.01x
namedelementonion_init[empty] 0.000043119988949816066 0.00004305839385002093 0.14% 0.14% 1.00x
namedelementonion_inject 0.03358252812048463 0.02896675222725972 13.74% 15.93% 1.16x
namedelementonion_iter 0.00015485477176548112 0.00015503485273593088 -0.12% -0.12% 1.00x
namedelementonion_remove 0.0007930284078907451 0.0006847153206580968 13.66% 15.82% 1.16x
namedelementonion_replace 0.0024266942481434117 0.0024410908242630553 -0.59% -0.59% 0.99x
readableattributedict_getitem[large] 0.000015972512990285134 0.000015904104458592206 0.43% 0.43% 1.00x
readableattributedict_getitem[small] 0.00001532079727238764 0.000015290774585876862 0.20% 0.20% 1.00x
readableattributedict_init[empty] 0.000050762117182012465 0.00005078555005826459 -0.05% -0.05% 1.00x
readableattributedict_init[large] 0.00008558514790152057 0.00008672693474192009 -1.33% -1.32% 0.99x
readableattributedict_init[small] 0.000055108567446142844 0.00005469021523587689 0.76% 0.76% 1.01x
readableattributedict_recursive[list-in-dict] 0.0008897496711716149 0.0008931378397025514 -0.38% -0.38% 1.00x
readableattributedict_recursive[nested-dict] 0.0009298907592281166 0.0009347217757471241 -0.52% -0.52% 0.99x
readableattributedict_recursive[set] 0.0004701100617625745 0.000469326950868152 0.17% 0.17% 1.00x
tupleize_lists_nested[list-in-dict] 0.0008599327668663974 0.0008508325926579319 1.06% 1.07% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.0009281631553301228 0.0009439338561687152 -1.70% -1.67% 0.98x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.00033424558002004517 0.000246493572945893 26.25% 35.60% 1.36x
simplecache_cache[100] 0.0027397156878497847 0.0018911644385970058 30.97% 44.87% 1.45x
simplecache_cache[1000] 0.028347008485720186 0.018073134909077866 36.24% 56.85% 1.57x
simplecache_eviction[10] 0.0005808884855938456 0.0005775485997695459 0.57% 0.58% 1.01x
simplecache_eviction[100] 0.005171300812500353 0.005134315947647223 0.72% 0.72% 1.01x
simplecache_pop[10] 0.0004530414420650781 0.00035225117095974786 22.25% 28.61% 1.29x
simplecache_pop[100] 0.003848480718747993 0.0028282773561278886 26.51% 36.07% 1.36x
simplecache_retrieval[10] 0.00009133015110917217 0.00005657710662955338 38.05% 61.43% 1.61x
simplecache_retrieval[100] 0.0007915152627354234 0.0004565250391679499 42.32% 73.38% 1.73x

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