Skip to content

Conversation

@BobTheBuidler
Copy link
Owner

No description provided.

@github-actions

This comment was marked as off-topic.

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 21, 2025

CodSpeed Performance Report

Merging #153 will degrade performances by 19.01%

Comparing vendor (321dca2) with master (d0f0ef1)

Summary

❌ 1 regression
✅ 879 untouched
⏩ 65 skipped1

⚠️ Please fix the performance issues or acknowledge them on CodSpeed.

Benchmarks breakdown

Benchmark BASE HEAD Change
test_faster_labelhash[] 463.2 µs 571.9 µs -19.01%

Footnotes

  1. 65 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@github-actions

This comment was marked as off-topic.

@github-actions

This comment was marked as off-topic.

@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.0000017332082064374242 9.138412105709441e-7 47.27% 89.66% 1.90x
is_valid_name[a..eth] 0.000023369524322320613 0.000027839814302544074 -19.13% -16.06% 0.84x
is_valid_name[a.eth..] 0.000024122082488111045 0.000027950841094172817 -15.87% -13.70% 0.86x
is_valid_name[a.eth.] 0.000023886547457245045 0.000027920459911910696 -16.89% -14.45% 0.86x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.18824212250005226 0.18931094583335076 -0.57% -0.56% 0.99x
is_valid_name[alice.eth] 0.00866376193861422 0.00859061088596734 0.84% 0.85% 1.01x
is_valid_name[bob.eth] 0.005201920331574241 0.00511401385483134 1.69% 1.72% 1.02x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.20381689039995762 0.18989759550004237 6.83% 7.33% 1.07x
is_valid_name[subdomain.alice.eth] 0.02539876427500758 0.025329779333309814 0.27% 0.27% 1.00x
labelhash[] 0.00012002821141587352 0.00007599979160752661 36.68% 57.93% 1.58x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.1858125968333487 0.18767973616670966 -1.00% -0.99% 0.99x
labelhash[alice] 0.006294795920525185 0.00623441401298894 0.96% 0.97% 1.01x
labelhash[bob] 0.0028129875014415657 0.0027032304859554396 3.90% 4.06% 1.04x
labelhash[emoji\U0001f468\U0001f3fb] 0.2035900683999671 0.18626160500000802 8.51% 9.30% 1.09x
labelhash[xn--fiqs8s] 0.01981370935294424 0.01999734937999392 -0.93% -0.92% 0.99x
namehash[ascii] 0.018173875600000014 0.017759275464279817 2.28% 2.33% 1.02x
namehash[blocked-last-cc] 0.3309374270000035 0.3078525502000048 6.98% 7.50% 1.07x
namehash[combining-nfd] 0.24796424359999492 0.2297351406000189 7.35% 7.93% 1.08x
namehash[compose-pair] 0.16506391471429133 0.1532926445714143 7.13% 7.68% 1.08x
namehash[emoji] 0.41039407360003677 0.3752128854000375 8.57% 9.38% 1.09x
namehash[empty] 0.000010160699426378964 0.0000030911377747485496 69.58% 228.70% 3.29x
namehash[hangul-jamo] 0.08754424341666815 0.08032888469231764 8.24% 8.98% 1.09x
namehash[hangul-lv] 0.08533746174997721 0.07820179569231502 8.36% 9.12% 1.09x
namehash[hangul-lvt] 0.08474392483334252 0.07791435853843828 8.06% 8.77% 1.09x
namehash[ligature-ffl] 0.018594727500008047 0.018134365345461197 2.48% 2.54% 1.03x
namehash[multi-combining] 0.26070721399999003 0.23885592079998333 8.38% 9.15% 1.09x
namehash[only-combining] 0.08697874366669112 0.07962378392305534 8.46% 9.24% 1.09x
namehash[precomposed-e-acute] 0.24543183460000365 0.226004257600016 7.92% 8.60% 1.09x
nameprep[ascii] 0.008636509626094463 0.008602136219281962 0.40% 0.40% 1.00x
nameprep[blocked-last-cc] 0.16814666116670196 0.15210892399997128 9.54% 10.54% 1.11x
nameprep[combining-nfd] 0.12491809022223303 0.11710070322220013 6.26% 6.68% 1.07x
nameprep[compose-pair] 0.08282842876920207 0.07703966261535172 6.99% 7.51% 1.08x
nameprep[emoji] 0.2047986490000085 0.18907322083331715 7.68% 8.32% 1.08x
nameprep[empty] 0.000008742470531418867 0.000002853687782305854 67.36% 206.36% 3.06x
nameprep[hangul-jamo] 0.044225147869521766 0.040930173239994476 7.45% 8.05% 1.08x
nameprep[hangul-lv] 0.04214815141664493 0.03946908484002961 6.36% 6.79% 1.07x
nameprep[hangul-lvt] 0.04188156645831024 0.03900354119228338 6.87% 7.38% 1.07x
nameprep[ligature-ffl] 0.006769328979324764 0.006735359823129069 0.50% 0.50% 1.01x
nameprep[multi-combining] 0.13060360387498804 0.11983463366666708 8.25% 8.99% 1.09x
nameprep[only-combining] 0.04280878054164342 0.03977366744000392 7.09% 7.63% 1.08x
nameprep[precomposed-e-acute] 0.12281380177776352 0.11291063544445024 8.06% 8.77% 1.09x
parent[] 9.606617610522023e-7 7.937301167339873e-7 17.38% 21.03% 1.21x
parent[bar.eth] 0.000003448730266090873 0.0000023632950945273497 31.47% 45.93% 1.46x
parent[eth] 0.0000018774704491537779 0.000001320145950354375 29.68% 42.22% 1.42x
parent[foo.bar.eth] 0.0000041033421368489995 0.0000029323522537407066 28.54% 39.93% 1.40x
parent[sub.sub2.foo.bar.eth] 0.000004701383465620068 0.0000035628601340433154 24.22% 31.96% 1.32x
reverse_domain[0x0000000000000000000000000000000000000000] 0.000049352610218574975 0.000016412264876572574 66.74% 200.71% 3.01x
reverse_domain[0x1111111111111111111111111111111111111111] 0.000051952801135308104 0.000016404138150080135 68.42% 216.71% 3.17x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000050183699641661945 0.000016413889210978603 67.29% 205.74% 3.06x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[ascii] 0.000012421965690574927 0.000012162663895360399 2.09% 2.13% 1.02x
address[blocked-last-cc] 0.000012278389376106394 0.000012034599332329898 1.99% 2.03% 1.02x
address[combining-nfd] 0.00001231096241499192 0.000012037415924592778 2.22% 2.27% 1.02x
address[compose-pair] 0.000012011539135482247 0.000012046340573134323 -0.29% -0.29% 1.00x
address[emoji] 0.000012205736448278048 0.000012050099398434272 1.28% 1.29% 1.01x
address[empty] 0.000012224606078027474 0.000012200407130116885 0.20% 0.20% 1.00x
address[hangul-jamo] 0.000012135006505389653 0.000012009899110882043 1.03% 1.04% 1.01x
address[hangul-lv] 0.000012213113082476375 0.000012090332277749108 1.01% 1.02% 1.01x
address[hangul-lvt] 0.00001203261764993432 0.00001200330210255067 0.24% 0.24% 1.00x
address[ligature-ffl] 0.00001210265865791213 0.000012002165968201938 0.83% 0.84% 1.01x
address[multi-combining] 0.000012138850581203585 0.00001200678251119402 1.09% 1.10% 1.01x
address[only-combining] 0.000012034663948533741 0.000012067057740889974 -0.27% -0.27% 1.00x
address[precomposed-e-acute] 0.000012146605697541307 0.000012022295271022675 1.02% 1.03% 1.01x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[ascii] 0.0001267740661374729 0.00012695758149655333 -0.14% -0.14% 1.00x
normalize_name_ensip15[blocked-last-cc] 0.0001267813392209591 0.00012705006528626538 -0.21% -0.21% 1.00x
normalize_name_ensip15[combining-nfd] 0.00012668074359067002 0.0001272568233474658 -0.45% -0.45% 1.00x
normalize_name_ensip15[compose-pair] 0.00012711862637970024 0.00012746382705980283 -0.27% -0.27% 1.00x
normalize_name_ensip15[emoji] 0.000128219083054969 0.00012801014799761285 0.16% 0.16% 1.00x
normalize_name_ensip15[empty] 0.0001268615791930051 0.00012690315607611602 -0.03% -0.03% 1.00x
normalize_name_ensip15[hangul-jamo] 0.00012674721505548503 0.00012756475612676747 -0.65% -0.64% 0.99x
normalize_name_ensip15[hangul-lv] 0.000129195991092517 0.0001272807112379605 1.48% 1.50% 1.02x
normalize_name_ensip15[hangul-lvt] 0.00012725527662275563 0.0001270022885295969 0.20% 0.20% 1.00x
normalize_name_ensip15[ligature-ffl] 0.00012720813685376274 0.00012695693238018696 0.20% 0.20% 1.00x
normalize_name_ensip15[multi-combining] 0.00012693263399632472 0.00012678308924912935 0.12% 0.12% 1.00x
normalize_name_ensip15[only-combining] 0.0001273562119602183 0.00012718625328105547 0.13% 0.13% 1.00x
normalize_name_ensip15[precomposed-e-acute] 0.00012793627374572446 0.0001275547648037169 0.30% 0.30% 1.00x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.002400489009623641 0.0007863694054937236 67.24% 205.26% 3.05x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.0024452127611934047 0.0007861553197155666 67.85% 211.03% 3.11x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0024256723580273736 0.0007867838043160862 67.56% 208.30% 3.08x
dns_encode_name[ascii] 0.008990900436368644 0.008686076035723593 3.39% 3.51% 1.04x
dns_encode_name[blocked-last-cc] 0.16594526914289937 0.1510673399999892 8.97% 9.85% 1.10x
dns_encode_name[combining-nfd] 0.12608646424999392 0.11497917033334994 8.81% 9.66% 1.10x
dns_encode_name[compose-pair] 0.08341117591665655 0.07565750199999652 9.30% 10.25% 1.10x
dns_encode_name[emoji] 0.2077931462000379 0.1888491193332887 9.12% 10.03% 1.10x
dns_encode_name[empty] 0.000006096576633504713 0.000004204208363429101 31.04% 45.01% 1.45x
dns_encode_name[hangul-jamo] 0.04560846586363451 0.04215329556524486 7.58% 8.20% 1.08x
dns_encode_name[hangul-lv] 0.04340474791664898 0.0387925044000076 10.63% 11.89% 1.12x
dns_encode_name[hangul-lvt] 0.04370056066665976 0.03881656207695764 11.18% 12.58% 1.13x
dns_encode_name[ligature-ffl] 0.007109598525184077 0.006851400351727001 3.63% 3.77% 1.04x
dns_encode_name[multi-combining] 0.13047761074997766 0.12111327711110992 7.18% 7.73% 1.08x
dns_encode_name[only-combining] 0.04427430560869415 0.039780181769218034 10.15% 11.30% 1.11x
dns_encode_name[precomposed-e-acute] 0.12371878066667502 0.11269121855560923 8.91% 9.79% 1.10x
estimate_auction_start_gas[labels0] 0.00006913962381741746 0.00004198555754953728 39.27% 64.67% 1.65x
estimate_auction_start_gas[labels1] 0.0000688966668798789 0.000042001508283760574 39.04% 64.03% 1.64x
estimate_auction_start_gas[labels2] 0.0000615779671289534 0.000042191671037414725 31.48% 45.95% 1.46x
is_empty_name[ ] 0.00005331973041588015 0.00003582155400038461 32.82% 48.85% 1.49x
is_empty_name[.] 0.000053876091852350396 0.00003623092204459552 32.75% 48.70% 1.49x
is_empty_name[0] 0.00005315944156921259 0.00003513680128906752 33.90% 51.29% 1.51x
is_empty_name[1] 0.000053144078979904395 0.000035057711095273505 34.03% 51.59% 1.52x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.000053465834584610585 0.000036160505023743215 32.37% 47.86% 1.48x
is_empty_name[alice.eth] 0.0000535495666815172 0.00003615606085627538 32.48% 48.11% 1.48x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00005540079982047022 0.000037345696374793424 32.59% 48.35% 1.48x
is_empty_name[subdomain.alice.eth] 0.000053455785006702094 0.000036246856502228284 32.19% 47.48% 1.47x
is_none_or_zero_address[] 0.00004053316000741261 0.00003523906824825917 13.06% 15.02% 1.15x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.000045725900276091 0.000041630581367108574 8.96% 9.84% 1.10x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00004861675769300226 0.00004332469473080033 10.89% 12.21% 1.12x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.000048548437561099295 0.000043569374743106056 10.26% 11.43% 1.11x
is_valid_ens_name[ascii] 0.008644343157885615 0.008548108913051376 1.11% 1.13% 1.01x
is_valid_ens_name[blocked-last-cc] 0.16386873042863823 0.15289497857143683 6.70% 7.18% 1.07x
is_valid_ens_name[combining-nfd] 0.12503123344443642 0.11500754922220342 8.02% 8.72% 1.09x
is_valid_ens_name[compose-pair] 0.0816205097692091 0.07583055614286748 7.09% 7.64% 1.08x
is_valid_ens_name[emoji] 0.20358672819997992 0.1885188301666858 7.40% 7.99% 1.08x
is_valid_ens_name[empty] 0.0000017446175509560138 0.0000012056571814268783 30.89% 44.70% 1.45x
is_valid_ens_name[hangul-jamo] 0.04396413687501877 0.04089315607999197 6.99% 7.51% 1.08x
is_valid_ens_name[hangul-lv] 0.04166219191668574 0.038634200961522626 7.27% 7.84% 1.08x
is_valid_ens_name[hangul-lvt] 0.04146961908332969 0.03866286269229791 6.77% 7.26% 1.07x
is_valid_ens_name[ligature-ffl] 0.006785260216783318 0.006694602452055994 1.34% 1.35% 1.01x
is_valid_ens_name[multi-combining] 0.12845760599995515 0.12019424100001036 6.43% 6.88% 1.07x
is_valid_ens_name[only-combining] 0.04239959058332943 0.039535857559985746 6.75% 7.24% 1.07x
is_valid_ens_name[precomposed-e-acute] 0.12190766666665492 0.11270278255559181 7.55% 8.17% 1.08x
is_valid_name[ascii] 0.00861245888695521 0.008573468362821619 0.45% 0.45% 1.00x
is_valid_name[blocked-last-cc] 0.16381916828569437 0.15118340028568258 7.71% 8.36% 1.08x
is_valid_name[combining-nfd] 0.12416108662500847 0.11432206377778836 7.92% 8.61% 1.09x
is_valid_name[compose-pair] 0.08357927253849504 0.07559079371427353 9.56% 10.57% 1.11x
is_valid_name[emoji] 0.20265338799999882 0.18764882250002302 7.40% 8.00% 1.08x
is_valid_name[empty] 0.0000015245218044528715 9.191911026780371e-7 39.71% 65.85% 1.66x
is_valid_name[hangul-jamo] 0.04453058495653789 0.04101416380001865 7.90% 8.57% 1.09x
is_valid_name[hangul-lv] 0.04185970245832967 0.038800799884597836 7.31% 7.88% 1.08x
is_valid_name[hangul-lvt] 0.04161890540000968 0.038967667653869636 6.37% 6.80% 1.07x
is_valid_name[ligature-ffl] 0.006759698527394119 0.00672918921918141 0.45% 0.45% 1.00x
is_valid_name[multi-combining] 0.1284515793750245 0.11892578433331538 7.42% 8.01% 1.08x
is_valid_name[only-combining] 0.042452996125016774 0.03940914423077839 7.17% 7.72% 1.08x
is_valid_name[precomposed-e-acute] 0.12164626688887539 0.11391989077777806 6.35% 6.78% 1.07x
label_to_hash[] 0.00011980211293388821 0.00007600717253631929 36.56% 57.62% 1.58x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.1858914579999388 0.186944709166634 -0.57% -0.56% 0.99x
label_to_hash[alice] 0.006295370688298867 0.006220081175316208 1.20% 1.21% 1.01x
label_to_hash[bob] 0.002820343718021805 0.0027240200588277644 3.42% 3.54% 1.04x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.20211517499992623 0.18701190683331484 7.47% 8.08% 1.08x
label_to_hash[xn--fiqs8s] 0.019803117520000343 0.019945095104172122 -0.72% -0.71% 0.99x
normal_name_to_hash[ascii] 0.009410886361893928 0.009063405999995666 3.69% 3.83% 1.04x
normal_name_to_hash[blocked-last-cc] 0.1662746249999795 0.1514339762857162 8.93% 9.80% 1.10x
normal_name_to_hash[combining-nfd] 0.12520608974998026 0.11578150811111401 7.53% 8.14% 1.08x
normal_name_to_hash[compose-pair] 0.08366292975002428 0.07656365757145522 8.49% 9.27% 1.09x
normal_name_to_hash[emoji] 0.206256063399951 0.18921015749996664 8.26% 9.01% 1.09x
normal_name_to_hash[empty] 0.0000015921263021899369 8.791016483868012e-7 44.78% 81.11% 1.81x
normal_name_to_hash[hangul-jamo] 0.04504701527272656 0.0413055529200119 8.31% 9.06% 1.09x
normal_name_to_hash[hangul-lv] 0.0431450679583539 0.039258816192308095 9.01% 9.90% 1.10x
normal_name_to_hash[hangul-lvt] 0.04321095504346688 0.039627136230776086 8.29% 9.04% 1.09x
normal_name_to_hash[ligature-ffl] 0.007560058515397172 0.007171561444442045 5.14% 5.42% 1.05x
normal_name_to_hash[multi-combining] 0.1306666811250068 0.12258069366662817 6.19% 6.60% 1.07x
normal_name_to_hash[only-combining] 0.0441813169999596 0.040104898760027936 9.23% 10.16% 1.10x
normal_name_to_hash[precomposed-e-acute] 0.12311525111110516 0.11376572333334581 7.59% 8.22% 1.08x
normalize_name[ascii] 0.008622396747816074 0.008611091885959946 0.13% 0.13% 1.00x
normalize_name[blocked-last-cc] 0.16900250366666114 0.15289867085711453 9.53% 10.53% 1.11x
normalize_name[combining-nfd] 0.12562444974997788 0.11753888077775325 6.44% 6.88% 1.07x
normalize_name[compose-pair] 0.0838965158333546 0.07823727130767111 6.75% 7.23% 1.07x
normalize_name[emoji] 0.20629412640000738 0.19288936616669616 6.50% 6.95% 1.07x
normalize_name[empty] 0.000008378895730465005 0.000002848422894210938 66.00% 194.16% 2.94x
normalize_name[hangul-jamo] 0.045082351869535596 0.04441614608334513 1.48% 1.50% 1.01x
normalize_name[hangul-lv] 0.043094624608695245 0.03981136147998768 7.62% 8.25% 1.08x
normalize_name[hangul-lvt] 0.043234784208361056 0.04004815804001737 7.37% 7.96% 1.08x
normalize_name[ligature-ffl] 0.006767060924666461 0.006717235000001108 0.74% 0.74% 1.01x
normalize_name[multi-combining] 0.13209918362503004 0.12193215122222985 7.70% 8.34% 1.08x
normalize_name[only-combining] 0.04386975704347685 0.040137241959973834 8.51% 9.30% 1.09x
normalize_name[precomposed-e-acute] 0.12370937644444287 0.11487179966669221 7.14% 7.69% 1.08x
raw_name_to_hash[ascii] 0.018136199592576036 0.01771708266070147 2.31% 2.37% 1.02x
raw_name_to_hash[blocked-last-cc] 0.33183149339997725 0.3031059649999861 8.66% 9.48% 1.09x
raw_name_to_hash[combining-nfd] 0.24887159259997133 0.2282852704000561 8.27% 9.02% 1.09x
raw_name_to_hash[compose-pair] 0.1671432456666556 0.15371888614283438 8.03% 8.73% 1.09x
raw_name_to_hash[emoji] 0.4097013808000156 0.3757155213999795 8.30% 9.05% 1.09x
raw_name_to_hash[empty] 0.000009823736903149199 0.000003032397392328593 69.13% 223.96% 3.24x
raw_name_to_hash[hangul-jamo] 0.08713019875002222 0.08110449199998235 6.92% 7.43% 1.07x
raw_name_to_hash[hangul-lv] 0.08480594949999916 0.07833562453846263 7.63% 8.26% 1.08x
raw_name_to_hash[hangul-lvt] 0.08462379983338526 0.07819209130768566 7.60% 8.23% 1.08x
raw_name_to_hash[ligature-ffl] 0.01848582288887765 0.017955648327262513 2.87% 2.95% 1.03x
raw_name_to_hash[multi-combining] 0.25775072019996514 0.2376421002000825 7.80% 8.46% 1.08x
raw_name_to_hash[only-combining] 0.0870762705833575 0.0791809671538186 9.07% 9.97% 1.10x
raw_name_to_hash[precomposed-e-acute] 0.2460543869999583 0.22620659220006017 8.07% 8.77% 1.09x
sha3_text[0] 0.00010489659610946774 0.00006989083787338384 33.37% 50.09% 1.50x
sha3_text[1] 0.00010605199036061931 0.00007018447049181912 33.82% 51.10% 1.51x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00011313575056984642 0.00007728189852584788 31.69% 46.39% 1.46x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00011301487293538348 0.0000770247544869413 31.85% 46.73% 1.47x
sha3_text[alice.eth] 0.00011367215246294932 0.00007717086247566872 32.11% 47.30% 1.47x
sha3_text[alice] 0.00011255605656701055 0.00007740640169736649 31.23% 45.41% 1.45x
sha3_text[bob] 0.00011304074604338633 0.00007754695281904435 31.40% 45.77% 1.46x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.00011369620353559146 0.00007801076568857638 31.39% 45.74% 1.46x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00011414565293466745 0.00007789825038209946 31.76% 46.53% 1.47x
sha3_text[subdomain.alice.eth] 0.00011372414245181404 0.0000776096133723106 31.76% 46.53% 1.47x
sha3_text[xn--fiqs8s] 0.00011299515411824773 0.00007739946785547498 31.50% 45.99% 1.46x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002718591358956975 0.00023573273921158382 13.29% 15.33% 1.15x
fallback_func_abi_exists 0.0002296272125078895 0.000028083843622528465 87.77% 717.65% 8.18x
filter_by_argument_name[a] 0.0006143160258184923 0.0003679488972149484 40.10% 66.96% 1.67x
filter_by_argument_name[a+b] 0.0006309353405788116 0.0003842907175195854 39.09% 64.18% 1.64x
filter_by_argument_name[b] 0.00062199886484862 0.00037379616253973945 39.90% 66.40% 1.66x
filter_by_argument_name[c] 0.0006108291828731812 0.00036593400841286746 40.09% 66.92% 1.67x
filter_by_argument_name[notfound] 0.0006063787031612508 0.00036161005124280015 40.37% 67.69% 1.68x
filter_by_argument_type[address] 0.0005610070260848874 0.0005426991129689519 3.26% 3.37% 1.03x
filter_by_argument_type[notatype] 0.0005489699397312872 0.0005296853515317044 3.51% 3.64% 1.04x
filter_by_argument_type[string] 0.0005521905086661647 0.0005384724330140515 2.48% 2.55% 1.03x
filter_by_argument_type[uint+address] 0.0005636204386442057 0.0005464354648550927 3.05% 3.14% 1.03x
filter_by_argument_type[uint256] 0.0005636699632022861 0.0005429372850235576 3.68% 3.82% 1.04x
filter_by_types[constructor] 0.000034539735493762434 0.0000344990521399872 0.12% 0.12% 1.00x
filter_by_types[event] 0.000034487233320081724 0.00003448392456894102 0.01% 0.01% 1.00x
filter_by_types[fallback] 0.0000348966443895646 0.00003502179436292582 -0.36% -0.36% 1.00x
filter_by_types[func+event] 0.0000382586282995643 0.000038229217590982215 0.08% 0.08% 1.00x
filter_by_types[function] 0.00003474328140951669 0.000034726122651304646 0.05% 0.05% 1.00x
filter_by_types[none] 0.000033557745106033734 0.0000335137967509879 0.13% 0.13% 1.00x
filter_by_types[receive] 0.00003454813442126539 0.00003452588329670325 0.06% 0.06% 1.00x
find_constructor_abi_element_by_type 0.000032176966945955066 0.00003223036251955952 -0.17% -0.17% 1.00x
get_abi_element_signature[custom] 0.000051491018590069986 0.0000496584339396351 3.56% 3.69% 1.04x
get_abi_element_signature[fallback] 0.00002001275195431736 0.000019998831096951707 0.07% 0.07% 1.00x
get_abi_element_signature[receive] 0.000026784366830362815 0.000026800447336779873 -0.06% -0.06% 1.00x
get_abi_element_signature[transfer] 0.00005302435545666592 0.0000517122560655838 2.47% 2.54% 1.03x
get_name_from_abi_element_identifier[custom] 0.00004156375917853537 0.000040132703708320614 3.44% 3.57% 1.04x
get_name_from_abi_element_identifier[fallback] 0.000011296021985304792 0.000011301283180063677 -0.05% -0.05% 1.00x
get_name_from_abi_element_identifier[func] 0.000042036516990035263 0.0000412260933075133 1.93% 1.97% 1.02x
get_name_from_abi_element_identifier[receive] 0.00001692394607168938 0.000016923887522755308 0.00% 0.00% 1.00x
get_tuple_type_str_parts[not-tuple] 0.000021174762264444454 0.00002110875750064801 0.31% 0.31% 1.00x
get_tuple_type_str_parts[one-dim] 0.0000718400605070959 0.00007225401014058713 -0.58% -0.57% 0.99x
get_tuple_type_str_parts[plain] 0.00004437026799392896 0.00004406511256741959 0.69% 0.69% 1.01x
get_tuple_type_str_parts[two-dim] 0.00008719191114297093 0.00008741508690638448 -0.26% -0.26% 1.00x
is_address_type[address] 0.00003885259417242631 0.00003898839470376922 -0.35% -0.35% 1.00x
is_address_type[array] 0.00004202322096004017 0.00004205191274206991 -0.07% -0.07% 1.00x
is_address_type[bool] 0.00003871969157883955 0.000038758076431486625 -0.10% -0.10% 1.00x
is_address_type[bytes] 0.000038716958074086096 0.00003909054591788715 -0.96% -0.96% 0.99x
is_address_type[bytes32] 0.00004155653720227326 0.0000416636764096801 -0.26% -0.26% 1.00x
is_address_type[bytes33] 0.00004216068090497271 0.000042050611003182015 0.26% 0.26% 1.00x
is_address_type[empty] 0.00003878610492368863 0.00003890045856193707 -0.29% -0.29% 1.00x
is_address_type[enum] 0.000039648524405856234 0.00003946073591628366 0.47% 0.48% 1.00x
is_address_type[int256] 0.000038711809625012095 0.00003875818542320031 -0.12% -0.12% 1.00x
is_address_type[invalid] 0.00003933951105112293 0.00003930283226137687 0.09% 0.09% 1.00x
is_address_type[string] 0.00003873989583845174 0.00003872478761983775 0.04% 0.04% 1.00x
is_address_type[tuple-array] 0.00003939061057011855 0.00003931848876442374 0.18% 0.18% 1.00x
is_address_type[tuple] 0.00003873080981697491 0.00003874189091990671 -0.03% -0.03% 1.00x
is_address_type[uint256] 0.00004157998188842366 0.00004152785246496757 0.13% 0.13% 1.00x
is_array_type[address] 0.0003321610435527287 0.0003463417036878849 -4.27% -4.09% 0.96x
is_array_type[array] 0.0003499630564323616 0.00034792118578009737 0.58% 0.59% 1.01x
is_array_type[bool] 0.00031627260103166057 0.0003335603086216953 -5.47% -5.18% 0.95x
is_array_type[bytes] 0.00032385429475466555 0.00031992667751473404 1.21% 1.23% 1.01x
is_array_type[bytes32] 0.00033501179505596293 0.0003456913074257224 -3.19% -3.09% 0.97x
is_array_type[bytes33] 0.00034284311205040727 0.0003383081823355824 1.32% 1.34% 1.01x
is_array_type[empty] 0.0002619194103645462 0.00025848482002495805 1.31% 1.33% 1.01x
is_array_type[enum] 0.00033332172082642375 0.00034364067319919163 -3.10% -3.00% 0.97x
is_array_type[int256] 0.0003232076068653848 0.0003384860255253281 -4.73% -4.51% 0.95x
is_array_type[invalid] 0.00034965638130212795 0.0003476816501607228 0.56% 0.57% 1.01x
is_array_type[string] 0.0003230482037554383 0.00034047137188537033 -5.39% -5.12% 0.95x
is_array_type[tuple-array] 0.00034074656017563624 0.00033935435971501395 0.41% 0.41% 1.00x
is_array_type[tuple] 0.0003243033463182661 0.0003277689526515934 -1.07% -1.06% 0.99x
is_array_type[uint256] 0.00033237467169973807 0.0003469132798066495 -4.37% -4.19% 0.96x
is_bool_type[address] 0.00003874668777680656 0.000038800098538192926 -0.14% -0.14% 1.00x
is_bool_type[array] 0.00003929301557841507 0.00003934827638268855 -0.14% -0.14% 1.00x
is_bool_type[bool] 0.00003891679590755665 0.00003885573009326666 0.16% 0.16% 1.00x
is_bool_type[bytes] 0.00003872732568437393 0.000038682649781872283 0.12% 0.12% 1.00x
is_bool_type[bytes32] 0.00003896468749535073 0.00003873844656292576 0.58% 0.58% 1.01x
is_bool_type[bytes33] 0.0000392871974288635 0.00003933187633685902 -0.11% -0.11% 1.00x
is_bool_type[empty] 0.00003876116132649078 0.00003891091494290089 -0.39% -0.38% 1.00x
is_bool_type[enum] 0.00003929005000398009 0.00003931361563054349 -0.06% -0.06% 1.00x
is_bool_type[int256] 0.00003872734158709114 0.000038748644646587355 -0.06% -0.05% 1.00x
is_bool_type[invalid] 0.00003930011168643792 0.00003929433419053426 0.01% 0.01% 1.00x
is_bool_type[string] 0.00003873236133480959 0.00003876275246339253 -0.08% -0.08% 1.00x
is_bool_type[tuple-array] 0.00003934136049266985 0.0000393051056267343 0.09% 0.09% 1.00x
is_bool_type[tuple] 0.000038730223206544946 0.00003874032525120412 -0.03% -0.03% 1.00x
is_bool_type[uint256] 0.00003867320060632114 0.000038704304966549424 -0.08% -0.08% 1.00x
is_bytes_type[address] 0.000284211123659025 0.00028424895883333995 -0.01% -0.01% 1.00x
is_bytes_type[array] 0.00028391600566511437 0.00028435403502746884 -0.15% -0.15% 1.00x
is_bytes_type[bool] 0.00025477866276547113 0.0002546329620413486 0.06% 0.06% 1.00x
is_bytes_type[bytes] 0.0002535614025928013 0.0002529109365047403 0.26% 0.26% 1.00x
is_bytes_type[bytes32] 0.0002779835746667111 0.00027992303946766553 -0.70% -0.69% 0.99x
is_bytes_type[bytes33] 0.00028399641154840246 0.0002858406906614555 -0.65% -0.65% 0.99x
is_bytes_type[empty] 0.00025466274434703763 0.0002558049973590212 -0.45% -0.45% 1.00x
is_bytes_type[enum] 0.00026687636662765205 0.0002678438204327434 -0.36% -0.36% 1.00x
is_bytes_type[int256] 0.0002674179072714805 0.00026766303918615493 -0.09% -0.09% 1.00x
is_bytes_type[invalid] 0.00025447802690021457 0.00025579029454619135 -0.52% -0.51% 0.99x
is_bytes_type[string] 0.00026692602795868583 0.00026764013898570633 -0.27% -0.27% 1.00x
is_bytes_type[tuple-array] 0.0002551224822927559 0.00025507175367921203 0.02% 0.02% 1.00x
is_bytes_type[tuple] 0.00025747222459419905 0.0002571616200387719 0.12% 0.12% 1.00x
is_bytes_type[uint256] 0.0002841316964841815 0.0002839665251206333 0.06% 0.06% 1.00x
is_int_type[address] 0.00018101156582253666 0.00018175505600545027 -0.41% -0.41% 1.00x
is_int_type[array] 0.00018115936794388477 0.0001809513093752689 0.11% 0.11% 1.00x
is_int_type[bool] 0.00018000648083544573 0.00018019122622630164 -0.10% -0.10% 1.00x
is_int_type[bytes] 0.0001918427711101616 0.00019198101802501389 -0.07% -0.07% 1.00x
is_int_type[bytes32] 0.0001809394622667389 0.00018145173274264253 -0.28% -0.28% 1.00x
is_int_type[bytes33] 0.00018087660585310164 0.0001814316169737406 -0.31% -0.31% 1.00x
is_int_type[empty] 0.00018099302596946785 0.0001810200968644126 -0.01% -0.01% 1.00x
is_int_type[enum] 0.0002031990604967253 0.00020362124881586165 -0.21% -0.21% 1.00x
is_int_type[int256] 0.00020473449050624641 0.00020630933194379274 -0.77% -0.76% 0.99x
is_int_type[invalid] 0.00018100746156659924 0.0001808554889803237 0.08% 0.08% 1.00x
is_int_type[string] 0.00020314968633062944 0.0002032784905619803 -0.06% -0.06% 1.00x
is_int_type[tuple-array] 0.00018120219245358122 0.0001812550645456367 -0.03% -0.03% 1.00x
is_int_type[tuple] 0.00019198883972218966 0.00019184705972335786 0.07% 0.07% 1.00x
is_int_type[uint256] 0.00018125790659900332 0.00018531383589141885 -2.24% -2.19% 0.98x
is_probably_enum[address] 0.00006080293617064444 0.00005604955702491395 7.82% 8.48% 1.08x
is_probably_enum[empty] 0.00005722560789420478 0.000052651803859307286 7.99% 8.69% 1.09x
is_probably_enum[enum] 0.000060403370007372415 0.00006163024381146115 -2.03% -1.99% 0.98x
is_probably_enum[lib-dot] 0.000055550154405555035 0.00005662317302856923 -1.93% -1.90% 0.98x
is_probably_enum[lib-enum] 0.00006241958372816578 0.00006352560236773151 -1.77% -1.74% 0.98x
is_probably_enum[uint256] 0.00005477368447675812 0.000055938679612679764 -2.13% -2.08% 0.98x
is_recognized_type[address] 0.00006753229387360556 0.00007371097587133606 -9.15% -8.38% 0.92x
is_recognized_type[array] 0.00007098902303513216 0.00007733315077597507 -8.94% -8.20% 0.92x
is_recognized_type[bool] 0.00006760020535523381 0.00007409646576596599 -9.61% -8.77% 0.91x
is_recognized_type[bytes] 0.00011894455828754939 0.0001242225521421318 -4.44% -4.25% 0.96x
is_recognized_type[bytes32] 0.00011575142007394724 0.00012290242835032918 -6.18% -5.82% 0.94x
is_recognized_type[bytes33] 0.00010998764701871701 0.00011389743002127745 -3.55% -3.43% 0.97x
is_recognized_type[empty] 0.0000551863928183254 0.00005582074963010113 -1.15% -1.14% 0.99x
is_recognized_type[enum] 0.00007529498337119813 0.00008151207098715984 -8.26% -7.63% 0.92x
is_recognized_type[int256] 0.0000999474825940024 0.00010614628894649594 -6.20% -5.84% 0.94x
is_recognized_type[invalid] 0.00007817874587363194 0.00007973282138699998 -1.99% -1.95% 0.98x
is_recognized_type[string] 0.00008945593333894478 0.00009610199062687299 -7.43% -6.92% 0.93x
is_recognized_type[tuple-array] 0.0000772419614875502 0.00008210810641419177 -6.30% -5.93% 0.94x
is_recognized_type[tuple] 0.00007709526525603134 0.00008242157059549058 -6.91% -6.46% 0.94x
is_recognized_type[uint256] 0.00009836302396042392 0.00010480851213136832 -6.55% -6.15% 0.94x
is_string_type[address] 0.00003870549466014054 0.000038954235212959346 -0.64% -0.64% 0.99x
is_string_type[array] 0.000039293396770380865 0.000039347626220929225 -0.14% -0.14% 1.00x
is_string_type[bool] 0.000038702406942646576 0.000039157161573934216 -1.18% -1.16% 0.99x
is_string_type[bytes] 0.0000387241655058731 0.00003877577653360694 -0.13% -0.13% 1.00x
is_string_type[bytes32] 0.0000386757025011364 0.00003872585214985611 -0.13% -0.13% 1.00x
is_string_type[bytes33] 0.00003944656248882717 0.00003939582113258689 0.13% 0.13% 1.00x
is_string_type[empty] 0.000038752870298701626 0.00003899387078240862 -0.62% -0.62% 0.99x
is_string_type[enum] 0.00004216163122560207 0.00004202953611505924 0.31% 0.31% 1.00x
is_string_type[int256] 0.0000416291502599107 0.00004157520845737551 0.13% 0.13% 1.00x
is_string_type[invalid] 0.000039273599528499404 0.000039395226614509 -0.31% -0.31% 1.00x
is_string_type[string] 0.00003884297883315406 0.0000389070196036174 -0.16% -0.16% 1.00x
is_string_type[tuple-array] 0.00003926848260101592 0.000039556584155869515 -0.73% -0.73% 0.99x
is_string_type[tuple] 0.00003867406566391753 0.000038791695839529987 -0.30% -0.30% 1.00x
is_string_type[uint256] 0.00003875911758164869 0.000038757229089749105 0.00% 0.00% 1.00x
is_uint_type[address] 0.00020371771446058825 0.00020316887585250886 0.27% 0.27% 1.00x
is_uint_type[array] 0.0002034106219732216 0.00020306200377349863 0.17% 0.17% 1.00x
is_uint_type[bool] 0.0001810270320751771 0.00018116005692811216 -0.07% -0.07% 1.00x
is_uint_type[bytes] 0.00018027577438342325 0.00018039703101737834 -0.07% -0.07% 1.00x
is_uint_type[bytes32] 0.00020375825962169525 0.00020751914873619887 -1.85% -1.81% 0.98x
is_uint_type[bytes33] 0.00020324372516651134 0.00020388432720680022 -0.32% -0.31% 1.00x
is_uint_type[empty] 0.00018129526407669206 0.00018106191702719002 0.13% 0.13% 1.00x
is_uint_type[enum] 0.00019182963848523576 0.00019199477604002902 -0.09% -0.09% 1.00x
is_uint_type[int256] 0.00019251010092506966 0.00019209345854861561 0.22% 0.22% 1.00x
is_uint_type[invalid] 0.00018135897332977686 0.0001817804153995612 -0.23% -0.23% 1.00x
is_uint_type[string] 0.00019233438185152203 0.0001921023333967818 0.12% 0.12% 1.00x
is_uint_type[tuple-array] 0.00018125278551623357 0.00018157154867125413 -0.18% -0.18% 1.00x
is_uint_type[tuple] 0.0001801309944367536 0.00018052922485415729 -0.22% -0.22% 1.00x
is_uint_type[uint256] 0.0002050636565323026 0.00020499362835687556 0.03% 0.03% 1.00x
length_of_array_type[dynamic] 0.0001445159995584767 0.0001454159075024211 -0.62% -0.62% 0.99x
length_of_array_type[fixed] 0.0001624016460660096 0.00016332792643061333 -0.57% -0.57% 0.99x
length_of_array_type[nested] 0.0001696977406187882 0.00017114841482318915 -0.85% -0.85% 0.99x
map_abi_data 0.005364581831313663 0.003392965927001523 36.75% 58.11% 1.58x
normalize_event_input_types 0.0003895515681266041 0.0003918634416960542 -0.59% -0.59% 0.99x
receive_func_abi_exists 0.00029112519722423276 0.00002684104728817416 90.78% 984.63% 10.85x
strip_abi_types 0.001512008106539276 0.001429535419499741 5.45% 5.77% 1.06x
sub_type_of_array_type[nested] 0.0001637373183441749 0.00016431188792997176 -0.35% -0.35% 1.00x
sub_type_of_array_type[simple] 0.00015348387569680472 0.00015649065093353972 -1.96% -1.92% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00001917838278565147 0.000020348830821777524 -6.10% -5.75% 0.94x
is_hex_encoded_block_hash[invalid-g] 0.00008479006765007042 0.00005759925404228787 32.07% 47.21% 1.47x
is_hex_encoded_block_hash[none] 0.000018809449985902715 0.000020231685609628827 -7.56% -7.03% 0.93x
is_hex_encoded_block_hash[short] 0.00004171708447585563 0.0000264732945289782 36.54% 57.58% 1.58x
is_hex_encoded_block_hash[too-long] 0.00004168639837071863 0.000026798500000171708 35.71% 55.55% 1.56x
is_hex_encoded_block_hash[too-short] 0.0000415646919170207 0.00002642650486346815 36.42% 57.28% 1.57x
is_hex_encoded_block_hash[valid-a] 0.00009349349737939577 0.00006588374912011841 29.53% 41.91% 1.42x
is_hex_encoded_block_hash[valid-f] 0.0000936499663038364 0.00006615582617467031 29.36% 41.56% 1.42x
is_hex_encoded_block_number[int] 0.00001883443803955337 0.000019546201197466896 -3.78% -3.64% 0.96x
is_hex_encoded_block_number[invalid-g] 0.00015671699852220296 0.00020268823578411754 -29.33% -22.68% 0.77x
is_hex_encoded_block_number[max-64-a] 0.00010595391057695992 0.00007656940504294278 27.73% 38.38% 1.38x
is_hex_encoded_block_number[max-64-f] 0.00010600337885530361 0.00007679136842493884 27.56% 38.04% 1.38x
is_hex_encoded_block_number[none] 0.00001883035964340386 0.00001960575087344577 -4.12% -3.95% 0.96x
is_hex_encoded_block_number[small] 0.0000978242638092199 0.00004729072239063463 51.66% 106.86% 2.07x
is_hex_encoded_block_number[too-long] 0.00011226232123862693 0.00006081403585443893 45.83% 84.60% 1.85x
is_predefined_block_number[bytes-latest] 0.000029437126492101268 0.00002975163458064413 -1.07% -1.06% 0.99x
is_predefined_block_number[bytes-pending] 0.000029442103044051624 0.00002996236211404767 -1.77% -1.74% 0.98x
is_predefined_block_number[bytes-random] 0.00002864863194472204 0.000028866273667488842 -0.76% -0.75% 0.99x
is_predefined_block_number[int] 0.000030504576981575427 0.000022931402514677115 24.83% 33.03% 1.33x
is_predefined_block_number[none] 0.00011716616172671734 0.0001909482815731569 -62.97% -38.64% 0.61x
is_predefined_block_number[object] 0.00013845412706076375 0.00022696217240391654 -63.93% -39.00% 0.61x
is_predefined_block_number[str-earliest] 0.000012486111721126826 0.000009043304126127808 27.57% 38.07% 1.38x
is_predefined_block_number[str-finalized] 0.000012451333068051863 0.000009025721568203843 27.51% 37.95% 1.38x
is_predefined_block_number[str-foo] 0.000012560344183134935 0.000009048107333531539 27.96% 38.82% 1.39x
is_predefined_block_number[str-latest] 0.00001244287553122575 0.000009002344516908748 27.65% 38.22% 1.38x
is_predefined_block_number[str-pending] 0.000012432342159007416 0.000009001386602548886 27.60% 38.12% 1.38x
is_predefined_block_number[str-safe] 0.000012468162404526957 0.000009026328695170445 27.60% 38.13% 1.38x
select_method_for_block_identifier[hash-bytes] 0.0000690753792513597 0.00002486557338165885 64.00% 177.80% 2.78x
select_method_for_block_identifier[hash-hexstr] 0.00014800872956871657 0.00006571582172919392 55.60% 125.23% 2.25x
select_method_for_block_identifier[invalid-none] 0.0008318745288392619 0.000247929525785838 70.20% 235.53% 3.36x
select_method_for_block_identifier[invalid-object] 0.0008650861791304354 0.0002821424514458078 67.39% 206.61% 3.07x
select_method_for_block_identifier[number-hexstr] 0.00019460965024119955 0.00006657230657211092 65.79% 192.33% 2.92x
select_method_for_block_identifier[number-int] 0.00012937978378333256 0.000038071138952809554 70.57% 239.84% 3.40x
select_method_for_block_identifier[predefined-bytes] 0.00006721889060996974 0.00002484766230486843 63.03% 170.52% 2.71x
select_method_for_block_identifier[predefined-str] 0.000048398969326220676 0.000005490321056388442 88.66% 781.53% 8.82x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00041401819120225736 0.000428938124652026 -3.60% -3.48% 0.97x
PropertyCheckingFactory[big-valid] 0.000416592070826898 0.00042712288638265466 -2.53% -2.47% 0.98x
PropertyCheckingFactory[inheritance] 0.0008530916917618379 0.0007642632033770617 10.41% 11.62% 1.12x
PropertyCheckingFactory[invalid] 0.00041496296844616154 0.0004275170186178742 -3.03% -2.94% 0.97x
PropertyCheckingFactory[multi-normalizer] 0.00041481003388283024 0.0004279184143348761 -3.16% -3.06% 0.97x
PropertyCheckingFactory[multi-prop] 0.0004136350677963376 0.0004256554266695097 -2.91% -2.82% 0.97x
PropertyCheckingFactory[normalized] 0.0004164697883512658 0.0004387461561298122 -5.35% -5.08% 0.95x
PropertyCheckingFactory[valid] 0.0010760159816694175 0.0007979357675925483 25.84% 34.85% 1.35x
verify_attr[empty] 0.00008519683370798844 0.00014388297913168875 -68.88% -40.79% 0.59x
verify_attr[found-end] 0.0000117743896653332 0.000009512913140817632 19.21% 23.77% 1.24x
verify_attr[found-start] 0.000008805235877135789 0.000007098908267765252 19.38% 24.04% 1.24x
verify_attr[large-found] 0.00011414310186155731 0.00011110343172577435 2.66% 2.74% 1.03x
verify_attr[large-notfound] 0.00017258567190226923 0.0002331686240623942 -35.10% -25.98% 0.74x
verify_attr[notfound] 0.00008910752596126567 0.00014830598223579663 -66.43% -39.92% 0.60x

