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.0000018754203697276298 9.716306518995637e-7 48.19% 93.02% 1.93x
is_valid_name[a..eth] 0.00002504919546064178 0.00003102712052142803 -23.86% -19.27% 0.81x
is_valid_name[a.eth..] 0.00002549379997118722 0.00003092525961928871 -21.31% -17.56% 0.82x
is_valid_name[a.eth.] 0.000025799876785824132 0.00003084223843876943 -19.54% -16.35% 0.84x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23742750080004954 0.24723699220007803 -4.13% -3.97% 0.96x
is_valid_name[alice.eth] 0.0106155215203982 0.010905198946245516 -2.73% -2.66% 0.97x
is_valid_name[bob.eth] 0.006467603093744856 0.006504375357140615 -0.57% -0.57% 0.99x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2783340318000228 0.25006447719993047 10.16% 11.30% 1.11x
is_valid_name[subdomain.alice.eth] 0.032159245000002556 0.03247773999998316 -0.99% -0.98% 0.99x
labelhash[] 0.00014701314622904784 0.00008695639955723585 40.85% 69.07% 1.69x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2573267748000944 0.2695283722000113 -4.74% -4.53% 0.95x
labelhash[alice] 0.008512148948274647 0.00852105684298069 -0.10% -0.10% 1.00x
labelhash[bob] 0.0037989444597707036 0.0037563023345727133 1.12% 1.14% 1.01x
labelhash[emoji\U0001f468\U0001f3fb] 0.30260393559997284 0.27477200120001727 9.20% 10.13% 1.10x
labelhash[xn--fiqs8s] 0.02744196263890015 0.028268978567549875 -3.01% -2.93% 0.97x
namehash[] 0.000009888162455279117 0.0000031757580142331184 67.88% 211.36% 3.11x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.46940718959999683 0.4730561294000381 -0.78% -0.77% 0.99x
namehash[alice.eth] 0.024655193243899438 0.02229078240000288 9.59% 10.61% 1.11x
namehash[bob.eth] 0.015363939231898863 0.013661086315052721 11.08% 12.46% 1.12x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5716145989999859 0.473715053199976 17.13% 20.67% 1.21x
namehash[subdomain.alice.eth] 0.06447386670590598 0.06479885399997443 -0.50% -0.50% 0.99x
nameprep[] 0.0000088153662583687 0.000002859735113174107 67.56% 208.26% 3.08x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.22692733959997896 0.24498471479996625 -7.96% -7.37% 0.93x
nameprep[alice.eth] 0.010474728663272186 0.010949727935479141 -4.53% -4.34% 0.96x
nameprep[bob.eth] 0.006260901030855952 0.006871599466668764 -9.75% -8.89% 0.91x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.2593919408000602 0.25032629040001664 3.49% 3.62% 1.04x
nameprep[subdomain.alice.eth] 0.030818317058821564 0.03239785509376958 -5.13% -4.88% 0.95x
parent[] 0.0000010601281086489851 9.497832547816709e-7 10.41% 11.62% 1.12x
parent[bar.eth] 0.0000037774600604898013 0.000002694789712601976 28.66% 40.18% 1.40x
parent[eth] 0.0000021838305952253483 0.00000150939848286682 30.88% 44.68% 1.45x
parent[foo.bar.eth] 0.000004534387312764237 0.000003383373212143084 25.38% 34.02% 1.34x
parent[sub.sub2.foo.bar.eth] 0.0000052441067619078836 0.000004509592863582205 14.01% 16.29% 1.16x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005341210905115968 0.000017220633570521274 67.76% 210.16% 3.10x
reverse_domain[0x1111111111111111111111111111111111111111] 0.000052784152649589036 0.000017287081130201914 67.25% 205.34% 3.05x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0000532210982130756 0.000016786398175952955 68.46% 217.05% 3.17x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000015079695790543951 0.000015242104819099348 -1.08% -1.07% 0.99x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000015218046209772927 0.000015013452108191373 1.34% 1.36% 1.01x
address[alice.eth] 0.000015393163816376574 0.000014995708091488052 2.58% 2.65% 1.03x
address[bob.eth] 0.000015340328428758716 0.000015085273832444194 1.66% 1.69% 1.02x
address[emoji\U0001f468\U0001f3fb.eth] 0.000015108461572839986 0.000015012047109174029 0.64% 0.64% 1.01x
address[subdomain.alice.eth] 0.00001497307427167403 0.000015164431802390413 -1.28% -1.26% 0.99x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.0001527709332436347 0.00015436099564913826 -1.04% -1.03% 0.99x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00015574904837207295 0.0001537321038581377 1.29% 1.31% 1.01x
normalize_name_ensip15[alice.eth] 0.0001562656417748648 0.0001561631934634023 0.07% 0.07% 1.00x
normalize_name_ensip15[bob.eth] 0.00015581653672643424 0.00015588647441381248 -0.04% -0.04% 1.00x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.0001543881205010413 0.00015535174096635476 -0.62% -0.62% 0.99x
normalize_name_ensip15[subdomain.alice.eth] 0.00015530085297750762 0.0001552378725325897 0.04% 0.04% 1.00x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0025140623762646983 0.0008109828826468589 67.74% 210.00% 3.10x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0025275166143960176 0.0008091128859668403 67.99% 212.38% 3.12x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0025337047113933734 0.0008198917906780124 67.64% 209.03% 3.09x
dns_encode_name[] 0.00000686905439569924 0.0000046245790293565185 32.68% 48.53% 1.49x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2660331968000264 0.2545414720000281 4.32% 4.51% 1.05x
dns_encode_name[alice.eth] 0.01208151052872214 0.011746375000014402 2.77% 2.85% 1.03x
dns_encode_name[bob.eth] 0.007597075673906464 0.0072289118848945805 4.85% 5.09% 1.05x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.29211042640004053 0.27822409879995574 4.75% 4.99% 1.05x
dns_encode_name[subdomain.alice.eth] 0.036625695357145105 0.035159876599974875 4.00% 4.17% 1.04x
estimate_auction_start_gas[labels0] 0.00007664319799236113 0.000049472798463346246 35.45% 54.92% 1.55x
estimate_auction_start_gas[labels1] 0.00007659115618108231 0.00004897446930570395 36.06% 56.39% 1.56x
estimate_auction_start_gas[labels2] 0.000070063229325401 0.00004961220452531727 29.19% 41.22% 1.41x
is_empty_name[ ] 0.00006462958328947223 0.00004234046429016865 34.49% 52.64% 1.53x
is_empty_name[.] 0.0000639298625410381 0.000042769257522654714 33.10% 49.48% 1.49x
is_empty_name[0] 0.0000649158423279985 0.000041373437610738694 36.27% 56.90% 1.57x
is_empty_name[1] 0.00006527929142316763 0.00004164817912366523 36.20% 56.74% 1.57x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00006415088849585092 0.00004136597929218869 35.52% 55.08% 1.55x
is_empty_name[alice.eth] 0.00006331982148391397 0.00004099604798354797 35.26% 54.45% 1.54x
is_empty_name[bob.eth] 0.00006376595595001073 0.000042346030182116 33.59% 50.58% 1.51x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00006348320149638636 0.000042214413320929294 33.50% 50.38% 1.50x
is_empty_name[subdomain.alice.eth] 0.0000645292343530839 0.00004165735357089315 35.44% 54.90% 1.55x
is_none_or_zero_address[] 0.000052161753003941425 0.00004338614844048832 16.82% 20.23% 1.20x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00005917656331059943 0.00005036495761807644 14.89% 17.50% 1.17x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005916408675407764 0.00005083736149388749 14.07% 16.38% 1.16x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005891290232941514 0.00005102172965635329 13.39% 15.47% 1.15x
is_valid_ens_name[] 0.0000018934805805463348 0.0000014141613529321205 25.31% 33.89% 1.34x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.24577279679992897 0.23516792959999294 4.31% 4.51% 1.05x
is_valid_ens_name[alice.eth] 0.01061652079380982 0.010937433559136832 -3.02% -2.93% 0.97x
is_valid_ens_name[bar] 0.000001987612497919223 0.0000014848871723772264 25.29% 33.86% 1.34x
is_valid_ens_name[baz] 0.0000019502505638920143 0.0000014887993885150498 23.66% 30.99% 1.31x
is_valid_ens_name[bob.eth] 0.0065045619936668865 0.0067941497142868824 -4.45% -4.26% 0.96x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.25850304999999024 0.2373217358000602 8.19% 8.93% 1.09x
is_valid_ens_name[foo] 0.000001946458074578386 0.0000014872688812638936 23.59% 30.87% 1.31x
is_valid_ens_name[subdomain.alice.eth] 0.03169143000002006 0.03236454365626429 -2.12% -2.08% 0.98x
is_valid_name[] 0.0000017304105415893263 0.0000010775246357870081 37.73% 60.59% 1.61x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.25290637740004057 0.2783930825999505 -10.08% -9.15% 0.91x
is_valid_name[alice.eth] 0.011706637684782258 0.011717257340656083 -0.09% -0.09% 1.00x
is_valid_name[bob.eth] 0.0071639846137870715 0.00736330046429105 -2.78% -2.71% 0.97x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2844547343999693 0.27870420560002457 2.02% 2.06% 1.02x
is_valid_name[subdomain.alice.eth] 0.03372054131249769 0.03598242548276897 -6.71% -6.29% 0.94x
label_to_hash[] 0.00013232716525531682 0.00008371870948581801 36.73% 58.06% 1.58x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22611482340003022 0.23515740780007946 -4.00% -3.85% 0.96x
label_to_hash[alice] 0.007768251635659259 0.007767301608011621 0.01% 0.01% 1.00x
label_to_hash[bob] 0.003511899104166124 0.0034921368934657973 0.56% 0.57% 1.01x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2743210566000016 0.21265750600005048 22.48% 29.00% 1.29x
label_to_hash[xn--fiqs8s] 0.025071379951214112 0.02637061607498481 -5.18% -4.93% 0.95x
normal_name_to_hash[] 0.000001769300929924509 9.63231762290758e-7 45.56% 83.68% 1.84x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2298919597999884 0.2355048859999897 -2.44% -2.38% 0.98x
normal_name_to_hash[alice.eth] 0.012925001548768062 0.01132441690908143 12.38% 14.13% 1.14x
normal_name_to_hash[bob.eth] 0.008112104314519794 0.006938702468534909 14.46% 16.91% 1.17x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2993810241999199 0.22795327680005356 23.86% 31.33% 1.31x
normal_name_to_hash[subdomain.alice.eth] 0.03590517260715842 0.032276139258064794 10.11% 11.24% 1.11x
normalize_name[] 0.000008768534041348512 0.0000029943713263621515 65.85% 192.83% 2.93x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2381104633999712 0.26558894439999675 -11.54% -10.35% 0.90x
normalize_name[alice.eth] 0.011105181552072926 0.011419858725295834 -2.83% -2.76% 0.97x
normalize_name[bob.eth] 0.006745128942302705 0.007038480767116123 -4.35% -4.17% 0.96x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.3042368689999876 0.27815617839996776 8.57% 9.38% 1.09x
normalize_name[subdomain.alice.eth] 0.03256938459376357 0.036141465137924225 -10.97% -9.88% 0.90x
raw_name_to_hash[] 0.000009842948603309552 0.000003092738869133777 68.58% 218.26% 3.18x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4676790651999454 0.4720171345999461 -0.93% -0.92% 0.99x
raw_name_to_hash[alice.eth] 0.02248227271109297 0.022441602999960095 0.18% 0.18% 1.00x
raw_name_to_hash[bob.eth] 0.01365158282431526 0.014084465328763032 -3.17% -3.07% 0.97x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5482496636000178 0.4879698646000179 10.99% 12.35% 1.12x
raw_name_to_hash[subdomain.alice.eth] 0.06540288593748755 0.0650794395000105 0.49% 0.50% 1.00x
sha3_text[0] 0.00011593980354682205 0.00007566790291677723 34.74% 53.22% 1.53x
sha3_text[1] 0.00011653499518779841 0.00007553710792307318 35.18% 54.28% 1.54x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0001266496795156999 0.00008417885298559736 33.53% 50.45% 1.50x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00012551912582116532 0.00008406452801876685 33.03% 49.31% 1.49x
sha3_text[alice.eth] 0.0001360576087689043 0.00008565161812549798 37.05% 58.85% 1.59x
sha3_text[alice] 0.0001260832449933887 0.00008429926792989617 33.14% 49.57% 1.50x
sha3_text[bob.eth] 0.00013431954714690524 0.00008436596007430126 37.19% 59.21% 1.59x
sha3_text[bob] 0.00012582500738531885 0.0000845561930638348 32.80% 48.81% 1.49x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.000130578725750458 0.00008472209046449597 35.12% 54.13% 1.54x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012597397287526365 0.00008498844564452038 32.53% 48.22% 1.48x
sha3_text[subdomain.alice.eth] 0.00012554165485797943 0.00008462773327875277 32.59% 48.35% 1.48x
sha3_text[xn--fiqs8s] 0.00012595930278285264 0.00008512893786419092 32.42% 47.96% 1.48x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.00030592437398449697 0.00026567488563282546 13.16% 15.15% 1.15x
fallback_func_abi_exists 0.0002567511638692618 0.000031254209564998895 87.83% 721.49% 8.21x
filter_by_argument_name[a] 0.0006675434433669791 0.0003847441746426924 42.36% 73.50% 1.74x
filter_by_argument_name[a+b] 0.0006923940797437767 0.0004138976781093565 40.22% 67.29% 1.67x
filter_by_argument_name[b] 0.0006729162663102486 0.0003914903320378869 41.82% 71.89% 1.72x
filter_by_argument_name[c] 0.000657899618438389 0.00038223269685636155 41.90% 72.12% 1.72x
filter_by_argument_name[notfound] 0.0006551917053338912 0.0003807427175291656 41.89% 72.08% 1.72x
filter_by_argument_type[address] 0.0005889804927661924 0.0006194176711354395 -5.17% -4.91% 0.95x
filter_by_argument_type[notatype] 0.0005812456786376925 0.0006066654999986554 -4.37% -4.19% 0.96x
filter_by_argument_type[string] 0.0005870935790738872 0.0006132206761012983 -4.45% -4.26% 0.96x
filter_by_argument_type[uint+address] 0.0005917113889841979 0.0006149090311088517 -3.92% -3.77% 0.96x
filter_by_argument_type[uint256] 0.0005882609501586171 0.0006061046478362532 -3.03% -2.94% 0.97x
filter_by_types[constructor] 0.0000368759180956249 0.000037312639126751155 -1.18% -1.17% 0.99x
filter_by_types[event] 0.00003719019386286757 0.000037559399832307424 -0.99% -0.98% 0.99x
filter_by_types[fallback] 0.00003677622864282697 0.0000376492794489308 -2.37% -2.32% 0.98x
filter_by_types[func+event] 0.00004275415030549973 0.0000428841174725316 -0.30% -0.30% 1.00x
filter_by_types[function] 0.00003678621829815772 0.000037131944905947514 -0.94% -0.93% 0.99x
filter_by_types[none] 0.00003602891603206759 0.00003627552580954211 -0.68% -0.68% 0.99x
filter_by_types[receive] 0.00003817334761984676 0.00003849020348483429 -0.83% -0.82% 0.99x
find_constructor_abi_element_by_type 0.000035088950368123086 0.00003535767740974073 -0.77% -0.76% 0.99x
get_abi_element_signature[custom] 0.00005153880927471304 0.00004985112567121298 3.27% 3.39% 1.03x
get_abi_element_signature[fallback] 0.000021839417134744466 0.000022003284032880375 -0.75% -0.74% 0.99x
get_abi_element_signature[receive] 0.00002921355348938413 0.00002900919023164259 0.70% 0.70% 1.01x
get_abi_element_signature[transfer] 0.00005845412720868562 0.00005540202085014812 5.22% 5.51% 1.06x
get_name_from_abi_element_identifier[custom] 0.00004059745465525985 0.000037967811488303316 6.48% 6.93% 1.07x
get_name_from_abi_element_identifier[fallback] 0.000012441290996757428 0.000012305638506908277 1.09% 1.10% 1.01x
get_name_from_abi_element_identifier[func] 0.00004076341321211928 0.00003821346916150907 6.26% 6.67% 1.07x
get_name_from_abi_element_identifier[receive] 0.000018638159706088252 0.00001888760943769511 -1.34% -1.32% 0.99x
get_tuple_type_str_parts[not-tuple] 0.000022987906065176624 0.000023495891863961045 -2.21% -2.16% 0.98x
get_tuple_type_str_parts[one-dim] 0.00007617536212052445 0.0000771469740037317 -1.28% -1.26% 0.99x
get_tuple_type_str_parts[plain] 0.00004846622475932831 0.00004877796399540236 -0.64% -0.64% 0.99x
get_tuple_type_str_parts[two-dim] 0.0000927796643503054 0.00009601258863957281 -3.48% -3.37% 0.97x
is_address_type[address] 0.00004467855759329074 0.00004523117894826259 -1.24% -1.22% 0.99x
is_address_type[array] 0.000045813651985587064 0.000045691570047206765 0.27% 0.27% 1.00x
is_address_type[bool] 0.000044395174379550965 0.00004497357549786172 -1.30% -1.29% 0.99x
is_address_type[bytes] 0.00004495317696431526 0.00004457673022259014 0.84% 0.84% 1.01x
is_address_type[bytes32] 0.0000463141081764806 0.000046582365839092915 -0.58% -0.58% 0.99x
is_address_type[bytes33] 0.000045538471690928365 0.00004544165484141123 0.21% 0.21% 1.00x
is_address_type[empty] 0.000044496580633874276 0.00004442237501730642 0.17% 0.17% 1.00x
is_address_type[enum] 0.000044462117684998935 0.00004443295261824873 0.07% 0.07% 1.00x
is_address_type[int256] 0.00004472549813808983 0.00004525787131556238 -1.19% -1.18% 0.99x
is_address_type[invalid] 0.00004417669632385451 0.00004380702729082484 0.84% 0.84% 1.01x
is_address_type[string] 0.00004515646351122919 0.000044716811657710386 0.97% 0.98% 1.01x
is_address_type[tuple-array] 0.00004442765219949896 0.00004383703487181339 1.33% 1.35% 1.01x
is_address_type[tuple] 0.000045062092996294804 0.00004468990160534359 0.83% 0.83% 1.01x
is_address_type[uint256] 0.0000459740037421316 0.000046768557360704726 -1.73% -1.70% 0.98x
is_array_type[address] 0.0003868028185150106 0.0003947823381161128 -2.06% -2.02% 0.98x
is_array_type[array] 0.0003965671640314941 0.000414927218735062 -4.63% -4.42% 0.96x
is_array_type[bool] 0.0003591545128461859 0.0003649258850057316 -1.61% -1.58% 0.98x
is_array_type[bytes] 0.00036681738102286085 0.00037585762167777567 -2.46% -2.41% 0.98x
is_array_type[bytes32] 0.0003852697691110859 0.0003943930067679471 -2.37% -2.31% 0.98x
is_array_type[bytes33] 0.0003881726066917298 0.0003955121037207771 -1.89% -1.86% 0.98x
is_array_type[empty] 0.0002941213966007941 0.0003017515798086977 -2.59% -2.53% 0.97x
is_array_type[enum] 0.0003720599611881448 0.00038630418830360857 -3.83% -3.69% 0.96x
is_array_type[int256] 0.000375969552890844 0.00038256546941039106 -1.75% -1.72% 0.98x
is_array_type[invalid] 0.00039239833943390895 0.0004093824699358082 -4.33% -4.15% 0.96x
is_array_type[string] 0.0003770817810774693 0.00039678565815042715 -5.23% -4.97% 0.95x
is_array_type[tuple-array] 0.00040145474235886333 0.0004084998126857336 -1.75% -1.72% 0.98x
is_array_type[tuple] 0.0003636376147334021 0.00037596939531309186 -3.39% -3.28% 0.97x
is_array_type[uint256] 0.0003890593847391841 0.0003949753645450991 -1.52% -1.50% 0.99x
is_bool_type[address] 0.00004569252663231369 0.000044901175618655946 1.73% 1.76% 1.02x
is_bool_type[array] 0.000044442137964772554 0.00004502848612906708 -1.32% -1.30% 0.99x
is_bool_type[bool] 0.00004427293378218862 0.00004572235787129582 -3.27% -3.17% 0.97x
is_bool_type[bytes] 0.00004431390881402937 0.00004472864731087302 -0.94% -0.93% 0.99x
is_bool_type[bytes32] 0.0000447879593388959 0.00004458664494566429 0.45% 0.45% 1.00x
is_bool_type[bytes33] 0.00004465371152409801 0.00004422551924020727 0.96% 0.97% 1.01x
is_bool_type[empty] 0.00004493808940505621 0.00004442322803002857 1.15% 1.16% 1.01x
is_bool_type[enum] 0.00004398527363445189 0.000044834490897639546 -1.93% -1.89% 0.98x
is_bool_type[int256] 0.000044512111946026345 0.00004430880862506887 0.46% 0.46% 1.00x
is_bool_type[invalid] 0.00004435712491011759 0.00004442232951229147 -0.15% -0.15% 1.00x
is_bool_type[string] 0.00004503715722763569 0.00004529822309538725 -0.58% -0.58% 0.99x
is_bool_type[tuple-array] 0.00004500478776676662 0.000043838771772459406 2.59% 2.66% 1.03x
is_bool_type[tuple] 0.00004446070381752049 0.000045028320955779975 -1.28% -1.26% 0.99x
is_bool_type[uint256] 0.000044232137154963445 0.00004544582743148664 -2.74% -2.67% 0.97x
is_bytes_type[address] 0.0003046564275787764 0.0003067587670337004 -0.69% -0.69% 0.99x
is_bytes_type[array] 0.00030932559365297644 0.0003028345114647642 2.10% 2.14% 1.02x
is_bytes_type[bool] 0.00027925582184522453 0.0002801608134862072 -0.32% -0.32% 1.00x
is_bytes_type[bytes] 0.0002785683936927143 0.000278404439766298 0.06% 0.06% 1.00x
is_bytes_type[bytes32] 0.000300787696977383 0.0003054806659546449 -1.56% -1.54% 0.98x
is_bytes_type[bytes33] 0.0003130980061532265 0.0003180285626780695 -1.57% -1.55% 0.98x
is_bytes_type[empty] 0.0002802840300335617 0.0002796345960623025 0.23% 0.23% 1.00x
is_bytes_type[enum] 0.0002871874219098738 0.00029190165475895843 -1.64% -1.62% 0.98x
is_bytes_type[int256] 0.00028603738063997624 0.0002991707903761825 -4.59% -4.39% 0.96x
is_bytes_type[invalid] 0.0002799181247452893 0.0002796256290708352 0.10% 0.10% 1.00x
is_bytes_type[string] 0.0002886893441623573 0.00029434498976896236 -1.96% -1.92% 0.98x
is_bytes_type[tuple-array] 0.0002795347148691413 0.0002796915561223164 -0.06% -0.06% 1.00x
is_bytes_type[tuple] 0.00027967671508134925 0.0002798639806066433 -0.07% -0.07% 1.00x
is_bytes_type[uint256] 0.00030653313024325363 0.0003191190262741654 -4.11% -3.94% 0.96x
is_int_type[address] 0.0002017655261026784 0.0002050666234931233 -1.64% -1.61% 0.98x
is_int_type[array] 0.00020129023027058056 0.00020452129593034093 -1.61% -1.58% 0.98x
is_int_type[bool] 0.00020144737036467344 0.00020523804038182118 -1.88% -1.85% 0.98x
is_int_type[bytes] 0.00022264260704240964 0.0002185169127708844 1.85% 1.89% 1.02x
is_int_type[bytes32] 0.0002019913055658238 0.00020242971949356817 -0.22% -0.22% 1.00x
is_int_type[bytes33] 0.00020463844455617135 0.0002046730957712699 -0.02% -0.02% 1.00x
is_int_type[empty] 0.00020564812512754164 0.00020447772866943165 0.57% 0.57% 1.01x
is_int_type[enum] 0.00022574211908945447 0.00023421134321119445 -3.75% -3.62% 0.96x
is_int_type[int256] 0.00023398046969562675 0.00023776078137573367 -1.62% -1.59% 0.98x
is_int_type[invalid] 0.00020133004319699698 0.00020425213375568655 -1.45% -1.43% 0.99x
is_int_type[string] 0.00023116185497735797 0.00023709896606459332 -2.57% -2.50% 0.97x
is_int_type[tuple-array] 0.00020167577624779332 0.0002026164897569929 -0.47% -0.46% 1.00x
is_int_type[tuple] 0.00021795564681630308 0.00022093362986402485 -1.37% -1.35% 0.99x
is_int_type[uint256] 0.00020237333406625176 0.00020490177304439928 -1.25% -1.23% 0.99x
is_probably_enum[address] 0.00006604558638390489 0.00006986317845297931 -5.78% -5.46% 0.95x
is_probably_enum[empty] 0.00006132560923939302 0.00006304661077469325 -2.81% -2.73% 0.97x
is_probably_enum[enum] 0.00006647683794297174 0.00006852013799224433 -3.07% -2.98% 0.97x
is_probably_enum[lib-dot] 0.0000679693952603704 0.00007050212349137534 -3.73% -3.59% 0.96x
is_probably_enum[lib-enum] 0.00007500312630358573 0.00007785379785746015 -3.80% -3.66% 0.96x
is_probably_enum[uint256] 0.00006632211514004308 0.00006909762924167192 -4.18% -4.02% 0.96x
is_recognized_type[address] 0.00008019929623763098 0.00008498531259488699 -5.97% -5.63% 0.94x
is_recognized_type[array] 0.00008414107403694722 0.00008854235217681078 -5.23% -4.97% 0.95x
is_recognized_type[bool] 0.00008101412614386298 0.00008376521125920003 -3.40% -3.28% 0.97x
is_recognized_type[bytes] 0.00015251918715059268 0.0001621613423537742 -6.32% -5.95% 0.94x
is_recognized_type[bytes32] 0.00015185169338408303 0.00015460250824962568 -1.81% -1.78% 0.98x
is_recognized_type[bytes33] 0.00013934052394950648 0.00014628207151435273 -4.98% -4.75% 0.95x
is_recognized_type[empty] 0.0000617161991724685 0.00006573832383895454 -6.52% -6.12% 0.94x
is_recognized_type[enum] 0.00008353574820963828 0.00008996579777041194 -7.70% -7.15% 0.93x
is_recognized_type[int256] 0.00012862663098564414 0.00013304045509090839 -3.43% -3.32% 0.97x
is_recognized_type[invalid] 0.00008364346850563114 0.00009063668029136323 -8.36% -7.72% 0.92x
is_recognized_type[string] 0.00010298987696836189 0.00010871697764690707 -5.56% -5.27% 0.95x
is_recognized_type[tuple-array] 0.00008423343038197929 0.00009035156132714242 -7.26% -6.77% 0.93x
is_recognized_type[tuple] 0.0000844783864890419 0.00009005395977292089 -6.60% -6.19% 0.94x
is_recognized_type[uint256] 0.00012949271508462713 0.00013431000365239526 -3.72% -3.59% 0.96x
is_string_type[address] 0.00004474049329831029 0.000043962581661315755 1.74% 1.77% 1.02x
is_string_type[array] 0.00004433579163168863 0.00004404082712177255 0.67% 0.67% 1.01x
is_string_type[bool] 0.0000446843370741708 0.00004456677497259937 0.26% 0.26% 1.00x
is_string_type[bytes] 0.00004474648714290243 0.000044694147480950164 0.12% 0.12% 1.00x
is_string_type[bytes32] 0.00004404778145870522 0.000044454820714619907 -0.92% -0.92% 0.99x
is_string_type[bytes33] 0.00004378806633346715 0.00004512578580313706 -3.05% -2.96% 0.97x
is_string_type[empty] 0.000044627131335513684 0.000045443460137380995 -1.83% -1.80% 0.98x
is_string_type[enum] 0.00004605518707696894 0.00004521428109451801 1.83% 1.86% 1.02x
is_string_type[int256] 0.000045677095060316284 0.000046099644451233 -0.93% -0.92% 0.99x
is_string_type[invalid] 0.000045306835838836555 0.00004313287464947859 4.80% 5.04% 1.05x
is_string_type[string] 0.00004436196351171194 0.000045058365246561126 -1.57% -1.55% 0.98x
is_string_type[tuple-array] 0.00004369094381230206 0.0000442555553036254 -1.29% -1.28% 0.99x
is_string_type[tuple] 0.00004525505225289132 0.0000439712288333667 2.84% 2.92% 1.03x
is_string_type[uint256] 0.00004482926387624492 0.00004513931042668928 -0.69% -0.69% 0.99x
is_uint_type[address] 0.00022891388425498152 0.00022860301251453853 0.14% 0.14% 1.00x
is_uint_type[array] 0.00023051048201021127 0.00023716060066079282 -2.88% -2.80% 0.97x
is_uint_type[bool] 0.00020566651024356958 0.00020212549041395564 1.72% 1.75% 1.02x
is_uint_type[bytes] 0.0002027205192400801 0.00020200203982186142 0.35% 0.36% 1.00x
is_uint_type[bytes32] 0.0002300604580878996 0.00023447761854190031 -1.92% -1.88% 0.98x
is_uint_type[bytes33] 0.00023177271441861153 0.0002353060002354743 -1.52% -1.50% 0.98x
is_uint_type[empty] 0.00020184727054468443 0.00020189955606881213 -0.03% -0.03% 1.00x
is_uint_type[enum] 0.00022101242191893325 0.00021291580252966077 3.66% 3.80% 1.04x
is_uint_type[int256] 0.0002126382045092641 0.0002162520954927159 -1.70% -1.67% 0.98x
is_uint_type[invalid] 0.00020166541317874267 0.0002011139070749241 0.27% 0.27% 1.00x
is_uint_type[string] 0.00021519494083539455 0.00022273100729924662 -3.50% -3.38% 0.97x
is_uint_type[tuple-array] 0.00020103899133788126 0.00020135327736563172 -0.16% -0.16% 1.00x
is_uint_type[tuple] 0.00020145569469298848 0.0002028673445273618 -0.70% -0.70% 0.99x
is_uint_type[uint256] 0.00022697417809640802 0.00023518438818060343 -3.62% -3.49% 0.97x
length_of_array_type[dynamic] 0.000163857738753525 0.00016133647058806774 1.54% 1.56% 1.02x
length_of_array_type[fixed] 0.0001743652890795469 0.00017342639327488463 0.54% 0.54% 1.01x
length_of_array_type[nested] 0.00018248588152264657 0.00017986027038307642 1.44% 1.46% 1.01x
map_abi_data 0.007314421883315466 0.0057249591975295075 21.73% 27.76% 1.28x
normalize_event_input_types 0.0004283186817990351 0.000456680125688104 -6.62% -6.21% 0.94x
receive_func_abi_exists 0.00032445310660495966 0.000030247089485825712 90.68% 972.68% 10.73x
strip_abi_types 0.0016458043190357389 0.0016589615972896418 -0.80% -0.79% 0.99x
sub_type_of_array_type[nested] 0.00017935561248112755 0.0001830072564910291 -2.04% -2.00% 0.98x
sub_type_of_array_type[simple] 0.00017292122727334154 0.00017651756317161517 -2.08% -2.04% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002122175410448843 0.00002293758039960413 -8.09% -7.48% 0.93x
is_hex_encoded_block_hash[invalid-g] 0.00008742791377217719 0.0000633181287957091 27.58% 38.08% 1.38x
is_hex_encoded_block_hash[none] 0.000021232819686745223 0.000022760280984903783 -7.19% -6.71% 0.93x
is_hex_encoded_block_hash[short] 0.00004706192336287377 0.000028785509282280145 38.83% 63.49% 1.63x
is_hex_encoded_block_hash[too-long] 0.00004614737263622502 0.000028597017661985953 38.03% 61.37% 1.61x
is_hex_encoded_block_hash[too-short] 0.00004576380186581076 0.000028323921094734878 38.11% 61.57% 1.62x
is_hex_encoded_block_hash[valid-a] 0.00009634614886514234 0.00007486788838979516 22.29% 28.69% 1.29x
is_hex_encoded_block_hash[valid-f] 0.00009648566541500028 0.00007443444585900634 22.85% 29.63% 1.30x
is_hex_encoded_block_number[int] 0.000021476524388442217 0.000022887063355655967 -6.57% -6.16% 0.94x
is_hex_encoded_block_number[invalid-g] 0.0001643313078432529 0.000221173503901407 -34.59% -25.70% 0.74x
is_hex_encoded_block_number[max-64-a] 0.00010617605287410464 0.00008347785763712961 21.38% 27.19% 1.27x
is_hex_encoded_block_number[max-64-f] 0.00010731435311020004 0.00008380624018581181 21.91% 28.05% 1.28x
is_hex_encoded_block_number[none] 0.000021554443885827614 0.000022739126888146268 -5.50% -5.21% 0.95x
is_hex_encoded_block_number[small] 0.00009602357162758394 0.00004743554956746501 50.60% 102.43% 2.02x
is_hex_encoded_block_number[too-long] 0.00011077929044833108 0.00006101392825918693 44.92% 81.56% 1.82x
is_predefined_block_number[bytes-latest] 0.00003269457989433851 0.000028696565470379405 12.23% 13.93% 1.14x
is_predefined_block_number[bytes-pending] 0.00003290210922695787 0.000028809983982106896 12.44% 14.20% 1.14x
is_predefined_block_number[bytes-random] 0.00003216130771069233 0.00002801979538297016 12.88% 14.78% 1.15x
is_predefined_block_number[int] 0.00003472915502805306 0.00002510331705417391 27.72% 38.34% 1.38x
is_predefined_block_number[none] 0.0001247982509180632 0.00021871904574896568 -75.26% -42.94% 0.57x
is_predefined_block_number[object] 0.00015387836953841005 0.0002547947349869459 -65.58% -39.61% 0.60x
is_predefined_block_number[str-earliest] 0.00001425800391111796 0.000010809449939145548 24.19% 31.90% 1.32x
is_predefined_block_number[str-finalized] 0.00001373012123681768 0.000010838681964201473 21.06% 26.68% 1.27x
is_predefined_block_number[str-foo] 0.000013530114227253247 0.000010653150586458382 21.26% 27.01% 1.27x
is_predefined_block_number[str-latest] 0.000014384354877924952 0.000010735465014818179 25.37% 33.99% 1.34x
is_predefined_block_number[str-pending] 0.000014327275583005175 0.00001074584968406714 25.00% 33.33% 1.33x
is_predefined_block_number[str-safe] 0.000013687478367656247 0.000010707061732996373 21.77% 27.84% 1.28x
select_method_for_block_identifier[hash-bytes] 0.000049632223363913806 0.00004336094022224035 12.64% 14.46% 1.14x
select_method_for_block_identifier[hash-hexstr] 0.00013006796943276945 0.0000953391951235272 26.70% 36.43% 1.36x
select_method_for_block_identifier[invalid-none] 0.0009174473524100345 0.0011065286754793774 -20.61% -17.09% 0.83x
select_method_for_block_identifier[invalid-object] 0.0009651612546031453 0.0011283726477667702 -16.91% -14.46% 0.86x
select_method_for_block_identifier[number-hexstr] 0.00017749915026462278 0.0000897916168473933 49.41% 97.68% 1.98x
select_method_for_block_identifier[number-int] 0.0001112530378276603 0.00006288029483143466 43.48% 76.93% 1.77x
select_method_for_block_identifier[predefined-bytes] 0.00004816630115955031 0.000043976100315532106 8.70% 9.53% 1.10x
select_method_for_block_identifier[predefined-str] 0.000026507670848119445 0.000022828299436369084 13.88% 16.12% 1.16x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00045467223225398404 0.000530324333931058 -16.64% -14.27% 0.86x
PropertyCheckingFactory[big-valid] 0.0004498844515604081 0.0005267855885617876 -17.09% -14.60% 0.85x
PropertyCheckingFactory[inheritance] 0.000985276289529242 0.0009749112207743649 1.05% 1.06% 1.01x
PropertyCheckingFactory[invalid] 0.0004601359840967638 0.0005305530770098242 -15.30% -13.27% 0.87x
PropertyCheckingFactory[multi-normalizer] 0.00044697828585644285 0.0005331852656599432 -19.29% -16.17% 0.84x
PropertyCheckingFactory[multi-prop] 0.0004461169445736358 0.0005263828872472296 -17.99% -15.25% 0.85x
PropertyCheckingFactory[normalized] 0.0004506521824938653 0.0005295142871706011 -17.50% -14.89% 0.85x
PropertyCheckingFactory[valid] 0.001081190067170738 0.0011781185614960453 -8.96% -8.23% 0.92x
verify_attr[empty] 0.00010269556397420598 0.00016772648176251295 -63.32% -38.77% 0.61x
verify_attr[found-end] 0.000013050126568537434 0.000011303075291309605 13.39% 15.46% 1.15x
verify_attr[found-start] 0.00000981058009079646 0.000008732963701180014 10.98% 12.34% 1.12x
verify_attr[large-found] 0.00014240280603820308 0.00014214140732630228 0.18% 0.18% 1.00x
verify_attr[large-notfound] 0.00020492872294902267 0.00026951160495375826 -31.51% -23.96% 0.76x
verify_attr[notfound] 0.00010636565317124458 0.000169487795305892 -59.34% -37.24% 0.63x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006427821288855307 0.000652922896997635 -1.58% -1.55% 0.98x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00008011398227740305 0.000022459754880440044 71.97% 256.70% 3.57x
percentile[100-90th] 0.00011305617300980792 0.00005540495048792608 50.99% 104.05% 2.04x
percentile[100k-99th] 0.03755093548148512 0.037096739111095504 1.21% 1.22% 1.01x
percentile[100k-median] 0.03859708437036075 0.03697133000000745 4.21% 4.40% 1.04x
percentile[10k-10th] 0.0039910560000048145 0.003753987342309546 5.94% 6.32% 1.06x
percentile[10k-99th] 0.0038823647631528032 0.003619094768126892 6.78% 7.27% 1.07x
percentile[10k-median] 0.0039028879700419247 0.003596659311358216 7.85% 8.51% 1.09x
percentile[1k-99th] 0.0004899952776915716 0.0004144634361069881 15.41% 18.22% 1.18x
percentile[1M-median] 0.7023201530000278 0.6157485826000538 12.33% 14.06% 1.14x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000014547329545266709 0.00000823694570523537 43.38% 76.61% 1.77x
to_bytes_if_hex[empty-str] 0.00031574998726232657 0.00003899781418842392 87.65% 709.66% 8.10x
to_bytes_if_hex[hexstr] 0.00034700748321629107 0.00004698129152589275 86.46% 638.61% 7.39x
to_bytes_if_hex[large-hex] 0.00034165409122967615 0.00005032863440825511 85.27% 578.85% 6.79x
to_bytes_if_hex[non-prefixed-hex] 0.00033077677554627484 0.00004538615707401781 86.28% 628.81% 7.29x
to_bytes_if_hex[nothex] 0.0004324865098050439 0.0002725979340642669 36.97% 58.65% 1.59x
to_bytes_if_hex[unicode] 0.0004282838762268484 0.0002847249107395263 33.52% 50.42% 1.50x
to_bytes_if_hex[zero] 0.0003443595028702286 0.000046698963313687905 86.44% 637.40% 7.37x
to_hex_if_bytes[bytes] 0.00022122202952778118 0.00004954842419234811 77.60% 346.48% 4.46x
to_hex_if_bytes[empty-bytes] 0.00021028474877794008 0.00003904916717417726 81.43% 438.51% 5.39x
to_hex_if_bytes[empty-str] 0.00010361928837971106 0.0002059359354024975 -98.74% -49.68% 0.50x
to_hex_if_bytes[hexstr] 0.00027825916132680645 0.000024537206966961123 91.18% 1034.03% 11.34x
to_hex_if_bytes[large-bytes] 0.00022603076088791857 0.00005178372420862104 77.09% 336.49% 4.36x
to_hex_if_bytes[non-prefixed-hex] 0.00010478508273336227 0.00020689906847704052 -97.45% -49.35% 0.51x
to_hex_if_bytes[not-hex] 0.00010464826641384894 0.0002067038228948284 -97.52% -49.37% 0.51x
to_hex_if_bytes[unicode] 0.00010906629878387476 0.00021221760990911494 -94.58% -48.61% 0.51x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0003076967094657204 0.00011702893689241699 61.97% 162.92% 2.63x
all_in_dict[empty-dict] 0.0002722206688995656 0.0000838462302246252 69.20% 224.67% 3.25x
all_in_dict[empty-list] 0.00026874933823685696 0.00010130459474812978 62.31% 165.29% 2.65x
all_in_dict[mixed-types] 0.0003210466715575531 0.00011676502738772833 63.63% 174.95% 2.75x
all_in_dict[no-overlap] 0.0002906676910077067 0.00009905932080617691 65.92% 193.43% 2.93x
all_in_dict[none-in] 0.0002893322256889597 0.00010186727726406344 64.79% 184.03% 2.84x
all_in_dict[one-in] 0.0002874961595488475 0.00010991585143594213 61.77% 161.56% 2.62x
all_in_dict[partial-overlap] 0.00033018516176647975 0.00011317757800004554 65.72% 191.74% 2.92x
all_in_dict[value-none] 0.0002881546941036304 0.00010874738867921365 62.26% 164.98% 2.65x
any_in_dict[all-in] 0.0002885926220539419 0.0001024785355305371 64.49% 181.61% 2.82x
any_in_dict[empty-dict] 0.0003137569284819951 0.00009502122073384343 69.72% 230.20% 3.30x
any_in_dict[empty-list] 0.0002696113664766319 0.00009951837780221946 63.09% 170.92% 2.71x
any_in_dict[mixed-types] 0.0002919268374369662 0.00009272509870902934 68.24% 214.83% 3.15x
any_in_dict[no-overlap] 0.0003274269083707129 0.00010815965500595572 66.97% 202.73% 3.03x
any_in_dict[none-in] 0.000288670618606551 0.00010688968658172572 62.97% 170.06% 2.70x
any_in_dict[one-in] 0.00028573107341599985 0.00010070498849627248 64.76% 183.73% 2.84x
any_in_dict[partial-overlap] 0.0002874879022575411 0.00009171421571888448 68.10% 213.46% 3.13x
any_in_dict[value-none] 0.00028436005131993094 0.00009040990384651148 68.21% 214.52% 3.15x
either_set_is_a_subset[both-empty] 0.0001672892148950518 0.00015966223959092043 4.56% 4.78% 1.05x
either_set_is_a_subset[empty-set1] 0.00016900193558832562 0.00015937323003715364 5.70% 6.04% 1.06x
either_set_is_a_subset[empty-set2] 0.00025389537833092157 0.00025453151361830236 -0.25% -0.25% 1.00x
either_set_is_a_subset[identical] 0.00017916916503449255 0.00016682789317872391 6.89% 7.40% 1.07x
either_set_is_a_subset[mixed-types] 0.00018225256070250243 0.00017187265528863967 5.70% 6.04% 1.06x
either_set_is_a_subset[not-subset] 0.00027066798383152595 0.000256999772656129 5.05% 5.32% 1.05x
either_set_is_a_subset[partial-overlap] 0.00029584086923860656 0.0002795013576794824 5.52% 5.85% 1.06x
either_set_is_a_subset[subset] 0.00018610870703794256 0.00017321534066229858 6.93% 7.44% 1.07x
either_set_is_a_subset[superset] 0.00028859213192502093 0.00028756402071078945 0.36% 0.36% 1.00x
none_in_dict[all-in] 0.0002998335900169031 0.00009352153465925661 68.81% 220.60% 3.21x
none_in_dict[empty-dict] 0.000315962906303162 0.00009334880652051777 70.46% 238.48% 3.38x
none_in_dict[empty-list] 0.00027527677378769806 0.00008926623629941795 67.57% 208.38% 3.08x
none_in_dict[mixed-types] 0.0002974383247309834 0.00009398203803956584 68.40% 216.48% 3.16x
none_in_dict[no-overlap] 0.0003332354572198946 0.00011064576321756446 66.80% 201.17% 3.01x
none_in_dict[none-in] 0.00029827334687419646 0.00009807866307447608 67.12% 204.12% 3.04x
none_in_dict[one-in] 0.00029689545367537936 0.00009285772367959422 68.72% 219.73% 3.20x
none_in_dict[partial-overlap] 0.0003007740585210742 0.00009317838086359313 69.02% 222.79% 3.23x
none_in_dict[value-none] 0.00029704543042129335 0.00009361139076715181 68.49% 217.32% 3.17x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0014553524321460794 0.0014417217942461562 0.94% 0.95% 1.01x
attributedict_hash[flat] 0.0011055229507810171 0.0011091490055782519 -0.33% -0.33% 1.00x
attributedict_hash[nested] 0.001730293513422252 0.0017439599224282213 -0.79% -0.78% 0.99x
attributedict_init[empty] 0.00008575099021484843 0.00008469201451964098 1.23% 1.25% 1.01x
attributedict_init[large] 0.00012988738462729014 0.00013338282367810495 -2.69% -2.62% 0.97x
attributedict_init[small] 0.00009186687451071553 0.00009098442407997201 0.96% 0.97% 1.01x
mutableattributedict_delitem 0.00038890362847870307 0.0003893994728826794 -0.13% -0.13% 1.00x
mutableattributedict_setitem 0.0003181715999339559 0.0003178673843451579 0.10% 0.10% 1.00x
namedelementonion_add 0.029188025495511635 0.025056213028987244 14.16% 16.49% 1.16x
namedelementonion_as_tuple_of_middleware 0.0001535553486307352 0.00015267521339743314 0.57% 0.58% 1.01x
namedelementonion_contains 0.000030276399965347452 0.00003008700116348821 0.63% 0.63% 1.01x
namedelementonion_getitem 0.00002794791047731834 0.00002764527899987023 1.08% 1.09% 1.01x
namedelementonion_init[callables2] 0.00012665555112763706 0.0001260844711593397 0.45% 0.45% 1.00x
namedelementonion_init[callables3] 0.0001606509561060776 0.00016047617293702356 0.11% 0.11% 1.00x
namedelementonion_init[empty] 0.00004352949909027327 0.00004321327706255939 0.73% 0.73% 1.01x
namedelementonion_inject 0.03317465990587741 0.031100807065221805 6.25% 6.67% 1.07x
namedelementonion_iter 0.0001574384628189998 0.00015649111828312917 0.60% 0.61% 1.01x
namedelementonion_remove 0.0006785866159743944 0.0006788607433629074 -0.04% -0.04% 1.00x
namedelementonion_replace 0.0024393484430677266 0.0024328913201823415 0.26% 0.27% 1.00x
readableattributedict_getitem[large] 0.00001602325491793152 0.000016162720542149745 -0.87% -0.86% 0.99x
readableattributedict_getitem[small] 0.000015395393046056972 0.000015339344874007502 0.36% 0.37% 1.00x
readableattributedict_init[empty] 0.00005356852419717775 0.0000527549014262508 1.52% 1.54% 1.02x
readableattributedict_init[large] 0.00008996043355856494 0.00008779210407556616 2.41% 2.47% 1.02x
readableattributedict_init[small] 0.000056606955314423216 0.00005638976759101539 0.38% 0.39% 1.00x
readableattributedict_recursive[list-in-dict] 0.0008970127448817108 0.0009109699691875636 -1.56% -1.53% 0.98x
readableattributedict_recursive[nested-dict] 0.0009290203406241817 0.0009140642914259107 1.61% 1.64% 1.02x
readableattributedict_recursive[set] 0.000478346115378678 0.00047180047493008525 1.37% 1.39% 1.01x
tupleize_lists_nested[list-in-dict] 0.0008383033704631194 0.0008390842742156314 -0.09% -0.09% 1.00x
tupleize_lists_nested[tuple-in-dict] 0.0009068705314466755 0.0009245677832731411 -1.95% -1.91% 0.98x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003406669693000125 0.00025741372269114365 24.44% 32.34% 1.32x
simplecache_cache[100] 0.0028054565373546816 0.0020061471442898915 28.49% 39.84% 1.40x
simplecache_cache[1000] 0.02833291880555559 0.019157931442306948 32.38% 47.89% 1.48x
simplecache_eviction[10] 0.000591674197079433 0.0005937840067683563 -0.36% -0.36% 1.00x
simplecache_eviction[100] 0.005353170784934919 0.005330680673799612 0.42% 0.42% 1.00x
simplecache_pop[10] 0.00045986406747345807 0.0003644671182523653 20.74% 26.17% 1.26x
simplecache_pop[100] 0.0038886101992119393 0.002893417301178041 25.59% 34.40% 1.34x
simplecache_retrieval[10] 0.0000906031549306419 0.000056033261460465024 38.16% 61.70% 1.62x
simplecache_retrieval[100] 0.0007934115374293191 0.00043596374354426396 45.05% 81.99% 1.82x

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 20, 2025