web3/_utils/formatters - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
apply_error_formatters[empty_response] 0.00043595307485990977 0.0003673771742688736 15.73% 18.67% 1.19x
apply_error_formatters[real_error] 0.0004362849227792039 0.00036711135952447284 15.86% 18.84% 1.19x
apply_formatters_to_args[0-args] 0.0003063380859367348 0.00030518832196334473 0.38% 0.38% 1.00x
apply_formatters_to_args[1-args] 0.003970729843362403 0.004453240653507045 -12.15% -10.84% 0.89x
apply_formatters_to_args[2-args] 0.008660501897414482 0.009253662824069883 -6.85% -6.41% 0.94x
apply_formatters_to_args[3-args] 0.013673784486489215 0.014061187394370048 -2.83% -2.76% 0.97x
apply_formatters_to_args[4-args] 0.01890499261538445 0.01873643850909833 0.89% 0.90% 1.01x
apply_formatters_to_args[5-args] 0.024710326439012865 0.02364659172093694 4.30% 4.50% 1.04x
apply_formatters_to_args[6-args] 0.030699936437493136 0.028636253805530032 6.72% 7.21% 1.07x
apply_formatters_to_args[7-args] 0.036765950481485225 0.033856841000025874 7.91% 8.59% 1.09x
apply_formatters_to_args[8-args] 0.04317033373912755 0.039931549269261686 7.50% 8.11% 1.08x
apply_formatters_to_args[9-args] 0.051077238450022835 0.04570095360867052 10.53% 11.76% 1.12x
apply_key_map[empty_dict] 0.003149324417717529 0.0005028042027486995 84.03% 526.35% 6.26x
apply_key_map[no_keys_to_remap] 0.003775546534084793 0.000793156135851542 78.99% 376.02% 4.76x
apply_key_map[transaction_dict] 0.0072335289855141455 0.00265653555107693 63.27% 172.29% 2.72x
apply_null_result_formatters[empty_response] 0.000445915125053702 0.00036540644111510433 18.05% 22.03% 1.22x
apply_null_result_formatters[null_result] 0.00044609829424873364 0.00036557950234893946 18.05% 22.02% 1.22x
hex_to_integer[large_hex] 0.0011072511368214624 0.000983497777556561 11.18% 12.58% 1.13x
hex_to_integer[negative_hex] 0.0007026294897054252 0.0006396816311466147 8.96% 9.84% 1.10x
hex_to_integer[no_prefix] 0.0006913165349511828 0.000633840011628085 8.31% 9.07% 1.09x
hex_to_integer[odd_length_hex] 0.0006996478197353009 0.0006310598024181527 9.80% 10.87% 1.11x
hex_to_integer[realistic_hex] 0.0013122742275747412 0.0011854978418541016 9.66% 10.69% 1.11x
hex_to_integer[uppercase_hex] 0.0007189799350184633 0.000647153925348334 9.99% 11.10% 1.11x
hex_to_integer[zero_hex] 0.0006767866374230984 0.0005499156162907532 18.75% 23.07% 1.23x
is_array_of_dicts[block_logs] 0.006557647386666758 0.005951515536147814 9.24% 10.18% 1.10x
is_array_of_dicts[empty_list] 0.0036739640036824637 0.0034514307450331065 6.06% 6.45% 1.06x
is_array_of_dicts[log_entries] 0.0065620434702019425 0.005995620497076328 8.63% 9.45% 1.09x
is_array_of_dicts[mixed_array] 0.006651549763166474 0.005898183222219207 11.33% 12.77% 1.13x
is_array_of_strings[empty_list] 0.0036533938901160477 0.003491814230483891 4.42% 4.63% 1.05x
is_array_of_strings[log_topics] 0.005065556484856928 0.004638108014096616 8.44% 9.22% 1.09x
is_array_of_strings[mixed_array] 0.00468626404185353 0.0043342968444529915 7.51% 8.12% 1.08x
is_array_of_strings[real_topics] 0.005073561312820647 0.004643755916666342 8.47% 9.26% 1.09x
map_collection[dict_nonstring_keys] 0.005339077096243059 0.00444847986161128 16.68% 20.02% 1.20x
map_collection[empty_list] 0.00621504113665956 0.006779887381941623 -9.09% -8.33% 0.92x
map_collection[nested_list] 0.006393771448725916 0.007230352132343315 -13.08% -11.57% 0.88x
map_collection[real_topics] 0.006703227046668872 0.007304712052640944 -8.97% -8.23% 0.92x
map_collection[set_input] 0.00673730593150314 0.007059278352119396 -4.78% -4.56% 0.95x
map_collection[string_input] 0.002248997366731288 0.0020482959897129677 8.92% 9.80% 1.10x
map_collection[transaction_dict] 0.008334694330580367 0.007372165610291859 11.55% 13.06% 1.13x
map_collection[tuple_input] 0.00686364646667412 0.007433418805976883 -8.30% -7.67% 0.92x
recursive_map[empty_nested] 0.011517846147732123 0.01116976503333515 3.02% 3.12% 1.03x
recursive_map[nested_blocks] 0.8454511411999647 0.7500855606001096 11.28% 12.71% 1.13x
recursive_map[nested_topics] 0.0761253473571222 0.07117850414290063 6.50% 6.95% 1.07x
remove_key_if[dict_with_removal] 0.0033402961299983268 0.0032861078858963657 1.62% 1.65% 1.02x
remove_key_if[dict_without_removal] 0.0015028726561580582 0.001462866014620173 2.66% 2.73% 1.03x
remove_key_if[empty_dict] 0.0011554160222219747 0.0009866262945258733 14.61% 17.11% 1.17x
remove_key_if[no_remove_key] 0.001154694516242981 0.0009878355868908585 14.45% 16.89% 1.17x
static_result 0.0007742120385193584 0.00048597901047867006 37.23% 59.31% 1.59x
static_return 0.0005273431992564592 0.0004819401625687876 8.61% 9.42% 1.09x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0005815764035851451 0.0005789237811937121 0.46% 0.46% 1.00x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.0000718915375178466 0.000021527623375911416 70.06% 233.95% 3.34x
percentile[100-90th] 0.00010691090923841949 0.00005224311805786325 51.13% 104.64% 2.05x
percentile[100k-99th] 0.05308933089470788 0.052797376210480106 0.55% 0.55% 1.01x
percentile[100k-median] 0.05289562210524118 0.052678069631598955 0.41% 0.41% 1.00x
percentile[10k-10th] 0.004392090368879104 0.004361474590313773 0.70% 0.70% 1.01x
percentile[10k-99th] 0.004401831622232445 0.004351832930125179 1.14% 1.15% 1.01x
percentile[10k-median] 0.0043857213822219715 0.004412252842795809 -0.60% -0.60% 0.99x
percentile[1k-99th] 0.0005001915866776181 0.0004380928420832971 12.41% 14.17% 1.14x
percentile[1M-median] 0.7861134301999755 0.8375529595999979 -6.54% -6.14% 0.94x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000011622052524055489 0.00000623257919482965 46.37% 86.47% 1.86x
to_bytes_if_hex[empty-str] 0.000289944534995565 0.00003525626074468682 87.84% 722.39% 8.22x
to_bytes_if_hex[hexstr] 0.0003198787927606739 0.000047265320897409416 85.22% 576.77% 6.77x
to_bytes_if_hex[large-hex] 0.00032747595056645235 0.00005341159002446601 83.69% 513.12% 6.13x
to_bytes_if_hex[non-prefixed-hex] 0.00029659057556000396 0.00004490925396909493 84.86% 560.42% 6.60x
to_bytes_if_hex[nothex] 0.0003858260895739382 0.0002620383627475911 32.08% 47.24% 1.47x
to_bytes_if_hex[unicode] 0.0003955112839128091 0.00026681997542165296 32.54% 48.23% 1.48x
to_bytes_if_hex[zero] 0.0003257577840895077 0.000047021272137436076 85.57% 592.79% 6.93x
to_hex_if_bytes[bytes] 0.00021483616768291957 0.000046115853941647146 78.53% 365.86% 4.66x
to_hex_if_bytes[empty-bytes] 0.00020598810314453574 0.000036716609601987005 82.18% 461.02% 5.61x
to_hex_if_bytes[empty-str] 0.00008660813018157603 0.00016331842835504178 -88.57% -46.97% 0.53x
to_hex_if_bytes[hexstr] 0.00025738499672237487 0.000025521794000268564 90.08% 908.49% 10.08x
to_hex_if_bytes[large-bytes] 0.00021815513045413896 0.00004901229813938736 77.53% 345.10% 4.45x
to_hex_if_bytes[non-prefixed-hex] 0.00008863826265335989 0.00016576135622426442 -87.01% -46.53% 0.53x
to_hex_if_bytes[not-hex] 0.00008904845098587842 0.00016511633248575327 -85.42% -46.07% 0.54x
to_hex_if_bytes[unicode] 0.00009100396224267293 0.00016951997299312252 -86.28% -46.32% 0.54x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0002883885303091205 0.00009642412791858707 66.56% 199.08% 2.99x
all_in_dict[empty-dict] 0.00024309309968456594 0.00006988547379857748 71.25% 247.84% 3.48x
all_in_dict[empty-list] 0.00024253365325418392 0.0000802298019369212 66.92% 202.30% 3.02x
all_in_dict[mixed-types] 0.00029077733304120625 0.00009663209875059893 66.77% 200.91% 3.01x
all_in_dict[no-overlap] 0.00025875616081208014 0.00008335243854260744 67.79% 210.44% 3.10x
all_in_dict[none-in] 0.0002586575202772349 0.00008340674743967905 67.75% 210.12% 3.10x
all_in_dict[one-in] 0.00026614538275211106 0.00008805753830245811 66.91% 202.24% 3.02x
all_in_dict[partial-overlap] 0.00029850647619049863 0.00009618151087623226 67.78% 210.36% 3.10x
all_in_dict[value-none] 0.00026618667423574754 0.00008785116247502705 67.00% 203.00% 3.03x
any_in_dict[all-in] 0.00025970602516076384 0.00008485180526346824 67.33% 206.07% 3.06x
any_in_dict[empty-dict] 0.00029813386461627545 0.00008345512204264622 72.01% 257.24% 3.57x
any_in_dict[empty-list] 0.0002486576273767423 0.00007954703448565087 68.01% 212.59% 3.13x
any_in_dict[mixed-types] 0.0002598439500898435 0.0000835810903924411 67.83% 210.89% 3.11x
any_in_dict[no-overlap] 0.00031268705182406535 0.00009797752220129097 68.67% 219.14% 3.19x
any_in_dict[none-in] 0.0002742764758590385 0.00008659210935226413 68.43% 216.75% 3.17x
any_in_dict[one-in] 0.0002587220714103929 0.00008286648831613155 67.97% 212.22% 3.12x
any_in_dict[partial-overlap] 0.00025914938637989864 0.00008378694971007531 67.67% 209.30% 3.09x
any_in_dict[value-none] 0.00025857510142620016 0.00008276339300264029 67.99% 212.43% 3.12x
either_set_is_a_subset[both-empty] 0.00016504687352633196 0.0001567446598273448 5.03% 5.30% 1.05x
either_set_is_a_subset[empty-set1] 0.00016659875831597914 0.00015393532977674886 7.60% 8.23% 1.08x
either_set_is_a_subset[empty-set2] 0.00024957590563103613 0.00023994084416390063 3.86% 4.02% 1.04x
either_set_is_a_subset[identical] 0.00017542523739556265 0.00016280840339116063 7.19% 7.75% 1.08x
either_set_is_a_subset[mixed-types] 0.00018119434617515026 0.0001695899722492185 6.40% 6.84% 1.07x
either_set_is_a_subset[not-subset] 0.00024868373593883996 0.00023750164845908112 4.50% 4.71% 1.05x
either_set_is_a_subset[partial-overlap] 0.0002823174843394215 0.0002646271311366181 6.27% 6.69% 1.07x
either_set_is_a_subset[subset] 0.00018274241641660902 0.00016927604179821175 7.37% 7.96% 1.08x
either_set_is_a_subset[superset] 0.0002846313310217912 0.0002700817877808475 5.11% 5.39% 1.05x
none_in_dict[all-in] 0.00027424035179762866 0.00008640822738814815 68.49% 217.38% 3.17x
none_in_dict[empty-dict] 0.0003070783711177647 0.00008569153011512225 72.09% 258.35% 3.58x
none_in_dict[empty-list] 0.000259532370216453 0.00008204107616737789 68.39% 216.34% 3.16x
none_in_dict[mixed-types] 0.0002755557767409426 0.0000847147714065255 69.26% 225.27% 3.25x
none_in_dict[no-overlap] 0.00032419353004131874 0.00010085364289247715 68.89% 221.45% 3.21x
none_in_dict[none-in] 0.0002889856348465507 0.0000894246314032667 69.06% 223.16% 3.23x
none_in_dict[one-in] 0.0002723094459817193 0.00008460342792103258 68.93% 221.87% 3.22x
none_in_dict[partial-overlap] 0.0002740438475107175 0.00008553853669009839 68.79% 220.37% 3.20x
none_in_dict[value-none] 0.0002736003695959339 0.00008538260778682642 68.79% 220.44% 3.20x

web3/_utils/validation - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
assert_one_val 0.0010003188369744386 0.0008429233261841456 15.73% 18.67% 1.19x
has_one_val 0.0008725057802558336 0.0007073866828660009 18.92% 23.34% 1.23x
is_not_address_string[0x123] 0.0007635511821717956 0.0006273976568720969 17.83% 21.70% 1.22x
is_not_address_string[0x1234567890123456789012345678901234567890] 0.02151632208511109 0.008036333512188683 62.65% 167.74% 2.68x
is_not_address_string[alice.eth] 0.000762634261904791 0.0006213025884941212 18.53% 22.75% 1.23x
is_not_address_string[bytes] 0.0001630960947394953 0.00018886133744139944 -15.80% -13.64% 0.86x
is_not_address_string[notanaddress] 0.0007624788882949556 0.0006283007622707671 17.60% 21.36% 1.21x
prepare_selector_collision_msg 0.012640379962036444 0.012828562166675557 -1.49% -1.47% 0.99x
raise_bad_response_format 0.0016887998161824575 0.0021557758389267505 -27.65% -21.66% 0.78x
raise_error_for_batch_response 0.004138377347818027 0.0032110742255950777 22.41% 28.88% 1.29x
validate_abi_type[address] 0.0007321194103149956 0.0008276860559170466 -13.05% -11.55% 0.88x
validate_abi_type[bool] 0.000753421272996596 0.0008310499732580962 -10.30% -9.34% 0.91x
validate_abi_type[bytes] 0.0012202941931085491 0.0013277099868588605 -8.80% -8.09% 0.92x
validate_abi_type[string] 0.000943846520113902 0.0010439483453911337 -10.61% -9.59% 0.90x
validate_abi_type[uint256] 0.0010311818635856192 0.0011408353731708646 -10.63% -9.61% 0.90x
validate_abi_value[address-0x1234567890123456789012345678901234567890] 0.0470570690908868 0.01843575835186618 60.82% 155.25% 2.55x
validate_abi_value[bool-True] 0.0007338868008831961 0.0008398681710299192 -14.44% -12.62% 0.87x
validate_abi_value[bytes-bytes] 0.0020466050935641733 0.0023051840913271503 -12.63% -11.22% 0.89x
validate_abi_value[string-hello] 0.002173301210634836 0.0025180054289393903 -15.86% -13.69% 0.86x
validate_abi_value[uint256-123] 0.001359966295427702 0.0013976329783514357 -2.77% -2.70% 0.97x
validate_abi[abi0] 0.11041840220004814 0.07606016057145228 31.12% 45.17% 1.45x
validate_abi[abi1] 0.3156821032000153 0.2227503686000091 29.44% 41.72% 1.42x
validate_abi[abi2] 0.5028180492000047 0.35670640260004804 29.06% 40.96% 1.41x
validate_address[0x1234567890123456789012345678901234567890] 0.04380924204348918 0.01651242040983949 62.31% 165.31% 2.65x
validate_address[alice.eth] 0.8662673527999687 0.8683648252000239 -0.24% -0.24% 1.00x
validate_rpc_response_and_raise_if_error 0.0011461225956005208 0.0003503873879663457 69.43% 227.10% 3.27x
validate_subscription_fields 0.00013113777223778414 0.00008337402032177667 36.42% 57.29% 1.57x

web3/beacon/async_beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.12096312733324845 0.1265894232221601 -4.65% -4.44% 0.96x
get_attestations_rewards[validator_indices0-0] 0.1162369015556174 0.12650921212497224 -8.84% -8.12% 0.92x
get_attestations_rewards[validator_indices0-123] 0.11605867222220291 0.120516744888846 -3.84% -3.70% 0.96x
get_attestations_rewards[validator_indices0-99999] 0.11596533512516771 0.11724503500014787 -1.10% -1.09% 0.99x
get_attestations_rewards[validator_indices1-0] 0.12173432788889234 0.12227524588883575 -0.44% -0.44% 1.00x
get_attestations_rewards[validator_indices1-123] 0.1185148555556326 0.1167857221110656 1.46% 1.48% 1.01x
get_attestations_rewards[validator_indices1-99999] 0.11852258611113736 0.1201355566249731 -1.36% -1.34% 0.99x
get_attestations_rewards[validator_indices2-0] 0.12144903655548155 0.12430136600005426 -2.35% -2.29% 0.98x
get_attestations_rewards[validator_indices2-123] 0.11673878544449205 0.1268814974999941 -8.69% -7.99% 0.92x
get_attestations_rewards[validator_indices2-99999] 0.12168979088882123 0.11918583450000142 2.06% 2.10% 1.02x
get_attester_duties[validator_indices0-0] 0.7066601226667646 0.11793784833328876 83.31% 499.18% 5.99x
get_attester_duties[validator_indices0-123] 0.12514601112496848 0.11733122322225932 6.24% 6.66% 1.07x
get_attester_duties[validator_indices0-99999] 0.11623400333337486 0.12407044077771287 -6.74% -6.32% 0.94x
get_attester_duties[validator_indices1-0] 0.1187293495555524 0.12246009799997006 -3.14% -3.05% 0.97x
get_attester_duties[validator_indices1-123] 0.11782976800006711 0.12524637887503332 -6.29% -5.92% 0.94x
get_attester_duties[validator_indices1-99999] 0.11465974544439127 0.12189401577789896 -6.31% -5.93% 0.94x
get_attester_duties[validator_indices2-0] 0.11448670433320432 0.12116990724990728 -5.84% -5.52% 0.94x
get_attester_duties[validator_indices2-123] 0.1184135643332714 0.12447978449989705 -5.12% -4.87% 0.95x
get_attester_duties[validator_indices2-99999] 0.11975009511115786 0.12228243187496446 -2.11% -2.07% 0.98x
get_attester_slashings 0.12022452175006038 0.12228930855548646 -1.72% -1.69% 0.98x
get_beacon_heads 0.11916588355562555 0.12560241299994837 -5.40% -5.12% 0.95x
get_beacon_state[12345] 0.12126942133333311 0.12047104255553778 0.66% 0.66% 1.01x
get_beacon_state[finalized] 0.11802245666679785 0.12443765800005874 -5.44% -5.16% 0.95x
get_beacon_state[head] 0.12343277024996269 0.12450275188894011 -0.87% -0.86% 0.99x
get_beacon_state[justified] 0.5773076713332759 0.12323933077772785 78.65% 368.44% 4.68x
get_blinded_blocks[0xabc123] 0.12497928450005702 0.12013032824995662 3.88% 4.04% 1.04x
get_blinded_blocks[12345] 0.1225563586666188 0.5204227233750203 -324.64% -76.45% 0.24x
get_blinded_blocks[genesis] 0.12646696611111313 0.12187565366669635 3.63% 3.77% 1.04x
get_blinded_blocks[head] 0.11505306074997179 0.12035832577769018 -4.61% -4.41% 0.96x
get_blob_sidecars[indices1-0xabc123] 0.11585182677769505 0.12328875455543514 -6.42% -6.03% 0.94x
get_blob_sidecars[indices1-12345] 0.11514170437504845 0.12669079212486167 -10.03% -9.12% 0.91x
get_blob_sidecars[indices1-genesis] 0.1265206674445128 0.12680454455549908 -0.22% -0.22% 1.00x
get_blob_sidecars[indices1-head] 0.1190828925555757 0.12410807124996381 -4.22% -4.05% 0.96x
get_blob_sidecars[indices2-0xabc123] 0.12359303362489982 0.12165526555554607 1.57% 1.59% 1.02x
get_blob_sidecars[indices2-12345] 0.12258982074996538 0.12383162199992309 -1.01% -1.00% 0.99x
get_blob_sidecars[indices2-genesis] 0.12240581433333217 0.12925601512495177 -5.60% -5.30% 0.95x
get_blob_sidecars[indices2-head] 0.12298901850004995 0.12846714466665313 -4.45% -4.26% 0.96x
get_blob_sidecars[None-0xabc123] 0.11845686655553639 0.14087566287491882 -18.93% -15.91% 0.84x
get_blob_sidecars[None-12345] 0.11485752366666525 0.12677933587497137 -10.38% -9.40% 0.91x
get_blob_sidecars[None-genesis] 0.11918248299995564 0.11724279611113768 1.63% 1.65% 1.02x
get_blob_sidecars[None-head] 0.12271167333341913 0.11737343942857999 4.35% 4.55% 1.05x
get_block_attestations[0xabc123] 0.1192066678889508 0.12418537575001665 -4.18% -4.01% 0.96x
get_block_attestations[12345] 0.11920627666672266 0.12256708825009355 -2.82% -2.74% 0.97x
get_block_attestations[genesis] 0.12141041577777084 0.12465496287495625 -2.67% -2.60% 0.97x
get_block_attestations[head] 0.12381385044444768 0.1227601936667371 0.85% 0.86% 1.01x
get_block_header[0xabc123] 0.11972961844447935 0.11851462822217702 1.01% 1.03% 1.01x
get_block_header[12345] 0.12341285011118291 0.12122150255552494 1.78% 1.81% 1.02x
get_block_header[genesis] 0.12072295966668713 0.12381295637510448 -2.56% -2.50% 0.98x
get_block_header[head] 0.11849321611109392 0.1260255315555191 -6.36% -5.98% 0.94x
get_block_headers 0.11508354511119655 0.12470099788884505 -8.36% -7.71% 0.92x
get_block_proposer_duties[0] 0.12450108088887646 0.12172987255543274 2.23% 2.28% 1.02x
get_block_proposer_duties[123] 0.11649000266667524 0.1206884700000046 -3.60% -3.48% 0.97x
get_block_proposer_duties[99999] 0.12200964655544845 0.11805274588889209 3.24% 3.35% 1.03x
get_block_root[0xabc123] 0.12393390322212225 0.1194773691111853 3.60% 3.73% 1.04x
get_block_root[12345] 0.12023726033339699 0.11658464359989011 3.04% 3.13% 1.03x
get_block_root[genesis] 0.11962925666663675 0.12675615322228218 -5.96% -5.62% 0.94x
get_block_root[head] 0.12009608577778232 0.12275051577782709 -2.21% -2.16% 0.98x
get_block[0xabc123] 0.11879313633320028 0.1223533229998692 -3.00% -2.91% 0.97x
get_block[12345] 0.12098980755551263 0.12247789537508424 -1.23% -1.21% 0.99x
get_block[genesis] 0.11987428122216039 0.1250904687499883 -4.35% -4.17% 0.96x
get_block[head] 0.3971600504445026 0.11969433288883617 69.86% 231.81% 3.32x
get_bls_to_execution_changes 0.1153014563332767 0.11634097300005426 -0.90% -0.89% 0.99x
get_deposit_contract 0.11701758833330839 0.1261859572222319 -7.84% -7.27% 0.93x
get_epoch_committees[12345] 0.12563223637505416 0.12028175688889557 4.26% 4.45% 1.04x
get_epoch_committees[finalized] 0.11757408988887619 0.12954972324985192 -10.19% -9.24% 0.91x
get_epoch_committees[head] 0.11805581622219405 0.12065120049993538 -2.20% -2.15% 0.98x
get_epoch_committees[justified] 0.12696820062501502 0.12343920822225603 2.78% 2.86% 1.03x
get_epoch_randao[12345] 0.12058092911103005 0.11883247537519992 1.45% 1.47% 1.01x
get_epoch_randao[finalized] 0.11948365555564225 0.12164797744445524 -1.81% -1.78% 0.98x
get_epoch_randao[head] 0.12015618588879483 0.11896724388882124 0.99% 1.00% 1.01x
get_epoch_randao[justified] 0.11650776122213655 0.36727426344441483 -215.24% -68.28% 0.32x
get_epoch_sync_committees[12345] 0.332045644000017 0.12294251677768545 62.97% 170.08% 2.70x
get_epoch_sync_committees[finalized] 0.12123237549990336 0.12463383255564825 -2.81% -2.73% 0.97x
get_epoch_sync_committees[head] 0.11642159844435203 0.12443009833325253 -6.88% -6.44% 0.94x
get_epoch_sync_committees[justified] 0.12847619288893636 0.12152111124993326 5.41% 5.72% 1.06x
get_finality_checkpoint[12345] 0.11757893433327303 0.12689406922224103 -7.92% -7.34% 0.93x
get_finality_checkpoint[finalized] 0.12679399012495196 0.12445543177783394 1.84% 1.88% 1.02x
get_finality_checkpoint[head] 0.11771721311111429 0.1268493378889717 -7.76% -7.20% 0.93x
get_finality_checkpoint[justified] 0.11989791666661 0.11893718833324682 0.80% 0.81% 1.01x
get_fork_data[12345] 0.11860835499995422 0.1994479417778368 -68.16% -40.53% 0.59x
get_fork_data[finalized] 0.1224865381110855 0.11786120688884694 3.78% 3.92% 1.04x
get_fork_data[head] 0.11845701066668982 0.12338457187507856 -4.16% -3.99% 0.96x
get_fork_data[justified] 0.12175967922217347 0.11877661833336282 2.45% 2.51% 1.03x
get_fork_schedule 0.1173637065555037 0.1212834517777992 -3.34% -3.23% 0.97x
get_genesis 0.1439708281110749 0.14464778444451237 -0.47% -0.47% 1.00x
get_hash_root[12345] 0.12262546812502251 0.1206320140000571 1.63% 1.65% 1.02x
get_hash_root[finalized] 0.15234704488885756 0.15417719611110037 -1.20% -1.19% 0.99x
get_hash_root[head] 0.14410008455560172 0.12120941600005608 15.89% 18.89% 1.19x
get_hash_root[justified] 0.1192405966666633 0.1222856707776777 -2.55% -2.49% 0.98x
get_health 0.10750000149996594 0.10568346622221725 1.69% 1.72% 1.02x
get_light_client_bootstrap_structure[0x0] 0.12519457888892147 0.12457335337495579 0.50% 0.50% 1.00x
get_light_client_bootstrap_structure[0xabc123] 0.12104695000006258 0.12289222099985232 -1.52% -1.50% 0.98x
get_light_client_finality_update 0.12274081855563661 0.12149988622220714 1.01% 1.02% 1.01x
get_light_client_optimistic_update 0.5208976896666778 0.11862117588887283 77.23% 339.13% 4.39x
get_light_client_updates 0.1206191989999752 0.12485480666666465 -3.51% -3.39% 0.97x
get_node_identity 0.11832238522225048 0.1235676734444395 -4.43% -4.24% 0.96x
get_peer_count 0.11875109499982904 0.12158165233343728 -2.38% -2.33% 0.98x
get_peer[0xdeadbeef] 0.1188426677778504 0.11969716722220862 -0.72% -0.71% 0.99x
get_peer[peer1] 0.12308848112490978 0.11796190722220166 4.16% 4.35% 1.04x
get_peer[peer2] 0.12665421055554463 0.11552320900000268 8.79% 9.64% 1.10x
get_peers 0.11664059233342211 0.1252340036666687 -7.37% -6.86% 0.93x
get_proposer_slashings 0.11888205622219378 0.11752432288883735 1.14% 1.16% 1.01x
get_rewards[0xabc123] 0.12296709144442906 0.123528570444503 -0.46% -0.45% 1.00x
get_rewards[12345] 0.12055134555561785 0.12197280722223998 -1.18% -1.17% 0.99x
get_rewards[genesis] 0.12063062209995223 0.1252775383748599 -3.85% -3.71% 0.96x
get_rewards[head] 0.11523117044453102 0.13319867699991456 -15.59% -13.49% 0.87x
get_spec 0.11570118177784632 0.121717875249999 -5.20% -4.94% 0.95x
get_sync_committee_duties[validator_indices0-0] 0.11931403311104481 0.1205606938889711 -1.04% -1.03% 0.99x
get_sync_committee_duties[validator_indices0-123] 0.11343318811107868 0.12092198555562088 -6.60% -6.19% 0.94x
get_sync_committee_duties[validator_indices0-99999] 0.11428670055556722 0.1170023043333054 -2.38% -2.32% 0.98x
get_sync_committee_duties[validator_indices1-0] 0.12017670255550507 0.12230783466667264 -1.77% -1.74% 0.98x
get_sync_committee_duties[validator_indices1-123] 0.11948925144441899 0.12312860177775696 -3.05% -2.96% 0.97x
get_sync_committee_duties[validator_indices1-99999] 0.11557586425010413 0.11847965366673129 -2.51% -2.45% 0.98x
get_sync_committee_duties[validator_indices2-0] 0.12250458388891478 0.12100837166675167 1.22% 1.24% 1.01x
get_sync_committee_duties[validator_indices2-123] 0.7765119622221796 0.1166455065555662 84.98% 565.70% 6.66x
get_sync_committee_duties[validator_indices2-99999] 0.11940613812510037 0.12353795455555883 -3.46% -3.34% 0.97x
get_syncing 0.6442852277778002 0.11576684155549326 82.03% 456.54% 5.57x
get_validator_balances[12345] 0.12357417833330449 0.12566626722223695 -1.69% -1.66% 0.98x
get_validator_balances[finalized] 0.29520692522227265 0.12044354833334284 59.20% 145.10% 2.45x
get_validator_balances[head] 0.11708010077781081 0.1269838546666809 -8.46% -7.80% 0.92x
get_validator_balances[justified] 0.12688457111117815 0.11878871600004004 6.38% 6.82% 1.07x
get_validator[12345-0] 0.12194720144442625 0.12597331799992162 -3.30% -3.20% 0.97x
get_validator[12345-0xdeadbeef] 0.2509710958888718 0.12237163133325642 51.24% 105.09% 2.05x
get_validator[12345-123456] 0.1182644366667268 0.12306904866671983 -4.06% -3.90% 0.96x
get_validator[finalized-0] 0.12310381599996845 0.12706185437491513 -3.22% -3.12% 0.97x
get_validator[finalized-0xdeadbeef] 0.12046882244440996 0.12201814933334593 -1.29% -1.27% 0.99x
get_validator[finalized-123456] 0.11767696955560798 0.12037700188890692 -2.29% -2.24% 0.98x
get_validator[head-0] 0.12290853511098652 0.12538181444445703 -2.01% -1.97% 0.98x
get_validator[head-0xdeadbeef] 0.11755505924998033 0.11717631299984532 0.32% 0.32% 1.00x
get_validator[head-123456] 0.11651448866667932 0.12227911537513592 -4.95% -4.71% 0.95x
get_validator[justified-0] 0.1242454367777302 0.27937775977776863 -124.86% -55.53% 0.44x
get_validator[justified-0xdeadbeef] 0.12063137233336521 0.12927211788893248 -7.16% -6.68% 0.93x
get_validator[justified-123456] 0.12246897155551374 0.12325970400004532 -0.65% -0.64% 0.99x
get_validators[12345] 0.11869143988886005 0.12263917174993821 -3.33% -3.22% 0.97x
get_validators[finalized] 0.11810730522226247 0.1201456881110769 -1.73% -1.70% 0.98x
get_validators[head] 0.2064366811111237 0.23012718537484034 -11.48% -10.29% 0.90x
get_validators[justified] 0.12309942577788509 0.12715290922218023 -3.29% -3.19% 0.97x
get_version 0.11683506666663056 0.12175201433329777 -4.21% -4.04% 0.96x
get_voluntary_exits 0.12030141866671329 0.12156983537505539 -1.05% -1.04% 0.99x