CodSpeed Performance Report

Merging #144 will not alter performance

Comparing assoc (f35c867) with master (26ff77a)

Summary

✅ 766 untouched

@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.0000017864899033139884 9.692524372136119e-7 45.75% 84.32% 1.84x
is_valid_name[a..eth] 0.00002517848383127743 0.00002982877856774821 -18.47% -15.59% 0.84x
is_valid_name[a.eth..] 0.000025372932035190878 0.00002996292503340502 -18.09% -15.32% 0.85x
is_valid_name[a.eth.] 0.000025528651866738248 0.00002984469146043846 -16.91% -14.46% 0.86x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2345062624000093 0.25172168980002424 -7.34% -6.84% 0.93x
is_valid_name[alice.eth] 0.010503975051564732 0.010983074293476322 -4.56% -4.36% 0.96x
is_valid_name[bob.eth] 0.006522938961779801 0.006750890973860663 -3.49% -3.38% 0.97x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2509135019999576 0.2561620843999208 -2.09% -2.05% 0.98x
is_valid_name[subdomain.alice.eth] 0.03144650109092337 0.03311171393751522 -5.30% -5.03% 0.95x
labelhash[] 0.00013603593901991392 0.00008238479509901353 39.44% 65.12% 1.65x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2280440991999967 0.2341872334000527 -2.69% -2.62% 0.97x
labelhash[alice] 0.0077456588527085365 0.0077171157054374976 0.37% 0.37% 1.00x
labelhash[bob] 0.0034933263801360213 0.0034192844300416857 2.12% 2.17% 1.02x
labelhash[emoji\U0001f468\U0001f3fb] 0.28288739080007874 0.25278237640000045 10.64% 11.91% 1.12x
labelhash[xn--fiqs8s] 0.024283998365845258 0.02522980120000966 -3.89% -3.75% 0.96x
namehash[] 0.000009904504939292224 0.0000031933403961066164 67.76% 210.16% 3.10x
namehash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.45432460140004877 0.49437725339998906 -8.82% -8.10% 0.92x
namehash[alice.eth] 0.02235024104349439 0.02217640682222029 0.78% 0.78% 1.01x
namehash[bob.eth] 0.013687730239986802 0.013606487653323712 0.59% 0.60% 1.01x
namehash[emoji\U0001f468\U0001f3fb.eth] 0.5593342440000015 0.47955929079994347 14.26% 16.64% 1.17x
namehash[subdomain.alice.eth] 0.06251781941175656 0.06602661556247824 -5.61% -5.31% 0.95x
nameprep[] 0.000008571149609290976 0.000002945173681477397 65.64% 191.02% 2.91x
nameprep[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23073454640002639 0.23135280700003022 -0.27% -0.27% 1.00x
nameprep[alice.eth] 0.01072068191837045 0.011089839537628914 -3.44% -3.33% 0.97x
nameprep[bob.eth] 0.006219669222931261 0.006652524917199348 -6.96% -6.51% 0.93x
nameprep[emoji\U0001f468\U0001f3fb.eth] 0.25756860200003756 0.22904573500004516 11.07% 12.45% 1.12x
nameprep[subdomain.alice.eth] 0.03269698303125779 0.031732531838682215 2.95% 3.04% 1.03x
parent[] 9.877129489228801e-7 8.583228670531249e-7 13.10% 15.07% 1.15x
parent[bar.eth] 0.0000036381015621188606 0.0000024169933434711866 33.56% 50.52% 1.51x
parent[eth] 0.0000019829576579833006 0.0000014192993003362703 28.43% 39.71% 1.40x
parent[foo.bar.eth] 0.000004195583737596698 0.0000030959412947622356 26.21% 35.52% 1.36x
parent[sub.sub2.foo.bar.eth] 0.0000049328276649813825 0.000003822960632664377 22.50% 29.03% 1.29x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00004986841581678298 0.000016273897609708063 67.37% 206.43% 3.06x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005087158197706912 0.00001636325840122842 67.83% 210.89% 3.11x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000050414867256174355 0.0000164430951092427 67.38% 206.60% 3.07x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[] 0.000013855464536001225 0.000013923463833500187 -0.49% -0.49% 1.00x
address[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000013946616320587612 0.00001381868179413766 0.92% 0.93% 1.01x
address[alice.eth] 0.000013803447835560903 0.00001374374512191629 0.43% 0.43% 1.00x
address[bob.eth] 0.000013976621091007207 0.000013824010899273742 1.09% 1.10% 1.01x
address[emoji\U0001f468\U0001f3fb.eth] 0.00001390723903928628 0.000013812376669051507 0.68% 0.69% 1.01x
address[subdomain.alice.eth] 0.000013840430503946547 0.000013813593992016128 0.19% 0.19% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[] 0.0001486694725151548 0.00014439106211917597 2.88% 2.96% 1.03x
normalize_name_ensip15[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.0001487155390959305 0.00014717615093917942 1.04% 1.05% 1.01x
normalize_name_ensip15[alice.eth] 0.0001479641645251542 0.0001466524376976792 0.89% 0.89% 1.01x
normalize_name_ensip15[bob.eth] 0.0001426172496984944 0.00014687197589718706 -2.98% -2.90% 0.97x
normalize_name_ensip15[emoji\U0001f468\U0001f3fb.eth] 0.00014630657992024888 0.0001471998516554416 -0.61% -0.61% 0.99x
normalize_name_ensip15[subdomain.alice.eth] 0.0001502002546896182 0.0001472790928134203 1.94% 1.98% 1.02x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0024515026658392253 0.0007943637506086772 67.60% 208.61% 3.09x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0024709377934493113 0.0007831679385009801 68.30% 215.51% 3.16x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0025126664458446986 0.0007947838508591516 68.37% 216.14% 3.16x
dns_encode_name[] 0.000006835732748639424 0.000004312850073873064 36.91% 58.50% 1.58x
dns_encode_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23306101499997567 0.23252564600006737 0.23% 0.23% 1.00x
dns_encode_name[alice.eth] 0.010824687053180222 0.011136334543471588 -2.88% -2.80% 0.97x
dns_encode_name[bob.eth] 0.006627524070956732 0.006549634741724659 1.18% 1.19% 1.01x
dns_encode_name[emoji\U0001f468\U0001f3fb.eth] 0.2515455108000424 0.22851309639995634 9.16% 10.08% 1.10x
dns_encode_name[subdomain.alice.eth] 0.031342014030328894 0.03266613106247007 -4.22% -4.05% 0.96x
estimate_auction_start_gas[labels0] 0.0000744104582004902 0.000046260561478537846 37.83% 60.85% 1.61x
estimate_auction_start_gas[labels1] 0.00007518327055374254 0.00004666211352353969 37.94% 61.12% 1.61x
estimate_auction_start_gas[labels2] 0.00006560611641023323 0.00004627810331453917 29.46% 41.76% 1.42x
is_empty_name[ ] 0.00005697928134621557 0.00003885272358488187 31.81% 46.65% 1.47x
is_empty_name[.] 0.000055943404286718086 0.000039916038759004126 28.65% 40.15% 1.40x
is_empty_name[0] 0.00005537872427558578 0.00003760963307280368 32.09% 47.25% 1.47x
is_empty_name[1] 0.00005614008900190067 0.000038631587375603725 31.19% 45.32% 1.45x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000058404939935247445 0.00003911883282087949 33.02% 49.30% 1.49x
is_empty_name[alice.eth] 0.000060170685891668164 0.000038687217121731975 35.70% 55.53% 1.56x
is_empty_name[bob.eth] 0.00005754445645284949 0.00003934016341606007 31.64% 46.27% 1.46x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00005930162581231605 0.00003976160993609048 32.95% 49.14% 1.49x
is_empty_name[subdomain.alice.eth] 0.000057596785994701625 0.00003880088901544343 32.63% 48.44% 1.48x
is_none_or_zero_address[] 0.00004386056153211092 0.00004331421224991564 1.25% 1.26% 1.01x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00004936958512120113 0.0000481511312397898 2.47% 2.53% 1.03x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005267771150865492 0.00004993446810012784 5.21% 5.49% 1.05x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005287795531598948 0.00004938860089141179 6.60% 7.07% 1.07x
is_valid_ens_name[] 0.0000018350025102318213 0.0000014045945363569926 23.46% 30.64% 1.31x
is_valid_ens_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.2327406012000665 0.23503642599998784 -0.99% -0.98% 0.99x
is_valid_ens_name[alice.eth] 0.010398386556695075 0.011121726260863279 -6.96% -6.50% 0.93x
is_valid_ens_name[bar] 0.0000019086314395408856 0.0000015189248115574824 20.42% 25.66% 1.26x
is_valid_ens_name[baz] 0.0000018744096791477946 0.0000015117560590138069 19.35% 23.99% 1.24x
is_valid_ens_name[bob.eth] 0.006471923726707901 0.006848059269741138 -5.81% -5.49% 0.95x
is_valid_ens_name[emoji\U0001f468\U0001f3fb.eth] 0.26241199080000116 0.24376564939998388 7.11% 7.65% 1.08x
is_valid_ens_name[foo] 0.00000195767030962593 0.00000151852660147928 22.43% 28.92% 1.29x
is_valid_ens_name[subdomain.alice.eth] 0.030485210941191433 0.03259289316129217 -6.91% -6.47% 0.94x
is_valid_name[] 0.0000015653326392103085 9.360944652925121e-7 40.20% 67.22% 1.67x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23208361520005383 0.24409162419992753 -5.17% -4.92% 0.95x
is_valid_name[alice.eth] 0.010346289897943372 0.010763275010748492 -4.03% -3.87% 0.96x
is_valid_name[bob.eth] 0.006323295302460489 0.006676957012749284 -5.59% -5.30% 0.95x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2549545026000487 0.22840101840006355 10.41% 11.63% 1.12x
is_valid_name[subdomain.alice.eth] 0.03139282012499933 0.03249387646872748 -3.51% -3.39% 0.97x
label_to_hash[] 0.00013110062413728918 0.00008164694371789673 37.72% 60.57% 1.61x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.22603592300001765 0.2308586566000031 -2.13% -2.09% 0.98x
label_to_hash[alice] 0.007698265646630327 0.007770744804689755 -0.94% -0.93% 0.99x
label_to_hash[bob] 0.003485397431969976 0.0034488156724767132 1.05% 1.06% 1.01x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.27484645399999863 0.23229014580006152 15.48% 18.32% 1.18x
label_to_hash[xn--fiqs8s] 0.023756911965525936 0.02487903960974197 -4.72% -4.51% 0.95x
normal_name_to_hash[] 0.000001658392786856283 9.678277692628111e-7 41.64% 71.35% 1.71x
normal_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23074353639999573 0.24411950259996046 -5.80% -5.48% 0.95x
normal_name_to_hash[alice.eth] 0.011563460250008782 0.011651600329410297 -0.76% -0.76% 0.99x
normal_name_to_hash[bob.eth] 0.0072770171970782975 0.007160306978570523 1.60% 1.63% 1.02x
normal_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.2844365702000232 0.2368929338000271 16.72% 20.07% 1.20x
normal_name_to_hash[subdomain.alice.eth] 0.0322405814062634 0.03377023463331928 -4.74% -4.53% 0.95x
normalize_name[] 0.00000816218456858054 0.0000029654171976455514 63.67% 175.25% 2.75x
normalize_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23827488320002885 0.2372819903999698 0.42% 0.42% 1.00x
normalize_name[alice.eth] 0.010374070765307379 0.010743740688183371 -3.56% -3.44% 0.97x
normalize_name[bob.eth] 0.006281232808645161 0.006646209825809027 -5.81% -5.49% 0.95x
normalize_name[emoji\U0001f468\U0001f3fb.eth] 0.22365734339991833 0.23581851499993717 -5.44% -5.16% 0.95x
normalize_name[subdomain.alice.eth] 0.03143961018182298 0.032070927437494845 -2.01% -1.97% 0.98x
raw_name_to_hash[] 0.000009445022585706893 0.000003126344723242926 66.90% 202.11% 3.02x
raw_name_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.4715715161999469 0.48885939540004986 -3.67% -3.54% 0.96x
raw_name_to_hash[alice.eth] 0.02161197006385106 0.023192784333327332 -7.31% -6.82% 0.93x
raw_name_to_hash[bob.eth] 0.013483930631590929 0.014112274453324669 -4.66% -4.45% 0.96x
raw_name_to_hash[emoji\U0001f468\U0001f3fb.eth] 0.5211290995999207 0.5008402877999287 3.89% 4.05% 1.04x
raw_name_to_hash[subdomain.alice.eth] 0.06413389462497321 0.06517380368750025 -1.62% -1.60% 0.98x
sha3_text[0] 0.0001184778320753707 0.00007539236085915854 36.37% 57.15% 1.57x
sha3_text[1] 0.00011814367096701814 0.00007630325907612164 35.41% 54.83% 1.55x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00012713138637836423 0.00008437595976667724 33.63% 50.67% 1.51x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.0001267989969105852 0.00008454415969721107 33.32% 49.98% 1.50x
sha3_text[alice.eth] 0.0001268096747230055 0.00008385034571255118 33.88% 51.23% 1.51x
sha3_text[alice] 0.00012727772296693935 0.00008382494241445123 34.14% 51.84% 1.52x
sha3_text[bob.eth] 0.00012675919297575438 0.00008415093810214611 33.61% 50.63% 1.51x
sha3_text[bob] 0.00012678890699918013 0.00008393044597926917 33.80% 51.06% 1.51x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00012977966354393847 0.00008475645244792937 34.69% 53.12% 1.53x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00012757182399771085 0.00008479308987137461 33.53% 50.45% 1.50x
sha3_text[subdomain.alice.eth] 0.00012738647132896382 0.00008423023142670623 33.88% 51.24% 1.51x
sha3_text[xn--fiqs8s] 0.0001294372712788698 0.00008499959263855632 34.33% 52.28% 1.52x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002851438146930467 0.0002521987846206499 11.55% 13.06% 1.13x
fallback_func_abi_exists 0.0002533216805011565 0.000029539671007900522 88.34% 757.56% 8.58x
filter_by_argument_name[a] 0.0006589303688108006 0.00037231094446385694 43.50% 76.98% 1.77x
filter_by_argument_name[a+b] 0.0006736409265621901 0.00039409474643994246 41.50% 70.93% 1.71x
filter_by_argument_name[b] 0.0006562535458086117 0.0003683145240860249 43.88% 78.18% 1.78x
filter_by_argument_name[c] 0.0006625242630861881 0.00038127536076594336 42.45% 73.77% 1.74x
filter_by_argument_name[notfound] 0.0006479549466256425 0.00036421586489218834 43.79% 77.90% 1.78x
filter_by_argument_type[address] 0.0005925095964617052 0.0006071988732679347 -2.48% -2.42% 0.98x
filter_by_argument_type[notatype] 0.0005883093562374117 0.0006071121070992249 -3.20% -3.10% 0.97x
filter_by_argument_type[string] 0.0005910766349091765 0.0006120674188000382 -3.55% -3.43% 0.97x
filter_by_argument_type[uint+address] 0.0006004846610867563 0.0006158067892948274 -2.55% -2.49% 0.98x
filter_by_argument_type[uint256] 0.000598187213840862 0.0006099590904268141 -1.97% -1.93% 0.98x
filter_by_types[constructor] 0.000036562323656895914 0.00003759080176337 -2.81% -2.74% 0.97x
filter_by_types[event] 0.00003681140072001161 0.00003833222558052578 -4.13% -3.97% 0.96x
filter_by_types[fallback] 0.00003692904155609456 0.0000381228037840828 -3.23% -3.13% 0.97x
filter_by_types[func+event] 0.000043336051567689985 0.0000421878355395229 2.65% 2.72% 1.03x
filter_by_types[function] 0.00003713710473804115 0.000038700466975576174 -4.21% -4.04% 0.96x
filter_by_types[none] 0.00003754640355930247 0.000036661325573791844 2.36% 2.41% 1.02x
filter_by_types[receive] 0.00003958410175137772 0.000038955527736200886 1.59% 1.61% 1.02x
find_constructor_abi_element_by_type 0.000033628419809260153 0.00003376970667552461 -0.42% -0.42% 1.00x
get_abi_element_signature[custom] 0.000053184926126234226 0.000050984331428912606 4.14% 4.32% 1.04x
get_abi_element_signature[fallback] 0.000021247100812618983 0.000021239891288401808 0.03% 0.03% 1.00x
get_abi_element_signature[receive] 0.000028364129657220773 0.00002857423362108318 -0.74% -0.74% 0.99x
get_abi_element_signature[transfer] 0.00005806897898313615 0.000055283312072273004 4.80% 5.04% 1.05x
get_name_from_abi_element_identifier[custom] 0.00004200062121905361 0.000038145924868527244 9.18% 10.11% 1.10x
get_name_from_abi_element_identifier[fallback] 0.000012096368395060274 0.000012128912599162412 -0.27% -0.27% 1.00x
get_name_from_abi_element_identifier[func] 0.00004202654215614774 0.00003855027395516799 8.27% 9.02% 1.09x
get_name_from_abi_element_identifier[receive] 0.000018433001559320074 0.000018499750955988867 -0.36% -0.36% 1.00x
get_tuple_type_str_parts[not-tuple] 0.00002312225305351774 0.00002233287814933466 3.41% 3.53% 1.04x
get_tuple_type_str_parts[one-dim] 0.00007287391166492093 0.00007495598571023017 -2.86% -2.78% 0.97x
get_tuple_type_str_parts[plain] 0.000047443257275398935 0.000048320150643024013 -1.85% -1.81% 0.98x
get_tuple_type_str_parts[two-dim] 0.00009063829951223878 0.0000875025194327121 3.46% 3.58% 1.04x
is_address_type[address] 0.00004318495370437423 0.00004373551378481301 -1.27% -1.26% 0.99x
is_address_type[array] 0.000046440931924994926 0.00004731816858882827 -1.89% -1.85% 0.98x
is_address_type[bool] 0.00004283040076277881 0.000042658254895465 0.40% 0.40% 1.00x
is_address_type[bytes] 0.000042666335710567426 0.00004323754786360758 -1.34% -1.32% 0.99x
is_address_type[bytes32] 0.000044390122486776574 0.00004544353778287142 -2.37% -2.32% 0.98x
is_address_type[bytes33] 0.000046589303469648964 0.000046832975001798436 -0.52% -0.52% 0.99x
is_address_type[empty] 0.00004307332989516286 0.000043433708785871415 -0.84% -0.83% 0.99x
is_address_type[enum] 0.000044435322955975084 0.000044460510285683606 -0.06% -0.06% 1.00x
is_address_type[int256] 0.00004339791972694275 0.000046108656503007054 -6.25% -5.88% 0.94x
is_address_type[invalid] 0.000044408830676035524 0.00004446356467435912 -0.12% -0.12% 1.00x
is_address_type[string] 0.000042880509789011145 0.000043596588140187106 -1.67% -1.64% 0.98x
is_address_type[tuple-array] 0.00004415224943898761 0.00004443522854358668 -0.64% -0.64% 0.99x
is_address_type[tuple] 0.00004264903338434382 0.000043776887860815083 -2.64% -2.58% 0.97x
is_address_type[uint256] 0.0000447064434451878 0.00004433454792917806 0.83% 0.84% 1.01x
is_array_type[address] 0.0003888817786484458 0.0004017656214502314 -3.31% -3.21% 0.97x
is_array_type[array] 0.00039788559462882903 0.00040762447611012554 -2.45% -2.39% 0.98x
is_array_type[bool] 0.00036036229438545593 0.00037306571721715606 -3.53% -3.41% 0.97x
is_array_type[bytes] 0.000371864836695305 0.00037965229920478103 -2.09% -2.05% 0.98x
is_array_type[bytes32] 0.00039078491810388364 0.00039882652331453994 -2.06% -2.02% 0.98x
is_array_type[bytes33] 0.00039030159394125486 0.00039241847129470753 -0.54% -0.54% 0.99x
is_array_type[empty] 0.0003012790435426772 0.00031110755174675064 -3.26% -3.16% 0.97x
is_array_type[enum] 0.00037856161513773765 0.0003890863289797733 -2.78% -2.70% 0.97x
is_array_type[int256] 0.00037999658732905796 0.0003930118847555878 -3.43% -3.31% 0.97x
is_array_type[invalid] 0.000398531098686193 0.00040867016223169496 -2.54% -2.48% 0.98x
is_array_type[string] 0.000380582844833104 0.0003948231276570676 -3.74% -3.61% 0.96x
is_array_type[tuple-array] 0.0003979233496448207 0.00040997262665026855 -3.03% -2.94% 0.97x
is_array_type[tuple] 0.00036943544024165275 0.00038067722443572364 -3.04% -2.95% 0.97x
is_array_type[uint256] 0.00038819512712464933 0.00040184933520277517 -3.52% -3.40% 0.97x
is_bool_type[address] 0.0000431615229059572 0.00004287262251364958 0.67% 0.67% 1.01x
is_bool_type[array] 0.00004403240101766084 0.000044950061551177385 -2.08% -2.04% 0.98x
is_bool_type[bool] 0.0000430246999592485 0.00004348988579985532 -1.08% -1.07% 0.99x
is_bool_type[bytes] 0.00004334735785341827 0.00004361875025778972 -0.63% -0.62% 0.99x
is_bool_type[bytes32] 0.00004351887598546831 0.000043206002530737256 0.72% 0.72% 1.01x
is_bool_type[bytes33] 0.00004442248934383157 0.000044716074940235756 -0.66% -0.66% 0.99x
is_bool_type[empty] 0.00004286062076781804 0.000042754157705915477 0.25% 0.25% 1.00x
is_bool_type[enum] 0.00004426825591512919 0.00004483354522090941 -1.28% -1.26% 0.99x
is_bool_type[int256] 0.000042770987544403666 0.0000425272262905773 0.57% 0.57% 1.01x
is_bool_type[invalid] 0.000044102882846791744 0.00004446702211215263 -0.83% -0.82% 0.99x
is_bool_type[string] 0.00004378157720562916 0.000043372848542603855 0.93% 0.94% 1.01x
is_bool_type[tuple-array] 0.000044363002173416424 0.00004526888389229034 -2.04% -2.00% 0.98x
is_bool_type[tuple] 0.000042713547465321994 0.00004338551412602373 -1.57% -1.55% 0.98x
is_bool_type[uint256] 0.00004303095240490178 0.00004272643027677275 0.71% 0.71% 1.01x
is_bytes_type[address] 0.0003144704712662363 0.00033026188498418 -5.02% -4.78% 0.95x
is_bytes_type[array] 0.0003163008755499216 0.00032599259132404327 -3.06% -2.97% 0.97x
is_bytes_type[bool] 0.0002768196532507912 0.0002895365979557492 -4.59% -4.39% 0.96x
is_bytes_type[bytes] 0.0002777267031767402 0.00029145610629191683 -4.94% -4.71% 0.95x
is_bytes_type[bytes32] 0.0003013755708752688 0.0003120625364700915 -3.55% -3.42% 0.97x
is_bytes_type[bytes33] 0.00031699077170939676 0.0003199313172660507 -0.93% -0.92% 0.99x
is_bytes_type[empty] 0.0002883914148775312 0.0002900240649740438 -0.57% -0.56% 0.99x
is_bytes_type[enum] 0.00030592450976318393 0.0003020725291606584 1.26% 1.28% 1.01x
is_bytes_type[int256] 0.0002952352028455769 0.0003121243253608475 -5.72% -5.41% 0.95x
is_bytes_type[invalid] 0.0002864401968712212 0.0002945491174060734 -2.83% -2.75% 0.97x
is_bytes_type[string] 0.00029963536127562175 0.000300323656751223 -0.23% -0.23% 1.00x
is_bytes_type[tuple-array] 0.0002814085486259512 0.00028983627723941125 -2.99% -2.91% 0.97x
is_bytes_type[tuple] 0.0002926822473107395 0.0002954851920087188 -0.96% -0.95% 0.99x
is_bytes_type[uint256] 0.0003124740763113843 0.00031343092258907785 -0.31% -0.31% 1.00x
is_int_type[address] 0.00020022396746649315 0.00020460227463429807 -2.19% -2.14% 0.98x
is_int_type[array] 0.00019988531492226534 0.0002095256146346117 -4.82% -4.60% 0.95x
is_int_type[bool] 0.0002014357556454856 0.0002060666035972287 -2.30% -2.25% 0.98x
is_int_type[bytes] 0.00021996479057802192 0.00022344127810243524 -1.58% -1.56% 0.98x
is_int_type[bytes32] 0.00020011388458913035 0.00020501906231852843 -2.45% -2.39% 0.98x
is_int_type[bytes33] 0.0002042910671208146 0.00020454378735304594 -0.12% -0.12% 1.00x
is_int_type[empty] 0.0002046704357652551 0.00020953633280345932 -2.38% -2.32% 0.98x
is_int_type[enum] 0.00023234568450898732 0.0002470638009321242 -6.33% -5.96% 0.94x
is_int_type[int256] 0.00024232830113569569 0.00023184466760633288 4.33% 4.52% 1.05x
is_int_type[invalid] 0.0002043138805308015 0.00020936761070691965 -2.47% -2.41% 0.98x
is_int_type[string] 0.00022946565452107144 0.00023362627050767492 -1.81% -1.78% 0.98x
is_int_type[tuple-array] 0.00020020651674842018 0.00020192222665480682 -0.86% -0.85% 0.99x
is_int_type[tuple] 0.00021580869090391424 0.00022336687361856094 -3.50% -3.38% 0.97x
is_int_type[uint256] 0.0002044662967845077 0.0002022540131362029 1.08% 1.09% 1.01x
is_probably_enum[address] 0.00006503175183754625 0.0000671397569151555 -3.24% -3.14% 0.97x
is_probably_enum[empty] 0.00006207799092622485 0.00006306547972526602 -1.59% -1.57% 0.98x
is_probably_enum[enum] 0.00006426609383846438 0.00006726948973556675 -4.67% -4.46% 0.96x
is_probably_enum[lib-dot] 0.00006646948081278048 0.00006857337325240656 -3.17% -3.07% 0.97x
is_probably_enum[lib-enum] 0.00007287283575004795 0.00007497686278127909 -2.89% -2.81% 0.97x
is_probably_enum[uint256] 0.00006524805384571708 0.00006725159776799293 -3.07% -2.98% 0.97x
is_recognized_type[address] 0.00007799674944736155 0.000080984281012319 -3.83% -3.69% 0.96x
is_recognized_type[array] 0.00008231050282799336 0.00008720589678811924 -5.95% -5.61% 0.94x
is_recognized_type[bool] 0.00007763417525952984 0.00008196299471304244 -5.58% -5.28% 0.95x
is_recognized_type[bytes] 0.00014842290229414356 0.00015568324194321684 -4.89% -4.66% 0.95x
is_recognized_type[bytes32] 0.00014822015238344347 0.00015401074952654955 -3.91% -3.76% 0.96x
is_recognized_type[bytes33] 0.00013830624149651635 0.00014465506545622536 -4.59% -4.39% 0.96x
is_recognized_type[empty] 0.00006083737419624404 0.00006554902598051163 -7.74% -7.19% 0.93x
is_recognized_type[enum] 0.00007937697617645275 0.00008866475831295753 -11.70% -10.48% 0.90x
is_recognized_type[int256] 0.00012392530421393626 0.0001317813543124601 -6.34% -5.96% 0.94x
is_recognized_type[invalid] 0.00008231444177494697 0.000089892795215906 -9.21% -8.43% 0.92x
is_recognized_type[string] 0.00010042628565442537 0.00010708979517743132 -6.64% -6.22% 0.94x
is_recognized_type[tuple-array] 0.00008277782774392425 0.00009062407624961958 -9.48% -8.66% 0.91x
is_recognized_type[tuple] 0.00008200959950506409 0.00009018283739071466 -9.97% -9.06% 0.91x
is_recognized_type[uint256] 0.0001261515033375558 0.00013038659226643478 -3.36% -3.25% 0.97x
is_string_type[address] 0.0000429621217976025 0.000042578628481873746 0.89% 0.90% 1.01x
is_string_type[array] 0.00004416686311278762 0.00004384226981007254 0.73% 0.74% 1.01x
is_string_type[bool] 0.000042909042461927954 0.000043207031761188055 -0.69% -0.69% 0.99x
is_string_type[bytes] 0.00004280423954387889 0.00004320690002248997 -0.94% -0.93% 0.99x
is_string_type[bytes32] 0.00004311848398690742 0.000042860744391159525 0.60% 0.60% 1.01x
is_string_type[bytes33] 0.000044472197073020524 0.00004434904558318251 0.28% 0.28% 1.00x
is_string_type[empty] 0.00004290147524767 0.00004318889619065119 -0.67% -0.67% 0.99x
is_string_type[enum] 0.000047041103084077264 0.00004666861153436451 0.79% 0.80% 1.01x
is_string_type[int256] 0.00004506602236017671 0.00004483125329196111 0.52% 0.52% 1.01x
is_string_type[invalid] 0.00004438624923432046 0.00004459297071886591 -0.47% -0.46% 1.00x
is_string_type[string] 0.00004353139061817113 0.00004380030962122974 -0.62% -0.61% 0.99x
is_string_type[tuple-array] 0.000044387773031225336 0.00004446841803733322 -0.18% -0.18% 1.00x
is_string_type[tuple] 0.00004311208858748008 0.00004334827728053769 -0.55% -0.54% 0.99x
is_string_type[uint256] 0.000043134095872084676 0.000042982180080799295 0.35% 0.35% 1.00x
is_uint_type[address] 0.000227810310549195 0.00023436370485098576 -2.88% -2.80% 0.97x
is_uint_type[array] 0.00022627149250125248 0.00023380788695631673 -3.33% -3.22% 0.97x
is_uint_type[bool] 0.00019906540088877043 0.0002047208373834964 -2.84% -2.76% 0.97x
is_uint_type[bytes] 0.00020128804367978298 0.00020003179341968508 0.62% 0.63% 1.01x
is_uint_type[bytes32] 0.00022003309348959957 0.00024047200097183376 -9.29% -8.50% 0.92x
is_uint_type[bytes33] 0.00024251879325600645 0.0002347182259199947 3.22% 3.32% 1.03x
is_uint_type[empty] 0.00020393795196942043 0.0002010769036215191 1.40% 1.42% 1.01x
is_uint_type[enum] 0.00021362277242085239 0.00021769225320725135 -1.90% -1.87% 0.98x
is_uint_type[int256] 0.00021782866471207275 0.00021679516300951608 0.47% 0.48% 1.00x
is_uint_type[invalid] 0.0002040995709355118 0.0002048248151593536 -0.36% -0.35% 1.00x
is_uint_type[string] 0.00021816036074347837 0.0002201487187976766 -0.91% -0.90% 0.99x
is_uint_type[tuple-array] 0.00019987840703732077 0.00020146318394244524 -0.79% -0.79% 0.99x
is_uint_type[tuple] 0.0002005424470317822 0.00020110212606105543 -0.28% -0.28% 1.00x
is_uint_type[uint256] 0.00023404454283181185 0.0002358965693684703 -0.79% -0.79% 0.99x
length_of_array_type[dynamic] 0.00017037952583972603 0.0001634575666236139 4.06% 4.23% 1.04x
length_of_array_type[fixed] 0.00017800363842084807 0.00018071867721597724 -1.53% -1.50% 0.98x
length_of_array_type[nested] 0.00018319928058791512 0.00018743493265816136 -2.31% -2.26% 0.98x
map_abi_data 0.0061870075531950414 0.003786780946727429 38.79% 63.38% 1.63x
normalize_event_input_types 0.0004266331855822393 0.0004487341885974927 -5.18% -4.93% 0.95x
receive_func_abi_exists 0.00031941574861957164 0.00002863294567412095 91.04% 1015.55% 11.16x
strip_abi_types 0.0016244368101628794 0.0015871031931811712 2.30% 2.35% 1.02x
sub_type_of_array_type[nested] 0.00017940356945997661 0.0001795771511242122 -0.10% -0.10% 1.00x
sub_type_of_array_type[simple] 0.00016956935870883654 0.00017924949382817608 -5.71% -5.40% 0.95x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000020343234003027545 0.000022102792686247428 -8.65% -7.96% 0.92x
is_hex_encoded_block_hash[invalid-g] 0.00008249923639483246 0.000059118179981661836 28.34% 39.55% 1.40x
is_hex_encoded_block_hash[none] 0.00002039269081601601 0.000022403395259746075 -9.86% -8.97% 0.91x
is_hex_encoded_block_hash[short] 0.00004538770881684334 0.000026616159510827263 41.36% 70.53% 1.71x
is_hex_encoded_block_hash[too-long] 0.00004540474793455192 0.00002654208603974483 41.54% 71.07% 1.71x
is_hex_encoded_block_hash[too-short] 0.00004568528538606115 0.000026457674117605986 42.09% 72.67% 1.73x
is_hex_encoded_block_hash[valid-a] 0.00009264525021429838 0.00007026735305496123 24.15% 31.85% 1.32x
is_hex_encoded_block_hash[valid-f] 0.00009344331434850571 0.00006921667084474496 25.93% 35.00% 1.35x
is_hex_encoded_block_number[int] 0.000020799344712129198 0.000023682244941509364 -13.86% -12.17% 0.88x
is_hex_encoded_block_number[invalid-g] 0.00016634619806489104 0.0002308812986235515 -38.80% -27.95% 0.72x
is_hex_encoded_block_number[max-64-a] 0.00010591355019286143 0.00008090626055212736 23.61% 30.91% 1.31x
is_hex_encoded_block_number[max-64-f] 0.0001066644538528685 0.00008010489780549472 24.90% 33.16% 1.33x
is_hex_encoded_block_number[none] 0.000020836314449476452 0.00002369578684344581 -13.72% -12.07% 0.88x
is_hex_encoded_block_number[small] 0.00009573285654563052 0.00004399178661355541 54.05% 117.62% 2.18x
is_hex_encoded_block_number[too-long] 0.00010873910348400426 0.000058726703717998045 45.99% 85.16% 1.85x
is_predefined_block_number[bytes-latest] 0.000032844153874758 0.000027713124889917026 15.62% 18.51% 1.19x
is_predefined_block_number[bytes-pending] 0.000033021990904628216 0.000028380172142300142 14.06% 16.36% 1.16x
is_predefined_block_number[bytes-random] 0.0000316744779506531 0.000027217417684538436 14.07% 16.38% 1.16x
is_predefined_block_number[int] 0.00003255262027234705 0.000024466388689952514 24.84% 33.05% 1.33x
is_predefined_block_number[none] 0.0001197347070332789 0.0002135428616835708 -78.35% -43.93% 0.56x
is_predefined_block_number[object] 0.0001546109018762757 0.00024743005217215877 -60.03% -37.51% 0.62x
is_predefined_block_number[str-earliest] 0.000013472914216829861 0.000009975275837598986 25.96% 35.06% 1.35x
is_predefined_block_number[str-finalized] 0.000013199995836943598 0.00000991106396227687 24.92% 33.18% 1.33x
is_predefined_block_number[str-foo] 0.000013379684579154388 0.00000985097479195582 26.37% 35.82% 1.36x
is_predefined_block_number[str-latest] 0.000013481040022802005 0.00001000956662885349 25.75% 34.68% 1.35x
is_predefined_block_number[str-pending] 0.000013527385170167983 0.000010090418349275484 25.41% 34.06% 1.34x
is_predefined_block_number[str-safe] 0.000013442370910344018 0.000009976325002657433 25.78% 34.74% 1.35x
select_method_for_block_identifier[hash-bytes] 0.00007680705732421849 0.000024298503054473413 68.36% 216.10% 3.16x
select_method_for_block_identifier[hash-hexstr] 0.00015527194844806443 0.00006889982403360976 55.63% 125.36% 2.25x
select_method_for_block_identifier[invalid-none] 0.0009753407904586557 0.00027493283053645263 71.81% 254.76% 3.55x
select_method_for_block_identifier[invalid-object] 0.0010160454237270584 0.00030913401304865056 69.57% 228.67% 3.29x
select_method_for_block_identifier[number-hexstr] 0.00019867323937094186 0.00006546232222530448 67.05% 203.49% 3.03x
select_method_for_block_identifier[number-int] 0.0001399681810972624 0.000041359056332260744 70.45% 238.42% 3.38x
select_method_for_block_identifier[predefined-bytes] 0.00007502796649532495 0.000024551195332315944 67.28% 205.60% 3.06x
select_method_for_block_identifier[predefined-str] 0.000053654762716453985 0.000006700644040853427 87.51% 700.74% 8.01x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.0004385880925935953 0.0005252244160279953 -19.75% -16.50% 0.84x
PropertyCheckingFactory[big-valid] 0.00043938998117522786 0.0005222275875665808 -18.85% -15.86% 0.84x
PropertyCheckingFactory[inheritance] 0.0009745842401908951 0.000951320092776653 2.39% 2.45% 1.02x
PropertyCheckingFactory[invalid] 0.0004404840519780646 0.0005270651221219772 -19.66% -16.43% 0.84x
PropertyCheckingFactory[multi-normalizer] 0.0004440827688357055 0.0005514995480880028 -24.19% -19.48% 0.81x
PropertyCheckingFactory[multi-prop] 0.000444450965648306 0.0005264199526400832 -18.44% -15.57% 0.84x
PropertyCheckingFactory[normalized] 0.00044220124895541073 0.0005282142555219551 -19.45% -16.28% 0.84x
PropertyCheckingFactory[valid] 0.00122500903887907 0.0010014637225693782 18.25% 22.32% 1.22x
verify_attr[empty] 0.00010167723180424977 0.0001610323990051616 -58.38% -36.86% 0.63x
verify_attr[found-end] 0.000011214872060095819 0.000009755691040641318 13.01% 14.96% 1.15x
verify_attr[found-start] 0.000009288695228612206 0.000007337721464326554 21.00% 26.59% 1.27x
verify_attr[large-found] 0.00013508515333762784 0.0001306316905333754 3.30% 3.41% 1.03x
verify_attr[large-notfound] 0.00019707209899834087 0.00026042113029204017 -32.15% -24.33% 0.76x
verify_attr[notfound] 0.00010589586076135671 0.00016699732140684293 -57.70% -36.59% 0.63x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006533661321047363 0.0006876484264493868 -5.25% -4.99% 0.95x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007787121052065972 0.000023230763687360223 70.17% 235.21% 3.35x
percentile[100-90th] 0.0001101531414071411 0.00005264456595357462 52.21% 109.24% 2.09x
percentile[100k-99th] 0.036848892249996164 0.03662550746430985 0.61% 0.61% 1.01x
percentile[100k-median] 0.03687897088889258 0.036611386222224006 0.73% 0.73% 1.01x
percentile[10k-10th] 0.003825125111113137 0.0042291994915282915 -10.56% -9.55% 0.90x
percentile[10k-99th] 0.0037824306920185144 0.0036428085018162 3.69% 3.83% 1.04x
percentile[10k-median] 0.0037376360188661564 0.0036545541496297365 2.22% 2.27% 1.02x
percentile[1k-99th] 0.0004646201371515332 0.00039981906519925646 13.95% 16.21% 1.16x
percentile[1M-median] 0.5794456732000072 0.5754342605999682 0.69% 0.70% 1.01x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000012887907549903837 0.000006642905371520863 48.46% 94.01% 1.94x
to_bytes_if_hex[empty-str] 0.00031324940971229527 0.00003726090632225657 88.11% 740.69% 8.41x
to_bytes_if_hex[hexstr] 0.0003424776496728885 0.000046096659062507226 86.54% 642.96% 7.43x
to_bytes_if_hex[large-hex] 0.00034806697139558567 0.0000508270466865348 85.40% 584.81% 6.85x
to_bytes_if_hex[non-prefixed-hex] 0.0003290482451030064 0.00004174274732090681 87.31% 688.28% 7.88x
to_bytes_if_hex[nothex] 0.00041639168757922094 0.00026570395913688493 36.19% 56.71% 1.57x
to_bytes_if_hex[unicode] 0.0004276770545464049 0.00027306708024632173 36.15% 56.62% 1.57x
to_bytes_if_hex[zero] 0.00034209485749209624 0.000045606745387927864 86.67% 650.10% 7.50x
to_hex_if_bytes[bytes] 0.00022362503029723879 0.000049369531645091104 77.92% 352.96% 4.53x
to_hex_if_bytes[empty-bytes] 0.00021207405946247984 0.000040602922171746844 80.85% 422.31% 5.22x
to_hex_if_bytes[empty-str] 0.00010217484284618995 0.00018845938894188681 -84.45% -45.78% 0.54x
to_hex_if_bytes[hexstr] 0.00029335087608803193 0.000022342256094686118 92.38% 1212.99% 13.13x
to_hex_if_bytes[large-bytes] 0.00022804750224354696 0.0000523464906230085 77.05% 335.65% 4.36x
to_hex_if_bytes[non-prefixed-hex] 0.00010383401980284141 0.00018933228497016984 -82.34% -45.16% 0.55x
to_hex_if_bytes[not-hex] 0.0001034469852033573 0.00018951085182233578 -83.20% -45.41% 0.55x
to_hex_if_bytes[unicode] 0.0001094968425567592 0.00019690365537546286 -79.83% -44.39% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0003054324276310078 0.00010561477581614158 65.42% 189.19% 2.89x
all_in_dict[empty-dict] 0.0002616873302818376 0.00008005929552442346 69.41% 226.87% 3.27x
all_in_dict[empty-list] 0.00025985786541966454 0.00008761755484887842 66.28% 196.58% 2.97x
all_in_dict[mixed-types] 0.00030780739498123224 0.0001076304808941087 65.03% 185.99% 2.86x
all_in_dict[no-overlap] 0.0002895018854754008 0.00009151030773424238 68.39% 216.36% 3.16x
all_in_dict[none-in] 0.00027690780949797983 0.00009209387985486521 66.74% 200.68% 3.01x
all_in_dict[one-in] 0.0002815110206204318 0.00009804167808387543 65.17% 187.13% 2.87x
all_in_dict[partial-overlap] 0.00031896322001052354 0.00010171111668649281 68.11% 213.60% 3.14x
all_in_dict[value-none] 0.00028583221516472796 0.0000988100344255969 65.43% 189.27% 2.89x
any_in_dict[all-in] 0.00027650517181902344 0.00008817725940966486 68.11% 213.58% 3.14x
any_in_dict[empty-dict] 0.0003047797047292765 0.00009052674507939188 70.30% 236.67% 3.37x
any_in_dict[empty-list] 0.0002587109779320247 0.00008483288594660907 67.21% 204.97% 3.05x
any_in_dict[mixed-types] 0.00027696486166613947 0.00009508749756901033 65.67% 191.27% 2.91x
any_in_dict[no-overlap] 0.0003212109108824503 0.00010336214300820762 67.82% 210.76% 3.11x
any_in_dict[none-in] 0.0002839896871562303 0.0000903377210800318 68.19% 214.36% 3.14x
any_in_dict[one-in] 0.0002723919199656446 0.00008626804615748939 68.33% 215.75% 3.16x
any_in_dict[partial-overlap] 0.0002737768171718775 0.00008703274263048616 68.21% 214.57% 3.15x
any_in_dict[value-none] 0.0002731793993123426 0.00008651023981488962 68.33% 215.78% 3.16x
either_set_is_a_subset[both-empty] 0.00016708324202593036 0.0001590894195878635 4.78% 5.02% 1.05x
either_set_is_a_subset[empty-set1] 0.00016820500303862647 0.00015968073889340538 5.07% 5.34% 1.05x
either_set_is_a_subset[empty-set2] 0.0002527136506465403 0.0002591946530103032 -2.56% -2.50% 0.97x
either_set_is_a_subset[identical] 0.000185515375623416 0.00017687768740406407 4.66% 4.88% 1.05x
either_set_is_a_subset[mixed-types] 0.0001884083609068887 0.00018083871839373687 4.02% 4.19% 1.04x
either_set_is_a_subset[not-subset] 0.00026865711184980855 0.00026132312251821003 2.73% 2.81% 1.03x
either_set_is_a_subset[partial-overlap] 0.0002951636367010693 0.0002870686240071274 2.74% 2.82% 1.03x
either_set_is_a_subset[subset] 0.0001897236496179939 0.00017723311665216148 6.58% 7.05% 1.07x
either_set_is_a_subset[superset] 0.00029528051909690655 0.00029838457524634015 -1.05% -1.04% 0.99x
none_in_dict[all-in] 0.0002891902844278574 0.00008996329707854779 68.89% 221.45% 3.21x
none_in_dict[empty-dict] 0.00031669551843578175 0.00009168342041562291 71.05% 245.42% 3.45x
none_in_dict[empty-list] 0.000275441482959102 0.00008683519700315934 68.47% 217.20% 3.17x
none_in_dict[mixed-types] 0.0002891438389945539 0.0000897812769564612 68.95% 222.05% 3.22x
none_in_dict[no-overlap] 0.00033647318101369194 0.00010464579267457741 68.90% 221.54% 3.22x
none_in_dict[none-in] 0.00029776399240541527 0.00009379138683462694 68.50% 217.47% 3.17x
none_in_dict[one-in] 0.00028729899386389153 0.00009018869574636318 68.61% 218.55% 3.19x
none_in_dict[partial-overlap] 0.00028702189081837907 0.00008892555606130579 69.02% 222.77% 3.23x
none_in_dict[value-none] 0.0002876276029536453 0.0000892947149008975 68.95% 222.11% 3.22x

web3/_utils/validation - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
assert_one_val 0.0010763271130626061 0.0008806520467217778 18.18% 22.22% 1.22x
has_one_val 0.0009481873435728431 0.0007710227168384955 18.68% 22.98% 1.23x
is_not_address_string[0x123] 0.0008261189310121825 0.0006973345524447151 15.59% 18.47% 1.18x
is_not_address_string[0x1234567890123456789012345678901234567890] 0.02379734187805231 0.008471381000003159 64.40% 180.91% 2.81x
is_not_address_string[alice.eth] 0.0008248419482635402 0.0006957069460831832 15.66% 18.56% 1.19x
is_not_address_string[bytes] 0.000170850116834431 0.00020258850639622405 -18.58% -15.67% 0.84x
is_not_address_string[notanaddress] 0.0008366706056474882 0.0007021256926390748 16.08% 19.16% 1.19x
prepare_selector_collision_msg 0.014315885579708924 0.01339872130137499 6.41% 6.85% 1.07x
raise_bad_response_format 0.0018028781988910553 0.0023192792227603254 -28.64% -22.27% 0.78x
raise_error_for_batch_response 0.0044352928529357155 0.0035311352000034135 20.39% 25.61% 1.26x
validate_abi_type[address] 0.0008208336471075973 0.0009116784591840918 -11.07% -9.96% 0.90x
validate_abi_type[bool] 0.0008288803204038399 0.0009077934451739828 -9.52% -8.69% 0.91x
validate_abi_type[bytes] 0.0015568514557138544 0.001654210377080252 -6.25% -5.89% 0.94x
validate_abi_type[string] 0.00105425214362194 0.0011725356580489068 -11.22% -10.09% 0.90x
validate_abi_type[uint256] 0.0012917503606765617 0.0014026541282082352 -8.59% -7.91% 0.92x
validate_abi_value[address-0x1234567890123456789012345678901234567890] 0.05344547105262695 0.019730616529431262 63.08% 170.88% 2.71x
validate_abi_value[bool-True] 0.0008489865405149901 0.0009505329721106976 -11.96% -10.68% 0.89x
validate_abi_value[bytes-bytes] 0.0022853236620720826 0.002486333136708202 -8.80% -8.08% 0.92x
validate_abi_value[string-hello] 0.0024116040097107577 0.002743355915730094 -13.76% -12.09% 0.88x
validate_abi_value[uint256-123] 0.0014002144232928256 0.0014631611082670571 -4.50% -4.30% 0.96x
validate_abi[abi0] 0.1212993494999921 0.08278362949998079 31.75% 46.53% 1.47x
validate_abi[abi1] 0.345421799199994 0.23916851599997244 30.76% 44.43% 1.44x
validate_abi[abi2] 0.5500736462000532 0.38098200859999454 30.74% 44.38% 1.44x
validate_address[0x1234567890123456789012345678901234567890] 0.048982495250038484 0.017400571438624786 64.48% 181.50% 2.81x
validate_address[alice.eth] 1.06139118480005 1.108325851399968 -4.42% -4.23% 0.96x
validate_rpc_response_and_raise_if_error 0.0012627750802079376 0.0003952494616946499 68.70% 219.49% 3.19x
validate_subscription_fields 0.00014102414347407811 0.00008804787873756514 37.57% 60.17% 1.60x

web3/beacon/async_beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.015114760608669356 0.015335082579743661 -1.46% -1.44% 0.99x
get_attestations_rewards[validator_indices0-0] 0.014547175426440951 0.01483168102897806 -1.96% -1.92% 0.98x
get_attestations_rewards[validator_indices0-123] 0.014578486710150542 0.014702919830520163 -0.85% -0.85% 0.99x
get_attestations_rewards[validator_indices0-99999] 0.07434501558569927 0.01431269673526672 80.75% 419.43% 5.19x
get_attestations_rewards[validator_indices1-0] 0.014215727753615784 0.015564112347808565 -9.49% -8.66% 0.91x
get_attestations_rewards[validator_indices1-123] 0.01408712555071954 0.014909741550753466 -5.84% -5.52% 0.94x
get_attestations_rewards[validator_indices1-99999] 0.014265050272763003 0.0154759494637709 -8.49% -7.82% 0.92x
get_attestations_rewards[validator_indices2-0] 0.014239121000051634 0.014384897529413031 -1.02% -1.01% 0.99x
get_attestations_rewards[validator_indices2-123] 0.014234894847251982 0.015373699470595003 -8.00% -7.41% 0.93x
get_attestations_rewards[validator_indices2-99999] 0.014422852015405415 0.01453257323526834 -0.76% -0.76% 0.99x
get_attester_duties[validator_indices0-0] 0.014867601797083109 0.015329461941191499 -3.11% -3.01% 0.97x
get_attester_duties[validator_indices0-123] 0.014918707869576569 0.01534208314706789 -2.84% -2.76% 0.97x
get_attester_duties[validator_indices0-99999] 0.015713411672448212 0.06923810084057602 -340.63% -77.31% 0.23x
get_attester_duties[validator_indices1-0] 0.015224108544115926 0.015152835234403028 0.47% 0.47% 1.00x
get_attester_duties[validator_indices1-123] 0.01428721525002509 0.014785922278719466 -3.49% -3.37% 0.97x
get_attester_duties[validator_indices1-99999] 0.015156143173920798 0.015063810492748693 0.61% 0.61% 1.01x
get_attester_duties[validator_indices2-0] 0.01522706857355495 0.014686885371416533 3.55% 3.68% 1.04x
get_attester_duties[validator_indices2-123] 0.015072602666680103 0.015212521585733286 -0.93% -0.92% 0.99x
get_attester_duties[validator_indices2-99999] 0.014365651695592585 0.015110095173888798 -5.18% -4.93% 0.95x
get_attester_slashings 0.01465389662124642 0.015115586776119017 -3.15% -3.05% 0.97x
get_beacon_heads 0.014808758323082517 0.014485861985269152 2.18% 2.23% 1.02x
get_beacon_state[12345] 0.015651446970603982 0.014743720132347496 5.80% 6.16% 1.06x
get_beacon_state[finalized] 0.01577886479314092 0.01466259387496649 7.07% 7.61% 1.08x
get_beacon_state[head] 0.0148620929701575 0.016096790593799426 -8.31% -7.67% 0.92x
get_beacon_state[justified] 0.014926445623204663 0.01583993401515837 -6.12% -5.77% 0.94x
get_blinded_blocks[0xabc123] 0.015315087441188232 0.015457663241910093 -0.93% -0.92% 0.99x
get_blinded_blocks[12345] 0.015186676200034657 0.015212112530296949 -0.17% -0.17% 1.00x
get_blinded_blocks[genesis] 0.014616627536243881 0.01502926020589257 -2.82% -2.75% 0.97x
get_blinded_blocks[head] 0.015034722884065823 0.01555490996968205 -3.46% -3.34% 0.97x
get_blob_sidecars[indices1-0xabc123] 0.014596510941179771 0.015219325522383456 -4.27% -4.09% 0.96x
get_blob_sidecars[indices1-12345] 0.015268437910456113 0.014570788941167687 4.57% 4.79% 1.05x
get_blob_sidecars[indices1-genesis] 0.014837222196974559 0.014674181925322534 1.10% 1.11% 1.01x
get_blob_sidecars[indices1-head] 0.014686397455842085 0.015369522200035134 -4.65% -4.44% 0.96x
get_blob_sidecars[indices2-0xabc123] 0.015093998869551928 0.015401491876946238 -2.04% -2.00% 0.98x
get_blob_sidecars[indices2-12345] 0.014365497308805222 0.015004102348484594 -4.45% -4.26% 0.96x
get_blob_sidecars[indices2-genesis] 0.014297065812492349 0.01566862757578168 -9.59% -8.75% 0.91x
get_blob_sidecars[indices2-head] 0.014224542253717783 0.01623870888889787 -14.16% -12.40% 0.88x
get_blob_sidecars[None-0xabc123] 0.01501537747057067 0.01539851071011994 -2.55% -2.49% 0.98x
get_blob_sidecars[None-12345] 0.014770959484821738 0.015541385898557011 -5.22% -4.96% 0.95x
get_blob_sidecars[None-genesis] 0.015182505865663758 0.014628073144939517 3.65% 3.79% 1.04x
get_blob_sidecars[None-head] 0.015088388109361972 0.014312459264715471 5.14% 5.42% 1.05x
get_block_attestations[0xabc123] 0.04380439764704266 0.015688328892289206 64.19% 179.22% 2.79x
get_block_attestations[12345] 0.015546792551731414 0.01474188492645948 5.18% 5.46% 1.05x
get_block_attestations[genesis] 0.014951782985269132 0.01481138714704604 0.94% 0.95% 1.01x
get_block_attestations[head] 0.014345946692320958 0.014495156072470032 -1.04% -1.03% 0.99x
get_block_header[0xabc123] 0.014456915399978242 0.0156620984117741 -8.34% -7.69% 0.92x
get_block_header[12345] 0.01453657709993682 0.01473835747057873 -1.39% -1.37% 0.99x
get_block_header[genesis] 0.01532118213040319 0.015913818551709858 -3.87% -3.72% 0.96x
get_block_header[head] 0.014905836260862523 0.015424576283309458 -3.48% -3.36% 0.97x
get_block_headers 0.014392215941196648 0.014929805352929126 -3.74% -3.60% 0.96x
get_block_proposer_duties[0] 0.015137375169237762 0.015064506840532715 0.48% 0.48% 1.00x
get_block_proposer_duties[123] 0.01531770635714825 0.014937889455876863 2.48% 2.54% 1.03x
get_block_proposer_duties[99999] 0.014086535072455381 0.014616974794113743 -3.77% -3.63% 0.96x
get_block_root[0xabc123] 0.014369155253967215 0.01506128347761945 -4.82% -4.60% 0.95x
get_block_root[12345] 0.014980956941191352 0.014437787985296864 3.63% 3.76% 1.04x
get_block_root[genesis] 0.015355886594224485 0.015026298925361638 2.15% 2.19% 1.02x
get_block_root[head] 0.015176418691159115 0.015475600378770403 -1.97% -1.93% 0.98x
get_block[0xabc123] 0.015136058938479927 0.015015809710157424 0.79% 0.80% 1.01x
get_block[12345] 0.015506722306393004 0.015624985985497282 -0.76% -0.76% 0.99x
get_block[genesis] 0.014991021867658941 0.015801306308817938 -5.41% -5.13% 0.95x
get_block[head] 0.014991338848479549 0.01584666358209023 -5.71% -5.40% 0.95x
get_bls_to_execution_changes 0.01408761245714751 0.01492386915716192 -5.94% -5.60% 0.94x
get_deposit_contract 0.014965289718282959 0.014786895898547906 1.19% 1.21% 1.01x
get_epoch_committees[12345] 0.015162872926466394 0.015421915869562023 -1.71% -1.68% 0.98x
get_epoch_committees[finalized] 0.01514188468113191 0.014874880590909786 1.76% 1.79% 1.02x
get_epoch_committees[head] 0.01564330838597303 0.03347814460319511 -114.01% -53.27% 0.47x
get_epoch_committees[justified] 0.015007566678000099 0.014823908890605253 1.22% 1.24% 1.01x
get_epoch_randao[12345] 0.014784059768152329 0.015671206730119246 -6.00% -5.66% 0.94x
get_epoch_randao[finalized] 0.014474457623177643 0.015432030507435596 -6.62% -6.21% 0.94x
get_epoch_randao[head] 0.014909433757143884 0.015424560686559704 -3.46% -3.34% 0.97x
get_epoch_randao[justified] 0.014451730606562378 0.015737207552204504 -8.89% -8.17% 0.92x
get_epoch_sync_committees[12345] 0.015134382637693372 0.01563867644826728 -3.33% -3.22% 0.97x
get_epoch_sync_committees[finalized] 0.015026258633766497 0.014877379375000999 0.99% 1.00% 1.01x
get_epoch_sync_committees[head] 0.014345855871416851 0.015522183446137205 -8.20% -7.58% 0.92x
get_epoch_sync_committees[justified] 0.015604096630781546 0.034844074681191356 -123.30% -55.22% 0.45x
get_finality_checkpoint[12345] 0.014967392250031963 0.014880702720611627 0.58% 0.58% 1.01x
get_finality_checkpoint[finalized] 0.021160471101455292 0.014713090791026355 30.47% 43.82% 1.44x
get_finality_checkpoint[head] 0.014846442887071662 0.014638760925368272 1.40% 1.42% 1.01x
get_finality_checkpoint[justified] 0.015371230413773541 0.014760657217394786 3.97% 4.14% 1.04x
get_fork_data[12345] 0.014929974130441422 0.015066824216671649 -0.92% -0.91% 0.99x
get_fork_data[finalized] 0.020152648287865883 0.01549204972059215 23.13% 30.08% 1.30x
get_fork_data[head] 0.014440256999982328 0.014941700323531142 -3.47% -3.36% 0.97x
get_fork_data[justified] 0.015086253043489416 0.021255211830762514 -40.89% -29.02% 0.71x
get_fork_schedule 0.014194523614332866 0.014585148202915687 -2.75% -2.68% 0.97x
get_genesis 0.016634596449289413 0.015379770439408552 7.54% 8.16% 1.08x
get_hash_root[12345] 0.014894737500001424 0.019729611656241985 -32.46% -24.51% 0.75x
get_hash_root[finalized] 0.01559645396874032 0.014983748144927169 3.93% 4.09% 1.04x
get_hash_root[head] 0.018525864508477506 0.01919134158210841 -3.59% -3.47% 0.97x
get_hash_root[justified] 0.019588538066689882 0.01515061922058227 22.66% 29.29% 1.29x
get_health 0.013694330507968559 0.012645584615414079 7.66% 8.29% 1.08x
get_light_client_bootstrap_structure[0x0] 0.014353762014297899 0.014587929420281727 -1.63% -1.61% 0.98x
get_light_client_bootstrap_structure[0xabc123] 0.014531734285680744 0.015660687347845204 -7.77% -7.21% 0.93x
get_light_client_finality_update 0.014856638811612567 0.014452229999964157 2.72% 2.80% 1.03x
get_light_client_optimistic_update 0.014429086347797198 0.014511900855064016 -0.57% -0.57% 0.99x
get_light_client_updates 0.014898318285694196 0.015366334914317901 -3.14% -3.05% 0.97x
get_node_identity 0.014161255840555395 0.015368969594188799 -8.53% -7.86% 0.92x
get_peer_count 0.01492958928124466 0.014745705028997401 1.23% 1.25% 1.01x
get_peer[0xdeadbeef] 0.015071484928557765 0.015127773367673987 -0.37% -0.37% 1.00x
get_peer[peer1] 0.015216254714258477 0.015224638785743342 -0.06% -0.06% 1.00x
get_peer[peer2] 0.015116666228556954 0.015165307808822892 -0.32% -0.32% 1.00x
get_peers 0.014745543173896716 0.014283051130412101 3.14% 3.24% 1.03x
get_proposer_slashings 0.05233877152946822 0.01519331658574369 70.97% 244.49% 3.44x
get_rewards[0xabc123] 0.014619490953842055 0.015429978073518 -5.54% -5.25% 0.95x
get_rewards[12345] 0.015516382707671885 0.01547383797015524 0.27% 0.27% 1.00x
get_rewards[genesis] 0.015485264463789634 0.015910958434826327 -2.75% -2.68% 0.97x
get_rewards[head] 0.015258055426496706 0.049713971343313026 -225.82% -69.31% 0.31x
get_spec 0.014998464814256554 0.01491493656521925 0.56% 0.56% 1.01x
get_sync_committee_duties[validator_indices0-0] 0.013907821328575664 0.01580451260293317 -13.64% -12.00% 0.88x
get_sync_committee_duties[validator_indices0-123] 0.014561692214251057 0.015798231194007237 -8.49% -7.83% 0.92x
get_sync_committee_duties[validator_indices0-99999] 0.014813716806991962 0.015632478923061383 -5.53% -5.24% 0.95x
get_sync_committee_duties[validator_indices1-0] 0.015642055431028673 0.015516495514722973 0.80% 0.81% 1.01x
get_sync_committee_duties[validator_indices1-123] 0.015384729164187734 0.01510410036507892 1.82% 1.86% 1.02x
get_sync_committee_duties[validator_indices1-99999] 0.01539662733336192 0.016029461850726578 -4.11% -3.95% 0.96x
get_sync_committee_duties[validator_indices2-0] 0.014814072969238623 0.01571453004545688 -6.08% -5.73% 0.94x
get_sync_committee_duties[validator_indices2-123] 0.014517517130452294 0.015754157807047402 -8.52% -7.85% 0.92x
get_sync_committee_duties[validator_indices2-99999] 0.015090200869587494 0.015692174455894554 -3.99% -3.84% 0.96x
get_syncing 0.015496822538450663 0.015398272671654244 0.64% 0.64% 1.01x
get_validator_balances[12345] 0.030726011246387963 0.015043673442811009 51.04% 104.25% 2.04x
get_validator_balances[finalized] 0.014827708117630156 0.015082393842866233 -1.72% -1.69% 0.98x
get_validator_balances[head] 0.015502495999993805 0.01492840743750179 3.70% 3.85% 1.04x
get_validator_balances[justified] 0.01535254672058152 0.01567510568656532 -2.10% -2.06% 0.98x
get_validator[12345-0] 0.014164493367629535 0.015190730985285854 -7.25% -6.76% 0.93x
get_validator[12345-0xdeadbeef] 0.014750092898553255 0.01518418076119842 -2.94% -2.86% 0.97x
get_validator[12345-123456] 0.01529593238234718 0.01483966330882889 2.98% 3.07% 1.03x
get_validator[finalized-0] 0.015000867685713664 0.014871087076919419 0.87% 0.87% 1.01x
get_validator[finalized-0xdeadbeef] 0.015148394840572519 0.01496535866175798 1.21% 1.22% 1.01x
get_validator[finalized-123456] 0.014175172984624413 0.014253531130440235 -0.55% -0.55% 0.99x
get_validator[head-0] 0.01535024826152249 0.015215787373139012 0.88% 0.88% 1.01x
get_validator[head-0xdeadbeef] 0.01533255298412018 0.015475272014702354 -0.93% -0.92% 0.99x
get_validator[head-123456] 0.024719566794136855 0.015141019641794004 38.75% 63.26% 1.63x
get_validator[justified-0] 0.015057917661756485 0.015466496147051685 -2.71% -2.64% 0.97x
get_validator[justified-0xdeadbeef] 0.015029971217390466 0.014905135608720177 0.83% 0.84% 1.01x
get_validator[justified-123456] 0.014499769333307691 0.030453635303036786 -110.03% -52.39% 0.48x
get_validators[12345] 0.014501763911756798 0.015331245426453092 -5.72% -5.41% 0.95x
get_validators[finalized] 0.014952992642867815 0.01481344150725699 0.93% 0.94% 1.01x
get_validators[head] 0.022746116536233745 0.023691525044779466 -4.16% -3.99% 0.96x
get_validators[justified] 0.014941746508469095 0.015708298405804497 -5.13% -4.88% 0.95x
get_version 0.014800743130453538 0.01572179820338487 -6.22% -5.86% 0.94x
get_voluntary_exits 0.014613636112911874 0.015132973579696134 -3.55% -3.43% 0.97x

web3/beacon/beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.000015794267567311194 0.000012164151402612302 22.98% 29.84% 1.30x
get_attestations_rewards[validator_indices0-0] 0.00001638909810141625 0.00001268227081378093 22.62% 29.23% 1.29x
get_attestations_rewards[validator_indices0-123] 0.000016125618946487188 0.000012618707093815949 21.75% 27.79% 1.28x
get_attestations_rewards[validator_indices0-99999] 0.000016585219706650725 0.000012506316874633795 24.59% 32.61% 1.33x
get_attestations_rewards[validator_indices1-0] 0.000016248130536990083 0.00001248337021991043 23.17% 30.16% 1.30x
get_attestations_rewards[validator_indices1-123] 0.000016536869388813892 0.000012521301160402378 24.28% 32.07% 1.32x
get_attestations_rewards[validator_indices1-99999] 0.00001631915804172599 0.000012720100523832544 22.05% 28.29% 1.28x
get_attestations_rewards[validator_indices2-0] 0.000016448400863641596 0.000012577155943814667 23.54% 30.78% 1.31x
get_attestations_rewards[validator_indices2-123] 0.00001629294470049751 0.000012658816129991157 22.30% 28.71% 1.29x
get_attestations_rewards[validator_indices2-99999] 0.00001635172197286012 0.000012627414554300926 22.78% 29.49% 1.29x
get_attester_duties[validator_indices0-0] 0.00001705574705050316 0.000013265503175762937 22.22% 28.57% 1.29x
get_attester_duties[validator_indices0-123] 0.000017030634483900686 0.000013312824925577385 21.83% 27.93% 1.28x
get_attester_duties[validator_indices0-99999] 0.000017077308666712916 0.000013039286239725871 23.65% 30.97% 1.31x
get_attester_duties[validator_indices1-0] 0.00001699085238017389 0.000013097373137900017 22.92% 29.73% 1.30x
get_attester_duties[validator_indices1-123] 0.00045905851326650626 0.0000131402426205494 97.14% 3393.53% 34.94x
get_attester_duties[validator_indices1-99999] 0.000016574457341485576 0.000013217942793104427 20.25% 25.39% 1.25x
get_attester_duties[validator_indices2-0] 0.00001663236705220862 0.000013084295381831184 21.33% 27.12% 1.27x
get_attester_duties[validator_indices2-123] 0.000016771937008051213 0.000013105089057465542 21.86% 27.98% 1.28x
get_attester_duties[validator_indices2-99999] 0.000016921616088724246 0.000012948170185589483 23.48% 30.69% 1.31x
get_attester_slashings 0.0000155557290170052 0.000012021984554689528 22.72% 29.39% 1.29x
get_beacon_heads 0.000015677423526060647 0.000012089493768889329 22.89% 29.68% 1.30x
get_beacon_state[12345] 0.000016037472645938656 0.000012636638712318214 21.21% 26.91% 1.27x
get_beacon_state[finalized] 0.00001616288743099362 0.000012735172655549033 21.21% 26.92% 1.27x
get_beacon_state[head] 0.00001605338785371996 0.000012712182382255169 20.81% 26.28% 1.26x
get_beacon_state[justified] 0.000015996517000596177 0.000012721362885105285 20.47% 25.75% 1.26x
get_blinded_blocks[0xabc123] 0.000016029276389656508 0.000012709052494853767 20.71% 26.12% 1.26x
get_blinded_blocks[12345] 0.00001667039037522919 0.000012776220959473953 23.36% 30.48% 1.30x
get_blinded_blocks[genesis] 0.000016230479228959635 0.000012706121392708324 21.71% 27.74% 1.28x
get_blinded_blocks[head] 0.00001633780509388155 0.000012670552551456302 22.45% 28.94% 1.29x
get_blob_sidecars[indices1-0xabc123] 0.00001781214331858558 0.000014270019511585766 19.89% 24.82% 1.25x
get_blob_sidecars[indices1-12345] 0.000017992704733248354 0.000014226589597309637 20.93% 26.47% 1.26x
get_blob_sidecars[indices1-genesis] 0.000017867009182998644 0.000014545269796794564 18.59% 22.84% 1.23x
get_blob_sidecars[indices1-head] 0.000017863580780765594 0.000014485287067093491 18.91% 23.32% 1.23x
get_blob_sidecars[indices2-0xabc123] 0.00001820220223449782 0.000014588101877728553 19.86% 24.77% 1.25x
get_blob_sidecars[indices2-12345] 0.000018312307440738907 0.000014829195059614302 19.02% 23.49% 1.23x
get_blob_sidecars[indices2-genesis] 0.000018183280081372756 0.000014651250046891527 19.42% 24.11% 1.24x
get_blob_sidecars[indices2-head] 0.000018223038453276294 0.000014588927796795214 19.94% 24.91% 1.25x
get_blob_sidecars[None-0xabc123] 0.00001672305365164514 0.000013210498305961871 21.00% 26.59% 1.27x
get_blob_sidecars[None-12345] 0.000016814936611144476 0.000013175761157207635 21.64% 27.62% 1.28x
get_blob_sidecars[None-genesis] 0.000016747300634929712 0.000013241650679172063 20.93% 26.47% 1.26x
get_blob_sidecars[None-head] 0.0000167845626709404 0.000013180857181515486 21.47% 27.34% 1.27x
get_block_attestations[0xabc123] 0.00001609715934516917 0.000012750489265410887 20.79% 26.25% 1.26x
get_block_attestations[12345] 0.000016662083106926554 0.000012783014629513304 23.28% 30.35% 1.30x
get_block_attestations[genesis] 0.000016125504572802813 0.000012672142788279672 21.42% 27.25% 1.27x
get_block_attestations[head] 0.000016280133293460386 0.000012652541354342381 22.28% 28.67% 1.29x
get_block_header[0xabc123] 0.000016435791718353936 0.000013010653306923505 20.84% 26.33% 1.26x
get_block_header[12345] 0.000016436947281385457 0.00001313229433320205 20.11% 25.16% 1.25x
get_block_header[genesis] 0.00001644059078639921 0.000013049245550356293 20.63% 25.99% 1.26x
get_block_header[head] 0.000016522307721388622 0.000013056311862760288 20.98% 26.55% 1.27x
get_block_headers 0.00001637218461247341 0.000012586236898558517 23.12% 30.08% 1.30x
get_block_proposer_duties[0] 0.00001667095007199331 0.00001305713242554844 21.68% 27.68% 1.28x
get_block_proposer_duties[123] 0.000016618195481659637 0.000013079585241670299 21.29% 27.05% 1.27x
get_block_proposer_duties[99999] 0.0000164380323929956 0.0000131028962232769 20.29% 25.45% 1.25x
get_block_root[0xabc123] 0.000016349163308288298 0.000012701167008905883 22.31% 28.72% 1.29x
get_block_root[12345] 0.00001640536929542133 0.000012886421667793256 21.45% 27.31% 1.27x
get_block_root[genesis] 0.000016299417280083385 0.00001263750047716303 22.47% 28.98% 1.29x
get_block_root[head] 0.00001623740893161381 0.000012717822497959962 21.68% 27.67% 1.28x
get_block[0xabc123] 0.0000162203345312271 0.000012664220290433525 21.92% 28.08% 1.28x
get_block[12345] 0.000016723589934948035 0.0000126424956820275 24.40% 32.28% 1.32x
get_block[genesis] 0.000016472809673003757 0.000012669820261008676 23.09% 30.02% 1.30x
get_block[head] 0.000016511494095136264 0.00001263317753914361 23.49% 30.70% 1.31x
get_bls_to_execution_changes 0.000015595416082846985 0.000012090616783912709 22.47% 28.99% 1.29x
get_deposit_contract 0.00001552490966358943 0.000011996328189738845 22.73% 29.41% 1.29x
get_epoch_committees[12345] 0.000016774104435313064 0.000013956231084001941 16.80% 20.19% 1.20x
get_epoch_committees[finalized] 0.000016709062239855487 0.000013344777717537671 20.13% 25.21% 1.25x
get_epoch_committees[head] 0.000016795680959734616 0.000013379678585883907 20.34% 25.53% 1.26x
get_epoch_committees[justified] 0.000017351312452628275 0.000013400923455627593 22.77% 29.48% 1.29x
get_epoch_randao[12345] 0.00001646962394643848 0.00001339323856126464 18.68% 22.97% 1.23x
get_epoch_randao[finalized] 0.0004307532550087981 0.00001321991510505772 96.93% 3158.37% 32.58x
get_epoch_randao[head] 0.00001681977429497477 0.000013780681962118136 18.07% 22.05% 1.22x
get_epoch_randao[justified] 0.000016261639440224483 0.000013227901554989547 18.66% 22.93% 1.23x
get_epoch_sync_committees[12345] 0.00001677158308048548 0.00001345251974342082 19.79% 24.67% 1.25x
get_epoch_sync_committees[finalized] 0.000016803638843426708 0.00001345424392748319 19.93% 24.89% 1.25x
get_epoch_sync_committees[head] 0.000016792949643397682 0.000013435645068013263 19.99% 24.99% 1.25x
get_epoch_sync_committees[justified] 0.000016777534358486393 0.00001347327119170093 19.69% 24.52% 1.25x
get_finality_checkpoint[12345] 0.000016734752271477736 0.000013412712455167214 19.85% 24.77% 1.25x
get_finality_checkpoint[finalized] 0.000016806517643095897 0.000013484685321086655 19.77% 24.63% 1.25x
get_finality_checkpoint[head] 0.000016999585199226104 0.000013411442801137216 21.11% 26.75% 1.27x
get_finality_checkpoint[justified] 0.000016776228874142356 0.000013649289783683917 18.64% 22.91% 1.23x
get_fork_data[12345] 0.00001684917091816397 0.00001332679530247377 20.91% 26.43% 1.26x
get_fork_data[finalized] 0.000016919966549280396 0.000013416847883748295 20.70% 26.11% 1.26x
get_fork_data[head] 0.000017074879995396356 0.000013391536565466589 21.57% 27.51% 1.28x
get_fork_data[justified] 0.000016868722482184212 0.000013409178260671987 20.51% 25.80% 1.26x
get_fork_schedule 0.000015591757400635187 0.000012056318277331366 22.68% 29.32% 1.29x
get_genesis 0.000015879182253944306 0.000012379708691482141 22.04% 28.27% 1.28x
get_hash_root[12345] 0.00001695027463970689 0.000013408951315765274 20.89% 26.41% 1.26x
get_hash_root[finalized] 0.000016532205032559206 0.000013439658657205792 18.71% 23.01% 1.23x
get_hash_root[head] 0.00001629108479004363 0.000013371546889275408 17.92% 21.83% 1.22x
get_hash_root[justified] 0.00001686583849532334 0.000014013968135380225 16.91% 20.35% 1.20x
get_health 0.000015011312694779841 0.000011591060649471134 22.78% 29.51% 1.30x
get_light_client_bootstrap_structure[0x0] 0.0000161579688365624 0.000012728249394690484 21.23% 26.95% 1.27x
get_light_client_bootstrap_structure[0xabc123] 0.00001611164324288161 0.000012739078900743853 20.93% 26.47% 1.26x
get_light_client_finality_update 0.000015458242672265617 0.000012023918510755857 22.22% 28.56% 1.29x
get_light_client_optimistic_update 0.00001561882805874518 0.000012062133262018361 22.77% 29.49% 1.29x
get_light_client_updates 0.000015561720848753185 0.000012069908298404542 22.44% 28.93% 1.29x
get_node_identity 0.000015560395890896305 0.000012407163182039579 20.26% 25.41% 1.25x
get_peer_count 0.000016165684117729095 0.000012682831443204453 21.54% 27.46% 1.27x
get_peer[0xdeadbeef] 0.00001689957728593114 0.000013366846676614848 20.90% 26.43% 1.26x
get_peer[peer1] 0.00001685148678425236 0.000013566129313912697 19.50% 24.22% 1.24x
get_peer[peer2] 0.000016948290308905585 0.000013318595319928652 21.42% 27.25% 1.27x
get_peers 0.000016295054765452965 0.000012600478805514395 22.67% 29.32% 1.29x
get_proposer_slashings 0.000015523424346571533 0.000012089356309955726 22.12% 28.41% 1.28x
get_rewards[0xabc123] 0.000016187053103996118 0.000012784507721463491 21.02% 26.61% 1.27x
get_rewards[12345] 0.000016131775001726997 0.00001273486319487781 21.06% 26.67% 1.27x
get_rewards[genesis] 0.000016057435374767697 0.000012625926564148136 21.37% 27.18% 1.27x
get_rewards[head] 0.000016044493933521262 0.000012545513926368975 21.81% 27.89% 1.28x
get_spec 0.00001563117738894279 0.000012000653927541963 23.23% 30.25% 1.30x
get_sync_committee_duties[validator_indices0-0] 0.0000167125715778608 0.000012573760931843926 24.76% 32.92% 1.33x
get_sync_committee_duties[validator_indices0-123] 0.00001651863847878013 0.000012540487352286814 24.08% 31.72% 1.32x
get_sync_committee_duties[validator_indices0-99999] 0.000016395895951739375 0.000012539424012501183 23.52% 30.75% 1.31x
get_sync_committee_duties[validator_indices1-0] 0.00001630710003342419 0.000012705144760756689 22.09% 28.35% 1.28x
get_sync_committee_duties[validator_indices1-123] 0.00001635006633349547 0.000012505857769622243 23.51% 30.74% 1.31x
get_sync_committee_duties[validator_indices1-99999] 0.000016295645775121415 0.000012447633905169793 23.61% 30.91% 1.31x
get_sync_committee_duties[validator_indices2-0] 0.000016514458998007762 0.000012678027315874729 23.23% 30.26% 1.30x
get_sync_committee_duties[validator_indices2-123] 0.000016559748756528095 0.000012506055619707279 24.48% 32.41% 1.32x
get_sync_committee_duties[validator_indices2-99999] 0.000016201084595685928 0.00001273991353479666 21.36% 27.17% 1.27x
get_syncing 0.00001645532425141711 0.000012695754128335079 22.85% 29.61% 1.30x
get_validator_balances[12345] 0.00001666327743012899 0.000013565342091030086 18.59% 22.84% 1.23x
get_validator_balances[finalized] 0.00001681174405923791 0.000013425413870179226 20.14% 25.22% 1.25x
get_validator_balances[head] 0.000016767571015087818 0.000013405793742387746 20.05% 25.08% 1.25x
get_validator_balances[justified] 0.00001679439695307587 0.000013407018010891077 20.17% 25.27% 1.25x
get_validator[12345-0] 0.000016875291159083514 0.000013220957812494644 21.65% 27.64% 1.28x
get_validator[12345-0xdeadbeef] 0.000016797771519029458 0.000013362227272880371 20.45% 25.71% 1.26x
get_validator[12345-123456] 0.000016710009044357434 0.000013161123735984637 21.24% 26.96% 1.27x
get_validator[finalized-0] 0.000016910985676041797 0.000013342354074601379 21.10% 26.75% 1.27x
get_validator[finalized-0xdeadbeef] 0.000016821095737305914 0.000013460425005995225 19.98% 24.97% 1.25x
get_validator[finalized-123456] 0.000017145639873884543 0.000013194317666207815 23.05% 29.95% 1.30x
get_validator[head-0] 0.00001689083176591174 0.000013231846108519219 21.66% 27.65% 1.28x
get_validator[head-0xdeadbeef] 0.00001687094797556801 0.000013366446521000666 20.77% 26.22% 1.26x
get_validator[head-123456] 0.000016844012460740532 0.0000132283649329736 21.47% 27.33% 1.27x
get_validator[justified-0] 0.000016865140056810752 0.000013173654696222371 21.89% 28.02% 1.28x
get_validator[justified-0xdeadbeef] 0.000017140453233827515 0.000013130676572679313 23.39% 30.54% 1.31x
get_validator[justified-123456] 0.00001685101422996805 0.000013157651331489095 21.92% 28.07% 1.28x
get_validators[12345] 0.00001684214289360644 0.000013337888619367319 20.81% 26.27% 1.26x
get_validators[finalized] 0.000016753580048375194 0.000013366745637687926 20.22% 25.34% 1.25x
get_validators[head] 0.000016879257504121337 0.000013357042046948662 20.87% 26.37% 1.26x
get_validators[justified] 0.000017085697956635538 0.000013424679549155308 21.43% 27.27% 1.27x
get_version 0.00001629793772686489 0.000012722899441484074 21.94% 28.10% 1.28x
get_voluntary_exits 0.000015642463178676383 0.000012115782875598606 22.55% 29.11% 1.29x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.001483196216247061 0.0014772049710571242 0.40% 0.41% 1.00x
attributedict_hash[flat] 0.001112000326451075 0.0011035966860884038 0.76% 0.76% 1.01x
attributedict_hash[nested] 0.0017518284482838649 0.0017367984078556242 0.86% 0.87% 1.01x
attributedict_init[empty] 0.0000939935421237199 0.00009230786581171975 1.79% 1.83% 1.02x
attributedict_init[large] 0.00013367664229170024 0.0001372492625762534 -2.67% -2.60% 0.97x
attributedict_init[small] 0.00009880875575152478 0.00009830734284024757 0.51% 0.51% 1.01x
mutableattributedict_delitem 0.00040127667389187345 0.0004011708815903032 0.03% 0.03% 1.00x
mutableattributedict_setitem 0.00033793421469927097 0.0003339863265160519 1.17% 1.18% 1.01x
namedelementonion_add 0.0426510323059866 0.03440044671327093 19.34% 23.98% 1.24x
namedelementonion_as_tuple_of_middleware 0.00014523791278886922 0.00014294344047080003 1.58% 1.61% 1.02x
namedelementonion_contains 0.00002998356384369068 0.00003043591463150202 -1.51% -1.49% 0.99x
namedelementonion_getitem 0.000026990486707774534 0.00002696974019391843 0.08% 0.08% 1.00x
namedelementonion_init[callables2] 0.0001263287642965738 0.0001267972539617912 -0.37% -0.37% 1.00x
namedelementonion_init[callables3] 0.00015902595301086004 0.0001605843560200604 -0.98% -0.97% 0.99x
namedelementonion_init[empty] 0.00004351090093520279 0.00004316743660307862 0.79% 0.80% 1.01x
namedelementonion_inject 0.05601024442351391 0.054679805761385196 2.38% 2.43% 1.02x
namedelementonion_iter 0.000153131902421269 0.00015323241329320302 -0.07% -0.07% 1.00x
namedelementonion_remove 0.0006663661144739308 0.0006614168185550659 0.74% 0.75% 1.01x
namedelementonion_replace 0.0024333255738986335 0.0024135803398593852 0.81% 0.82% 1.01x
readableattributedict_getitem[large] 0.000015932963594049986 0.00001568206295197813 1.57% 1.60% 1.02x
readableattributedict_getitem[small] 0.000015134226716004566 0.000014900308191843058 1.55% 1.57% 1.02x
readableattributedict_init[empty] 0.00005548345615893638 0.00005301330767855283 4.45% 4.66% 1.05x
readableattributedict_init[large] 0.00008674891861483431 0.00008699835659031967 -0.29% -0.29% 1.00x
readableattributedict_init[small] 0.00005693237127544571 0.000059426937371924686 -4.38% -4.20% 0.96x
readableattributedict_recursive[list-in-dict] 0.0008896202428937942 0.0008871640913288857 0.28% 0.28% 1.00x
readableattributedict_recursive[nested-dict] 0.0009224854699142447 0.0009275878401508596 -0.55% -0.55% 0.99x
readableattributedict_recursive[set] 0.00047166929295121334 0.0004603855877865008 2.39% 2.45% 1.02x
tupleize_lists_nested[list-in-dict] 0.0008773445000056099 0.00086013620485029 1.96% 2.00% 1.02x
tupleize_lists_nested[tuple-in-dict] 0.0009641187488303457 0.0009485537527873 1.61% 1.64% 1.02x

web3/utils/address - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_create_address[0] 0.00005760456546879085 0.00002832104400316806 50.84% 103.40% 2.03x
get_create_address[100] 0.000057233240268583796 0.000028159958952191698 50.80% 103.24% 2.03x
get_create_address[10000] 0.000057393907714268094 0.000027811711072106915 51.54% 106.37% 2.06x
get_create2_address[long] 0.000060566421182291466 0.000024010137703245435 60.36% 152.25% 2.52x
get_create2_address[med] 0.00005951943364107487 0.0000232906520729685 60.87% 155.55% 2.56x
get_create2_address[short] 0.00005940304620510397 0.000023160430483764133 61.01% 156.49% 2.56x

web3/utils/async_exception_handling - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
async_handle_offchain_lookup[get-single-bytes] 0.009342267844636562 0.006336676331111388 32.17% 47.43% 1.47x
async_handle_offchain_lookup[get-single-hexstr] 0.01040401410752458 0.0063530515771919645 38.94% 63.76% 1.64x
async_handle_offchain_lookup[get-try2-bytes] 0.00924533020754166 0.006269510209153701 32.19% 47.46% 1.47x
async_handle_offchain_lookup[get-try2-hexstr] 0.010345364180838782 0.006487368378356149 37.29% 59.47% 1.59x
async_handle_offchain_lookup[get-try3-bytes] 0.009325146990307173 0.006253785953328285 32.94% 49.11% 1.49x
async_handle_offchain_lookup[get-try3-hexstr] 0.010356353329796624 0.006321589874180111 38.96% 63.83% 1.64x
async_handle_offchain_lookup[post-single-bytes] 0.009363553697348356 0.006334404813794114 32.35% 47.82% 1.48x
async_handle_offchain_lookup[post-single-hexstr] 0.010333790322571682 0.006384336299991749 38.22% 61.86% 1.62x
async_handle_offchain_lookup[post-try2-bytes] 0.009433514432679693 0.006333851777016379 32.86% 48.94% 1.49x
async_handle_offchain_lookup[post-try2-hexstr] 0.010414141157898963 0.006378143295292195 38.75% 63.28% 1.63x
async_handle_offchain_lookup[post-try3-bytes] 0.009393743676190796 0.006279894967332546 33.15% 49.58% 1.50x
async_handle_offchain_lookup[post-try3-hexstr] 0.010455611065209347 0.006367202472943432 39.10% 64.21% 1.64x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003367567538819472 0.00025427560574978235 24.49% 32.44% 1.32x
simplecache_cache[100] 0.002737549824166388 0.0020001159819948953 26.94% 36.87% 1.37x
simplecache_cache[1000] 0.0273004763783172 0.01891868069810269 30.70% 44.30% 1.44x
simplecache_eviction[10] 0.0007769996900425027 0.0005973140449386347 23.13% 30.08% 1.30x
simplecache_eviction[100] 0.007156176884894475 0.005308716735151 25.82% 34.80% 1.35x
simplecache_pop[10] 0.0004528539004302707 0.0003573258566454715 21.09% 26.73% 1.27x
simplecache_pop[100] 0.0037391922424352274 0.0028561802705927915 23.62% 30.92% 1.31x
simplecache_retrieval[10] 0.0000916263221999033 0.00005628653699722368 38.57% 62.79% 1.63x
simplecache_retrieval[100] 0.0007940872662761547 0.00047446712324260135 40.25% 67.36% 1.67x

web3/utils/exception_handling - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
handle_offchain_lookup[get-single-bytes] 0.00007495185420814143 0.00004253676091905758 43.25% 76.20% 1.76x
handle_offchain_lookup[get-single-hexstr] 0.0000850048686821761 0.000043054896608111146 49.35% 97.43% 1.97x
handle_offchain_lookup[get-try2-bytes] 0.000074684493179581 0.00004236998581369533 43.27% 76.27% 1.76x
handle_offchain_lookup[get-try2-hexstr] 0.00008507941969869225 0.00004299319807312383 49.47% 97.89% 1.98x
handle_offchain_lookup[get-try3-bytes] 0.0000741040687476733 0.000042002950243061675 43.32% 76.43% 1.76x
handle_offchain_lookup[get-try3-hexstr] 0.00008495704910357073 0.000043845934324249504 48.39% 93.76% 1.94x
handle_offchain_lookup[post-single-bytes] 0.00007345076761417945 0.0000433096884351596 41.04% 69.59% 1.70x
handle_offchain_lookup[post-single-hexstr] 0.0000842917798418839 0.0000428881643278453 49.12% 96.54% 1.97x
handle_offchain_lookup[post-try2-bytes] 0.0000740835425972701 0.000042556349883378296 42.56% 74.08% 1.74x
handle_offchain_lookup[post-try2-hexstr] 0.0000856851922699973 0.00004342139612348669 49.32% 97.33% 1.97x
handle_offchain_lookup[post-try3-bytes] 0.00007440136879004583 0.00004214743502945854 43.35% 76.53% 1.77x
handle_offchain_lookup[post-try3-hexstr] 0.00008557952550300335 0.00004328338561229912 49.42% 97.72% 1.98x

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