web3/beacon/beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.000013979797219170515 0.000010900891248339553 22.02% 28.24% 1.28x
get_attestations_rewards[validator_indices0-0] 0.00001477080884689037 0.000011888703743298952 19.51% 24.24% 1.24x
get_attestations_rewards[validator_indices0-123] 0.000014683544640687444 0.000011888912663334271 19.03% 23.51% 1.24x
get_attestations_rewards[validator_indices0-99999] 0.000014890895471502933 0.000011784137502809494 20.86% 26.36% 1.26x
get_attestations_rewards[validator_indices1-0] 0.000014850703865918245 0.000011836269406409643 20.30% 25.47% 1.25x
get_attestations_rewards[validator_indices1-123] 0.00001486594833849508 0.000011872798914866883 20.13% 25.21% 1.25x
get_attestations_rewards[validator_indices1-99999] 0.000014907219865643205 0.000011735116771978748 21.28% 27.03% 1.27x
get_attestations_rewards[validator_indices2-0] 0.000014748377271500251 0.000011777756045907164 20.14% 25.22% 1.25x
get_attestations_rewards[validator_indices2-123] 0.000014801518447871396 0.000011797418563041137 20.30% 25.46% 1.25x
get_attestations_rewards[validator_indices2-99999] 0.000014914858974156335 0.00001190918771826137 20.15% 25.24% 1.25x
get_attester_duties[validator_indices0-0] 0.000014715286933834922 0.000011725704009504873 20.32% 25.50% 1.25x
get_attester_duties[validator_indices0-123] 0.000014852850233105013 0.000011898608236109928 19.89% 24.83% 1.25x
get_attester_duties[validator_indices0-99999] 0.000014678868099166674 0.000011773809373407248 19.79% 24.67% 1.25x
get_attester_duties[validator_indices1-0] 0.000014931449983341902 0.000011982661154373 19.75% 24.61% 1.25x
get_attester_duties[validator_indices1-123] 0.00001489609164637585 0.000011863772451234319 20.36% 25.56% 1.26x
get_attester_duties[validator_indices1-99999] 0.000014800487628112257 0.000011831057908994361 20.06% 25.10% 1.25x
get_attester_duties[validator_indices2-0] 0.000014787067155400065 0.00001185628836320603 19.82% 24.72% 1.25x
get_attester_duties[validator_indices2-123] 0.000014752230307682744 0.000011920078863483999 19.20% 23.76% 1.24x
get_attester_duties[validator_indices2-99999] 0.000014739595027466222 0.000011886431852530752 19.36% 24.00% 1.24x
get_attester_slashings 0.000013720044140567111 0.000010867159230525322 20.79% 26.25% 1.26x
get_beacon_heads 0.000014205662891884046 0.000011415571186323095 19.64% 24.44% 1.24x
get_beacon_state[12345] 0.000014931204410980599 0.000011673395129447389 21.82% 27.91% 1.28x
get_beacon_state[finalized] 0.000014576403538892522 0.000011769529390582952 19.26% 23.85% 1.24x
get_beacon_state[head] 0.000014718588067123611 0.000011773864742237198 20.01% 25.01% 1.25x
get_beacon_state[justified] 0.000014584086336539138 0.000011677985984149009 19.93% 24.89% 1.25x
get_blinded_blocks[0xabc123] 0.000014130347197428643 0.000011189151053697886 20.81% 26.29% 1.26x
get_blinded_blocks[12345] 0.000014374476684193486 0.000011188983873781246 22.16% 28.47% 1.28x
get_blinded_blocks[genesis] 0.000014173440716764604 0.000011212964523567288 20.89% 26.40% 1.26x
get_blinded_blocks[head] 0.000014036359914024918 0.000011193801210977329 20.25% 25.39% 1.25x
get_blob_sidecars[indices1-0xabc123] 0.000015570807794490354 0.000012757179691461382 18.07% 22.06% 1.22x
get_blob_sidecars[indices1-12345] 0.000015707384588996118 0.00001271888279286661 19.03% 23.50% 1.23x
get_blob_sidecars[indices1-genesis] 0.000015559221373845278 0.000012724503163039587 18.22% 22.28% 1.22x
get_blob_sidecars[indices1-head] 0.000015715152320829636 0.000012786190122835677 18.64% 22.91% 1.23x
get_blob_sidecars[indices2-0xabc123] 0.000016004767536130662 0.000013178415444937224 17.66% 21.45% 1.21x
get_blob_sidecars[indices2-12345] 0.000016000305508054363 0.000013243206108372668 17.23% 20.82% 1.21x
get_blob_sidecars[indices2-genesis] 0.000016328632063051526 0.000013171100166487346 19.34% 23.97% 1.24x
get_blob_sidecars[indices2-head] 0.000016096506128812763 0.000013235923518750591 17.77% 21.61% 1.22x
get_blob_sidecars[None-0xabc123] 0.000014773830255358246 0.000011744480203571009 20.50% 25.79% 1.26x
get_blob_sidecars[None-12345] 0.000014613931993802966 0.000011773719303006978 19.43% 24.12% 1.24x
get_blob_sidecars[None-genesis] 0.000014627718310619768 0.000011789384313661886 19.40% 24.08% 1.24x
get_blob_sidecars[None-head] 0.000014627421356966158 0.000011829842844700555 19.13% 23.65% 1.24x
get_block_attestations[0xabc123] 0.000014132904933572512 0.000011301474595425252 20.03% 25.05% 1.25x
get_block_attestations[12345] 0.000014212484709187405 0.000011198691164586988 21.21% 26.91% 1.27x
get_block_attestations[genesis] 0.000014156309974746359 0.000011233027539853665 20.65% 26.02% 1.26x
get_block_attestations[head] 0.000014166203490881005 0.00001122163971105984 20.79% 26.24% 1.26x
get_block_header[0xabc123] 0.000014619705562355132 0.000011491459932905711 21.40% 27.22% 1.27x
get_block_header[12345] 0.000014572165037035055 0.000011494407764811327 21.12% 26.78% 1.27x
get_block_header[genesis] 0.000014534147152902783 0.00001143045654820723 21.35% 27.15% 1.27x
get_block_header[head] 0.00001467556485882476 0.000011510630833500505 21.57% 27.50% 1.27x
get_block_headers 0.000014149851587170255 0.000011497036949866527 18.75% 23.07% 1.23x
get_block_proposer_duties[0] 0.000014664173806470163 0.000011622571158827285 20.74% 26.17% 1.26x
get_block_proposer_duties[123] 0.000014623797647579078 0.000011742270261776344 19.70% 24.54% 1.25x
get_block_proposer_duties[99999] 0.000014670182751064463 0.000011725049634789489 20.08% 25.12% 1.25x
get_block_root[0xabc123] 0.000014031427917062885 0.000011251928934493539 19.81% 24.70% 1.25x
get_block_root[12345] 0.000014329545037283633 0.000011332660841291747 20.91% 26.44% 1.26x
get_block_root[genesis] 0.000014254324815161107 0.000011218619929999126 21.30% 27.06% 1.27x
get_block_root[head] 0.000014294817353580821 0.000011162971527904191 21.91% 28.06% 1.28x
get_block[0xabc123] 0.000014436492451319164 0.000011352772241280673 21.36% 27.16% 1.27x
get_block[12345] 0.000014331075510531407 0.000011316054548810015 21.04% 26.64% 1.27x
get_block[genesis] 0.000014509250049507334 0.00001149337556100945 20.79% 26.24% 1.26x
get_block[head] 0.000014430602927543091 0.000011419604017806866 20.87% 26.37% 1.26x
get_bls_to_execution_changes 0.000014049825729028512 0.000011323801900094951 19.40% 24.07% 1.24x
get_deposit_contract 0.000014229062306687723 0.000011515465142697448 19.07% 23.56% 1.24x
get_epoch_committees[12345] 0.000014251901091795965 0.000011505705749273008 19.27% 23.87% 1.24x
get_epoch_committees[finalized] 0.000014275254000653138 0.000011382544055023047 20.26% 25.41% 1.25x
get_epoch_committees[head] 0.00001422864381111481 0.000011448347648270409 19.54% 24.29% 1.24x
get_epoch_committees[justified] 0.00001421210695852919 0.000011434501367464678 19.54% 24.29% 1.24x
get_epoch_randao[12345] 0.000014510978075482184 0.00001180379470062467 18.66% 22.93% 1.23x
get_epoch_randao[finalized] 0.000014436599348253248 0.000011514063995682277 20.24% 25.38% 1.25x
get_epoch_randao[head] 0.000014763584165862327 0.000011703587909517545 20.73% 26.15% 1.26x
get_epoch_randao[justified] 0.000014792304995644766 0.000011755586140018502 20.53% 25.83% 1.26x
get_epoch_sync_committees[12345] 0.00001455816204008627 0.000011571754700433822 20.51% 25.81% 1.26x
get_epoch_sync_committees[finalized] 0.00001460285887147785 0.000011716058745201384 19.77% 24.64% 1.25x
get_epoch_sync_committees[head] 0.000014495825544813351 0.000011755202017549304 18.91% 23.31% 1.23x
get_epoch_sync_committees[justified] 0.00001473395546334535 0.000011667324018983467 20.81% 26.28% 1.26x
get_finality_checkpoint[12345] 0.000014583421553681716 0.000011704080321477044 19.74% 24.60% 1.25x
get_finality_checkpoint[finalized] 0.000014792877033367849 0.000011664334390407098 21.15% 26.82% 1.27x
get_finality_checkpoint[head] 0.000014719881650176814 0.00001157852907162849 21.34% 27.13% 1.27x
get_finality_checkpoint[justified] 0.000014626640099718982 0.000011653233924720054 20.33% 25.52% 1.26x
get_fork_data[12345] 0.000014761788856831296 0.000011685512600140163 20.84% 26.33% 1.26x
get_fork_data[finalized] 0.000014569713648330356 0.000011792868727351116 19.06% 23.55% 1.24x
get_fork_data[head] 0.000014826956053660442 0.000011697643058211286 21.11% 26.75% 1.27x
get_fork_data[justified] 0.000014674753870545608 0.000011611906354866008 20.87% 26.38% 1.26x
get_fork_schedule 0.000014214734319138366 0.000011501408962951127 19.09% 23.59% 1.24x
get_genesis 0.000014348093233057048 0.000011555684061600281 19.46% 24.16% 1.24x
get_hash_root[12345] 0.00001465104283900138 0.000011724508749458065 19.97% 24.96% 1.25x
get_hash_root[finalized] 0.00001459825318040694 0.000011661536682436872 20.12% 25.18% 1.25x
get_hash_root[head] 0.000014727210632111265 0.000011695700258529723 20.58% 25.92% 1.26x
get_hash_root[justified] 0.000014624530964594643 0.000011682862861927892 20.11% 25.18% 1.25x
get_health 0.000013185625773644374 0.000010426749617012762 20.92% 26.46% 1.26x
get_light_client_bootstrap_structure[0x0] 0.000014114880093036301 0.000011150694739127553 21.00% 26.58% 1.27x
get_light_client_bootstrap_structure[0xabc123] 0.000014178505800732089 0.00001130396408598364 20.27% 25.43% 1.25x
get_light_client_finality_update 0.000013735711889060802 0.000010934626196384887 20.39% 25.62% 1.26x
get_light_client_optimistic_update 0.000013651317678183882 0.000011014093632015708 19.32% 23.94% 1.24x
get_light_client_updates 0.000013697570310160372 0.00001127465881360107 17.69% 21.49% 1.21x
get_node_identity 0.000014162940855917055 0.000011313134563315604 20.12% 25.19% 1.25x
get_peer_count 0.000014180913853415836 0.000011359260555845226 19.90% 24.84% 1.25x
get_peer[0xdeadbeef] 0.00001465727512969977 0.000011647878352870152 20.53% 25.84% 1.26x
get_peer[peer1] 0.000014665163039152885 0.000011853783183336851 19.17% 23.72% 1.24x
get_peer[peer2] 0.00001486628273860015 0.00001169017218439828 21.36% 27.17% 1.27x
get_peers 0.000014101363729389167 0.000011293866594623813 19.91% 24.86% 1.25x
get_proposer_slashings 0.000013738895416174361 0.000010895376026165924 20.70% 26.10% 1.26x
get_rewards[0xabc123] 0.000014159903321700853 0.00001107848760275501 21.76% 27.81% 1.28x
get_rewards[12345] 0.000014125946962627128 0.000011188746152508632 20.79% 26.25% 1.26x
get_rewards[genesis] 0.000014029500311155498 0.000011202332940456916 20.15% 25.24% 1.25x
get_rewards[head] 0.0000141604732671736 0.000011346557744196783 19.87% 24.80% 1.25x
get_spec 0.000014253075749395589 0.00001139036725552202 20.08% 25.13% 1.25x
get_sync_committee_duties[validator_indices0-0] 0.000014879130645795158 0.000011705862213905979 21.33% 27.11% 1.27x
get_sync_committee_duties[validator_indices0-123] 0.000014992529367242471 0.00001195092604989322 20.29% 25.45% 1.25x
get_sync_committee_duties[validator_indices0-99999] 0.000014787231218732856 0.000011775430615153268 20.37% 25.58% 1.26x
get_sync_committee_duties[validator_indices1-0] 0.000014891043991826583 0.000012146876554864558 18.43% 22.59% 1.23x
get_sync_committee_duties[validator_indices1-123] 0.000014833684795166517 0.000011787394224034518 20.54% 25.84% 1.26x
get_sync_committee_duties[validator_indices1-99999] 0.00001483830908089412 0.00001197626107258513 19.29% 23.90% 1.24x
get_sync_committee_duties[validator_indices2-0] 0.000014918354916019968 0.000011963957341104986 19.80% 24.69% 1.25x
get_sync_committee_duties[validator_indices2-123] 0.00001472964618654961 0.000011802820021228089 19.87% 24.80% 1.25x
get_sync_committee_duties[validator_indices2-99999] 0.000014816349498448376 0.000011808599253526215 20.30% 25.47% 1.25x
get_syncing 0.000014324267900222587 0.00001142002542893677 20.27% 25.43% 1.25x
get_validator_balances[12345] 0.00001444950368415368 0.000011408132488253275 21.05% 26.66% 1.27x
get_validator_balances[finalized] 0.000014378240443069042 0.000011329577930908599 21.20% 26.91% 1.27x
get_validator_balances[head] 0.000014294290664267641 0.000011518932992899595 19.42% 24.09% 1.24x
get_validator_balances[justified] 0.000014363469461651494 0.000011485834253410268 20.03% 25.05% 1.25x
get_validator[12345-0] 0.000014716435871025179 0.000011621741476563116 21.03% 26.63% 1.27x
get_validator[12345-0xdeadbeef] 0.000014711573289649116 0.000011610422997192216 21.08% 26.71% 1.27x
get_validator[12345-123456] 0.000014741862712060586 0.000011519996103366624 21.86% 27.97% 1.28x
get_validator[finalized-0] 0.000014626720383959311 0.000011762817782264566 19.58% 24.35% 1.24x
get_validator[finalized-0xdeadbeef] 0.000014768747804686785 0.000011814049039228889 20.01% 25.01% 1.25x
get_validator[finalized-123456] 0.000014827948133969249 0.000011944631804413189 19.45% 24.14% 1.24x
get_validator[head-0] 0.00001472648032172333 0.0000118717682952106 19.38% 24.05% 1.24x
get_validator[head-0xdeadbeef] 0.000014674616679945823 0.000011717725999742037 20.15% 25.23% 1.25x
get_validator[head-123456] 0.0000146523782592646 0.000011790816612129609 19.53% 24.27% 1.24x
get_validator[justified-0] 0.000014624581610072877 0.000011766918823796347 19.54% 24.29% 1.24x
get_validator[justified-0xdeadbeef] 0.00001473665789309511 0.0006633786872389761 -4401.55% -97.78% 0.02x
get_validator[justified-123456] 0.000014744864022956231 0.00001181016566770675 19.90% 24.85% 1.25x
get_validators[12345] 0.000014745922249953831 0.000011688555056487211 20.73% 26.16% 1.26x
get_validators[finalized] 0.000014706428967369194 0.000011612420824335136 21.04% 26.64% 1.27x
get_validators[head] 0.000014588314590669075 0.00001164450194786063 20.18% 25.28% 1.25x
get_validators[justified] 0.000014597714434660253 0.00001169174885646806 19.91% 24.85% 1.25x
get_version 0.000014209681853774642 0.00001136548164389162 20.02% 25.02% 1.25x
get_voluntary_exits 0.000013748826316277351 0.00001096754065199499 20.23% 25.36% 1.25x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0013716680091910133 0.0013729068504157518 -0.09% -0.09% 1.00x
attributedict_hash[flat] 0.001034051322966743 0.0010406246715206416 -0.64% -0.63% 0.99x
attributedict_hash[nested] 0.0015782663629399804 0.0015657547420385924 0.79% 0.80% 1.01x
attributedict_init[empty] 0.0000846289215519303 0.00008503986068301024 -0.49% -0.48% 1.00x
attributedict_init[large] 0.00012014649476261156 0.00012000917526108093 0.11% 0.11% 1.00x
attributedict_init[small] 0.00008995476448347358 0.00008940101542184033 0.62% 0.62% 1.01x
mutableattributedict_delitem 0.00038334865166211846 0.0003799386018456022 0.89% 0.90% 1.01x
mutableattributedict_setitem 0.00031958761304334615 0.00031896534287635415 0.19% 0.20% 1.00x
namedelementonion_add 0.06642238501526385 0.04402020001852078 33.73% 50.89% 1.51x
namedelementonion_as_tuple_of_middleware 0.000146471946194588 0.0001472975814812046 -0.56% -0.56% 0.99x
namedelementonion_contains 0.00002939041593805307 0.000029250008786499644 0.48% 0.48% 1.00x
namedelementonion_getitem 0.000027010538643918562 0.000026867143624431018 0.53% 0.53% 1.01x
namedelementonion_init[callables2] 0.00012579239167130087 0.000125861181982532 -0.05% -0.05% 1.00x
namedelementonion_init[callables3] 0.0001620292481676907 0.0001609853951033248 0.64% 0.65% 1.01x
namedelementonion_init[empty] 0.00004334868035870371 0.00004436313732692087 -2.34% -2.29% 0.98x
namedelementonion_inject 0.015545882148149691 0.07592417475860662 -388.39% -79.52% 0.20x
namedelementonion_iter 0.00015643349200601417 0.00015434102394726678 1.34% 1.36% 1.01x
namedelementonion_remove 0.0006562249155088319 0.0006587067995822523 -0.38% -0.38% 1.00x
namedelementonion_replace 0.0023438182071339768 0.002324103988116814 0.84% 0.85% 1.01x
readableattributedict_getitem[large] 0.000014090582128374209 0.000014105435638420187 -0.11% -0.11% 1.00x
readableattributedict_getitem[small] 0.000013586787203630176 0.000013421180617788945 1.22% 1.23% 1.01x
readableattributedict_init[empty] 0.00005289926337845287 0.0000509266477188779 3.73% 3.87% 1.04x
readableattributedict_init[large] 0.000087175286541 0.00008704617341117593 0.15% 0.15% 1.00x
readableattributedict_init[small] 0.00005872180978853807 0.00005986495103233433 -1.95% -1.91% 0.98x
readableattributedict_recursive[list-in-dict] 0.0008511542647141528 0.0008524191637778358 -0.15% -0.15% 1.00x
readableattributedict_recursive[nested-dict] 0.000884069666660892 0.0009007058411837148 -1.88% -1.85% 0.98x
readableattributedict_recursive[set] 0.0004447660181037505 0.0004440399991037055 0.16% 0.16% 1.00x
tupleize_lists_nested[list-in-dict] 0.000795795154397174 0.0007886069105132633 0.90% 0.91% 1.01x
tupleize_lists_nested[tuple-in-dict] 0.0008701903938383534 0.0008663592926938366 0.44% 0.44% 1.00x

web3/utils/address - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_create_address[0] 0.00005230574057109552 0.000025228290909968813 51.77% 107.33% 2.07x
get_create_address[100] 0.00005298677454860083 0.00002572968390199618 51.44% 105.94% 2.06x
get_create_address[10000] 0.00005301655030200184 0.000025940957819010285 51.07% 104.37% 2.04x
get_create2_address[long] 0.0000562122724048543 0.000022314873851198714 60.30% 151.90% 2.52x
get_create2_address[med] 0.00005573019899391929 0.000021426593880242497 61.55% 160.10% 2.60x
get_create2_address[short] 0.0000556775842343558 0.00002145823593376835 61.46% 159.47% 2.59x

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.00802995845161868 0.0053502297634539535 33.37% 50.09% 1.50x
async_handle_offchain_lookup[get-single-hexstr] 0.008913827675675199 0.005351679505333487 39.96% 66.56% 1.67x
async_handle_offchain_lookup[get-try2-bytes] 0.008008276426212955 0.005357875798884445 33.10% 49.47% 1.49x
async_handle_offchain_lookup[get-try2-hexstr] 0.008917460963642621 0.005345923882687812 40.05% 66.81% 1.67x
async_handle_offchain_lookup[get-try3-bytes] 0.007997736803246404 0.005372509648033843 32.82% 48.86% 1.49x
async_handle_offchain_lookup[get-try3-hexstr] 0.008957328176986861 0.005341092308117368 40.37% 67.71% 1.68x
async_handle_offchain_lookup[post-single-bytes] 0.00806333298808546 0.0054127787611049725 32.87% 48.97% 1.49x
async_handle_offchain_lookup[post-single-hexstr] 0.008957849180177134 0.005369376762754948 40.06% 66.83% 1.67x
async_handle_offchain_lookup[post-try2-bytes] 0.00803132199205951 0.005398189749994034 32.79% 48.78% 1.49x
async_handle_offchain_lookup[post-try2-hexstr] 0.009001115814172947 0.005361945016315788 40.43% 67.87% 1.68x
async_handle_offchain_lookup[post-try3-bytes] 0.008107438826443308 0.005388701187466826 33.53% 50.45% 1.50x
async_handle_offchain_lookup[post-try3-hexstr] 0.00898540795327722 0.0053579494583352195 40.37% 67.70% 1.68x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003225282901958291 0.0002441332832100556 24.31% 32.11% 1.32x
simplecache_cache[100] 0.0025494071227585013 0.0017365762618951005 31.88% 46.81% 1.47x
simplecache_cache[1000] 0.025684733051280207 0.016355576131132456 36.32% 57.04% 1.57x
simplecache_eviction[10] 0.0007443200280771958 0.0005509694420324771 25.98% 35.09% 1.35x
simplecache_eviction[100] 0.006843852205461127 0.004950382871287063 27.67% 38.25% 1.38x
simplecache_pop[10] 0.0004398924567726802 0.0003483951737830406 20.80% 26.26% 1.26x
simplecache_pop[100] 0.0035616523678608505 0.002626326440635225 26.26% 35.61% 1.36x
simplecache_retrieval[10] 0.00007968761875603073 0.00005456176264997719 31.53% 46.05% 1.46x
simplecache_retrieval[100] 0.0006848824424809762 0.00041765586356945505 39.02% 63.98% 1.64x

web3/utils/exception_handling - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
handle_offchain_lookup[get-single-bytes] 0.00006600127762761009 0.00003800358021763196 42.42% 73.67% 1.74x
handle_offchain_lookup[get-single-hexstr] 0.00007527903982130424 0.00003812705534649355 49.35% 97.44% 1.97x
handle_offchain_lookup[get-try2-bytes] 0.00006593562832157325 0.00003830766574268811 41.90% 72.12% 1.72x
handle_offchain_lookup[get-try2-hexstr] 0.00007542969258895995 0.00003839050774571385 49.10% 96.48% 1.96x
handle_offchain_lookup[get-try3-bytes] 0.0000658658284573524 0.0000381113512401241 42.14% 72.82% 1.73x
handle_offchain_lookup[get-try3-hexstr] 0.00007543645748645759 0.00003837201456050944 49.13% 96.59% 1.97x
handle_offchain_lookup[post-single-bytes] 0.00006580943833141501 0.00003783622496909326 42.51% 73.93% 1.74x
handle_offchain_lookup[post-single-hexstr] 0.00007533146263951901 0.000037985659924762165 49.58% 98.32% 1.98x
handle_offchain_lookup[post-try2-bytes] 0.00006591777819986689 0.00003817494201698968 42.09% 72.67% 1.73x
handle_offchain_lookup[post-try2-hexstr] 0.00007560445322073671 0.00003830706038090549 49.33% 97.36% 1.97x
handle_offchain_lookup[post-try3-bytes] 0.00006602035874924717 0.00003804024270451296 42.38% 73.55% 1.74x
handle_offchain_lookup[post-try3-hexstr] 0.00007555437340437612 0.00003821606448778328 49.42% 97.70% 1.98x

@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.000001820636932747317 0.0000010103108642331243 44.51% 80.21% 1.80x
is_valid_name[a..eth] 0.000025869985371376263 0.00002958902164543012 -14.38% -12.57% 0.87x
is_valid_name[a.eth..] 0.000026325535501062614 0.000029810142791427158 -13.24% -11.69% 0.88x
is_valid_name[a.eth.] 0.00002623214694811277 0.000029690104034073872 -13.18% -11.65% 0.88x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.23281096880000404 0.2458983294000518 -5.62% -5.32% 0.95x
is_valid_name[alice.eth] 0.011116929704093198 0.011160984322584706 -0.40% -0.39% 1.00x
is_valid_name[bob.eth] 0.006615429561279304 0.006815495776386935 -3.02% -2.94% 0.97x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.24619614879998153 0.24630290539998895 -0.04% -0.04% 1.00x
is_valid_name[subdomain.alice.eth] 0.03151530345457738 0.03364944990323326 -6.77% -6.34% 0.94x
labelhash[] 0.00013421600790067002 0.00008627670464814089 35.72% 55.56% 1.56x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.24229408339997463 0.22969237979996251 5.20% 5.49% 1.05x
labelhash[alice] 0.008049746463397671 0.007801968845523504 3.08% 3.18% 1.03x
labelhash[bob] 0.003584491042852278 0.0034000901371299456 5.14% 5.42% 1.05x
labelhash[emoji\U0001f468\U0001f3fb] 0.2590332772000693 0.21955507460002083 15.24% 17.98% 1.18x
labelhash[xn--fiqs8s] 0.02491212543905354 0.024421378309511965 1.97% 2.01% 1.02x
namehash[ascii] 0.022940121613642492 0.0222713406222182 2.92% 3.00% 1.03x
namehash[blocked-last-cc] 0.42955342539999036 0.35640588439991916 17.03% 20.52% 1.21x
namehash[combining-nfd] 0.3130761015999724 0.3006369793999511 3.97% 4.14% 1.04x
namehash[compose-pair] 0.20938474300000962 0.20164410833338783 3.70% 3.84% 1.04x
namehash[emoji] 0.5175640136000311 0.4771163763999994 7.82% 8.48% 1.08x
namehash[empty] 0.00001009172639435682 0.000003299955232553222 67.30% 205.81% 3.06x
namehash[hangul-jamo] 0.09498281999996531 0.1049459213000091 -10.49% -9.49% 0.91x
namehash[hangul-lv] 0.1052673000909346 0.10192866908329279 3.17% 3.28% 1.03x
namehash[hangul-lvt] 0.10570095200005199 0.09906438199999457 6.28% 6.70% 1.07x
namehash[ligature-ffl] 0.02380745616280132 0.022571789822222854 5.19% 5.47% 1.05x
namehash[multi-combining] 0.32087539940002896 0.3210575449999851 -0.06% -0.06% 1.00x
namehash[only-combining] 0.10867198090911435 0.10508209290909773 3.30% 3.42% 1.03x
namehash[precomposed-e-acute] 0.3148127869999371 0.29924470000000836 4.95% 5.20% 1.05x
nameprep[ascii] 0.011168383040812007 0.011343958395590372 -1.57% -1.55% 0.98x
nameprep[blocked-last-cc] 0.22952740780006026 0.2006372176667052 12.59% 14.40% 1.14x
nameprep[combining-nfd] 0.15961550262500168 0.14319754271426582 10.29% 11.47% 1.11x
nameprep[compose-pair] 0.11387863663637952 0.09739542874990548 14.47% 16.92% 1.17x
nameprep[emoji] 0.22363327580005715 0.24866784299997563 -11.19% -10.07% 0.90x
nameprep[empty] 0.000008753160033776967 0.0000030967632637683334 64.62% 182.66% 2.83x
nameprep[hangul-jamo] 0.05381030118184588 0.05214244040002995 3.10% 3.20% 1.03x
nameprep[hangul-lv] 0.05262946818182131 0.04944737108331765 6.05% 6.44% 1.06x
nameprep[hangul-lvt] 0.052372720227284925 0.050970808863625774 2.68% 2.75% 1.03x
nameprep[ligature-ffl] 0.00842128032813072 0.008626982080644916 -2.44% -2.38% 0.98x
nameprep[multi-combining] 0.17694853671436508 0.16102294785712598 9.00% 9.89% 1.10x
nameprep[only-combining] 0.058399264149966254 0.05201991052176116 10.92% 12.26% 1.12x
nameprep[precomposed-e-acute] 0.15938389062498004 0.14874830500002645 6.67% 7.15% 1.07x
parent[] 0.00000102675254774844 8.653032658967658e-7 15.72% 18.66% 1.19x
parent[bar.eth] 0.0000035474450565160037 0.0000026385659765698485 25.62% 34.45% 1.34x
parent[eth] 0.0000020230653345633205 0.0000013895088221827141 31.32% 45.60% 1.46x
parent[foo.bar.eth] 0.0000043351055618759595 0.0000033181314021479934 23.46% 30.65% 1.31x
parent[sub.sub2.foo.bar.eth] 0.000005159027735388967 0.00000414952527828618 19.57% 24.33% 1.24x
reverse_domain[0x0000000000000000000000000000000000000000] 0.000051619948156884984 0.000017273733735198934 66.54% 198.83% 2.99x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005117866014845092 0.000017221813724392863 66.35% 197.17% 2.97x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005154731598180717 0.000017084201809824187 66.86% 201.73% 3.02x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[ascii] 0.00001333061594880742 0.00001299685311608041 2.50% 2.57% 1.03x
address[blocked-last-cc] 0.000013246844712701893 0.000013038099198526795 1.58% 1.60% 1.02x
address[combining-nfd] 0.000013410194716543496 0.00001286540923299586 4.06% 4.23% 1.04x
address[compose-pair] 0.000013584059236054336 0.00001284888075013868 5.41% 5.72% 1.06x
address[emoji] 0.000013366561802514644 0.0000129500385593704 3.12% 3.22% 1.03x
address[empty] 0.000013323999790218611 0.000012823539549288573 3.76% 3.90% 1.04x
address[hangul-jamo] 0.000013385277457858927 0.000012996815928764401 2.90% 2.99% 1.03x
address[hangul-lv] 0.000013175536797018015 0.000013022791603770882 1.16% 1.17% 1.01x
address[hangul-lvt] 0.000013300182194093301 0.000012976260620124925 2.44% 2.50% 1.02x
address[ligature-ffl] 0.000013531843966482446 0.000013242703929416506 2.14% 2.18% 1.02x
address[multi-combining] 0.000013401022913049876 0.000012944066320291008 3.41% 3.53% 1.04x
address[only-combining] 0.000013315692819753941 0.000013172877203687457 1.07% 1.08% 1.01x
address[precomposed-e-acute] 0.00001336760998154763 0.000013407359259238966 -0.30% -0.30% 1.00x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[ascii] 0.00013856979381946685 0.00013954930089390752 -0.71% -0.70% 0.99x
normalize_name_ensip15[blocked-last-cc] 0.00013967501545497377 0.0001411348900369881 -1.05% -1.03% 0.99x
normalize_name_ensip15[combining-nfd] 0.00013899521546668472 0.0001401552550673959 -0.83% -0.83% 0.99x
normalize_name_ensip15[compose-pair] 0.00014121652380394997 0.00014185710115755014 -0.45% -0.45% 1.00x
normalize_name_ensip15[emoji] 0.0001402160062757648 0.00014048856404226597 -0.19% -0.19% 1.00x
normalize_name_ensip15[empty] 0.00013991672284742194 0.00013920932778501262 0.51% 0.51% 1.01x
normalize_name_ensip15[hangul-jamo] 0.00013848311304329863 0.00014092319531240714 -1.76% -1.73% 0.98x
normalize_name_ensip15[hangul-lv] 0.00013936787090839775 0.00013867303163595914 0.50% 0.50% 1.01x
normalize_name_ensip15[hangul-lvt] 0.0001401599273554078 0.00014067069440684644 -0.36% -0.36% 1.00x
normalize_name_ensip15[ligature-ffl] 0.0001386266224114523 0.0001390068281764152 -0.27% -0.27% 1.00x
normalize_name_ensip15[multi-combining] 0.00013931856413443842 0.0001399302681342842 -0.44% -0.44% 1.00x
normalize_name_ensip15[only-combining] 0.00013886979275183321 0.00013953659458271615 -0.48% -0.48% 1.00x
normalize_name_ensip15[precomposed-e-acute] 0.00013908717409577464 0.00013958267863292055 -0.36% -0.35% 1.00x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.002523586246796952 0.0008447838438843149 66.52% 198.73% 2.99x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002541919907927826 0.0008418252714772173 66.88% 201.95% 3.02x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.0025445359081630865 0.0008437862301228293 66.84% 201.56% 3.02x
dns_encode_name[ascii] 0.011792418211100792 0.011345741105261415 3.79% 3.94% 1.04x
dns_encode_name[blocked-last-cc] 0.22120108333331245 0.1993269643332951 9.89% 10.97% 1.11x
dns_encode_name[combining-nfd] 0.155895047749965 0.1389671911250332 10.86% 12.18% 1.12x
dns_encode_name[compose-pair] 0.11362248054543174 0.10345526154543966 8.95% 9.83% 1.10x
dns_encode_name[emoji] 0.2585732057999849 0.21780591599995205 15.77% 18.72% 1.19x
dns_encode_name[empty] 0.000006722145935100234 0.000004177249914664529 37.86% 60.92% 1.61x
dns_encode_name[hangul-jamo] 0.05237996785715603 0.04826658363636356 7.85% 8.52% 1.09x
dns_encode_name[hangul-lv] 0.052316254409096145 0.04414214949998533 15.62% 18.52% 1.19x
dns_encode_name[hangul-lvt] 0.04825521136363229 0.04412226660871926 8.56% 9.37% 1.09x
dns_encode_name[ligature-ffl] 0.009208590330445077 0.008837425333345332 4.03% 4.20% 1.04x
dns_encode_name[multi-combining] 0.163978438285702 0.15296654100003643 6.72% 7.20% 1.07x
dns_encode_name[only-combining] 0.0569898577142621 0.047653646160006245 16.38% 19.59% 1.20x
dns_encode_name[precomposed-e-acute] 0.15647528585717346 0.1371494114444987 12.35% 14.09% 1.14x
estimate_auction_start_gas[labels0] 0.00006837696522601588 0.00004906625881540716 28.24% 39.36% 1.39x
estimate_auction_start_gas[labels1] 0.00006910806423930881 0.00004899345461875899 29.11% 41.06% 1.41x
estimate_auction_start_gas[labels2] 0.0000646359636550444 0.00004876672350581752 24.55% 32.54% 1.33x
is_empty_name[ ] 0.0000577843458221002 0.00003905493644849958 32.41% 47.96% 1.48x
is_empty_name[.] 0.00005842169461738217 0.00003998943559026253 31.55% 46.09% 1.46x
is_empty_name[0] 0.00006007219401662979 0.00003911358475534379 34.89% 53.58% 1.54x
is_empty_name[1] 0.00005971021810056954 0.00003894282245181639 34.78% 53.33% 1.53x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00005823113782155079 0.00003807063303118202 34.62% 52.96% 1.53x
is_empty_name[alice.eth] 0.000059430816355882144 0.000039170972163958844 34.09% 51.72% 1.52x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.000060517942774970644 0.00003988060222255062 34.10% 51.75% 1.52x
is_empty_name[subdomain.alice.eth] 0.0000595796032019357 0.00003882010936440875 34.84% 53.48% 1.53x
is_none_or_zero_address[] 0.000044382712680056506 0.00003883652816148125 12.50% 14.28% 1.14x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.00004803013202266749 0.00004499437046075548 6.32% 6.75% 1.07x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005007810427593219 0.00004535783469062583 9.43% 10.41% 1.10x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005123890830883762 0.000045014570057543826 12.15% 13.83% 1.14x
is_valid_ens_name[ascii] 0.011046677948441582 0.011226653410525806 -1.63% -1.60% 0.98x
is_valid_ens_name[blocked-last-cc] 0.2219781473332887 0.2015986091666946 9.18% 10.11% 1.10x
is_valid_ens_name[combining-nfd] 0.17181833514288364 0.1519519838571211 11.56% 13.07% 1.13x
is_valid_ens_name[compose-pair] 0.10585174200003745 0.09695752908337833 8.40% 9.17% 1.09x
is_valid_ens_name[emoji] 0.2610491218000789 0.20971201659999678 19.67% 24.48% 1.24x
is_valid_ens_name[empty] 0.000001890025896639537 0.0000013874259651925057 26.59% 36.23% 1.36x
is_valid_ens_name[hangul-jamo] 0.05677509969998482 0.05139873014999239 9.47% 10.46% 1.10x
is_valid_ens_name[hangul-lv] 0.055154244857140794 0.04875235929168298 11.61% 13.13% 1.13x
is_valid_ens_name[hangul-lvt] 0.0545172469090961 0.047225347639987376 13.38% 15.44% 1.15x
is_valid_ens_name[ligature-ffl] 0.009053669429823984 0.009097692499996887 -0.49% -0.48% 1.00x
is_valid_ens_name[multi-combining] 0.16551916587502546 0.1599547031428301 3.36% 3.48% 1.03x
is_valid_ens_name[only-combining] 0.056826128150021304 0.052047846173892416 8.41% 9.18% 1.09x
is_valid_ens_name[precomposed-e-acute] 0.16161317014283277 0.14109420822220878 12.70% 14.54% 1.15x
is_valid_name[ascii] 0.011365435193530634 0.011385711457434925 -0.18% -0.18% 1.00x
is_valid_name[blocked-last-cc] 0.2258702496667032 0.19653768400001223 12.99% 14.92% 1.15x
is_valid_name[combining-nfd] 0.164139920428592 0.14671101785721216 10.62% 11.88% 1.12x
is_valid_name[compose-pair] 0.11175707981816561 0.10026298766666741 10.28% 11.46% 1.11x
is_valid_name[emoji] 0.26510367260002565 0.208589295199954 21.32% 27.09% 1.27x
is_valid_name[empty] 0.0000016396694323811742 9.864884877622524e-7 39.84% 66.21% 1.66x
is_valid_name[hangul-jamo] 0.05497890963158027 0.05172202328567653 5.92% 6.30% 1.06x
is_valid_name[hangul-lv] 0.05241956473909064 0.04929977229161864 5.95% 6.33% 1.06x
is_valid_name[hangul-lvt] 0.05188728473912425 0.04948677291665149 4.63% 4.85% 1.05x
is_valid_name[ligature-ffl] 0.008827214195124304 0.00894053684426946 -1.28% -1.27% 0.99x
is_valid_name[multi-combining] 0.17185403500002394 0.1500261737143254 12.70% 14.55% 1.15x
is_valid_name[only-combining] 0.05838625394998189 0.05028511595650264 13.88% 16.11% 1.16x
is_valid_name[precomposed-e-acute] 0.16921574828571856 0.14525576162495213 14.16% 16.50% 1.16x
label_to_hash[] 0.0001366425273949088 0.00008753482234738383 35.94% 56.10% 1.56x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.23575293560002136 0.24256305680000878 -2.89% -2.81% 0.97x
label_to_hash[alice] 0.00800926692562645 0.007633002015267307 4.70% 4.93% 1.05x
label_to_hash[bob] 0.0035880896724790803 0.0033548136307291953 6.50% 6.95% 1.07x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2710989650001011 0.2154253879999942 20.54% 25.84% 1.26x
label_to_hash[xn--fiqs8s] 0.025650988850003387 0.026173284170731566 -2.04% -2.00% 0.98x
normal_name_to_hash[ascii] 0.01182442817780106 0.01145367748313986 3.14% 3.24% 1.03x
normal_name_to_hash[blocked-last-cc] 0.2065834554000503 0.1993065403332821 3.52% 3.65% 1.04x
normal_name_to_hash[combining-nfd] 0.15697392614284972 0.14746261014287093 6.06% 6.45% 1.06x
normal_name_to_hash[compose-pair] 0.10337807290912596 0.09774034953849108 5.45% 5.77% 1.06x
normal_name_to_hash[emoji] 0.23587111840001854 0.24328263620004692 -3.14% -3.05% 0.97x
normal_name_to_hash[empty] 0.0000017829584396076875 9.685557317533348e-7 45.68% 84.08% 1.84x
normal_name_to_hash[hangul-jamo] 0.05547634614281162 0.0515728712000282 7.04% 7.57% 1.08x
normal_name_to_hash[hangul-lv] 0.05194425377270694 0.04878582999998571 6.08% 6.47% 1.06x
normal_name_to_hash[hangul-lvt] 0.0536221311904986 0.05003542066664105 6.69% 7.17% 1.07x
normal_name_to_hash[ligature-ffl] 0.009303739352935067 0.009251039818968037 0.57% 0.57% 1.01x
normal_name_to_hash[multi-combining] 0.1628075476250217 0.15816642585712412 2.85% 2.93% 1.03x
normal_name_to_hash[only-combining] 0.054749802227278946 0.051176754695679054 6.53% 6.98% 1.07x
normal_name_to_hash[precomposed-e-acute] 0.15635274485712866 0.14673596750006368 6.15% 6.55% 1.07x
normalize_name[ascii] 0.011456167447908191 0.011396472065225384 0.52% 0.52% 1.01x
normalize_name[blocked-last-cc] 0.22280695983336804 0.17826529666668497 19.99% 24.99% 1.25x
normalize_name[combining-nfd] 0.16701069842861216 0.14698017671435082 11.99% 13.63% 1.14x
normalize_name[compose-pair] 0.11318740745454389 0.10053797916666933 11.18% 12.58% 1.13x
normalize_name[emoji] 0.23175262400000066 0.22288847059990075 3.82% 3.98% 1.04x
normalize_name[empty] 0.000008563800062786386 0.000003081936757396927 64.01% 177.87% 2.78x
normalize_name[hangul-jamo] 0.060007480000032434 0.05343176185000402 10.96% 12.31% 1.12x
normalize_name[hangul-lv] 0.05207906582608223 0.049545251375036514 4.87% 5.11% 1.05x
normalize_name[hangul-lvt] 0.0525133901363688 0.049568422130436295 5.61% 5.94% 1.06x
normalize_name[ligature-ffl] 0.008748461710732323 0.008724118229507872 0.28% 0.28% 1.00x
normalize_name[multi-combining] 0.1727463881428061 0.15733919300000057 8.92% 9.79% 1.10x
normalize_name[only-combining] 0.05974876384999561 0.050574493391274664 15.35% 18.14% 1.18x
normalize_name[precomposed-e-acute] 0.1561643296249997 0.14384148244443573 7.89% 8.57% 1.09x
raw_name_to_hash[ascii] 0.022986736391312265 0.022341705936149935 2.81% 2.89% 1.03x
raw_name_to_hash[blocked-last-cc] 0.41919868579998365 0.34736172759999134 17.14% 20.68% 1.21x
raw_name_to_hash[combining-nfd] 0.3106994386000224 0.29201440299998466 6.01% 6.40% 1.06x
raw_name_to_hash[compose-pair] 0.2080359536666568 0.20123598316664962 3.27% 3.38% 1.03x
raw_name_to_hash[emoji] 0.5123005412000566 0.4963243372000761 3.12% 3.22% 1.03x
raw_name_to_hash[empty] 0.000009876559111536344 0.0000032703824979585054 66.89% 202.00% 3.02x
raw_name_to_hash[hangul-jamo] 0.10702979480001887 0.10535211460005485 1.57% 1.59% 1.02x
raw_name_to_hash[hangul-lv] 0.10727836963641577 0.09911788633335543 7.61% 8.23% 1.08x
raw_name_to_hash[hangul-lvt] 0.1044567964545422 0.09929012016666168 4.95% 5.20% 1.05x
raw_name_to_hash[ligature-ffl] 0.023262713749989995 0.022395572590901545 3.73% 3.87% 1.04x
raw_name_to_hash[multi-combining] 0.32142472359996643 0.3205100043999664 0.28% 0.29% 1.00x
raw_name_to_hash[only-combining] 0.10803779472726918 0.104562503454562 3.22% 3.32% 1.03x
raw_name_to_hash[precomposed-e-acute] 0.3071190856000158 0.25888391579997005 15.71% 18.63% 1.19x
sha3_text[0] 0.00012209309331861974 0.00008045591376119911 34.10% 51.75% 1.52x
sha3_text[1] 0.0001211982477808427 0.00008065888544600044 33.45% 50.26% 1.50x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00013073908073213308 0.00009111774429635639 30.31% 43.48% 1.43x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00013096407734502442 0.00009024514000455565 31.09% 45.12% 1.45x
sha3_text[alice.eth] 0.00013187334315597056 0.00009084774797236913 31.11% 45.16% 1.45x
sha3_text[alice] 0.00013262587656424413 0.00009114840235478321 31.27% 45.51% 1.46x
sha3_text[bob] 0.00013168402683033312 0.00009136977137969216 30.61% 44.12% 1.44x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.000132306081716613 0.00009154852296381762 30.81% 44.52% 1.45x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00013235085137273947 0.00009229255059574795 30.27% 43.40% 1.43x
sha3_text[subdomain.alice.eth] 0.0001313876983883991 0.00009160602293539198 30.28% 43.43% 1.43x
sha3_text[xn--fiqs8s] 0.00013027858046234085 0.00009048394068240847 30.55% 43.98% 1.44x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.00030556197351464556 0.0002634109670299684 13.79% 16.00% 1.16x
fallback_func_abi_exists 0.00025647679943539907 0.000027920978842706404 89.11% 818.58% 9.19x
filter_by_argument_name[a] 0.000634911033874718 0.00033445513520093616 47.32% 89.83% 1.90x
filter_by_argument_name[a+b] 0.0006507797004536139 0.00034255014895579286 47.36% 89.98% 1.90x
filter_by_argument_name[b] 0.0006397551687333297 0.00033199174464473066 48.11% 92.70% 1.93x
filter_by_argument_name[c] 0.000640384676861152 0.0003331880003504636 47.97% 92.20% 1.92x
filter_by_argument_name[notfound] 0.000638396822591027 0.0003331108182433169 47.82% 91.65% 1.92x
filter_by_argument_type[address] 0.0005640935213508878 0.00056391362791935 0.03% 0.03% 1.00x
filter_by_argument_type[notatype] 0.0005613110475679468 0.0005585695971511987 0.49% 0.49% 1.00x
filter_by_argument_type[string] 0.0005675319852937665 0.0005636668628375332 0.68% 0.69% 1.01x
filter_by_argument_type[uint+address] 0.0005623797865771072 0.0005624000777833984 -0.00% -0.00% 1.00x
filter_by_argument_type[uint256] 0.0005728053441354042 0.0005584293926726856 2.51% 2.57% 1.03x
filter_by_types[constructor] 0.00003567705668439473 0.000035314948163361086 1.01% 1.03% 1.01x
filter_by_types[event] 0.000035392459558649276 0.000035297010208400725 0.27% 0.27% 1.00x
filter_by_types[fallback] 0.00003626206978135662 0.000035794390944817775 1.29% 1.31% 1.01x
filter_by_types[func+event] 0.00004050710146880248 0.0000396694317571771 2.07% 2.11% 1.02x
filter_by_types[function] 0.000035803402689646286 0.00003640934228185338 -1.69% -1.66% 0.98x
filter_by_types[none] 0.0000332054813763333 0.00003416714984898253 -2.90% -2.81% 0.97x
filter_by_types[receive] 0.00003638939890742324 0.000036577852092701396 -0.52% -0.52% 0.99x
find_constructor_abi_element_by_type 0.00003333005299341196 0.00003260151059217855 2.19% 2.23% 1.02x
get_abi_element_signature[custom] 0.000056587569729526725 0.00005497939181945847 2.84% 2.93% 1.03x
get_abi_element_signature[fallback] 0.00002174551445012225 0.00002168566529705491 0.28% 0.28% 1.00x
get_abi_element_signature[receive] 0.00003088641153227192 0.00003060407144704614 0.91% 0.92% 1.01x
get_abi_element_signature[transfer] 0.0000612346702199577 0.00006025866632301189 1.59% 1.62% 1.02x
get_name_from_abi_element_identifier[custom] 0.000045226397782101146 0.000042288521504734036 6.50% 6.95% 1.07x
get_name_from_abi_element_identifier[fallback] 0.000012026322863782731 0.000011777838639983326 2.07% 2.11% 1.02x
get_name_from_abi_element_identifier[func] 0.00004507426419465973 0.00004248469799161219 5.75% 6.10% 1.06x
get_name_from_abi_element_identifier[receive] 0.000018681153266388116 0.000018543222067575424 0.74% 0.74% 1.01x
get_tuple_type_str_parts[not-tuple] 0.000022594441405157326 0.000022654893041406938 -0.27% -0.27% 1.00x
get_tuple_type_str_parts[one-dim] 0.00007611891013212776 0.00007510451514152291 1.33% 1.35% 1.01x
get_tuple_type_str_parts[plain] 0.00004889002378553209 0.00004820591739637525 1.40% 1.42% 1.01x
get_tuple_type_str_parts[two-dim] 0.00009028367711641901 0.00008995987358179433 0.36% 0.36% 1.00x
is_address_type[address] 0.000044129371206290665 0.0000421092060823016 4.58% 4.80% 1.05x
is_address_type[array] 0.00004723367546360951 0.00004557530552140279 3.51% 3.64% 1.04x
is_address_type[bool] 0.00004361205155992365 0.00004261226557734944 2.29% 2.35% 1.02x
is_address_type[bytes] 0.000043260761669394686 0.00004245389942216348 1.87% 1.90% 1.02x
is_address_type[bytes32] 0.00004620878928315239 0.0000460592977569866 0.32% 0.32% 1.00x
is_address_type[bytes33] 0.000046557006245688017 0.000046649850322438004 -0.20% -0.20% 1.00x
is_address_type[empty] 0.000043336748710408145 0.000043148484740610594 0.43% 0.44% 1.00x
is_address_type[enum] 0.000043371962763330175 0.000042323762869547604 2.42% 2.48% 1.02x
is_address_type[int256] 0.000043248900446731314 0.00004444486693030741 -2.77% -2.69% 0.97x
is_address_type[invalid] 0.00004253258793223803 0.00004306177001981685 -1.24% -1.23% 0.99x
is_address_type[string] 0.000044148789572185565 0.00004320367705108786 2.14% 2.19% 1.02x
is_address_type[tuple-array] 0.000043255287408295675 0.00004298864414769225 0.62% 0.62% 1.01x
is_address_type[tuple] 0.00004375448824935896 0.000042860052205050524 2.04% 2.09% 1.02x
is_address_type[uint256] 0.00004591739217960422 0.00004492769529636705 2.16% 2.20% 1.02x
is_array_type[address] 0.00039349150942710314 0.0004133215383313535 -5.04% -4.80% 0.95x
is_array_type[array] 0.00040064522128043016 0.00041277281160618883 -3.03% -2.94% 0.97x
is_array_type[bool] 0.00037969975675423013 0.0003802925814489402 -0.16% -0.16% 1.00x
is_array_type[bytes] 0.00037784486383093117 0.00038876596028499097 -2.89% -2.81% 0.97x
is_array_type[bytes32] 0.0003934969549754353 0.0004067360291216355 -3.36% -3.25% 0.97x
is_array_type[bytes33] 0.00039868021796842103 0.0004074034220411005 -2.19% -2.14% 0.98x
is_array_type[empty] 0.0002966214217282444 0.00030507557355677074 -2.85% -2.77% 0.97x
is_array_type[enum] 0.00038501026651148695 0.000398579609547896 -3.52% -3.40% 0.97x
is_array_type[int256] 0.0003909576890212569 0.0003900927426339271 0.22% 0.22% 1.00x
is_array_type[invalid] 0.0004090021755036581 0.00041486062499861495 -1.43% -1.41% 0.99x
is_array_type[string] 0.0003867003341416056 0.00039880640862117415 -3.13% -3.04% 0.97x
is_array_type[tuple-array] 0.0004044167732386598 0.00040979905590141004 -1.33% -1.31% 0.99x
is_array_type[tuple] 0.0003770888563854277 0.0003878559084194147 -2.86% -2.78% 0.97x
is_array_type[uint256] 0.00040421946036920536 0.0004026089338758557 0.40% 0.40% 1.00x
is_bool_type[address] 0.00004314044131721109 0.000043538483016192075 -0.92% -0.91% 0.99x
is_bool_type[array] 0.00004176371793001197 0.00004332096729467622 -3.73% -3.59% 0.96x
is_bool_type[bool] 0.000042892487415581754 0.00004337760308685835 -1.13% -1.12% 0.99x
is_bool_type[bytes] 0.00004407122507305336 0.00004364787732096363 0.96% 0.97% 1.01x
is_bool_type[bytes32] 0.0000429149545386274 0.00004370889153417568 -1.85% -1.82% 0.98x
is_bool_type[bytes33] 0.00004383751037629536 0.00004370191769551243 0.31% 0.31% 1.00x
is_bool_type[empty] 0.00004360532083053395 0.00004225166256222784 3.10% 3.20% 1.03x
is_bool_type[enum] 0.000043115707746284616 0.00004348797701761844 -0.86% -0.86% 0.99x
is_bool_type[int256] 0.00004303312331758654 0.00004318095393312518 -0.34% -0.34% 1.00x
is_bool_type[invalid] 0.000042819375475443466 0.000043542752596946254 -1.69% -1.66% 0.98x
is_bool_type[string] 0.00004331964148142575 0.00004377929567989326 -1.06% -1.05% 0.99x
is_bool_type[tuple-array] 0.000043541054846107055 0.00004388124984451519 -0.78% -0.78% 0.99x
is_bool_type[tuple] 0.000043243441497765795 0.000043513870028419854 -0.63% -0.62% 0.99x
is_bool_type[uint256] 0.0000429292669507424 0.00004354749891271102 -1.44% -1.42% 0.99x
is_bytes_type[address] 0.00030765505303375875 0.00031126329613302483 -1.17% -1.16% 0.99x
is_bytes_type[array] 0.00030730471331415893 0.00032641666326011653 -6.22% -5.86% 0.94x
is_bytes_type[bool] 0.00027698831386214524 0.00028645532811471803 -3.42% -3.30% 0.97x
is_bytes_type[bytes] 0.00027720583193179075 0.0002769212612776219 0.10% 0.10% 1.00x
is_bytes_type[bytes32] 0.0002990414100120567 0.0003006435824319263 -0.54% -0.53% 0.99x
is_bytes_type[bytes33] 0.0003186577603903876 0.00031612719643463454 0.79% 0.80% 1.01x
is_bytes_type[empty] 0.00029322322039718613 0.0002784123542423501 5.05% 5.32% 1.05x
is_bytes_type[enum] 0.0002987413032016734 0.0002926520461253408 2.04% 2.08% 1.02x
is_bytes_type[int256] 0.0002964736688267035 0.0002923195936960455 1.40% 1.42% 1.01x
is_bytes_type[invalid] 0.0002732346479683256 0.0002775272153922523 -1.57% -1.55% 0.98x
is_bytes_type[string] 0.0002795643989577672 0.0003099353790169883 -10.86% -9.80% 0.90x
is_bytes_type[tuple-array] 0.0002933713379408275 0.0002941315247975929 -0.26% -0.26% 1.00x
is_bytes_type[tuple] 0.000289495396902087 0.0002815806856658464 2.73% 2.81% 1.03x
is_bytes_type[uint256] 0.00030662193603500355 0.000318996061158517 -4.04% -3.88% 0.96x
is_int_type[address] 0.00019302831119293094 0.00019466598583954854 -0.85% -0.84% 0.99x
is_int_type[array] 0.00019909931049761048 0.00020695127232762196 -3.94% -3.79% 0.96x
is_int_type[bool] 0.00019883576943064747 0.00020434430409708957 -2.77% -2.70% 0.97x
is_int_type[bytes] 0.00020523420411638996 0.00022302077830429391 -8.67% -7.98% 0.92x
is_int_type[bytes32] 0.00019311465087569555 0.00020761922402452276 -7.51% -6.99% 0.93x
is_int_type[bytes33] 0.00019729670037556558 0.0002051462853612001 -3.98% -3.83% 0.96x
is_int_type[empty] 0.00019481253867647012 0.00019983475141126486 -2.58% -2.51% 0.97x
is_int_type[enum] 0.0002394049161455063 0.00022068669782205298 7.82% 8.48% 1.08x
is_int_type[int256] 0.00022106147728734662 0.00022563443504553603 -2.07% -2.03% 0.98x
is_int_type[invalid] 0.00020220106694979418 0.00019426543271661452 3.92% 4.08% 1.04x
is_int_type[string] 0.00022733506694749389 0.00023863990524500126 -4.97% -4.74% 0.95x
is_int_type[tuple-array] 0.00020867273569471933 0.00019413074874561094 6.97% 7.49% 1.07x
is_int_type[tuple] 0.00022694526063106495 0.00020736332691521038 8.63% 9.44% 1.09x
is_int_type[uint256] 0.00019355329665428234 0.00020709809920392872 -7.00% -6.54% 0.93x
is_probably_enum[address] 0.000064904156387522 0.00006493909436193208 -0.05% -0.05% 1.00x
is_probably_enum[empty] 0.00005925978918328826 0.000058455137485052465 1.36% 1.38% 1.01x
is_probably_enum[enum] 0.0000647280854658199 0.00006657363694600431 -2.85% -2.77% 0.97x
is_probably_enum[lib-dot] 0.00006706555880710203 0.00006570735931475265 2.03% 2.07% 1.02x
is_probably_enum[lib-enum] 0.00007470910675658753 0.00007439215784353385 0.42% 0.43% 1.00x
is_probably_enum[uint256] 0.00006435365850589998 0.00006491076383501407 -0.87% -0.86% 0.99x
is_recognized_type[address] 0.00007778972414911553 0.0000832917408911295 -7.07% -6.61% 0.93x
is_recognized_type[array] 0.00008059087125009677 0.00008763792643428392 -8.74% -8.04% 0.92x
is_recognized_type[bool] 0.00007710144593540856 0.00008368837364661671 -8.54% -7.87% 0.92x
is_recognized_type[bytes] 0.00014916510426058537 0.00015446901430598987 -3.56% -3.43% 0.97x
is_recognized_type[bytes32] 0.00014531562779328613 0.0001528862005755326 -5.21% -4.95% 0.95x
is_recognized_type[bytes33] 0.00013665656133488626 0.00014120837625774228 -3.33% -3.22% 0.97x
is_recognized_type[empty] 0.00006011199554945139 0.000060580952456428044 -0.78% -0.77% 0.99x
is_recognized_type[enum] 0.00008102742236270031 0.00008828963938596923 -8.96% -8.23% 0.92x
is_recognized_type[int256] 0.000130893459790791 0.00013226598674423228 -1.05% -1.04% 0.99x
is_recognized_type[invalid] 0.0000833566150121038 0.0000862765638532865 -3.50% -3.38% 0.97x
is_recognized_type[string] 0.00010116807889244251 0.00010756667938237037 -6.32% -5.95% 0.94x
is_recognized_type[tuple-array] 0.00008284828813432241 0.0000887258156148495 -7.09% -6.62% 0.93x
is_recognized_type[tuple] 0.00008255732538141589 0.00008950944995526948 -8.42% -7.77% 0.92x
is_recognized_type[uint256] 0.00012411926612690467 0.00013048316322218317 -5.13% -4.88% 0.95x
is_string_type[address] 0.000042410492044304426 0.0000431626821773815 -1.77% -1.74% 0.98x
is_string_type[array] 0.000042649888582252176 0.00004306952972037296 -0.98% -0.97% 0.99x
is_string_type[bool] 0.00004163666668110935 0.00004246845764384023 -2.00% -1.96% 0.98x
is_string_type[bytes] 0.00004205826149753302 0.00004138647097684524 1.60% 1.62% 1.02x
is_string_type[bytes32] 0.00004681416562258034 0.00004257970928933778 9.05% 9.94% 1.10x
is_string_type[bytes33] 0.00004230716592017722 0.000043218151673580595 -2.15% -2.11% 0.98x
is_string_type[empty] 0.00004250576443454617 0.00004349708901614845 -2.33% -2.28% 0.98x
is_string_type[enum] 0.00004525198103240759 0.00004549768041694905 -0.54% -0.54% 0.99x
is_string_type[int256] 0.00004491268998011047 0.00004518052551953066 -0.60% -0.59% 0.99x
is_string_type[invalid] 0.00004088038890058549 0.000043595584843379284 -6.64% -6.23% 0.94x
is_string_type[string] 0.00004267771662053075 0.00004362762887643559 -2.23% -2.18% 0.98x
is_string_type[tuple-array] 0.00004182520118006152 0.000041619454577802574 0.49% 0.49% 1.00x
is_string_type[tuple] 0.00004151779801434445 0.000042384916099562216 -2.09% -2.05% 0.98x
is_string_type[uint256] 0.00004176123142389175 0.00004210531342853639 -0.82% -0.82% 0.99x
is_uint_type[address] 0.00023644885527530706 0.00022778074323655424 3.67% 3.81% 1.04x
is_uint_type[array] 0.00021319264452116624 0.00022850800954556019 -7.18% -6.70% 0.93x
is_uint_type[bool] 0.00021268563638333115 0.00018920906771141219 11.04% 12.41% 1.12x
is_uint_type[bytes] 0.0002066351145049349 0.00019797372674439423 4.19% 4.38% 1.04x
is_uint_type[bytes32] 0.0002205321349794299 0.00023891797391105893 -8.34% -7.70% 0.92x
is_uint_type[bytes33] 0.00021701366434818752 0.00022149991978124339 -2.07% -2.03% 0.98x
is_uint_type[empty] 0.00019515569407882932 0.00019663120762247619 -0.76% -0.75% 0.99x
is_uint_type[enum] 0.00022310048873206643 0.00021772818554120215 2.41% 2.47% 1.02x
is_uint_type[int256] 0.0002187971370636013 0.0002199907325116074 -0.55% -0.54% 0.99x
is_uint_type[invalid] 0.00019504073618699722 0.00019975102785321276 -2.42% -2.36% 0.98x
is_uint_type[string] 0.00021874374476922543 0.00022472919605610322 -2.74% -2.66% 0.97x
is_uint_type[tuple-array] 0.00019442536550982206 0.00020268531385786383 -4.25% -4.08% 0.96x
is_uint_type[tuple] 0.00019900197585712867 0.0002031263761527335 -2.07% -2.03% 0.98x
is_uint_type[uint256] 0.00023151039592828065 0.00022205750533106302 4.08% 4.26% 1.04x
length_of_array_type[dynamic] 0.00016403004826275527 0.0001648380497019224 -0.49% -0.49% 1.00x
length_of_array_type[fixed] 0.00017438350371552547 0.00017369500062874122 0.39% 0.40% 1.00x
length_of_array_type[nested] 0.00018155318466859068 0.00018135995720353865 0.11% 0.11% 1.00x
map_abi_data 0.006137442161967159 0.0036830696774175875 39.99% 66.64% 1.67x
normalize_event_input_types 0.0004058143382017352 0.0004285355478774107 -5.60% -5.30% 0.95x
receive_func_abi_exists 0.0003228553284281561 0.000027273975329964316 91.55% 1083.75% 11.84x
strip_abi_types 0.0016462489529413772 0.001528155164834779 7.17% 7.73% 1.08x
sub_type_of_array_type[nested] 0.0001756622632346551 0.00017821294759263158 -1.45% -1.43% 0.99x
sub_type_of_array_type[simple] 0.0001680005660078199 0.00017061401780280847 -1.56% -1.53% 0.98x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.000021973841014910228 0.000021680343163196002 1.34% 1.35% 1.01x
is_hex_encoded_block_hash[invalid-g] 0.00008678258458780175 0.00006721674563752075 22.55% 29.11% 1.29x
is_hex_encoded_block_hash[none] 0.00002171407581345326 0.00002170505243515401 0.04% 0.04% 1.00x
is_hex_encoded_block_hash[short] 0.000046297249460141516 0.000029982297909939046 35.24% 54.42% 1.54x
is_hex_encoded_block_hash[too-long] 0.00004625886869151078 0.00002925833536176891 36.75% 58.10% 1.58x
is_hex_encoded_block_hash[too-short] 0.00004608633799594498 0.000029889890820308095 35.14% 54.19% 1.54x
is_hex_encoded_block_hash[valid-a] 0.00009861124097492627 0.00007748304616083861 21.43% 27.27% 1.27x
is_hex_encoded_block_hash[valid-f] 0.00009700832650646527 0.00007731501404051815 20.30% 25.47% 1.25x
is_hex_encoded_block_number[int] 0.000022053706304531335 0.00002234463360130771 -1.32% -1.30% 0.99x
is_hex_encoded_block_number[invalid-g] 0.00015958303969765888 0.00021390306916939045 -34.04% -25.39% 0.75x
is_hex_encoded_block_number[max-64-a] 0.00010862724905438191 0.00008643339495174297 20.43% 25.68% 1.26x
is_hex_encoded_block_number[max-64-f] 0.00010932417731424136 0.0000862123000848995 21.14% 26.81% 1.27x
is_hex_encoded_block_number[none] 0.00002207350808115735 0.000022466559120760607 -1.78% -1.75% 0.98x
is_hex_encoded_block_number[small] 0.00010517438266156275 0.0000478836526651309 54.47% 119.65% 2.20x
is_hex_encoded_block_number[too-long] 0.00012024384673166534 0.00006400511917736087 46.77% 87.87% 1.88x
is_predefined_block_number[bytes-latest] 0.00003362447438164069 0.000030138846693970142 10.37% 11.57% 1.12x
is_predefined_block_number[bytes-pending] 0.000033830605637157314 0.000031464185403450726 6.99% 7.52% 1.08x
is_predefined_block_number[bytes-random] 0.00003213915562810908 0.000029224960645190955 9.07% 9.97% 1.10x
is_predefined_block_number[int] 0.00003593783694231458 0.000024905080660054363 30.70% 44.30% 1.44x
is_predefined_block_number[none] 0.00012859884303655406 0.00022381669961510578 -74.04% -42.54% 0.57x
is_predefined_block_number[object] 0.00015703863837194642 0.00025192153282396323 -60.42% -37.66% 0.62x
is_predefined_block_number[str-earliest] 0.00001333321418943376 0.000010151693912716331 23.86% 31.34% 1.31x
is_predefined_block_number[str-finalized] 0.00001325540922874846 0.000010158349209118353 23.36% 30.49% 1.30x
is_predefined_block_number[str-foo] 0.000013339425809281573 0.00001000633761777976 24.99% 33.31% 1.33x
is_predefined_block_number[str-latest] 0.000013508071680591941 0.000010077791015150267 25.39% 34.04% 1.34x
is_predefined_block_number[str-pending] 0.00001316719209155937 0.000010041524160631993 23.74% 31.13% 1.31x
is_predefined_block_number[str-safe] 0.000013215117205727248 0.000010072805534351026 23.78% 31.20% 1.31x
select_method_for_block_identifier[hash-bytes] 0.00007789072252943608 0.000025605661409680906 67.13% 204.19% 3.04x
select_method_for_block_identifier[hash-hexstr] 0.0001600021795733715 0.00007595294059009735 52.53% 110.66% 2.11x
select_method_for_block_identifier[invalid-none] 0.0009727075327038393 0.00027535860464405863 71.69% 253.25% 3.53x
select_method_for_block_identifier[invalid-object] 0.0009946428880658884 0.0003021789677863797 69.62% 229.16% 3.29x
select_method_for_block_identifier[number-hexstr] 0.00021322052095595773 0.00006765829978256137 68.27% 215.14% 3.15x
select_method_for_block_identifier[number-int] 0.00014999151839894468 0.000041362433624979024 72.42% 262.63% 3.63x
select_method_for_block_identifier[predefined-bytes] 0.00007612330790815548 0.000025079800235439194 67.05% 203.52% 3.04x
select_method_for_block_identifier[predefined-str] 0.00005174396234260949 0.00000682839198654028 86.80% 657.78% 7.58x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00044319284785801196 0.0004668430951165 -5.34% -5.07% 0.95x
PropertyCheckingFactory[big-valid] 0.0004431484364976973 0.00046587419661218835 -5.13% -4.88% 0.95x
PropertyCheckingFactory[inheritance] 0.0011883584829330517 0.0010235415071044817 13.87% 16.10% 1.16x
PropertyCheckingFactory[invalid] 0.00043879123024995805 0.00046591659690027284 -6.18% -5.82% 0.94x
PropertyCheckingFactory[multi-normalizer] 0.00044333643267062525 0.0004685858603395634 -5.70% -5.39% 0.95x
PropertyCheckingFactory[multi-prop] 0.00043516141555838104 0.00046954942083851154 -7.90% -7.32% 0.93x
PropertyCheckingFactory[normalized] 0.0004431273203619715 0.00046301921405926603 -4.49% -4.30% 0.96x
PropertyCheckingFactory[valid] 0.0010722426666613198 0.0011800434801279673 -10.05% -9.14% 0.91x
verify_attr[empty] 0.00010266686798961955 0.00016074403054267613 -56.57% -36.13% 0.64x
verify_attr[found-end] 0.000012151800678999618 0.000010122653752695807 16.70% 20.05% 1.20x
verify_attr[found-start] 0.000009018492906115665 0.00000769267263009407 14.70% 17.23% 1.17x
verify_attr[large-found] 0.00013322027156936268 0.0001317407401798347 1.11% 1.12% 1.01x
verify_attr[large-notfound] 0.00019934007380082016 0.0002707470454277728 -35.82% -26.37% 0.74x
verify_attr[notfound] 0.00010887674813904046 0.00016550921297698107 -52.02% -34.22% 0.66x

web3/_utils/formatters - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
apply_error_formatters[empty_response] 0.0004525112624625502 0.00038874140210822927 14.09% 16.40% 1.16x
apply_error_formatters[real_error] 0.0004584150364641495 0.0003908429067873393 14.74% 17.29% 1.17x
apply_formatters_to_args[0-args] 0.00033325483102140615 0.00032749170283769924 1.73% 1.76% 1.02x
apply_formatters_to_args[1-args] 0.004510003204545269 0.005132147666654418 -13.79% -12.12% 0.88x
apply_formatters_to_args[2-args] 0.009682486211543252 0.010473876552083539 -8.17% -7.56% 0.92x
apply_formatters_to_args[3-args] 0.015013985641803968 0.015673086249993418 -4.39% -4.21% 0.96x
apply_formatters_to_args[4-args] 0.020025564420016052 0.020710682270854857 -3.42% -3.31% 0.97x
apply_formatters_to_args[5-args] 0.0262840233845987 0.026346491131574255 -0.24% -0.24% 1.00x
apply_formatters_to_args[6-args] 0.03329812269998911 0.03181946178125372 4.44% 4.65% 1.05x
apply_formatters_to_args[7-args] 0.0395947804615494 0.03756968270372622 5.11% 5.39% 1.05x
apply_formatters_to_args[8-args] 0.046392889772732815 0.04322076483330761 6.84% 7.34% 1.07x
apply_formatters_to_args[9-args] 0.05611812433333954 0.050796769399994446 9.48% 10.48% 1.10x
apply_key_map[empty_dict] 0.0035896941018208135 0.0005723407022015957 84.06% 527.20% 6.27x
apply_key_map[no_keys_to_remap] 0.004214699378729726 0.0008569626955858158 79.67% 391.82% 4.92x
apply_key_map[transaction_dict] 0.0077785713905988985 0.0027431013940154908 64.74% 183.57% 2.84x
apply_null_result_formatters[empty_response] 0.000522881068097212 0.00041245137920174323 21.12% 26.77% 1.27x
apply_null_result_formatters[null_result] 0.0005148452372737583 0.00041316245050227585 19.75% 24.61% 1.25x
hex_to_integer[large_hex] 0.0011571918236671528 0.0010177050269121763 12.05% 13.71% 1.14x
hex_to_integer[negative_hex] 0.0007149471969809237 0.0006652756310577883 6.95% 7.47% 1.07x
hex_to_integer[no_prefix] 0.0007361106289012822 0.0006618861692530931 10.08% 11.21% 1.11x
hex_to_integer[odd_length_hex] 0.0007082200661857347 0.0006591248589220187 6.93% 7.45% 1.07x
hex_to_integer[realistic_hex] 0.0013719790643806047 0.0012728915051380626 7.22% 7.78% 1.08x
hex_to_integer[uppercase_hex] 0.0007258233184458904 0.0006707667306690033 7.59% 8.21% 1.08x
hex_to_integer[zero_hex] 0.0006687373464596024 0.0005643097902882963 15.62% 18.51% 1.19x
is_array_of_dicts[block_logs] 0.007111033985799771 0.006085260822090868 14.43% 16.86% 1.17x
is_array_of_dicts[empty_list] 0.003967242007995082 0.0036055820931936828 9.12% 10.03% 1.10x
is_array_of_dicts[log_entries] 0.007017381858157617 0.0060943249938444875 13.15% 15.15% 1.15x
is_array_of_dicts[mixed_array] 0.007038881908434812 0.006103135725597007 13.29% 15.33% 1.15x
is_array_of_strings[empty_list] 0.003977863630072119 0.003619813356356396 9.00% 9.89% 1.10x
is_array_of_strings[log_topics] 0.005334399763425061 0.0051418177384337654 3.61% 3.75% 1.04x
is_array_of_strings[mixed_array] 0.0051663211204211155 0.004854845091356397 6.03% 6.42% 1.06x
is_array_of_strings[real_topics] 0.005322921553765662 0.005001693292307699 6.03% 6.42% 1.06x
map_collection[dict_nonstring_keys] 0.006121372115861815 0.004922962870006131 19.58% 24.34% 1.24x
map_collection[empty_list] 0.006909184534718647 0.006894716215293152 0.21% 0.21% 1.00x
map_collection[nested_list] 0.0071295137571447805 0.007163043160596854 -0.47% -0.47% 1.00x
map_collection[real_topics] 0.00731667759558932 0.007422141526308053 -1.44% -1.42% 0.99x
map_collection[set_input] 0.007498964015271563 0.007396585014922195 1.37% 1.38% 1.01x
map_collection[string_input] 0.002364481405342065 0.0022542899815240756 4.66% 4.89% 1.05x
map_collection[transaction_dict] 0.009003497481812287 0.007624603115373947 15.32% 18.08% 1.18x
map_collection[tuple_input] 0.0070706047925812995 0.006944651382972623 1.78% 1.81% 1.02x
recursive_map[empty_nested] 0.012534572200002004 0.011684581906984234 6.78% 7.27% 1.07x
recursive_map[nested_blocks] 0.921050378999962 0.8132585287999973 11.70% 13.25% 1.13x
recursive_map[nested_topics] 0.0849711750833156 0.07657195964285231 9.88% 10.97% 1.11x
remove_key_if[dict_with_removal] 0.003769561274812979 0.003651941868126444 3.12% 3.22% 1.03x
remove_key_if[dict_without_removal] 0.0014916599954596787 0.0014951437392577375 -0.23% -0.23% 1.00x
remove_key_if[empty_dict] 0.0011185660989675428 0.0009432427772446395 15.67% 18.59% 1.19x
remove_key_if[no_remove_key] 0.001128548286873901 0.0009497955859528084 15.84% 18.82% 1.19x
static_result 0.0008443228283301576 0.0005501500393018954 34.84% 53.47% 1.53x
static_return 0.0005678799078215594 0.0005466574375740748 3.74% 3.88% 1.04x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006670213428192984 0.0006735756689141685 -0.98% -0.97% 0.99x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.0000795659831777031 0.000022984068818111974 71.11% 246.18% 3.46x
percentile[100-90th] 0.00011256248710376715 0.00005370191254360894 52.29% 109.61% 2.10x
percentile[100k-99th] 0.03803286870371031 0.03786902629631354 0.43% 0.43% 1.00x
percentile[100k-median] 0.03777847851850109 0.03769113081482458 0.23% 0.23% 1.00x
percentile[10k-10th] 0.0039640399881327075 0.00381721709886785 3.70% 3.85% 1.04x
percentile[10k-99th] 0.003938335093361795 0.003794611587773728 3.65% 3.79% 1.04x
percentile[10k-median] 0.003947638925498776 0.003790161816787007 3.99% 4.15% 1.04x
percentile[1k-99th] 0.00045165976000300197 0.0003861785829230998 14.50% 16.96% 1.17x
percentile[1M-median] 0.602191378400039 0.6083705604000897 -1.03% -1.02% 0.99x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000013381898295739293 0.000006815928209444219 49.07% 96.33% 1.96x
to_bytes_if_hex[empty-str] 0.0003110522221202074 0.00003804520382204426 87.77% 717.59% 8.18x
to_bytes_if_hex[hexstr] 0.00033915741060018057 0.00004713031941272872 86.10% 619.62% 7.20x
to_bytes_if_hex[large-hex] 0.00034693368517124836 0.00005374291754900279 84.51% 545.54% 6.46x
to_bytes_if_hex[non-prefixed-hex] 0.0003205352694941845 0.00004366215332344797 86.38% 634.13% 7.34x
to_bytes_if_hex[nothex] 0.0004168575235771026 0.0002619749351962324 37.15% 59.12% 1.59x
to_bytes_if_hex[unicode] 0.0004290956061644843 0.00027451275706255347 36.03% 56.31% 1.56x
to_bytes_if_hex[zero] 0.00033545048286118755 0.00004757558447057138 85.82% 605.09% 7.05x
to_hex_if_bytes[bytes] 0.00023015714734091097 0.00005167016729248669 77.55% 345.44% 4.45x
to_hex_if_bytes[empty-bytes] 0.0002166822591637042 0.00003842643548338036 82.27% 463.89% 5.64x
to_hex_if_bytes[empty-str] 0.00011046409748350336 0.00019500198861771158 -76.53% -43.35% 0.57x
to_hex_if_bytes[hexstr] 0.00028066790492157475 0.000023252551377435656 91.72% 1107.04% 12.07x
to_hex_if_bytes[large-bytes] 0.00024065212002374433 0.000053486140928850745 77.77% 349.93% 4.50x
to_hex_if_bytes[non-prefixed-hex] 0.00011649841831875746 0.00019567617331180484 -67.96% -40.46% 0.60x
to_hex_if_bytes[not-hex] 0.00011185822907955091 0.00019667445167043552 -75.82% -43.13% 0.57x
to_hex_if_bytes[unicode] 0.00011689905680481391 0.00020175238979388267 -72.59% -42.06% 0.58x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0003017662340059031 0.0000884322888745608 70.70% 241.24% 3.41x
all_in_dict[empty-dict] 0.0002612593949682189 0.00006444973666904016 75.33% 305.37% 4.05x
all_in_dict[empty-list] 0.00025727931264423056 0.00007801568595293397 69.68% 229.78% 3.30x
all_in_dict[mixed-types] 0.00030760826419880147 0.00008995383798429503 70.76% 241.96% 3.42x
all_in_dict[no-overlap] 0.0002841265361464526 0.00007891075445519506 72.23% 260.06% 3.60x
all_in_dict[none-in] 0.00028199693590175384 0.00007820242328491715 72.27% 260.60% 3.61x
all_in_dict[one-in] 0.00028130768672265005 0.00008229759542339729 70.74% 241.82% 3.42x
all_in_dict[partial-overlap] 0.00031491938828838456 0.00008988373512905943 71.46% 250.36% 3.50x
all_in_dict[value-none] 0.00028528999150166114 0.00008302883645831218 70.90% 243.60% 3.44x
any_in_dict[all-in] 0.00028239906990564076 0.00008405689303409807 70.23% 235.96% 3.36x
any_in_dict[empty-dict] 0.00029697753575979257 0.00008069441128531587 72.83% 268.03% 3.68x
any_in_dict[empty-list] 0.00026312070577792226 0.0000787576975081709 70.07% 234.09% 3.34x
any_in_dict[mixed-types] 0.0002827110197020548 0.00007645694942316062 72.96% 269.76% 3.70x
any_in_dict[no-overlap] 0.00031417359775685985 0.00009697656546361675 69.13% 223.97% 3.24x
any_in_dict[none-in] 0.0002886593265580813 0.0000861510912622563 70.15% 235.06% 3.35x
any_in_dict[one-in] 0.00027849156273962016 0.00008353030145374552 70.01% 233.40% 3.33x
any_in_dict[partial-overlap] 0.00028000786287785747 0.00008167002316409137 70.83% 242.85% 3.43x
any_in_dict[value-none] 0.00027904535482845623 0.00007861801331772763 71.83% 254.94% 3.55x
either_set_is_a_subset[both-empty] 0.00015577844478913662 0.00014703364922036993 5.61% 5.95% 1.06x
either_set_is_a_subset[empty-set1] 0.00015112198527103 0.00014855123891761038 1.70% 1.73% 1.02x
either_set_is_a_subset[empty-set2] 0.00023101164460017883 0.00024301090677423276 -5.19% -4.94% 0.95x
either_set_is_a_subset[identical] 0.00016320668732174137 0.00015316702402203293 6.15% 6.55% 1.07x
either_set_is_a_subset[mixed-types] 0.00016598419159354993 0.00015984256046329634 3.70% 3.84% 1.04x
either_set_is_a_subset[not-subset] 0.00024179072363277726 0.00024965998114892014 -3.25% -3.15% 0.97x
either_set_is_a_subset[partial-overlap] 0.0002629066167349643 0.0002691347505445479 -2.37% -2.31% 0.98x
either_set_is_a_subset[subset] 0.0001662992266937837 0.0001604410155356216 3.52% 3.65% 1.04x
either_set_is_a_subset[superset] 0.0002578768326936961 0.00027599314695480915 -7.03% -6.56% 0.93x
none_in_dict[all-in] 0.00029563459764106573 0.00007957279255809328 73.08% 271.53% 3.72x
none_in_dict[empty-dict] 0.0003073765484190301 0.00008342814014778045 72.86% 268.43% 3.68x
none_in_dict[empty-list] 0.0002691453881324711 0.00007862173657988116 70.79% 242.33% 3.42x
none_in_dict[mixed-types] 0.0002955702209365069 0.00007561908980444037 74.42% 290.87% 3.91x
none_in_dict[no-overlap] 0.0003307907199962603 0.00009509656918991539 71.25% 247.85% 3.48x
none_in_dict[none-in] 0.0002964713009462341 0.00008471860832170246 71.42% 249.95% 3.50x
none_in_dict[one-in] 0.0002897770325062043 0.00007771974707698711 73.18% 272.85% 3.73x
none_in_dict[partial-overlap] 0.0002933466704663198 0.0000785966464897067 73.21% 273.23% 3.73x
none_in_dict[value-none] 0.00029219400116915387 0.00007820098100435521 73.24% 273.64% 3.74x

web3/_utils/validation - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
assert_one_val 0.0010999547128464438 0.0009118037155948256 17.11% 20.64% 1.21x
has_one_val 0.0009770046143198553 0.0007842445636486459 19.73% 24.58% 1.25x
is_not_address_string[0x123] 0.0008362157340758353 0.0007120325376820182 14.85% 17.44% 1.17x
is_not_address_string[0x1234567890123456789012345678901234567890] 0.025580037236857988 0.009225659028020899 63.93% 177.27% 2.77x
is_not_address_string[alice.eth] 0.0008391611931820812 0.0007237823387491329 13.75% 15.94% 1.16x
is_not_address_string[bytes] 0.00016876695210641326 0.00019525453865766365 -15.69% -13.57% 0.86x
is_not_address_string[notanaddress] 0.0008360121698258589 0.0007197317440351358 13.91% 16.16% 1.16x
prepare_selector_collision_msg 0.01420337434784955 0.012905795893335986 9.14% 10.05% 1.10x
raise_bad_response_format 0.0018387482966213 0.0023733816359098616 -29.08% -22.53% 0.77x
raise_error_for_batch_response 0.009925899465138914 0.0034951072973830356 64.79% 183.99% 2.84x
validate_abi_type[address] 0.0008379805616652902 0.0009447981043644456 -12.75% -11.31% 0.89x
validate_abi_type[bool] 0.0008364156857389869 0.0009356831318211553 -11.87% -10.61% 0.89x
validate_abi_type[bytes] 0.0015461222790029503 0.0016579379966236546 -7.23% -6.74% 0.93x
validate_abi_type[string] 0.0010824133969326237 0.0011934409186616696 -10.26% -9.30% 0.91x
validate_abi_type[uint256] 0.0013254332724784025 0.001412450317854045 -6.57% -6.16% 0.94x
validate_abi_value[address-0x1234567890123456789012345678901234567890] 0.05671554466663212 0.02132687865958631 62.40% 165.93% 2.66x
validate_abi_value[bool-True] 0.0008530640193797575 0.0009405231277414229 -10.25% -9.30% 0.91x
validate_abi_value[bytes-bytes] 0.0023092749445719923 0.002467354546339576 -6.85% -6.41% 0.94x
validate_abi_value[string-hello] 0.0024540410270146957 0.002709689125336754 -10.42% -9.43% 0.91x
validate_abi_value[uint256-123] 0.001448741113580069 0.0014506973994249431 -0.14% -0.13% 1.00x
validate_abi[abi0] 0.13289104649993533 0.0904691760000181 31.92% 46.89% 1.47x
validate_abi[abi1] 0.37918315300003086 0.26422482380012297 30.32% 43.51% 1.44x
validate_abi[abi2] 0.5899512408000191 0.41821248460000787 29.11% 41.06% 1.41x
validate_address[0x1234567890123456789012345678901234567890] 0.05218950473686403 0.019093191057663716 63.42% 173.34% 2.73x
validate_address[alice.eth] 1.1584597674000179 1.153123546200095 0.46% 0.46% 1.00x
validate_rpc_response_and_raise_if_error 0.0012547565758448387 0.0003705859538502223 70.47% 238.59% 3.39x
validate_subscription_fields 0.00013835958069431905 0.00009308812700377272 32.72% 48.63% 1.49x

web3/beacon/async_beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.3230153820001241 0.15233336399998215 52.84% 112.05% 2.12x
get_attestations_rewards[validator_indices0-0] 0.14931549900016503 0.14904162085726316 0.18% 0.18% 1.00x
get_attestations_rewards[validator_indices0-123] 0.5408319010000924 0.45076855428565715 16.65% 19.98% 1.20x
get_attestations_rewards[validator_indices0-99999] 0.14870712357144708 0.14881495642859072 -0.07% -0.07% 1.00x
get_attestations_rewards[validator_indices1-0] 0.1453790850000587 0.45646402157152416 -213.98% -68.15% 0.32x
get_attestations_rewards[validator_indices1-123] 0.14847172885713786 0.14764024437511125 0.56% 0.56% 1.01x
get_attestations_rewards[validator_indices1-99999] 0.14707406939987777 0.14713630812497058 -0.04% -0.04% 1.00x
get_attestations_rewards[validator_indices2-0] 0.14585845425006028 0.4188544085000103 -187.16% -65.18% 0.35x
get_attestations_rewards[validator_indices2-123] 0.1459224101428325 0.15224597062513112 -4.33% -4.15% 0.96x
get_attestations_rewards[validator_indices2-99999] 0.44703426371435334 0.5005714374998812 -11.98% -10.70% 0.89x
get_attester_duties[validator_indices0-0] 0.42951732200011367 0.14681529714282857 65.82% 192.56% 2.93x
get_attester_duties[validator_indices0-123] 0.14621418700003883 0.3829488462500308 -161.91% -61.82% 0.38x
get_attester_duties[validator_indices0-99999] 0.14984501537503547 0.1500046359999812 -0.11% -0.11% 1.00x
get_attester_duties[validator_indices1-0] 0.3964554432856338 0.4069380285714682 -2.64% -2.58% 0.97x
get_attester_duties[validator_indices1-123] 0.14566553657141412 0.15151959414288285 -4.02% -3.86% 0.96x
get_attester_duties[validator_indices1-99999] 0.3975899558571265 0.4191593930001675 -5.43% -5.15% 0.95x
get_attester_duties[validator_indices2-0] 0.1514793082500887 0.14500971575000676 4.27% 4.46% 1.04x
get_attester_duties[validator_indices2-123] 0.14255052540011093 0.1525031054286176 -6.98% -6.53% 0.93x
get_attester_duties[validator_indices2-99999] 0.1475797581428456 0.41340739585718567 -180.12% -64.30% 0.36x
get_attester_slashings 0.300335076125009 0.1526716371427678 49.17% 96.72% 1.97x
get_beacon_heads 0.14851956312509174 0.14830041899995194 0.15% 0.15% 1.00x
get_beacon_state[12345] 0.1506936544285184 0.3537231279999235 -134.73% -57.40% 0.43x
get_beacon_state[finalized] 0.14307797012497758 0.1547773108572333 -8.18% -7.56% 0.92x
get_beacon_state[head] 0.1502524777142753 0.3501297604285745 -133.03% -57.09% 0.43x
get_beacon_state[justified] 0.34549272285715105 0.14510057042863472 58.00% 138.11% 2.38x
get_blinded_blocks[0xabc123] 0.30813328299992854 0.1486167178571642 51.77% 107.33% 2.07x
get_blinded_blocks[12345] 0.15021924214280652 0.15120405828565708 -0.66% -0.65% 0.99x
get_blinded_blocks[genesis] 0.14930824171434715 0.31794494683329805 -112.95% -53.04% 0.47x
get_blinded_blocks[head] 0.29595069971420734 0.15464601571420644 47.75% 91.37% 1.91x
get_blob_sidecars[indices1-0xabc123] 0.15203754557134225 0.15407305119997544 -1.34% -1.32% 0.99x
get_blob_sidecars[indices1-12345] 0.3755192351428767 0.15544976442847006 58.60% 141.57% 2.42x
get_blob_sidecars[indices1-genesis] 0.14948064375005288 0.40300084957139654 -169.60% -62.91% 0.37x
get_blob_sidecars[indices1-head] 0.14643547142856864 0.15236222828564547 -4.05% -3.89% 0.96x
get_blob_sidecars[indices2-0xabc123] 0.14638634099998984 0.15011444342852492 -2.55% -2.48% 0.98x
get_blob_sidecars[indices2-12345] 0.15154911199999788 0.410254173285661 -170.71% -63.06% 0.37x
get_blob_sidecars[indices2-genesis] 0.34969748537503165 0.15396138557142486 55.97% 127.13% 2.27x
get_blob_sidecars[indices2-head] 0.14754182128568313 0.155591254142824 -5.46% -5.17% 0.95x
get_blob_sidecars[None-0xabc123] 0.36994347314287424 0.15141013442865056 59.07% 144.33% 2.44x
get_blob_sidecars[None-12345] 0.14569162837506155 0.41346714283342106 -183.80% -64.76% 0.35x
get_blob_sidecars[None-genesis] 0.37626739557150096 0.15078510471422696 59.93% 149.54% 2.50x
get_blob_sidecars[None-head] 0.14569638271430968 0.3967921205714577 -172.34% -63.28% 0.37x
get_block_attestations[0xabc123] 0.14505571900008363 0.14987077757151773 -3.32% -3.21% 0.97x
get_block_attestations[12345] 0.1477218229999835 0.29331133285716404 -98.56% -49.64% 0.50x
get_block_attestations[genesis] 0.2957542988571212 0.14907056814282832 49.60% 98.40% 1.98x
get_block_attestations[head] 0.14433928685697797 0.15871246228575078 -9.96% -9.06% 0.91x
get_block_header[0xabc123] 0.1449077158572436 0.15176163799995784 -4.73% -4.52% 0.95x
get_block_header[12345] 0.1480338579999625 0.15202988399996684 -2.70% -2.63% 0.97x
get_block_header[genesis] 0.26686018471426515 0.14783985385715173 44.60% 80.51% 1.81x
get_block_header[head] 0.14596521712508093 0.2782816117143219 -90.65% -47.55% 0.52x
get_block_headers 0.2405917105000981 0.26892977614300306 -11.78% -10.54% 0.89x
get_block_proposer_duties[0] 0.14740773385704284 0.14253718285713798 3.30% 3.42% 1.03x
get_block_proposer_duties[123] 0.413360092000013 0.4202678235713912 -1.67% -1.64% 0.98x
get_block_proposer_duties[99999] 0.15311450100008578 0.15415541271425223 -0.68% -0.68% 0.99x
get_block_root[0xabc123] 0.1447412738748426 0.15295208571426752 -5.67% -5.37% 0.95x
get_block_root[12345] 0.1439117959999976 0.14679849920003107 -2.01% -1.97% 0.98x
get_block_root[genesis] 0.2864891518571052 0.15264243314277337 46.72% 87.69% 1.88x
get_block_root[head] 0.14500387537498227 0.29999173014292474 -106.89% -51.66% 0.48x
get_block[0xabc123] 0.14956816014279997 0.15725024542851834 -5.14% -4.89% 0.95x
get_block[12345] 0.1471095103748894 0.2834851659999913 -92.70% -48.11% 0.52x
get_block[genesis] 0.2778349222857547 0.15103319914286267 45.64% 83.96% 1.84x
get_block[head] 0.1466259237142497 0.28902405242856083 -97.12% -49.27% 0.51x
get_bls_to_execution_changes 0.3491194097143437 0.15221547642853953 56.40% 129.36% 2.29x
get_deposit_contract 0.14325127550000616 0.1509748126001796 -5.39% -5.12% 0.95x
get_epoch_committees[12345] 0.14929923457131217 0.14762363124992817 1.12% 1.14% 1.01x
get_epoch_committees[finalized] 0.15017854828576155 0.24141573142852785 -60.75% -37.79% 0.62x
get_epoch_committees[head] 0.15635698662509867 0.15493955742853618 0.91% 0.91% 1.01x
get_epoch_committees[justified] 0.22422579424994638 0.15002586642854762 33.09% 49.46% 1.49x
get_epoch_randao[12345] 0.25458475071432723 0.15129174557140296 40.57% 68.27% 1.68x
get_epoch_randao[finalized] 0.151951348999944 0.1459546088571447 3.95% 4.11% 1.04x
get_epoch_randao[head] 0.2370026072499627 0.15272465171431446 35.56% 55.18% 1.55x
get_epoch_randao[justified] 0.15014079157150004 0.2684719531428397 -78.81% -44.08% 0.56x
get_epoch_sync_committees[12345] 0.23524792687504714 0.14327468112503539 39.10% 64.19% 1.64x
get_epoch_sync_committees[finalized] 0.14560619085724674 0.15121753880011965 -3.85% -3.71% 0.96x
get_epoch_sync_committees[head] 0.24537992028568364 0.15596349985708002 36.44% 57.33% 1.57x
get_epoch_sync_committees[justified] 0.1465271439999794 0.1499463492857233 -2.33% -2.28% 0.98x
get_finality_checkpoint[12345] 0.1468161405715104 0.15501161685720685 -5.58% -5.29% 0.95x
get_finality_checkpoint[finalized] 0.18646796814281125 0.1960262487143934 -5.13% -4.88% 0.95x
get_finality_checkpoint[head] 0.15269632342837472 0.14616170275002105 4.28% 4.47% 1.04x
get_finality_checkpoint[justified] 0.18289660187497248 0.19184322612488813 -4.89% -4.66% 0.95x
get_fork_data[12345] 0.1499448388572091 0.14792178342863085 1.35% 1.37% 1.01x
get_fork_data[finalized] 0.17509255637497745 0.14737690379988636 15.83% 18.81% 1.19x
get_fork_data[head] 0.15012248199991518 0.15077836249997745 -0.44% -0.43% 1.00x
get_fork_data[justified] 0.1754486454286572 0.187672305857112 -6.97% -6.51% 0.93x
get_fork_schedule 0.35299189300015615 0.15644562000001574 55.68% 125.63% 2.26x
get_genesis 0.16172593414298067 0.16972473285711334 -4.95% -4.71% 0.95x
get_hash_root[12345] 0.1711866915714901 0.15846667700010844 7.43% 8.03% 1.08x
get_hash_root[finalized] 0.16690871771431506 0.1779534722499534 -6.62% -6.21% 0.94x
get_hash_root[head] 0.1675677021428003 0.17506959214292042 -4.48% -4.29% 0.96x
get_hash_root[justified] 0.16154961299997694 0.14851575371436151 8.07% 8.78% 1.09x
get_health 0.30003883611107085 0.12807095012504988 57.32% 134.28% 2.34x
get_light_client_bootstrap_structure[0x0] 0.14919208785717533 0.14710545512502904 1.40% 1.42% 1.01x
get_light_client_bootstrap_structure[0xabc123] 0.15139609528569054 0.32780589042866787 -116.52% -53.82% 0.46x
get_light_client_finality_update 0.1454223561249819 0.3056479677499624 -110.18% -52.42% 0.48x
get_light_client_optimistic_update 0.1510608931429098 0.14720272399998585 2.55% 2.62% 1.03x
get_light_client_updates 0.14606694400008563 0.15466882642853566 -5.89% -5.56% 0.94x
get_node_identity 0.14598864224990393 0.14925264175008124 -2.24% -2.19% 0.98x
get_peer_count 0.3653501229999035 0.15189492742846206 58.42% 140.53% 2.41x
get_peer[0xdeadbeef] 0.15261169499997 0.14748705357136974 3.36% 3.47% 1.03x
get_peer[peer1] 0.14713767575005932 0.3640289651427468 -147.41% -59.58% 0.40x
get_peer[peer2] 0.362171346285712 0.1506668032858605 58.40% 140.38% 2.40x
get_peers 0.352194868571587 0.14717590728579516 58.21% 139.30% 2.39x
get_proposer_slashings 0.14898756000002322 0.3190033752499062 -114.11% -53.30% 0.47x
get_rewards[0xabc123] 0.14774832614284605 0.326300748857063 -120.85% -54.72% 0.45x
get_rewards[12345] 0.14736104980001982 0.15105789971422773 -2.51% -2.45% 0.98x
get_rewards[genesis] 0.14782049749993575 0.3195724712856775 -116.19% -53.74% 0.46x
get_rewards[head] 0.3071502894286563 0.15365029942852612 49.98% 99.90% 2.00x
get_spec 0.14694512142861121 0.3401579484285061 -131.49% -56.80% 0.43x
get_sync_committee_duties[validator_indices0-0] 0.4182426662857454 0.14984156785723307 64.17% 179.12% 2.79x
get_sync_committee_duties[validator_indices0-123] 0.1440378520000536 0.4295504935715014 -198.22% -66.47% 0.34x
get_sync_committee_duties[validator_indices0-99999] 0.14040941299998622 0.15421640071437132 -9.83% -8.95% 0.91x
get_sync_committee_duties[validator_indices1-0] 0.42300963257132806 0.4002999990000262 5.37% 5.67% 1.06x
get_sync_committee_duties[validator_indices1-123] 0.1481763454285101 0.1490570601428252 -0.59% -0.59% 0.99x
get_sync_committee_duties[validator_indices1-99999] 0.4243258168572278 0.15292030471430604 63.96% 177.48% 2.77x
get_sync_committee_duties[validator_indices2-0] 0.15251059962503177 0.437741731571545 -187.02% -65.16% 0.35x
get_sync_committee_duties[validator_indices2-123] 0.14332416528584094 0.1491259821249855 -4.05% -3.89% 0.96x
get_sync_committee_duties[validator_indices2-99999] 0.1432621061428238 0.4454144069999789 -210.91% -67.84% 0.32x
get_syncing 0.3759776271428044 0.15112639928578833 59.80% 148.78% 2.49x
get_validator_balances[12345] 0.14423243742852979 0.1520415598000909 -5.41% -5.14% 0.95x
get_validator_balances[finalized] 0.1424715562500296 0.2427877107142454 -70.41% -41.32% 0.59x
get_validator_balances[head] 0.15071478000001143 0.15053742585710747 0.12% 0.12% 1.00x
get_validator_balances[justified] 0.2288799297143019 0.14532163542850998 36.51% 57.50% 1.57x
get_validator[12345-0] 0.21442492842853816 0.2277771930000329 -6.23% -5.86% 0.94x
get_validator[12345-0xdeadbeef] 0.1442845358570334 0.14762100280004234 -2.31% -2.26% 0.98x
get_validator[12345-123456] 0.1463443131429553 0.14640756885702494 -0.04% -0.04% 1.00x
get_validator[finalized-0] 0.2013179782856501 0.22356379742853147 -11.05% -9.95% 0.90x
get_validator[finalized-0xdeadbeef] 0.15069063249990222 0.15486979842853543 -2.77% -2.70% 0.97x
get_validator[finalized-123456] 0.20874312271436274 0.14859355657134593 28.82% 40.48% 1.40x
get_validator[head-0] 0.20233841785713075 0.22021842085710627 -8.84% -8.12% 0.92x
get_validator[head-0xdeadbeef] 0.14527796062498055 0.14782322928567737 -1.75% -1.72% 0.98x
get_validator[head-123456] 0.14856538014282705 0.14862895242848545 -0.04% -0.04% 1.00x
get_validator[justified-0] 0.14375647520000712 0.2099033851249601 -46.01% -31.51% 0.68x
get_validator[justified-0xdeadbeef] 0.149922012999988 0.15062216328565878 -0.47% -0.46% 1.00x
get_validator[justified-123456] 0.14693132785701632 0.14693973628566578 -0.01% -0.01% 1.00x
get_validators[12345] 0.15243335699999858 0.15115601787510968 0.84% 0.85% 1.01x
get_validators[finalized] 0.20002244399997185 0.21025432957133358 -5.12% -4.87% 0.95x
get_validators[head] 0.1457345932856567 0.1965727665714699 -34.88% -25.86% 0.74x
get_validators[justified] 0.18676773049992335 0.14768181262502367 20.93% 26.47% 1.26x
get_version 0.3714658037144026 0.15163548585711137 59.18% 144.97% 2.45x
get_voluntary_exits 0.14836876199990456 0.14978468028571765 -0.95% -0.95% 0.99x

web3/beacon/beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.000016586959539017737 0.000012585356933018454 24.12% 31.80% 1.32x
get_attestations_rewards[validator_indices0-0] 0.000017125905209982946 0.00025820314448201824 -1407.68% -93.37% 0.07x
get_attestations_rewards[validator_indices0-123] 0.000016948442750671515 0.000013081780719513805 22.81% 29.56% 1.30x
get_attestations_rewards[validator_indices0-99999] 0.000016906053221449963 0.000013043351677858071 22.85% 29.61% 1.30x
get_attestations_rewards[validator_indices1-0] 0.00025385083152405465 0.000013035575889904113 94.86% 1847.37% 19.47x
get_attestations_rewards[validator_indices1-123] 0.000017369963029262637 0.000012691534555848855 26.93% 36.86% 1.37x
get_attestations_rewards[validator_indices1-99999] 0.000017278608719815994 0.00021827442307632098 -1163.26% -92.08% 0.08x
get_attestations_rewards[validator_indices2-0] 0.00001708214713534989 0.000012996710958291792 23.92% 31.43% 1.31x
get_attestations_rewards[validator_indices2-123] 0.000016831824515515035 0.000012898074159119108 23.37% 30.50% 1.30x
get_attestations_rewards[validator_indices2-99999] 0.00001716928236235702 0.00001268778555528929 26.10% 35.32% 1.35x
get_attester_duties[validator_indices0-0] 0.00001690380949759456 0.000013370867059741207 20.90% 26.42% 1.26x
get_attester_duties[validator_indices0-123] 0.00001686120087878117 0.000013173447915033738 21.87% 27.99% 1.28x
get_attester_duties[validator_indices0-99999] 0.00024582932342388623 0.000013051554507690156 94.69% 1783.53% 18.84x
get_attester_duties[validator_indices1-0] 0.00001748752137526203 0.000012784676995531837 26.89% 36.79% 1.37x
get_attester_duties[validator_indices1-123] 0.000017136827195702787 0.00021953128110371663 -1181.05% -92.19% 0.08x
get_attester_duties[validator_indices1-99999] 0.00001684848734851502 0.000013129759845880839 22.07% 28.32% 1.28x
get_attester_duties[validator_indices2-0] 0.000016921346027268267 0.000012685721599066319 25.03% 33.39% 1.33x
get_attester_duties[validator_indices2-123] 0.000017513368823141915 0.000012693081902387276 27.52% 37.98% 1.38x
get_attester_duties[validator_indices2-99999] 0.0002492974019451343 0.000012671306016002245 94.92% 1867.42% 19.67x
get_attester_slashings 0.000016721034842576352 0.000012545178773784241 24.97% 33.29% 1.33x
get_beacon_heads 0.000017016510336059166 0.000012729735626350514 25.19% 33.68% 1.34x
get_beacon_state[12345] 0.000016951954223259627 0.00023238041419905694 -1270.82% -92.71% 0.07x
get_beacon_state[finalized] 0.0002521888041707798 0.000012817174534832871 94.92% 1867.59% 19.68x
get_beacon_state[head] 0.00001662057189738086 0.000012732796813851657 23.39% 30.53% 1.31x
get_beacon_state[justified] 0.000017429525155304356 0.000012699156715822985 27.14% 37.25% 1.37x
get_blinded_blocks[0xabc123] 0.0002501641512685773 0.000012702389121473624 94.92% 1869.43% 19.69x
get_blinded_blocks[12345] 0.000016929024564131318 0.00001299213899022655 23.26% 30.30% 1.30x
get_blinded_blocks[genesis] 0.00001681430357444229 0.00001310582478667579 22.06% 28.30% 1.28x
get_blinded_blocks[head] 0.00001668846693309693 0.000013263582026319011 20.52% 25.82% 1.26x
get_blob_sidecars[indices1-0xabc123] 0.0002521761839229424 0.000013612442890979588 94.60% 1752.54% 18.53x
get_blob_sidecars[indices1-12345] 0.00001770098966697291 0.000013962392708938398 21.12% 26.78% 1.27x
get_blob_sidecars[indices1-genesis] 0.000018064255200055405 0.00027605119396825994 -1428.16% -93.46% 0.07x
get_blob_sidecars[indices1-head] 0.00001847169183651202 0.000013590151225679305 26.43% 35.92% 1.36x
get_blob_sidecars[indices2-0xabc123] 0.000017981060310793746 0.000014789298558142393 17.75% 21.58% 1.22x
get_blob_sidecars[indices2-12345] 0.00001821175612605636 0.000014589780207000958 19.89% 24.83% 1.25x
get_blob_sidecars[indices2-genesis] 0.000018080176646394608 0.00023193144735443662 -1182.79% -92.20% 0.08x
get_blob_sidecars[indices2-head] 0.000018492204456931076 0.000014096754413348183 23.77% 31.18% 1.31x
get_blob_sidecars[None-0xabc123] 0.000017560217029401098 0.00001299734149666528 25.98% 35.11% 1.35x
get_blob_sidecars[None-12345] 0.00024295747329572737 0.00001298210513251491 94.66% 1771.48% 18.71x
get_blob_sidecars[None-genesis] 0.000016756582037654757 0.000013101107847759091 21.82% 27.90% 1.28x
get_blob_sidecars[None-head] 0.000016773257978673116 0.00025644072743903547 -1428.87% -93.46% 0.07x
get_block_attestations[0xabc123] 0.000016961005602699368 0.000012831347686573417 24.35% 32.18% 1.32x
get_block_attestations[12345] 0.00001739432153725111 0.000217098061159169 -1148.10% -91.99% 0.08x
get_block_attestations[genesis] 0.000017430900642631106 0.000012700758472827144 27.14% 37.24% 1.37x
get_block_attestations[head] 0.000017341284612437603 0.000012775160696092965 26.33% 35.74% 1.36x
get_block_header[0xabc123] 0.000017273087969705233 0.00022317264160911772 -1192.03% -92.26% 0.08x
get_block_header[12345] 0.0002404150023103891 0.000012680821665393597 94.73% 1795.89% 18.96x
get_block_header[genesis] 0.00001687665193957946 0.000012892550520062743 23.61% 30.90% 1.31x
get_block_header[head] 0.000016831246513797716 0.000012995242795125061 22.79% 29.52% 1.30x
get_block_headers 0.000016656869555176366 0.000012319605213772427 26.04% 35.21% 1.35x
get_block_proposer_duties[0] 0.0002758167722854618 0.00001329850851015671 95.18% 1974.04% 20.74x
get_block_proposer_duties[123] 0.000017220548282297393 0.000013421801253819776 22.06% 28.30% 1.28x
get_block_proposer_duties[99999] 0.000017150404150662752 0.000014668736022113815 14.47% 16.92% 1.17x
get_block_root[0xabc123] 0.000017039148253459036 0.00022186010126513112 -1202.06% -92.32% 0.08x
get_block_root[12345] 0.00023938720330638798 0.000012666642771541884 94.71% 1789.90% 18.90x
get_block_root[genesis] 0.000016831185498127755 0.000012804065166677855 23.93% 31.45% 1.31x
get_block_root[head] 0.000016794979250003912 0.000012908229338302236 23.14% 30.11% 1.30x
get_block[0xabc123] 0.00001690703137793122 0.000012873850338884137 23.86% 31.33% 1.31x
get_block[12345] 0.000016757957624104487 0.00001316823547870376 21.42% 27.26% 1.27x
get_block[genesis] 0.00001721879830438048 0.00021899490220948122 -1171.84% -92.14% 0.08x
get_block[head] 0.000016949382230574784 0.000012694389380312284 25.10% 33.52% 1.34x
get_bls_to_execution_changes 0.00001622366572374912 0.000012286069234249368 24.27% 32.05% 1.32x
get_deposit_contract 0.000016469148293706583 0.00001276060002394876 22.52% 29.06% 1.29x
get_epoch_committees[12345] 0.000017076371278624548 0.000013124881718154452 23.14% 30.11% 1.30x
get_epoch_committees[finalized] 0.00024095905887516698 0.000012656374206106842 94.75% 1803.86% 19.04x
get_epoch_committees[head] 0.00001658545877808437 0.000012636907063986892 23.81% 31.25% 1.31x
get_epoch_committees[justified] 0.000017198056250874303 0.00021309991712231298 -1139.09% -91.93% 0.08x
get_epoch_randao[12345] 0.000017619254902614033 0.0002218903693746407 -1159.36% -92.06% 0.08x
get_epoch_randao[finalized] 0.00024017077044971057 0.00001292729089736806 94.62% 1757.86% 18.58x
get_epoch_randao[head] 0.00001671436996823386 0.000012944472250531783 22.55% 29.12% 1.29x
get_epoch_randao[justified] 0.000017661469159202108 0.000014895536628671 15.66% 18.57% 1.19x
get_epoch_sync_committees[12345] 0.00001719249224509557 0.000013057088651991642 24.05% 31.67% 1.32x
get_epoch_sync_committees[finalized] 0.000017163338447487458 0.000013030097187401617 24.08% 31.72% 1.32x
get_epoch_sync_committees[head] 0.00001730825138573055 0.0002532833958059296 -1363.37% -93.17% 0.07x
get_epoch_sync_committees[justified] 0.00001676987044295836 0.000012898824789259061 23.08% 30.01% 1.30x
get_finality_checkpoint[12345] 0.00024202963921314937 0.000012792933157843969 94.71% 1791.90% 18.92x
get_finality_checkpoint[finalized] 0.000016655699346432533 0.00001265773547083784 24.00% 31.59% 1.32x
get_finality_checkpoint[head] 0.000017043985140196757 0.000013647992222047632 19.92% 24.88% 1.25x
get_finality_checkpoint[justified] 0.000016605304640474266 0.0000127371536867765 23.29% 30.37% 1.30x
get_fork_data[12345] 0.00001681447314162856 0.000013067994647044995 22.28% 28.67% 1.29x
get_fork_data[finalized] 0.000017050416994888456 0.00024038933510507068 -1309.87% -92.91% 0.07x
get_fork_data[head] 0.00029905130967549536 0.00001340013779733107 95.52% 2131.70% 22.32x
get_fork_data[justified] 0.00001660817871932387 0.00001308046078696864 21.24% 26.97% 1.27x
get_fork_schedule 0.00001617458757680044 0.0002637919033849802 -1530.90% -93.87% 0.06x
get_genesis 0.000016828251548475394 0.000013028127185542102 22.58% 29.17% 1.29x
get_hash_root[12345] 0.00001684605933583608 0.000013411767926149166 20.39% 25.61% 1.26x
get_hash_root[finalized] 0.00029490500518090023 0.000013639924776585028 95.37% 2062.07% 21.62x
get_hash_root[head] 0.000017436385577591943 0.000012971661494168178 25.61% 34.42% 1.34x
get_hash_root[justified] 0.00001714841633000543 0.0000133993198106899 21.86% 27.98% 1.28x
get_health 0.00001557715295951517 0.00001108280965393865 28.85% 40.55% 1.41x
get_light_client_bootstrap_structure[0x0] 0.000017047469222487055 0.00021955269485416629 -1187.89% -92.24% 0.08x
get_light_client_bootstrap_structure[0xabc123] 0.00001697829146299035 0.000012590280380919694 25.84% 34.85% 1.35x
get_light_client_finality_update 0.000016198799030569367 0.000012111261075160363 25.23% 33.75% 1.34x
get_light_client_optimistic_update 0.00001606592119630165 0.00024736031957398215 -1439.66% -93.51% 0.06x
get_light_client_updates 0.00001677136588781779 0.00001264825686249425 24.58% 32.60% 1.33x
get_node_identity 0.000016542173419199223 0.000012375972753674023 25.19% 33.66% 1.34x
get_peer_count 0.00001666397511160898 0.000012703130905242001 23.77% 31.18% 1.31x
get_peer[0xdeadbeef] 0.000016714176052855657 0.00022889485534413904 -1269.47% -92.70% 0.07x
get_peer[peer1] 0.00001715677466503894 0.000012765577835133656 25.59% 34.40% 1.34x
get_peer[peer2] 0.00001718053233419081 0.000012676367576804962 26.22% 35.53% 1.36x
get_peers 0.000016146409386605275 0.00022515900971285176 -1294.48% -92.83% 0.07x
get_proposer_slashings 0.00001617836104655833 0.0002489424965611944 -1438.74% -93.50% 0.06x
get_rewards[0xabc123] 0.000016543620055580344 0.000013015164907575933 21.33% 27.11% 1.27x
get_rewards[12345] 0.000017237252380309733 0.00022398866373203371 -1199.45% -92.30% 0.08x
get_rewards[genesis] 0.00001723716855096044 0.00001268896626380285 26.39% 35.84% 1.36x
get_rewards[head] 0.00031543172581801016 0.000012720134469849798 95.97% 2379.78% 24.80x
get_spec 0.000016863333334483982 0.000012942165957734618 23.25% 30.30% 1.30x
get_sync_committee_duties[validator_indices0-0] 0.00025803683956141134 0.000012897563320030249 95.00% 1900.66% 20.01x
get_sync_committee_duties[validator_indices0-123] 0.000017079424219745226 0.000012646418582778189 25.96% 35.05% 1.35x
get_sync_committee_duties[validator_indices0-99999] 0.000017074926935433232 0.00022404739483620622 -1212.14% -92.38% 0.08x
get_sync_committee_duties[validator_indices1-0] 0.0000167566501156779 0.00001292491846314016 22.87% 29.65% 1.30x
get_sync_committee_duties[validator_indices1-123] 0.00001699650811229917 0.000012652122153405458 25.56% 34.34% 1.34x
get_sync_committee_duties[validator_indices1-99999] 0.00024043654981370882 0.000012714823343427852 94.71% 1790.99% 18.91x
get_sync_committee_duties[validator_indices2-0] 0.000017576199357015466 0.000012775684787978296 27.31% 37.58% 1.38x
get_sync_committee_duties[validator_indices2-123] 0.000017013975901496554 0.00022190483489252836 -1204.25% -92.33% 0.08x
get_sync_committee_duties[validator_indices2-99999] 0.000017203237656107827 0.00001334880721545955 22.41% 28.87% 1.29x
get_syncing 0.00001685617733825249 0.000012230714076131016 27.44% 37.82% 1.38x
get_validator_balances[12345] 0.00023979649233600412 0.000012779903331455579 94.67% 1776.36% 18.76x
get_validator_balances[finalized] 0.00001672669313759524 0.000013313523412919473 20.41% 25.64% 1.26x
get_validator_balances[head] 0.000016508102299059664 0.000013223241383579976 19.90% 24.84% 1.25x
get_validator_balances[justified] 0.000016916923123535537 0.000013006660668541932 23.11% 30.06% 1.30x
get_validator[12345-0] 0.0000170753815343998 0.00022028788525385644 -1190.09% -92.25% 0.08x
get_validator[12345-0xdeadbeef] 0.000017594438370170172 0.000012784723501466154 27.34% 37.62% 1.38x
get_validator[12345-123456] 0.0002821107984876802 0.000013280391109132678 95.29% 2024.27% 21.24x
get_validator[finalized-0] 0.000016711500672491103 0.0002386693354356436 -1328.17% -93.00% 0.07x
get_validator[finalized-0xdeadbeef] 0.000017110205024062398 0.000013120261412291192 23.32% 30.41% 1.30x
get_validator[finalized-123456] 0.0003047081532102925 0.000013342256970203072 95.62% 2183.78% 22.84x
get_validator[head-0] 0.000016692193373319177 0.000012989249217819511 22.18% 28.51% 1.29x
get_validator[head-0xdeadbeef] 0.000016634050358081 0.000012730473800287935 23.47% 30.66% 1.31x
get_validator[head-123456] 0.000016712728763265485 0.000013091286176712331 21.67% 27.66% 1.28x
get_validator[justified-0] 0.000017069199412499597 0.00001361473639410327 20.24% 25.37% 1.25x
get_validator[justified-0xdeadbeef] 0.000016981817600205524 0.000012861053231410812 24.27% 32.04% 1.32x
get_validator[justified-123456] 0.000017381087646924266 0.000013343173785380552 23.23% 30.26% 1.30x
get_validators[12345] 0.000017277998647501425 0.000013168064590156308 23.79% 31.21% 1.31x
get_validators[finalized] 0.000017589381182712074 0.000013121898164162487 25.40% 34.05% 1.34x
get_validators[head] 0.0002856736282393055 0.000012949531266374948 95.47% 2106.05% 22.06x
get_validators[justified] 0.000017341209193396372 0.0002399334855165623 -1283.60% -92.77% 0.07x
get_version 0.000253610424004858 0.00001264858613116036 95.01% 1905.05% 20.05x
get_voluntary_exits 0.000016727113057570478 0.000012578137759161082 24.80% 32.99% 1.33x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
attributedict_eq 0.0038009896856097134 0.006300944756273578 -65.77% -39.68% 0.60x
attributedict_hash[flat] 0.0032258287803420913 0.0031016599868197835 3.85% 4.00% 1.04x
attributedict_hash[nested] 0.007131243455389628 0.008391418021553543 -17.67% -15.02% 0.85x
attributedict_init[empty] 0.0000872420189279755 0.00008827456144001972 -1.18% -1.17% 0.99x
attributedict_init[large] 0.000136021488327616 0.00013700157760142666 -0.72% -0.72% 0.99x
attributedict_init[small] 0.00009185293507312214 0.00009310696297729111 -1.37% -1.35% 0.99x
mutableattributedict_delitem 0.0003865366455798643 0.00039141525963224446 -1.26% -1.25% 0.99x
mutableattributedict_setitem 0.00030861462552698787 0.0003113235573809189 -0.88% -0.87% 0.99x
namedelementonion_add 0.21030561579833879 0.21136431967442001 -0.50% -0.50% 0.99x
namedelementonion_as_tuple_of_middleware 0.00015567127521223735 0.00015493258829822146 0.47% 0.48% 1.00x
namedelementonion_contains 0.00003165168475173157 0.000031920260586607034 -0.85% -0.84% 0.99x
namedelementonion_getitem 0.000027373581886066004 0.00002735190649795324 0.08% 0.08% 1.00x
namedelementonion_init[callables2] 0.0001260682109856305 0.00012789087554284956 -1.45% -1.43% 0.99x
namedelementonion_init[callables3] 0.00016239107292456313 0.00016347311912810254 -0.67% -0.66% 0.99x
namedelementonion_init[empty] 0.000043163019477766256 0.0000420642509920927 2.55% 2.61% 1.03x
namedelementonion_inject 0.20726047383331767 0.21344500051164095 -2.98% -2.90% 0.97x
namedelementonion_iter 0.00016053170887903755 0.00015955470302370616 0.61% 0.61% 1.01x
namedelementonion_remove 0.0006676525465987465 0.0006719187496322904 -0.64% -0.63% 0.99x
namedelementonion_replace 0.002396432451614172 0.0024004068039334032 -0.17% -0.17% 1.00x
readableattributedict_getitem[large] 0.00001564621328163346 0.000015446882041731914 1.27% 1.29% 1.01x
readableattributedict_getitem[small] 0.000015220208164775761 0.000015401810169504496 -1.19% -1.18% 0.99x
readableattributedict_init[empty] 0.000053800523048233875 0.000053790789421603016 0.02% 0.02% 1.00x
readableattributedict_init[large] 0.00009477236667053473 0.00009418271501519939 0.62% 0.63% 1.01x
readableattributedict_init[small] 0.00005849637373653784 0.00005875906750773908 -0.45% -0.45% 1.00x
readableattributedict_recursive[list-in-dict] 0.0008653831506103375 0.0008697503965988172 -0.50% -0.50% 0.99x
readableattributedict_recursive[nested-dict] 0.0008896034292727506 0.0008944642403796297 -0.55% -0.54% 0.99x
readableattributedict_recursive[set] 0.0004549205412614918 0.00045134448679241276 0.79% 0.79% 1.01x
tupleize_lists_nested[list-in-dict] 0.004127028350915734 0.005245466411019623 -27.10% -21.32% 0.79x
tupleize_lists_nested[tuple-in-dict] 0.004763757308514948 0.004735527875327839 0.59% 0.60% 1.01x

web3/utils/address - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_create_address[0] 0.00006110532561856293 0.000028803651818995326 52.86% 112.14% 2.12x
get_create_address[100] 0.00006032226674954478 0.000029439174119727467 51.20% 104.90% 2.05x
get_create_address[10000] 0.000059754856747926426 0.000029191549860655196 51.15% 104.70% 2.05x
get_create2_address[long] 0.00006410776102287146 0.000025397088820167104 60.38% 152.42% 2.52x
get_create2_address[med] 0.00006320300672041039 0.000024650443870864075 61.00% 156.40% 2.56x
get_create2_address[short] 0.00006337004644411964 0.000024778522556081067 60.90% 155.75% 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.029057150528306354 0.022290721806894 23.29% 30.36% 1.30x
async_handle_offchain_lookup[get-single-hexstr] 0.010321296117015353 0.006733919503526296 34.76% 53.27% 1.53x
async_handle_offchain_lookup[get-try2-bytes] 0.009263705725516047 0.006649419794537806 28.22% 39.32% 1.39x
async_handle_offchain_lookup[get-try2-hexstr] 0.010391436557883457 0.021755603782311277 -109.36% -52.24% 0.48x
async_handle_offchain_lookup[get-try3-bytes] 0.009237955883501183 0.021891630530630903 -136.97% -57.80% 0.42x
async_handle_offchain_lookup[get-try3-hexstr] 0.03397760370212091 0.0067631021249875784 80.10% 402.40% 5.02x
async_handle_offchain_lookup[post-single-bytes] 0.030678411474756938 0.006684263093536024 78.21% 358.96% 4.59x
async_handle_offchain_lookup[post-single-hexstr] 0.034635032494631846 0.006743140335691516 80.53% 413.63% 5.14x
async_handle_offchain_lookup[post-try2-bytes] 0.009307147774489197 0.02241659901409881 -140.85% -58.48% 0.42x
async_handle_offchain_lookup[post-try2-hexstr] 0.010363571797849178 0.022784154517741097 -119.85% -54.51% 0.45x
async_handle_offchain_lookup[post-try3-bytes] 0.009334117418371089 0.006629895453894691 28.97% 40.79% 1.41x
async_handle_offchain_lookup[post-try3-hexstr] 0.033537176599996825 0.02245027276922292 33.06% 49.38% 1.49x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.00034626196724100544 0.00025140774345750643 27.39% 37.73% 1.38x
simplecache_cache[100] 0.0029140728543454457 0.001965998670000772 32.53% 48.22% 1.48x
simplecache_cache[1000] 0.02751232851352216 0.01798079651786111 34.64% 53.01% 1.53x
simplecache_eviction[10] 0.0008489907861195103 0.0005777161993972351 31.95% 46.96% 1.47x
simplecache_eviction[100] 0.00752188300735417 0.0052941209047473355 29.62% 42.08% 1.42x
simplecache_pop[10] 0.00044851116397161056 0.00035285065378416313 21.33% 27.11% 1.27x
simplecache_pop[100] 0.003883057943616756 0.002854960727541186 26.48% 36.01% 1.36x
simplecache_retrieval[10] 0.00007982437712845395 0.000056127834511608674 29.69% 42.22% 1.42x
simplecache_retrieval[100] 0.0006698431875132759 0.00047634296365636807 28.89% 40.62% 1.41x

web3/utils/exception_handling - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
handle_offchain_lookup[get-single-bytes] 0.00007477296486191887 0.00004247200091975737 43.20% 76.05% 1.76x
handle_offchain_lookup[get-single-hexstr] 0.0003999550337596727 0.00004360153321509969 89.10% 817.30% 9.17x
handle_offchain_lookup[get-try2-bytes] 0.00007410379607045228 0.0003432931784682564 -363.26% -78.41% 0.22x
handle_offchain_lookup[get-try2-hexstr] 0.00008438088664238212 0.00035017154795320465 -314.99% -75.90% 0.24x
handle_offchain_lookup[get-try3-bytes] 0.00007452775539588404 0.00004370557903149428 41.36% 70.52% 1.71x
handle_offchain_lookup[get-try3-hexstr] 0.00008549947600704363 0.00004485368435231513 47.54% 90.62% 1.91x
handle_offchain_lookup[post-single-bytes] 0.00007462956560903853 0.00004292969154599564 42.48% 73.84% 1.74x
handle_offchain_lookup[post-single-hexstr] 0.00008433513629097728 0.00004377667870127471 48.09% 92.65% 1.93x
handle_offchain_lookup[post-try2-bytes] 0.00007370711197413639 0.000042694670303692145 42.08% 72.64% 1.73x
handle_offchain_lookup[post-try2-hexstr] 0.00008428365504085553 0.00004393049214710856 47.88% 91.86% 1.92x
handle_offchain_lookup[post-try3-bytes] 0.0004133480612615058 0.00004263578478326871 89.69% 869.49% 9.69x
handle_offchain_lookup[post-try3-hexstr] 0.00008421578538507416 0.0000438933491226297 47.88% 91.86% 1.92x

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