Skip to content

Conversation

@BobTheBuidler
Copy link
Owner

No description provided.

@codspeed-hq
Copy link

codspeed-hq bot commented Oct 28, 2025

CodSpeed Performance Report

Merging #206 will degrade performances by 26.51%

Comparing assert (f5a9cd6) with master (8560e9d)1

Summary

❌ 1 regression
✅ 932 untouched
⏩ 92 skipped2

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

Benchmarks breakdown

Benchmark BASE HEAD Change
test_faster_labelhash[] 463.9 µs 631.3 µs -26.51%

Footnotes

  1. No successful run was found on master (eb45a0a) during the generation of this report, so 8560e9d was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

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

@github-actions
Copy link

Pytest Benchmark Diff

ens/base_ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_valid_name[] 0.000001861338821446031 0.0000011865244035585203 36.25% 56.87% 1.57x
is_valid_name[a..eth] 0.000024984518628468415 0.0000299951547772462 -20.05% -16.70% 0.83x
is_valid_name[a.eth..] 0.00002561288600358347 0.000029304993119339013 -14.42% -12.60% 0.87x
is_valid_name[a.eth.] 0.000025533002240891715 0.00002977746011332739 -16.62% -14.25% 0.86x
is_valid_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.24311869739995018 0.25080228879992317 -3.16% -3.06% 0.97x
is_valid_name[alice.eth] 0.01198302977010157 0.01096928159373789 8.46% 9.24% 1.09x
is_valid_name[bob.eth] 0.006813695722230919 0.006583098261153224 3.38% 3.50% 1.04x
is_valid_name[emoji\U0001f468\U0001f3fb.eth] 0.2394622874000106 0.22132974760006618 7.57% 8.19% 1.08x
is_valid_name[subdomain.alice.eth] 0.03125119426468192 0.032691815352938434 -4.61% -4.41% 0.96x
labelhash[] 0.00015440295945775675 0.00008897800891531192 42.37% 73.53% 1.74x
labelhash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.26577009379998345 0.27386786800002483 -3.05% -2.96% 0.97x
labelhash[alice] 0.008936884780699697 0.008943209293587176 -0.07% -0.07% 1.00x
labelhash[bob] 0.003942835193908162 0.0037891271955715062 3.90% 4.06% 1.04x
labelhash[emoji\U0001f468\U0001f3fb] 0.2665557612000157 0.24169862339990686 9.33% 10.28% 1.10x
labelhash[xn--fiqs8s] 0.027896502102573953 0.027957055432432605 -0.22% -0.22% 1.00x
namehash[ascii] 0.023090331333320044 0.023519366045454924 -1.86% -1.82% 0.98x
namehash[blocked-last-cc] 0.4174695516000611 0.4496912848000193 -7.72% -7.17% 0.93x
namehash[combining-nfd] 0.31660400840000874 0.3019154841999807 4.64% 4.87% 1.05x
namehash[compose-pair] 0.19444252749997304 0.2066072238333542 -6.26% -5.89% 0.94x
namehash[emoji] 0.49067844400001376 0.4441261553999084 9.49% 10.48% 1.10x
namehash[empty] 0.000009938951001203487 0.000003453994771478044 65.25% 187.75% 2.88x
namehash[hangul-jamo] 0.1066488392222406 0.11312466799997764 -6.07% -5.72% 0.94x
namehash[hangul-lv] 0.10675536470002953 0.10345596309095774 3.09% 3.19% 1.03x
namehash[hangul-lvt] 0.10421559110000089 0.10721762400000691 -2.88% -2.80% 0.97x
namehash[ligature-ffl] 0.023474565260881798 0.02644358861539331 -12.65% -11.23% 0.89x
namehash[multi-combining] 0.3201849974000197 0.3437496961999841 -7.36% -6.86% 0.93x
namehash[only-combining] 0.10259596518182496 0.10824438049996843 -5.51% -5.22% 0.95x
namehash[precomposed-e-acute] 0.2966612316000464 0.2999039473999801 -1.09% -1.08% 0.99x
nameprep[ascii] 0.012422238569776476 0.012017151034876597 3.26% 3.37% 1.03x
nameprep[blocked-last-cc] 0.22949341919998006 0.19827310633331763 13.60% 15.75% 1.16x
nameprep[combining-nfd] 0.16315782985715746 0.1582003405713814 3.04% 3.13% 1.03x
nameprep[compose-pair] 0.11972707410002385 0.10561898039998141 11.78% 13.36% 1.13x
nameprep[emoji] 0.28199485159998405 0.2207422843999666 21.72% 27.75% 1.28x
nameprep[empty] 0.000008777514912600186 0.00000319158207322558 63.64% 175.02% 2.75x
nameprep[hangul-jamo] 0.06260244372223649 0.05492373339995993 12.27% 13.98% 1.14x
nameprep[hangul-lv] 0.05841977288889666 0.04930304239128023 15.61% 18.49% 1.18x
nameprep[hangul-lvt] 0.05501850910524665 0.05052291938096416 8.17% 8.90% 1.09x
nameprep[ligature-ffl] 0.009638639696437476 0.009297752500006745 3.54% 3.67% 1.04x
nameprep[multi-combining] 0.17340095983339174 0.14478994028572093 16.50% 19.76% 1.20x
nameprep[only-combining] 0.05920454864706377 0.0545650464737264 7.84% 8.50% 1.09x
nameprep[precomposed-e-acute] 0.1754155555000428 0.14790951012503228 15.68% 18.60% 1.19x
parent[] 0.000001001164778699219 9.012441609205864e-7 9.98% 11.09% 1.11x
parent[bar.eth] 0.000003501674323274382 0.0000025389160582254026 27.49% 37.92% 1.38x
parent[eth] 0.000002040222097601586 0.0000013923672444848389 31.75% 46.53% 1.47x
parent[foo.bar.eth] 0.000004257559752944689 0.000003182953550316133 25.24% 33.76% 1.34x
parent[sub.sub2.foo.bar.eth] 0.0000050605485975709265 0.000004025517483446147 20.45% 25.71% 1.26x
reverse_domain[0x0000000000000000000000000000000000000000] 0.00005140411093901934 0.00001710485625918782 66.72% 200.52% 3.01x
reverse_domain[0x1111111111111111111111111111111111111111] 0.00005215565662229836 0.000017002430821564534 67.40% 206.75% 3.07x
reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005183884195959455 0.000016873306813312643 67.45% 207.22% 3.07x

ens/ens - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address[ascii] 0.000013937660831385143 0.000014037395125262326 -0.72% -0.71% 0.99x
address[blocked-last-cc] 0.00001420967434761952 0.000013908455510992213 2.12% 2.17% 1.02x
address[combining-nfd] 0.000014093293662630743 0.000013873621289717805 1.56% 1.58% 1.02x
address[compose-pair] 0.000014062220338492862 0.000014001452135872098 0.43% 0.43% 1.00x
address[emoji] 0.000013905973701972551 0.00001402124743097159 -0.83% -0.82% 0.99x
address[empty] 0.000014138492409548482 0.000014145627396457557 -0.05% -0.05% 1.00x
address[hangul-jamo] 0.000014102288646917976 0.000013871441694103047 1.64% 1.66% 1.02x
address[hangul-lv] 0.000013900647808700641 0.000013983441186989865 -0.60% -0.59% 0.99x
address[hangul-lvt] 0.000013324129376966161 0.00001401633319593084 -5.20% -4.94% 0.95x
address[ligature-ffl] 0.000014140058163325466 0.000014040763865119693 0.70% 0.71% 1.01x
address[multi-combining] 0.000013935962964189677 0.000013858405335999227 0.56% 0.56% 1.01x
address[only-combining] 0.000014114457897026694 0.000014073484796726286 0.29% 0.29% 1.00x
address[precomposed-e-acute] 0.000013999158863833747 0.000014075190351663358 -0.54% -0.54% 0.99x

ens/normalization - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
normalize_name_ensip15[ascii] 0.00015298710755492093 0.00013977042199355943 8.64% 9.46% 1.09x
normalize_name_ensip15[blocked-last-cc] 0.00013922529362220146 0.00014199990792974066 -1.99% -1.95% 0.98x
normalize_name_ensip15[combining-nfd] 0.00015461624351239715 0.00014260978178504512 7.77% 8.42% 1.08x
normalize_name_ensip15[compose-pair] 0.00013916188855840676 0.00014198744533425457 -2.03% -1.99% 0.98x
normalize_name_ensip15[emoji] 0.00015315333945305906 0.0001426670893921452 6.85% 7.35% 1.07x
normalize_name_ensip15[empty] 0.00013886362101113117 0.00014000495136806684 -0.82% -0.82% 0.99x
normalize_name_ensip15[hangul-jamo] 0.00015279479245616003 0.00013888153457600097 9.11% 10.02% 1.10x
normalize_name_ensip15[hangul-lv] 0.00015393145266842371 0.00014062872366759998 8.64% 9.46% 1.09x
normalize_name_ensip15[hangul-lvt] 0.0001541576555028372 0.00014259865686411843 7.50% 8.11% 1.08x
normalize_name_ensip15[ligature-ffl] 0.00015280944355767942 0.00013972299088003758 8.56% 9.37% 1.09x
normalize_name_ensip15[multi-combining] 0.00014880847012093676 0.0001405787378411194 5.53% 5.85% 1.06x
normalize_name_ensip15[only-combining] 0.0001409580480421427 0.0001424508217354622 -1.06% -1.05% 0.99x
normalize_name_ensip15[precomposed-e-acute] 0.00015363669790467772 0.00014049927630526175 8.55% 9.35% 1.09x

ens/utils - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
address_to_reverse_domain[0x0000000000000000000000000000000000000000] 0.0025806642252033715 0.0008460441807132817 67.22% 205.03% 3.05x
address_to_reverse_domain[0x1111111111111111111111111111111111111111] 0.002600522943694232 0.0008487436765978039 67.36% 206.40% 3.06x
address_to_reverse_domain[0x314159265dD8dbb310642f98f50C066173C1259b] 0.002591830220738791 0.000856645705428896 66.95% 202.56% 3.03x
dns_encode_name[ascii] 0.012816895773823944 0.011226999817198146 12.40% 14.16% 1.14x
dns_encode_name[blocked-last-cc] 0.20310038220000023 0.1987377160000051 2.15% 2.20% 1.02x
dns_encode_name[combining-nfd] 0.16711778428573001 0.15387189428575507 7.93% 8.61% 1.09x
dns_encode_name[compose-pair] 0.10169662949997474 0.09964610781815447 2.02% 2.06% 1.02x
dns_encode_name[emoji] 0.2635794419999911 0.22874239640000268 13.22% 15.23% 1.15x
dns_encode_name[empty] 0.0000067411900478873635 0.000004241056491541007 37.09% 58.95% 1.59x
dns_encode_name[hangul-jamo] 0.05396078469996155 0.05207899305000865 3.49% 3.61% 1.04x
dns_encode_name[hangul-lv] 0.05177132654996512 0.049380020238047675 4.62% 4.84% 1.05x
dns_encode_name[hangul-lvt] 0.052280424549962845 0.049127500761923806 6.03% 6.42% 1.06x
dns_encode_name[ligature-ffl] 0.009252479254243199 0.009790446467292479 -5.81% -5.49% 0.95x
dns_encode_name[multi-combining] 0.1504468810000422 0.16211030642856322 -7.75% -7.19% 0.93x
dns_encode_name[only-combining] 0.05358735236842748 0.05141225355000643 4.06% 4.23% 1.04x
dns_encode_name[precomposed-e-acute] 0.14113539562501387 0.15279849971433837 -8.26% -7.63% 0.92x
estimate_auction_start_gas[labels0] 0.00007233494569619743 0.000050805718910579056 29.76% 42.38% 1.42x
estimate_auction_start_gas[labels1] 0.00007291522187190346 0.000051352254791115 29.57% 41.99% 1.42x
estimate_auction_start_gas[labels2] 0.00006705226396727071 0.00005089651926775534 24.09% 31.74% 1.32x
is_empty_name[ ] 0.00006026045153316827 0.00004124655332392952 31.55% 46.10% 1.46x
is_empty_name[.] 0.00006104543106613518 0.000042511115720754214 30.36% 43.60% 1.44x
is_empty_name[0] 0.00006120950433760677 0.000039512045165997906 35.45% 54.91% 1.55x
is_empty_name[1] 0.00006130746015683241 0.000039815013645035484 35.06% 53.98% 1.54x
is_empty_name[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00006218713952750102 0.000042068711487061064 32.35% 47.82% 1.48x
is_empty_name[alice.eth] 0.00005958159602067057 0.0000429532825782218 27.91% 38.71% 1.39x
is_empty_name[emoji\U0001f468\U0001f3fb.eth] 0.00006212399702873178 0.00004253217587467342 31.54% 46.06% 1.46x
is_empty_name[subdomain.alice.eth] 0.000060050747271469126 0.00004164497095473875 30.65% 44.20% 1.44x
is_none_or_zero_address[] 0.000047392929654751173 0.0000467198995704007 1.42% 1.44% 1.01x
is_none_or_zero_address[0x0000000000000000000000000000000000000000] 0.000051402621675845656 0.000051337431515377914 0.13% 0.13% 1.00x
is_none_or_zero_address[0x1111111111111111111111111111111111111111] 0.00005378325509122256 0.0000518000465432673 3.69% 3.83% 1.04x
is_none_or_zero_address[0x314159265dD8dbb310642f98f50C066173C1259b] 0.00005346907476401685 0.00005107409412283915 4.48% 4.69% 1.05x
is_valid_ens_name[ascii] 0.011322681278342475 0.011450432206520813 -1.13% -1.12% 0.99x
is_valid_ens_name[blocked-last-cc] 0.19167910233329621 0.22460143759999482 -17.18% -14.66% 0.85x
is_valid_ens_name[combining-nfd] 0.16059161242859382 0.15300993157146486 4.72% 4.96% 1.05x
is_valid_ens_name[compose-pair] 0.09276232133330116 0.0926902927999663 0.08% 0.08% 1.00x
is_valid_ens_name[emoji] 0.23608240780004053 0.228007349399968 3.42% 3.54% 1.04x
is_valid_ens_name[empty] 0.0000018972341218682763 0.0000013360353162010835 29.58% 42.00% 1.42x
is_valid_ens_name[hangul-jamo] 0.051842705952367396 0.05723956263160577 -10.41% -9.43% 0.91x
is_valid_ens_name[hangul-lv] 0.049534207909098106 0.04919836399997993 0.68% 0.68% 1.01x
is_valid_ens_name[hangul-lvt] 0.04910617604544272 0.05086108785003489 -3.57% -3.45% 0.97x
is_valid_ens_name[ligature-ffl] 0.008382081470590722 0.010046595710296103 -19.86% -16.57% 0.83x
is_valid_ens_name[multi-combining] 0.15251797175000092 0.16140528628563647 -5.83% -5.51% 0.94x
is_valid_ens_name[only-combining] 0.04844126995455802 0.04751110566670442 1.92% 1.96% 1.02x
is_valid_ens_name[precomposed-e-acute] 0.15761833571429765 0.16074056985709312 -1.98% -1.94% 0.98x
is_valid_name[ascii] 0.01253511983529065 0.011228215054359225 10.43% 11.64% 1.12x
is_valid_name[blocked-last-cc] 0.18909265633332475 0.1826095340000317 3.43% 3.55% 1.04x
is_valid_name[combining-nfd] 0.16500633371421308 0.16192266900001023 1.87% 1.90% 1.02x
is_valid_name[compose-pair] 0.09842494463640089 0.09424588908336773 4.25% 4.43% 1.04x
is_valid_name[emoji] 0.29200675259999115 0.24950725540002167 14.55% 17.03% 1.17x
is_valid_name[empty] 0.0000016548652911238148 0.000001095960380196964 33.77% 51.00% 1.51x
is_valid_name[hangul-jamo] 0.060695180684182275 0.053685550900002 11.55% 13.06% 1.13x
is_valid_name[hangul-lv] 0.054585601399992356 0.05099540490909311 6.58% 7.04% 1.07x
is_valid_name[hangul-lvt] 0.05506670525003301 0.05087874524995186 7.61% 8.23% 1.08x
is_valid_name[ligature-ffl] 0.008291784669357904 0.009458873642846097 -14.08% -12.34% 0.88x
is_valid_name[multi-combining] 0.16626568885710316 0.15079962271433292 9.30% 10.26% 1.10x
is_valid_name[only-combining] 0.05704459424997595 0.051910802863631034 9.00% 9.89% 1.10x
is_valid_name[precomposed-e-acute] 0.16715638057137636 0.1501328414285581 10.18% 11.34% 1.11x
label_to_hash[] 0.00015076791984026898 0.00008763042052238264 41.88% 72.05% 1.72x
label_to_hash[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.2561894862000827 0.24143303699997887 5.76% 6.11% 1.06x
label_to_hash[alice] 0.008416209162166385 0.008705875794872461 -3.44% -3.33% 0.97x
label_to_hash[bob] 0.003774516675461852 0.0037936580801491288 -0.51% -0.50% 0.99x
label_to_hash[emoji\U0001f468\U0001f3fb] 0.2860743680000269 0.24171599699993748 15.51% 18.35% 1.18x
label_to_hash[xn--fiqs8s] 0.028063090729734244 0.025686431315803976 8.47% 9.25% 1.09x
normal_name_to_hash[ascii] 0.011375448517259136 0.011936125755808059 -4.93% -4.70% 0.95x
normal_name_to_hash[blocked-last-cc] 0.20741303880004125 0.18008193699999234 13.18% 15.18% 1.15x
normal_name_to_hash[combining-nfd] 0.14813847524999346 0.16811685471429882 -13.49% -11.88% 0.88x
normal_name_to_hash[compose-pair] 0.09642348509088482 0.09936643541664125 -3.05% -2.96% 0.97x
normal_name_to_hash[emoji] 0.26411104739995606 0.22396527320001952 15.20% 17.92% 1.18x
normal_name_to_hash[empty] 0.0000017983000695217701 0.0000010174112784698278 43.42% 76.75% 1.77x
normal_name_to_hash[hangul-jamo] 0.05107766674998402 0.05674167394740356 -11.09% -9.98% 0.90x
normal_name_to_hash[hangul-lv] 0.049665161047631134 0.0546355879130458 -10.01% -9.10% 0.91x
normal_name_to_hash[hangul-lvt] 0.05463045765000061 0.05357108204758073 1.94% 1.98% 1.02x
normal_name_to_hash[ligature-ffl] 0.009360389000000434 0.009280224283030585 0.86% 0.86% 1.01x
normal_name_to_hash[multi-combining] 0.16797142585703892 0.13740856337494733 18.20% 22.24% 1.22x
normal_name_to_hash[only-combining] 0.05552568684210631 0.04906692286362035 11.63% 13.16% 1.13x
normal_name_to_hash[precomposed-e-acute] 0.143820781249957 0.13414353842858873 6.73% 7.21% 1.07x
normalize_name[ascii] 0.011105085642867028 0.011193003425529589 -0.79% -0.79% 0.99x
normalize_name[blocked-last-cc] 0.21279989300001034 0.20416226039997126 4.06% 4.23% 1.04x
normalize_name[combining-nfd] 0.16749672100005833 0.15352668285722107 8.34% 9.10% 1.09x
normalize_name[compose-pair] 0.0985614666363662 0.10150996145454304 -2.99% -2.90% 0.97x
normalize_name[emoji] 0.25647193360005077 0.2239276116000383 12.69% 14.53% 1.15x
normalize_name[empty] 0.000008412036791760956 0.0000032007979732012704 61.95% 162.81% 2.63x
normalize_name[hangul-jamo] 0.05379409705263147 0.05344138199999406 0.66% 0.66% 1.01x
normalize_name[hangul-lv] 0.05402538975000652 0.04989901754546819 7.64% 8.27% 1.08x
normalize_name[hangul-lvt] 0.05200451804760286 0.05107886123807605 1.78% 1.81% 1.02x
normalize_name[ligature-ffl] 0.008351864351989207 0.009929282084909093 -18.89% -15.89% 0.84x
normalize_name[multi-combining] 0.1664221491429154 0.16589394933331883 0.32% 0.32% 1.00x
normalize_name[only-combining] 0.054668611649992725 0.05356986914284789 2.01% 2.05% 1.02x
normalize_name[precomposed-e-acute] 0.14614520142861562 0.1645506251428677 -12.59% -11.19% 0.89x
raw_name_to_hash[ascii] 0.022050446510630015 0.022656169847827503 -2.75% -2.67% 0.97x
raw_name_to_hash[blocked-last-cc] 0.427402105200008 0.40899858879997736 4.31% 4.50% 1.04x
raw_name_to_hash[combining-nfd] 0.30818984200004707 0.30364780660002 1.47% 1.50% 1.01x
raw_name_to_hash[compose-pair] 0.20006530783329404 0.2043327990000762 -2.13% -2.09% 0.98x
raw_name_to_hash[emoji] 0.5149406168000041 0.4226583140000457 17.92% 21.83% 1.22x
raw_name_to_hash[empty] 0.000009733033438964203 0.000003449822110941151 64.56% 182.13% 2.82x
raw_name_to_hash[hangul-jamo] 0.10248623218178016 0.1089861004000113 -6.34% -5.96% 0.94x
raw_name_to_hash[hangul-lv] 0.09897568910000701 0.09981204384614382 -0.85% -0.84% 0.99x
raw_name_to_hash[hangul-lvt] 0.09809421489999295 0.10172141672732819 -3.70% -3.57% 0.96x
raw_name_to_hash[ligature-ffl] 0.022271142568182644 0.02585823869230225 -16.11% -13.87% 0.86x
raw_name_to_hash[multi-combining] 0.316810260200009 0.2935346130000198 7.35% 7.93% 1.08x
raw_name_to_hash[only-combining] 0.10096322509093625 0.11008658790003664 -9.04% -8.29% 0.92x
raw_name_to_hash[precomposed-e-acute] 0.30999716279998213 0.305841774999999 1.34% 1.36% 1.01x
sha3_text[0] 0.0001267670775691798 0.00008314644805495354 34.41% 52.46% 1.52x
sha3_text[1] 0.00012754684604199658 0.00008325563259846104 34.73% 53.20% 1.53x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.eth] 0.00014213039687843246 0.0000938326936935885 33.98% 51.47% 1.51x
sha3_text[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa] 0.00014049244630432621 0.0000941419892412564 32.99% 49.23% 1.49x
sha3_text[alice.eth] 0.00014607134257201845 0.00009373961423195706 35.83% 55.83% 1.56x
sha3_text[alice] 0.00014188407295513873 0.00009354379691508843 34.07% 51.68% 1.52x
sha3_text[bob] 0.00014159528839994222 0.00009354556146224775 33.93% 51.37% 1.51x
sha3_text[emoji\U0001f468\U0001f3fb.eth] 0.0001446369768605571 0.00009535081466047088 34.08% 51.69% 1.52x
sha3_text[emoji\U0001f468\U0001f3fb] 0.00014142180186896787 0.00009405922767992781 33.49% 50.35% 1.50x
sha3_text[subdomain.alice.eth] 0.00014460913273634914 0.00009482049884799956 34.43% 52.51% 1.53x
sha3_text[xn--fiqs8s] 0.00014267154881203648 0.00009370244136132895 34.32% 52.26% 1.52x

web3/_utils/abi - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
abi_data_tree 0.0002983870590522201 0.0002567152618748407 13.97% 16.23% 1.16x
fallback_func_abi_exists 0.00026042149202015584 0.000028399287434007883 89.09% 817.00% 9.17x
filter_by_argument_name[a] 0.0006347857218124949 0.0003441646245836905 45.78% 84.44% 1.84x
filter_by_argument_name[a+b] 0.000643135706840401 0.00034744353689387545 45.98% 85.11% 1.85x
filter_by_argument_name[b] 0.000622558881302479 0.00033814445836216855 45.68% 84.11% 1.84x
filter_by_argument_name[c] 0.0006323946770945771 0.0003424026782249843 45.86% 84.69% 1.85x
filter_by_argument_name[notfound] 0.0006225329366929649 0.00033470166879218853 46.24% 86.00% 1.86x
filter_by_argument_type[address] 0.0005636145106258313 0.0005713915443631484 -1.38% -1.36% 0.99x
filter_by_argument_type[notatype] 0.0005603012789698281 0.000571079832632404 -1.92% -1.89% 0.98x
filter_by_argument_type[string] 0.0005690999111542457 0.0005652296200637023 0.68% 0.68% 1.01x
filter_by_argument_type[uint+address] 0.0005713914277231462 0.000564548546499052 1.20% 1.21% 1.01x
filter_by_argument_type[uint256] 0.0005683718777809669 0.0005641655161506985 0.74% 0.75% 1.01x
filter_by_types[constructor] 0.000035683814389790905 0.000035152282448044355 1.49% 1.51% 1.02x
filter_by_types[event] 0.000034261967915371 0.000034150762748659626 0.32% 0.33% 1.00x
filter_by_types[fallback] 0.00003597200740281155 0.00003482666021849605 3.18% 3.29% 1.03x
filter_by_types[func+event] 0.000039120533574616665 0.000039869430967286625 -1.91% -1.88% 0.98x
filter_by_types[function] 0.000033862161974671545 0.00003506736101267785 -3.56% -3.44% 0.97x
filter_by_types[none] 0.00003330267132228268 0.000033458803800269106 -0.47% -0.47% 1.00x
filter_by_types[receive] 0.00003599666240954813 0.000035863310297516514 0.37% 0.37% 1.00x
find_constructor_abi_element_by_type 0.000033477982513562016 0.000033294157695033975 0.55% 0.55% 1.01x
get_abi_element_signature[custom] 0.00005683823830280649 0.000055508596371524095 2.34% 2.40% 1.02x
get_abi_element_signature[fallback] 0.000021775354181259395 0.000021818398213806758 -0.20% -0.20% 1.00x
get_abi_element_signature[receive] 0.00003056162391661071 0.000029958594090026604 1.97% 2.01% 1.02x
get_abi_element_signature[transfer] 0.00006323612366873011 0.00005914011093898175 6.48% 6.93% 1.07x
get_name_from_abi_element_identifier[custom] 0.000044973770830149925 0.000042653670698365356 5.16% 5.44% 1.05x
get_name_from_abi_element_identifier[fallback] 0.000011752518978704863 0.000011794375402145165 -0.36% -0.35% 1.00x
get_name_from_abi_element_identifier[func] 0.000045154431326106764 0.00004335957897987921 3.97% 4.14% 1.04x
get_name_from_abi_element_identifier[receive] 0.000018318453410856054 0.000018432248219655153 -0.62% -0.62% 0.99x
get_tuple_type_str_parts[not-tuple] 0.000022274974081167994 0.000021905007587583866 1.66% 1.69% 1.02x
get_tuple_type_str_parts[one-dim] 0.000075454292488472 0.00007581936464575967 -0.48% -0.48% 1.00x
get_tuple_type_str_parts[plain] 0.000048113308847511115 0.00004852507380686009 -0.86% -0.85% 0.99x
get_tuple_type_str_parts[two-dim] 0.00009349969812959945 0.00009318383436876027 0.34% 0.34% 1.00x
is_address_type[address] 0.00004292690735530693 0.000043634317892411006 -1.65% -1.62% 0.98x
is_address_type[array] 0.00004574757782274339 0.00004528341715512144 1.01% 1.03% 1.01x
is_address_type[bool] 0.00004247502547106515 0.00004307307282154245 -1.41% -1.39% 0.99x
is_address_type[bytes] 0.00004170297832307227 0.00004258518767810902 -2.12% -2.07% 0.98x
is_address_type[bytes32] 0.00004536269032007663 0.00004554440768688343 -0.40% -0.40% 1.00x
is_address_type[bytes33] 0.000045809373056961775 0.00004624351832634685 -0.95% -0.94% 0.99x
is_address_type[empty] 0.000043095106963262635 0.00004227426533616582 1.90% 1.94% 1.02x
is_address_type[enum] 0.00004242093261455452 0.00004196815901338212 1.07% 1.08% 1.01x
is_address_type[int256] 0.000042664125136992995 0.00004239889646274096 0.62% 0.63% 1.01x
is_address_type[invalid] 0.00004164379038570031 0.00004219929076527241 -1.33% -1.32% 0.99x
is_address_type[string] 0.00004265562235383784 0.00004336952037069421 -1.67% -1.65% 0.98x
is_address_type[tuple-array] 0.00004257724002407499 0.00004208168441238485 1.16% 1.18% 1.01x
is_address_type[tuple] 0.00004260576930484214 0.00004243265481571277 0.41% 0.41% 1.00x
is_address_type[uint256] 0.00004466306637400912 0.00004457654246285971 0.19% 0.19% 1.00x
is_array_type[address] 0.0003782535217082511 0.0004015787237803076 -6.17% -5.81% 0.94x
is_array_type[array] 0.00039270684731673825 0.00040544217537969406 -3.24% -3.14% 0.97x
is_array_type[bool] 0.0003494696743466634 0.0003654442242109103 -4.57% -4.37% 0.96x
is_array_type[bytes] 0.0003687506201143853 0.00037025244796640004 -0.41% -0.41% 1.00x
is_array_type[bytes32] 0.00038598180732581506 0.00039312963140247114 -1.85% -1.82% 0.98x
is_array_type[bytes33] 0.00038510472468656314 0.00038801473961055786 -0.76% -0.75% 0.99x
is_array_type[empty] 0.0002883228288993611 0.0002862889975051874 0.71% 0.71% 1.01x
is_array_type[enum] 0.00037709168720309047 0.0003859684016081913 -2.35% -2.30% 0.98x
is_array_type[int256] 0.00037128583207564624 0.00038399645137779473 -3.42% -3.31% 0.97x
is_array_type[invalid] 0.00039388717722753835 0.0003941798004966839 -0.07% -0.07% 1.00x
is_array_type[string] 0.00036931395774796857 0.00038728925866833764 -4.87% -4.64% 0.95x
is_array_type[tuple-array] 0.00039679099759811143 0.00039544807396485834 0.34% 0.34% 1.00x
is_array_type[tuple] 0.0003690460357534273 0.0003679939047598839 0.29% 0.29% 1.00x
is_array_type[uint256] 0.0003837172718077756 0.0003910956097472114 -1.92% -1.89% 0.98x
is_bool_type[address] 0.000042534428704404526 0.000042651499098173294 -0.28% -0.27% 1.00x
is_bool_type[array] 0.00004296480960787336 0.000042850040893942154 0.27% 0.27% 1.00x
is_bool_type[bool] 0.00004238636764916448 0.000043022613945440286 -1.50% -1.48% 0.99x
is_bool_type[bytes] 0.00004135615615832171 0.00004271038308302064 -3.27% -3.17% 0.97x
is_bool_type[bytes32] 0.00004272862298554184 0.000042597969532304516 0.31% 0.31% 1.00x
is_bool_type[bytes33] 0.000042208286921699764 0.00004250283378297977 -0.70% -0.69% 0.99x
is_bool_type[empty] 0.00004261284873391317 0.000043179158728064554 -1.33% -1.31% 0.99x
is_bool_type[enum] 0.00004258405574775443 0.00004268598922468278 -0.24% -0.24% 1.00x
is_bool_type[int256] 0.00004255591223417112 0.00004262768108662502 -0.17% -0.17% 1.00x
is_bool_type[invalid] 0.00004235596636843093 0.00004331058753970863 -2.25% -2.20% 0.98x
is_bool_type[string] 0.00004244608572078644 0.000042833205994566004 -0.91% -0.90% 0.99x
is_bool_type[tuple-array] 0.00004304126217830429 0.000042271052366435 1.79% 1.82% 1.02x
is_bool_type[tuple] 0.000042359577189445225 0.000042380952517950634 -0.05% -0.05% 1.00x
is_bool_type[uint256] 0.00004272209040206115 0.000042618060139966104 0.24% 0.24% 1.00x
is_bytes_type[address] 0.00031466148521608063 0.00032746548524337937 -4.07% -3.91% 0.96x
is_bytes_type[array] 0.00032465055818275794 0.0003230914290726943 0.48% 0.48% 1.00x
is_bytes_type[bool] 0.00029332893969318273 0.00028958129375996093 1.28% 1.29% 1.01x
is_bytes_type[bytes] 0.0002817114967295927 0.0002884722124594684 -2.40% -2.34% 0.98x
is_bytes_type[bytes32] 0.00030664165475939847 0.00031744857280038103 -3.52% -3.40% 0.97x
is_bytes_type[bytes33] 0.0003373081899836827 0.00031848523140403935 5.58% 5.91% 1.06x
is_bytes_type[empty] 0.0002739841165106496 0.0002709124254630993 1.12% 1.13% 1.01x
is_bytes_type[enum] 0.00029291242154245236 0.00030311372208875173 -3.48% -3.37% 0.97x
is_bytes_type[int256] 0.0003098987250429454 0.00029331247825982996 5.35% 5.65% 1.06x
is_bytes_type[invalid] 0.000287483941121785 0.0002929098345091553 -1.89% -1.85% 0.98x
is_bytes_type[string] 0.00030585231561995103 0.00030389663751866216 0.64% 0.64% 1.01x
is_bytes_type[tuple-array] 0.0002934419266806859 0.00026895130957484034 8.35% 9.11% 1.09x
is_bytes_type[tuple] 0.00027393117597386535 0.0002942549759981422 -7.42% -6.91% 0.93x
is_bytes_type[uint256] 0.00032637519731785526 0.0003079895948808713 5.63% 5.97% 1.06x
is_int_type[address] 0.0002080722712918633 0.0001979077326408738 4.89% 5.14% 1.05x
is_int_type[array] 0.00019978343454731676 0.00019440441082358803 2.69% 2.77% 1.03x
is_int_type[bool] 0.00020426465013344757 0.00018652301051066958 8.69% 9.51% 1.10x
is_int_type[bytes] 0.00021793737103377385 0.00022833759986329682 -4.77% -4.55% 0.95x
is_int_type[bytes32] 0.00020806852314568929 0.00019581291877546943 5.89% 6.26% 1.06x
is_int_type[bytes33] 0.00020480433973832444 0.0002000960301096982 2.30% 2.35% 1.02x
is_int_type[empty] 0.00020104449942977742 0.0002134205947048869 -6.16% -5.80% 0.94x
is_int_type[enum] 0.00020849872777756884 0.0002108688057107784 -1.14% -1.12% 0.99x
is_int_type[int256] 0.00022095586713514795 0.00022999092205043244 -4.09% -3.93% 0.96x
is_int_type[invalid] 0.00020981486635351254 0.00019640165731289017 6.39% 6.83% 1.07x
is_int_type[string] 0.00023955150999324478 0.0002249294565981134 6.10% 6.50% 1.07x
is_int_type[tuple-array] 0.00019415460441386142 0.0002040747294714584 -5.11% -4.86% 0.95x
is_int_type[tuple] 0.00023209668315742036 0.00022290714362394198 3.96% 4.12% 1.04x
is_int_type[uint256] 0.00020273447722876946 0.0002017513994595696 0.48% 0.49% 1.00x
is_probably_enum[address] 0.0000614508761965951 0.00006289200309082236 -2.35% -2.29% 0.98x
is_probably_enum[empty] 0.000056002070469014145 0.000057430985675004186 -2.55% -2.49% 0.98x
is_probably_enum[enum] 0.00006132553568974945 0.00006335226638403472 -3.30% -3.20% 0.97x
is_probably_enum[lib-dot] 0.00006184147835148203 0.0000636046882859332 -2.85% -2.77% 0.97x
is_probably_enum[lib-enum] 0.00007067347102665188 0.00007239708283597237 -2.44% -2.38% 0.98x
is_probably_enum[uint256] 0.00006153926679268955 0.00006257930071407251 -1.69% -1.66% 0.98x
is_recognized_type[address] 0.00007614226170045688 0.00008135197756716616 -6.84% -6.40% 0.94x
is_recognized_type[array] 0.00007984273917869284 0.0000866262620980358 -8.50% -7.83% 0.92x
is_recognized_type[bool] 0.0000748557034496806 0.00008294576902363533 -10.81% -9.75% 0.90x
is_recognized_type[bytes] 0.0001467968914780837 0.00015800880822125228 -7.64% -7.10% 0.93x
is_recognized_type[bytes32] 0.00014446795541257518 0.00015552564255507086 -7.65% -7.11% 0.93x
is_recognized_type[bytes33] 0.00013531658246515908 0.0001435810300569051 -6.11% -5.76% 0.94x
is_recognized_type[empty] 0.00005954049279708231 0.000059698516417094075 -0.27% -0.26% 1.00x
is_recognized_type[enum] 0.00007931597653184713 0.00008761642489633553 -10.47% -9.47% 0.91x
is_recognized_type[int256] 0.00012417399050487063 0.00012861386853111207 -3.58% -3.45% 0.97x
is_recognized_type[invalid] 0.00008199748123696099 0.0000850456256075637 -3.72% -3.58% 0.96x
is_recognized_type[string] 0.00009968083482219256 0.00010772846776102827 -8.07% -7.47% 0.93x
is_recognized_type[tuple-array] 0.00008185762117560084 0.00008805047409807024 -7.57% -7.03% 0.93x
is_recognized_type[tuple] 0.00008128256214652749 0.00008841401644208773 -8.77% -8.07% 0.92x
is_recognized_type[uint256] 0.0001233540769221431 0.00012924309362138665 -4.77% -4.56% 0.95x
is_string_type[address] 0.00004269344272797762 0.00004342574930638549 -1.72% -1.69% 0.98x
is_string_type[array] 0.000042186691999548835 0.00004258528888808814 -0.94% -0.94% 0.99x
is_string_type[bool] 0.00004198582992633348 0.000043226480898625963 -2.95% -2.87% 0.97x
is_string_type[bytes] 0.00004161535195907549 0.00004264489449521791 -2.47% -2.41% 0.98x
is_string_type[bytes32] 0.000041838040497112406 0.00004223594673116393 -0.95% -0.94% 0.99x
is_string_type[bytes33] 0.00004250069519545995 0.000042969461297715956 -1.10% -1.09% 0.99x
is_string_type[empty] 0.0000425383369534909 0.00004334912588121139 -1.91% -1.87% 0.98x
is_string_type[enum] 0.00004579960917237897 0.000045042515755438994 1.65% 1.68% 1.02x
is_string_type[int256] 0.00004472121890888587 0.00004540253430697905 -1.52% -1.50% 0.98x
is_string_type[invalid] 0.000042875952138632835 0.0000431785411107913 -0.71% -0.70% 0.99x
is_string_type[string] 0.00004306505506770139 0.000042764879301586315 0.70% 0.70% 1.01x
is_string_type[tuple-array] 0.00004251622427583201 0.000042182094020880766 0.79% 0.79% 1.01x
is_string_type[tuple] 0.00004247645667404793 0.000042325146388302534 0.36% 0.36% 1.00x
is_string_type[uint256] 0.00004179963087164041 0.00004359821784228184 -4.30% -4.13% 0.96x
is_uint_type[address] 0.0002145605432987471 0.0002302266261712906 -7.30% -6.80% 0.93x
is_uint_type[array] 0.0002496396202242998 0.00023713098606350984 5.01% 5.27% 1.05x
is_uint_type[bool] 0.00018547939625307712 0.00017997024332313445 2.97% 3.06% 1.03x
is_uint_type[bytes] 0.00020523416907491894 0.00020506662237849917 0.08% 0.08% 1.00x
is_uint_type[bytes32] 0.00021417543277073756 0.00023729033358665488 -10.79% -9.74% 0.90x
is_uint_type[bytes33] 0.00022857875185302174 0.0002389864785259742 -4.55% -4.35% 0.96x
is_uint_type[empty] 0.00020020411456140257 0.00020269220920784438 -1.24% -1.23% 0.99x
is_uint_type[enum] 0.0002180871292881679 0.00022517966095757656 -3.25% -3.15% 0.97x
is_uint_type[int256] 0.00022191273856292078 0.00022168579187649025 0.10% 0.10% 1.00x
is_uint_type[invalid] 0.00020899183340378173 0.0001974979018978962 5.50% 5.82% 1.06x
is_uint_type[string] 0.0002235061868524267 0.00021933577523459223 1.87% 1.90% 1.02x
is_uint_type[tuple-array] 0.00019339367508787404 0.0002078006198221816 -7.45% -6.93% 0.93x
is_uint_type[tuple] 0.00019361516840126657 0.00021329947351881866 -10.17% -9.23% 0.91x
is_uint_type[uint256] 0.00023006290708866512 0.00022813238651024992 0.84% 0.85% 1.01x
length_of_array_type[dynamic] 0.00016076857236437816 0.00016245757661326147 -1.05% -1.04% 0.99x
length_of_array_type[fixed] 0.00016953769751445498 0.00016969260879720567 -0.09% -0.09% 1.00x
length_of_array_type[nested] 0.0001769446866595402 0.00017782854262467468 -0.50% -0.50% 1.00x
map_abi_data 0.0063612223985478195 0.0036396847549395347 42.78% 74.77% 1.75x
normalize_event_input_types 0.0004015755934716782 0.00043226417990502845 -7.64% -7.10% 0.93x
receive_func_abi_exists 0.00032886410204787677 0.000027078464007614948 91.77% 1114.49% 12.14x
strip_abi_types 0.001598529874174033 0.0015074603193773138 5.70% 6.04% 1.06x
sub_type_of_array_type[nested] 0.00017319083312364992 0.00017478216862302568 -0.92% -0.91% 0.99x
sub_type_of_array_type[simple] 0.00016581609480835163 0.00016811149758140813 -1.38% -1.37% 0.99x

web3/_utils/blocks - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
is_hex_encoded_block_hash[int] 0.00002154401838614678 0.000022113413393063582 -2.64% -2.57% 0.97x
is_hex_encoded_block_hash[invalid-g] 0.00008582593680023333 0.00006380392847032603 25.66% 34.52% 1.35x
is_hex_encoded_block_hash[none] 0.000022059282132521074 0.00002218098482805042 -0.55% -0.55% 0.99x
is_hex_encoded_block_hash[short] 0.000046205055849446604 0.000029732919739083812 35.65% 55.40% 1.55x
is_hex_encoded_block_hash[too-long] 0.00004616052493555338 0.00003039179417162077 34.16% 51.88% 1.52x
is_hex_encoded_block_hash[too-short] 0.00004538030231452479 0.000030000208871593172 33.89% 51.27% 1.51x
is_hex_encoded_block_hash[valid-a] 0.00009600462771381474 0.00007350586039405973 23.44% 30.61% 1.31x
is_hex_encoded_block_hash[valid-f] 0.0000943479947369303 0.00007427386389604836 21.28% 27.03% 1.27x
is_hex_encoded_block_number[int] 0.00002226005038562002 0.000021786297978911756 2.13% 2.17% 1.02x
is_hex_encoded_block_number[invalid-g] 0.00015889629768454079 0.00021300472411563666 -34.05% -25.40% 0.75x
is_hex_encoded_block_number[max-64-a] 0.00010707450703782844 0.00008324431394630881 22.26% 28.63% 1.29x
is_hex_encoded_block_number[max-64-f] 0.00010733398323130853 0.00008348647922359087 22.22% 28.56% 1.29x
is_hex_encoded_block_number[none] 0.00002196463407223174 0.000021705256575904738 1.18% 1.19% 1.01x
is_hex_encoded_block_number[small] 0.00010251349619163407 0.00004679872496663319 54.35% 119.05% 2.19x
is_hex_encoded_block_number[too-long] 0.0001176298919332988 0.00006194261613594635 47.34% 89.90% 1.90x
is_predefined_block_number[bytes-latest] 0.00003401424564372606 0.00003292110102452331 3.21% 3.32% 1.03x
is_predefined_block_number[bytes-pending] 0.00003347317600093109 0.00003297568334914053 1.49% 1.51% 1.02x
is_predefined_block_number[bytes-random] 0.00003234739214640894 0.00003139916489838504 2.93% 3.02% 1.03x
is_predefined_block_number[int] 0.000035984849454086945 0.000022069561056750333 38.67% 63.05% 1.63x
is_predefined_block_number[none] 0.00012732243748985462 0.00021083999225097184 -65.60% -39.61% 0.60x
is_predefined_block_number[object] 0.00015388585548848708 0.0002430398870772176 -57.94% -36.68% 0.63x
is_predefined_block_number[str-earliest] 0.000013491685169876908 0.000009888811252803686 26.70% 36.43% 1.36x
is_predefined_block_number[str-finalized] 0.000013677380800831968 0.000010165736179964276 25.67% 34.54% 1.35x
is_predefined_block_number[str-foo] 0.000013093135464671508 0.000009786205571429495 25.26% 33.79% 1.34x
is_predefined_block_number[str-latest] 0.000013312466093563781 0.000009809928904663365 26.31% 35.70% 1.36x
is_predefined_block_number[str-pending] 0.000013351203664602152 0.000009800867961705905 26.59% 36.22% 1.36x
is_predefined_block_number[str-safe] 0.000013283917348486373 0.000009951536488475704 25.09% 33.49% 1.33x
select_method_for_block_identifier[hash-bytes] 0.00007937074621323535 0.000026440678608906062 66.69% 200.18% 3.00x
select_method_for_block_identifier[hash-hexstr] 0.00015733155070803124 0.00007481035931397899 52.45% 110.31% 2.10x
select_method_for_block_identifier[invalid-none] 0.0009759673021988416 0.0002663146653867733 72.71% 266.47% 3.66x
select_method_for_block_identifier[invalid-object] 0.0010028589248678246 0.00029766288733346985 70.32% 236.91% 3.37x
select_method_for_block_identifier[number-hexstr] 0.00021008680370564528 0.00006495691090490023 69.08% 223.42% 3.23x
select_method_for_block_identifier[number-int] 0.0001520071627742466 0.00003551467180266174 76.64% 328.01% 4.28x
select_method_for_block_identifier[predefined-bytes] 0.00007671200871557255 0.000027090389230843523 64.69% 183.17% 2.83x
select_method_for_block_identifier[predefined-str] 0.00005252007875945715 0.0000068543839553498825 86.95% 666.23% 7.66x

web3/_utils/datatypes - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PropertyCheckingFactory[big-invalid] 0.00044614878116137246 0.0004606217440666908 -3.24% -3.14% 0.97x
PropertyCheckingFactory[big-valid] 0.00043636672198981726 0.00047401819742926796 -8.63% -7.94% 0.92x
PropertyCheckingFactory[inheritance] 0.0011530656993747296 0.0011254661277638046 2.39% 2.45% 1.02x
PropertyCheckingFactory[invalid] 0.00044910857687050507 0.00048035558527882884 -6.96% -6.50% 0.93x
PropertyCheckingFactory[multi-normalizer] 0.0004494461436158406 0.00047639243947538774 -6.00% -5.66% 0.94x
PropertyCheckingFactory[multi-prop] 0.0004319614354207843 0.00047978920979100157 -11.07% -9.97% 0.90x
PropertyCheckingFactory[normalized] 0.0004492779790432123 0.0004813483609623605 -7.14% -6.66% 0.93x
PropertyCheckingFactory[valid] 0.001094826709673256 0.0011705253572886912 -6.91% -6.47% 0.94x
verify_attr[empty] 0.00010159213027436812 0.00015929702159598496 -56.80% -36.22% 0.64x
verify_attr[found-end] 0.000011803947046183276 0.000010378474325688462 12.08% 13.73% 1.14x
verify_attr[found-start] 0.000009035616154060354 0.0000074801179341998504 17.22% 20.80% 1.21x
verify_attr[large-found] 0.00013705552770104323 0.00013481137162190104 1.64% 1.66% 1.02x
verify_attr[large-notfound] 0.00019790417586306087 0.000260250048256099 -31.50% -23.96% 0.76x
verify_attr[notfound] 0.00010591406420120733 0.00016434908860994544 -55.17% -35.56% 0.64x

web3/_utils/formatters - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
apply_error_formatters[empty_response] 0.00045533213073214014 0.0003957057902461433 13.10% 15.07% 1.15x
apply_error_formatters[real_error] 0.00046894148433662946 0.00038578468541327975 17.73% 21.56% 1.22x
apply_formatters_to_args[0-args] 0.00034348295570900677 0.00034002212082394904 1.01% 1.02% 1.01x
apply_formatters_to_args[1-args] 0.004621756977165571 0.0050666723350543145 -9.63% -8.78% 0.91x
apply_formatters_to_args[2-args] 0.00960450499038993 0.010230843262624691 -6.52% -6.12% 0.94x
apply_formatters_to_args[3-args] 0.014927518208977026 0.015479911876907584 -3.70% -3.57% 0.96x
apply_formatters_to_args[4-args] 0.02024279831999138 0.02002777106000849 1.06% 1.07% 1.01x
apply_formatters_to_args[5-args] 0.0273048648918784 0.025325322299971732 7.25% 7.82% 1.08x
apply_formatters_to_args[6-args] 0.033177476133331156 0.030585112151487865 7.81% 8.48% 1.08x
apply_formatters_to_args[7-args] 0.04037546168000517 0.03594409742856085 10.98% 12.33% 1.12x
apply_formatters_to_args[8-args] 0.04703058552380363 0.04183090066668645 11.06% 12.43% 1.12x
apply_formatters_to_args[9-args] 0.056402056555561506 0.0488585446666786 13.37% 15.44% 1.15x
apply_key_map[empty_dict] 0.003635854690908838 0.0005525047053467913 84.80% 558.07% 6.58x
apply_key_map[no_keys_to_remap] 0.004255105709378954 0.0008298380355059967 80.50% 412.76% 5.13x
apply_key_map[transaction_dict] 0.00785336346548947 0.0025644009741106555 67.35% 206.25% 3.06x
apply_null_result_formatters[empty_response] 0.0005266960901589427 0.00039024929579328473 25.91% 34.96% 1.35x
apply_null_result_formatters[null_result] 0.0005258969522790666 0.0003821483566631893 27.33% 37.62% 1.38x
hex_to_integer[large_hex] 0.001162725961624579 0.0010132415142233115 12.86% 14.75% 1.15x
hex_to_integer[negative_hex] 0.0007092654261719857 0.0006639567503228159 6.39% 6.82% 1.07x
hex_to_integer[no_prefix] 0.0007351902948121078 0.0006742656199852832 8.29% 9.04% 1.09x
hex_to_integer[odd_length_hex] 0.0007026824502141235 0.0006983185496223115 0.62% 0.62% 1.01x
hex_to_integer[realistic_hex] 0.0013999234680036358 0.0012414544943595265 11.32% 12.76% 1.13x
hex_to_integer[uppercase_hex] 0.0007249049970789383 0.0006637751528958992 8.43% 9.21% 1.09x
hex_to_integer[zero_hex] 0.0006919607183203172 0.0005540164208192337 19.94% 24.90% 1.25x
is_array_of_dicts[block_logs] 0.006965083440575342 0.006015177012184212 13.64% 15.79% 1.16x
is_array_of_dicts[empty_list] 0.004023793623489447 0.003521967057529293 12.47% 14.25% 1.14x
is_array_of_dicts[log_entries] 0.006993202014091622 0.00600804386060576 14.09% 16.40% 1.16x
is_array_of_dicts[mixed_array] 0.006967974546107969 0.005944252271078712 14.69% 17.22% 1.17x
is_array_of_strings[empty_list] 0.003922016111542812 0.0035804228239446185 8.71% 9.54% 1.10x
is_array_of_strings[log_topics] 0.0053871873946018 0.004953449621185391 8.05% 8.76% 1.09x
is_array_of_strings[mixed_array] 0.005218251198960945 0.004700862389652369 9.91% 11.01% 1.11x
is_array_of_strings[real_topics] 0.005374701903231467 0.004923488379974969 8.40% 9.16% 1.09x
map_collection[dict_nonstring_keys] 0.006082787939388282 0.004769435300000797 21.59% 27.54% 1.28x
map_collection[empty_list] 0.006834036945581854 0.006821225662153014 0.19% 0.19% 1.00x
map_collection[nested_list] 0.0070440841197305926 0.007049220097901621 -0.07% -0.07% 1.00x
map_collection[real_topics] 0.007203299217396136 0.007201999094217422 0.02% 0.02% 1.00x
map_collection[set_input] 0.0072136286176437215 0.007233606644922145 -0.28% -0.28% 1.00x
map_collection[string_input] 0.0024064147881681314 0.0022126803634324446 8.05% 8.76% 1.09x
map_collection[transaction_dict] 0.009174381587157719 0.00764922055724711 16.62% 19.94% 1.20x
map_collection[tuple_input] 0.006864213767620397 0.006957967548615329 -1.37% -1.35% 0.99x
recursive_map[empty_nested] 0.012242599463420226 0.0113634895909265 7.18% 7.74% 1.08x
recursive_map[nested_blocks] 0.9131211460000032 0.7960664507999808 12.82% 14.70% 1.15x
recursive_map[nested_topics] 0.08359617958332895 0.07444047528575279 10.95% 12.30% 1.12x
remove_key_if[dict_with_removal] 0.003625935302575624 0.0034729624444417417 4.22% 4.40% 1.04x
remove_key_if[dict_without_removal] 0.0014571473976294795 0.001446805237967958 0.71% 0.71% 1.01x
remove_key_if[empty_dict] 0.0011073541286472598 0.0010108329705265835 8.72% 9.55% 1.10x
remove_key_if[no_remove_key] 0.00112755809550691 0.0009944635348661556 11.80% 13.38% 1.13x
static_result 0.0008526125221225961 0.0005184464800417763 39.19% 64.46% 1.64x
static_return 0.0005426047817232534 0.000513372093314673 5.39% 5.69% 1.06x

web3/_utils/http - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
construct_user_agent 0.0006648064403262514 0.0006729801926008481 -1.23% -1.21% 0.99x

web3/_utils/math - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
percentile[10-median] 0.00007804335908210609 0.000023636263970634243 69.71% 230.18% 3.30x
percentile[100-90th] 0.00011005212437713967 0.00005377699649044865 51.13% 104.65% 2.05x
percentile[100k-99th] 0.037971614259293816 0.037795199740719036 0.46% 0.47% 1.00x
percentile[100k-median] 0.03799066226925928 0.03776480826921285 0.59% 0.60% 1.01x
percentile[10k-10th] 0.003959977421051111 0.0038238068837176268 3.44% 3.56% 1.04x
percentile[10k-99th] 0.0038900470038575586 0.003861811223947181 0.73% 0.73% 1.01x
percentile[10k-median] 0.0039451012568857595 0.0038365481679338976 2.75% 2.83% 1.03x
percentile[1k-99th] 0.00045642295439509925 0.00039100372135011615 14.33% 16.73% 1.17x
percentile[1M-median] 0.6537845653999284 0.6458383893999781 1.22% 1.23% 1.01x

web3/_utils/method_formatters - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
PYTHONIC_REQUEST_FORMATTERS[eth_feeHistory] 0.0024328914063231543 0.0017367122752194775 28.62% 40.09% 1.40x
PYTHONIC_REQUEST_FORMATTERS[eth_getBalance] 0.0011408481668546883 0.0007735245474114017 32.20% 47.49% 1.47x
PYTHONIC_REQUEST_FORMATTERS[eth_getBlockByNumber] 0.0011245918339024702 0.0008006863596092025 28.80% 40.45% 1.40x
PYTHONIC_REQUEST_FORMATTERS[eth_getBlockReceipts] 0.001049567054670478 0.0007421948883870446 29.29% 41.41% 1.41x
PYTHONIC_REQUEST_FORMATTERS[eth_getBlockTransactionCountByNumber] 0.0010755954834235004 0.0007427521582194905 30.95% 44.81% 1.45x
PYTHONIC_REQUEST_FORMATTERS[eth_getCode] 0.0011355145806357567 0.000783588371500704 30.99% 44.91% 1.45x
PYTHONIC_REQUEST_FORMATTERS[eth_getLogs] 0.002651200586472663 0.0019941646850707754 24.78% 32.95% 1.33x
PYTHONIC_REQUEST_FORMATTERS[eth_getRawTransactionByBlockHashAndIndex] 0.0011162751435037778 0.0007829851942431337 29.86% 42.57% 1.43x
PYTHONIC_REQUEST_FORMATTERS[eth_getRawTransactionByBlockNumberAndIndex] 0.002359292883214364 0.0016380112395258332 30.57% 44.03% 1.44x
PYTHONIC_REQUEST_FORMATTERS[eth_getStorageAt] 0.0011703401960610894 0.000800599669096267 31.59% 46.18% 1.46x
PYTHONIC_REQUEST_FORMATTERS[eth_getTransactionByBlockNumberAndIndex] 0.00231846998105099 0.001661083988511819 28.35% 39.58% 1.40x
PYTHONIC_REQUEST_FORMATTERS[eth_getTransactionCount] 0.0011181052706136193 0.0007763900206360371 30.56% 44.01% 1.44x
PYTHONIC_REQUEST_FORMATTERS[eth_getUncleByBlockHashAndIndex] 0.001122807093931889 0.0007693472657064605 31.48% 45.94% 1.46x
PYTHONIC_REQUEST_FORMATTERS[eth_getUncleByBlockNumberAndIndex] 0.0023267997957128607 0.0016798130234109822 27.81% 38.52% 1.39x
PYTHONIC_REQUEST_FORMATTERS[eth_getUncleCountByBlockNumber] 0.0010765916388986354 0.0007428895475063661 31.00% 44.92% 1.45x
PYTHONIC_REQUEST_FORMATTERS[eth_newFilter] 0.002635992606373138 0.0019884386161757362 24.57% 32.57% 1.33x
PYTHONIC_RESULT_FORMATTERS[debug_traceTransaction] 0.10783328029997392 0.06763566118749509 37.28% 59.43% 1.59x
PYTHONIC_RESULT_FORMATTERS[eth_accounts] 0.07752719769226903 0.024722618926883048 68.11% 213.59% 3.14x
PYTHONIC_RESULT_FORMATTERS[eth_blobBaseFee] 0.0004009297857758067 0.00023971477113058653 40.21% 67.25% 1.67x
PYTHONIC_RESULT_FORMATTERS[eth_blockNumber] 0.0003782384707034093 0.0002196227938389194 41.94% 72.22% 1.72x
PYTHONIC_RESULT_FORMATTERS[eth_call] 0.0008942447599256182 0.000443859756204582 50.36% 101.47% 2.01x
PYTHONIC_RESULT_FORMATTERS[eth_chainId] 0.0003669798500576967 0.00020683358148287614 43.64% 77.43% 1.77x
PYTHONIC_RESULT_FORMATTERS[eth_createAccessList] 0.03701167307404089 0.014536174188378936 60.73% 154.62% 2.55x
PYTHONIC_RESULT_FORMATTERS[eth_estimateGas] 0.0003747414144730069 0.00021009808074263416 43.94% 78.36% 1.78x
PYTHONIC_RESULT_FORMATTERS[eth_gasPrice] 0.00040160340975637856 0.00024307866071327959 39.47% 65.22% 1.65x
PYTHONIC_RESULT_FORMATTERS[eth_getBalance] 0.0004088239544709545 0.00022587310127840547 44.75% 81.00% 1.81x
PYTHONIC_RESULT_FORMATTERS[eth_getBlockTransactionCountByHash] 0.00036564222381766715 0.0002007093747397868 45.11% 82.17% 1.82x
PYTHONIC_RESULT_FORMATTERS[eth_getBlockTransactionCountByNumber] 0.0003649582953977132 0.00020240920092923903 44.54% 80.31% 1.80x
PYTHONIC_RESULT_FORMATTERS[eth_getCode] 0.0009347074388011631 0.0004897206684910874 47.61% 90.87% 1.91x
PYTHONIC_RESULT_FORMATTERS[eth_getProof] 0.04348021052174258 0.017612876142834466 59.49% 146.87% 2.47x
PYTHONIC_RESULT_FORMATTERS[eth_getRawTransactionByBlockHashAndIndex] 0.0009701970673148292 0.0005172899963383622 46.68% 87.55% 1.88x
PYTHONIC_RESULT_FORMATTERS[eth_getRawTransactionByBlockNumberAndIndex] 0.0009724979507683276 0.0005174799183642521 46.79% 87.93% 1.88x
PYTHONIC_RESULT_FORMATTERS[eth_getRawTransactionByHash] 0.0009382573611456486 0.0004999043749412353 46.72% 87.69% 1.88x
PYTHONIC_RESULT_FORMATTERS[eth_getStorageAt] 0.0009052911960653866 0.00044670064946786774 50.66% 102.66% 2.03x
PYTHONIC_RESULT_FORMATTERS[eth_getTransactionByBlockHashAndIndex] 0.04532430321737395 0.0174104142982351 61.59% 160.33% 2.60x
PYTHONIC_RESULT_FORMATTERS[eth_getTransactionByBlockNumberAndIndex] 0.045229842863694684 0.017461340842114544 61.39% 159.03% 2.59x
PYTHONIC_RESULT_FORMATTERS[eth_getTransactionByHash] 0.04526054840913606 0.01747763933327294 61.38% 158.96% 2.59x
PYTHONIC_RESULT_FORMATTERS[eth_getTransactionCount] 0.00036515008398196706 0.00020047986788633012 45.10% 82.14% 1.82x
PYTHONIC_RESULT_FORMATTERS[eth_getUncleCountByBlockHash] 0.00036724181665116746 0.00019926605770346681 45.74% 84.30% 1.84x
PYTHONIC_RESULT_FORMATTERS[eth_getUncleCountByBlockNumber] 0.00036773582275973453 0.00019500786391462335 46.97% 88.57% 1.89x
PYTHONIC_RESULT_FORMATTERS[eth_maxPriorityFeePerGas] 0.0003943219284229707 0.0002438405798602089 38.16% 61.71% 1.62x
PYTHONIC_RESULT_FORMATTERS[eth_protocolVersion] 0.0010633714138653877 0.0006582886407914547 38.09% 61.54% 1.62x
PYTHONIC_RESULT_FORMATTERS[eth_sendRawTransaction] 0.0012721726045661446 0.0007223840666589187 43.22% 76.11% 1.76x
PYTHONIC_RESULT_FORMATTERS[eth_sendTransaction] 0.0012627825548498337 0.000720365719491919 42.95% 75.30% 1.75x
PYTHONIC_RESULT_FORMATTERS[eth_sign] 0.0009373902549711959 0.0005006113160102928 46.60% 87.25% 1.87x
PYTHONIC_RESULT_FORMATTERS[eth_signTypedData] 0.0009560230364069407 0.0004983051252607014 47.88% 91.85% 1.92x
PYTHONIC_RESULT_FORMATTERS[eth_simulateV1] 0.003055369136655482 0.0022377166136441865 26.76% 36.54% 1.37x
PYTHONIC_RESULT_FORMATTERS[eth_subscribe] 0.0011148713556126994 0.0007170062407504141 35.69% 55.49% 1.55x
PYTHONIC_RESULT_FORMATTERS[eth_syncing] 0.003778081438452738 0.0022155247716924334 41.36% 70.53% 1.71x
PYTHONIC_RESULT_FORMATTERS[evm_snapshot] 0.00009561741638185334 0.00007691704311821262 19.56% 24.31% 1.24x
PYTHONIC_RESULT_FORMATTERS[net_peerCount] 0.00036627684492572375 0.00020176243335768708 44.92% 81.54% 1.82x
PYTHONIC_RESULT_FORMATTERS[txpool_content] 0.005439878912543936 0.0038125651517546266 29.91% 42.68% 1.43x
PYTHONIC_RESULT_FORMATTERS[txpool_inspect] 0.002885584058498491 0.0019856249780884874 31.19% 45.32% 1.45x

web3/_utils/type_conversion - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
to_bytes_if_hex[bytes] 0.000013651072668554061 0.0000073823177966645 45.92% 84.92% 1.85x
to_bytes_if_hex[empty-str] 0.00031574504479511806 0.00003846885335201817 87.82% 720.78% 8.21x
to_bytes_if_hex[hexstr] 0.0003442232641230006 0.00004626427367449911 86.56% 644.04% 7.44x
to_bytes_if_hex[large-hex] 0.00034871774963497233 0.00005177657267454797 85.15% 573.50% 6.74x
to_bytes_if_hex[non-prefixed-hex] 0.00032589990969820234 0.000043577403249502745 86.63% 647.86% 7.48x
to_bytes_if_hex[nothex] 0.00043026232112717113 0.0002653778449690073 38.32% 62.13% 1.62x
to_bytes_if_hex[unicode] 0.00043833827679789773 0.00028144899733483153 35.79% 55.74% 1.56x
to_bytes_if_hex[zero] 0.00034221127615488046 0.00004707689684426122 86.24% 626.92% 7.27x
to_hex_if_bytes[bytes] 0.0002431103573665628 0.0000525351678596386 78.39% 362.76% 4.63x
to_hex_if_bytes[empty-bytes] 0.00022713519803225046 0.00004082227614382087 82.03% 456.40% 5.56x
to_hex_if_bytes[empty-str] 0.00011098264725050379 0.00019762345727787015 -78.07% -43.84% 0.56x
to_hex_if_bytes[hexstr] 0.00028663339034955965 0.00002619053624981605 90.86% 994.42% 10.94x
to_hex_if_bytes[large-bytes] 0.0002402462911178066 0.00005493188725891202 77.14% 337.35% 4.37x
to_hex_if_bytes[non-prefixed-hex] 0.00011337588825081003 0.00019962742383763447 -76.08% -43.21% 0.57x
to_hex_if_bytes[not-hex] 0.0001122913162251054 0.00019941670599195454 -77.59% -43.69% 0.56x
to_hex_if_bytes[unicode] 0.0001182732408225189 0.00020945184456494658 -77.09% -43.53% 0.56x

web3/_utils/utility_methods - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
all_in_dict[all-in] 0.0003106887344577428 0.00010003677851147682 67.80% 210.57% 3.11x
all_in_dict[empty-dict] 0.00027684928310512237 0.00006778754254852985 75.51% 308.41% 4.08x
all_in_dict[empty-list] 0.00026639641562734473 0.00007692565418992024 71.12% 246.30% 3.46x
all_in_dict[mixed-types] 0.00031135463037314346 0.00009003431408473748 71.08% 245.82% 3.46x
all_in_dict[no-overlap] 0.0002846391142736746 0.00008009635201961364 71.86% 255.37% 3.55x
all_in_dict[none-in] 0.0002851209145026 0.00007968785408138013 72.05% 257.80% 3.58x
all_in_dict[one-in] 0.0002869919246826438 0.00009162162139971396 68.08% 213.24% 3.13x
all_in_dict[partial-overlap] 0.0003222079347199178 0.00009168044856608185 71.55% 251.45% 3.51x
all_in_dict[value-none] 0.0002848550466136106 0.00008448170286379355 70.34% 237.18% 3.37x
any_in_dict[all-in] 0.00027348214359155837 0.00008020116949966004 70.67% 241.00% 3.41x
any_in_dict[empty-dict] 0.00029568320672762854 0.00008400453216237218 71.59% 251.98% 3.52x
any_in_dict[empty-list] 0.0002545701766290334 0.00007628584561589986 70.03% 233.71% 3.34x
any_in_dict[mixed-types] 0.00028531976140375626 0.00007626650656349272 73.27% 274.11% 3.74x
any_in_dict[no-overlap] 0.00033404723905068606 0.00009744500910513781 70.83% 242.81% 3.43x
any_in_dict[none-in] 0.0002822251940872737 0.00008299798505943805 70.59% 240.04% 3.40x
any_in_dict[one-in] 0.000271077346851694 0.00007917117538944786 70.79% 242.39% 3.42x
any_in_dict[partial-overlap] 0.0002762091332590674 0.00007936340406822368 71.27% 248.03% 3.48x
any_in_dict[value-none] 0.0002807463952023189 0.00007865240617051848 71.98% 256.95% 3.57x
either_set_is_a_subset[both-empty] 0.00015810815398091527 0.00014834079692895897 6.18% 6.58% 1.07x
either_set_is_a_subset[empty-set1] 0.00015444795470587303 0.00014872613953104211 3.70% 3.85% 1.04x
either_set_is_a_subset[empty-set2] 0.00023217937834466365 0.00023793997394739346 -2.48% -2.42% 0.98x
either_set_is_a_subset[identical] 0.0001683569601534029 0.00016074274106141887 4.52% 4.74% 1.05x
either_set_is_a_subset[mixed-types] 0.00017152985910331154 0.0001645280080137699 4.08% 4.26% 1.04x
either_set_is_a_subset[not-subset] 0.00023619215269117218 0.0002389753882423891 -1.18% -1.16% 0.99x
either_set_is_a_subset[partial-overlap] 0.0002696917269557914 0.0002708213136394388 -0.42% -0.42% 1.00x
either_set_is_a_subset[subset] 0.0001714476987635499 0.00016741255822541183 2.35% 2.41% 1.02x
either_set_is_a_subset[superset] 0.0002641182898928611 0.0002723634353960035 -3.12% -3.03% 0.97x
none_in_dict[all-in] 0.0002890049848265275 0.00008152444137952095 71.79% 254.50% 3.55x
none_in_dict[empty-dict] 0.00030957765113625316 0.00008497588405686053 72.55% 264.31% 3.64x
none_in_dict[empty-list] 0.0002689839732386525 0.00008254800262302168 69.31% 225.85% 3.26x
none_in_dict[mixed-types] 0.0002917675571990391 0.00008381523522977728 71.27% 248.11% 3.48x
none_in_dict[no-overlap] 0.00033161530708008066 0.00009674510691566299 70.83% 242.77% 3.43x
none_in_dict[none-in] 0.00029481681775065754 0.0000858210251312819 70.89% 243.53% 3.44x
none_in_dict[one-in] 0.00028785185697540014 0.00008049770299831692 72.04% 257.59% 3.58x
none_in_dict[partial-overlap] 0.0002923858044201656 0.00008134881603242254 72.18% 259.42% 3.59x
none_in_dict[value-none] 0.0002914290842200129 0.0000814041610762845 72.07% 258.00% 3.58x

web3/_utils/validation - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
assert_one_val 0.0010882469272270269 0.0009190503940903076 15.55% 18.41% 1.18x
has_one_val 0.0009611582578195055 0.0007829821132562424 18.54% 22.76% 1.23x
is_not_address_string[0x123] 0.0008334315512009683 0.0007146995042577113 14.25% 16.61% 1.17x
is_not_address_string[0x1234567890123456789012345678901234567890] 0.026886213944483945 0.009287251420552489 65.46% 189.50% 2.89x
is_not_address_string[alice.eth] 0.000842687411090223 0.0007191684796484773 14.66% 17.18% 1.17x
is_not_address_string[bytes] 0.00017063835918608433 0.0002074705121984688 -21.58% -17.75% 0.82x
is_not_address_string[notanaddress] 0.0008314787278088426 0.0007215322450202886 13.22% 15.24% 1.15x
prepare_selector_collision_msg 0.015837850262287845 0.013370432875010212 15.58% 18.45% 1.18x
raise_bad_response_format 0.0017935881952503454 0.0023439489432023016 -30.68% -23.48% 0.77x
raise_error_for_batch_response 0.00966758078376999 0.0035071164264116063 63.72% 175.66% 2.76x
validate_abi_type[address] 0.000838427072522921 0.000932647214699946 -11.24% -10.10% 0.90x
validate_abi_type[bool] 0.0008433203251933936 0.0009256948232983074 -9.77% -8.90% 0.91x
validate_abi_type[bytes] 0.0015489743221759015 0.0016549604084780262 -6.84% -6.40% 0.94x
validate_abi_type[string] 0.0010725577688126507 0.0012039563592178663 -12.25% -10.91% 0.89x
validate_abi_type[uint256] 0.0013165875546488467 0.00143746955969659 -9.18% -8.41% 0.92x
validate_abi_value[address-0x1234567890123456789012345678901234567890] 0.05710749641173821 0.021414308638262075 62.50% 166.68% 2.67x
validate_abi_value[bool-True] 0.0008354048296427382 0.0009303955454608933 -11.37% -10.21% 0.90x
validate_abi_value[bytes-bytes] 0.0022472067579259007 0.0024242638206449767 -7.88% -7.30% 0.93x
validate_abi_value[string-hello] 0.002441257595522709 0.002643266630995864 -8.27% -7.64% 0.92x
validate_abi_value[uint256-123] 0.001389392477952554 0.0014070264753574546 -1.27% -1.25% 0.99x
validate_abi[abi0] 0.13212125737499036 0.09240249609088509 30.06% 42.98% 1.43x
validate_abi[abi1] 0.3744041402000221 0.26624916940008914 28.89% 40.62% 1.41x
validate_abi[abi2] 0.5863778917999298 0.42375704520009094 27.73% 38.38% 1.38x
validate_address[0x1234567890123456789012345678901234567890] 0.05299525947372642 0.018790193849018012 64.54% 182.04% 2.82x
validate_address[alice.eth] 1.0965784057998462 1.1175209085999085 -1.91% -1.87% 0.98x
validate_rpc_response_and_raise_if_error 0.0012390248012478357 0.0003521082245259934 71.58% 251.89% 3.52x
validate_subscription_fields 0.00013500331501902312 0.00008904434729808406 34.04% 51.61% 1.52x

web3/beacon/async_beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.14988062542852276 0.34138214328556515 -127.77% -56.10% 0.44x
get_attestations_rewards[validator_indices0-0] 0.15744350685703726 0.16162858499995178 -2.66% -2.59% 0.97x
get_attestations_rewards[validator_indices0-123] 0.4618784757143268 0.14949882839991915 67.63% 208.95% 3.09x
get_attestations_rewards[validator_indices0-99999] 0.1524126981428578 0.15271939842861165 -0.20% -0.20% 1.00x
get_attestations_rewards[validator_indices1-0] 0.14911919328557946 0.1493683971428774 -0.17% -0.17% 1.00x
get_attestations_rewards[validator_indices1-123] 0.15470401471416803 0.15088144228574102 2.47% 2.53% 1.03x
get_attestations_rewards[validator_indices1-99999] 0.15109817914279638 0.14983620599995057 0.84% 0.84% 1.01x
get_attestations_rewards[validator_indices2-0] 0.454146700428607 0.46374171257158586 -2.11% -2.07% 0.98x
get_attestations_rewards[validator_indices2-123] 0.15513061828557642 0.15052348471434535 2.97% 3.06% 1.03x
get_attestations_rewards[validator_indices2-99999] 0.469479811857192 0.47390670442850286 -0.94% -0.93% 0.99x
get_attester_duties[validator_indices0-0] 0.15675076571434537 0.16143954371422556 -2.99% -2.90% 0.97x
get_attester_duties[validator_indices0-123] 0.15437571585705104 0.15129685957137035 1.99% 2.03% 1.02x
get_attester_duties[validator_indices0-99999] 0.17162988300002066 0.42358038457145347 -146.80% -59.48% 0.41x
get_attester_duties[validator_indices1-0] 0.15587567057140664 0.15834291799995168 -1.58% -1.56% 0.98x
get_attester_duties[validator_indices1-123] 0.41187709528555516 0.42214329814279544 -2.49% -2.43% 0.98x
get_attester_duties[validator_indices1-99999] 0.15680829757151774 0.15496031714292258 1.18% 1.19% 1.01x
get_attester_duties[validator_indices2-0] 0.43142242685715765 0.15627249399985885 63.78% 176.07% 2.76x
get_attester_duties[validator_indices2-123] 0.1549810948569887 0.15972952414287128 -3.06% -2.97% 0.97x
get_attester_duties[validator_indices2-99999] 0.1515372571427958 0.1527253217141801 -0.78% -0.78% 0.99x
get_attester_slashings 0.1528343192857002 0.3330179885714252 -117.89% -54.11% 0.46x
get_beacon_heads 0.35885443099998937 0.15337305385719446 57.26% 133.97% 2.34x
get_beacon_state[12345] 0.15454254640017098 0.1462100880001864 5.39% 5.70% 1.06x
get_beacon_state[finalized] 0.34364638271426884 0.15463870014277095 55.00% 122.23% 2.22x
get_beacon_state[head] 0.15207399042856196 0.1559927491428945 -2.58% -2.51% 0.97x
get_beacon_state[justified] 0.15683139614280403 0.3657452864285915 -133.21% -57.12% 0.43x
get_blinded_blocks[0xabc123] 0.31339707357132546 0.15098169160000907 51.82% 107.57% 2.08x
get_blinded_blocks[12345] 0.15417882842861477 0.15412741085713474 0.03% 0.03% 1.00x
get_blinded_blocks[genesis] 0.15199817385720443 0.3151380125712941 -107.33% -51.77% 0.48x
get_blinded_blocks[head] 0.30755976985704236 0.14873395214291513 51.64% 106.79% 2.07x
get_blob_sidecars[indices1-0xabc123] 0.3968615499998772 0.4146187639998321 -4.47% -4.28% 0.96x
get_blob_sidecars[indices1-12345] 0.15751904300006053 0.14798900228574244 6.05% 6.44% 1.06x
get_blob_sidecars[indices1-genesis] 0.1538305208571598 0.1571793348571191 -2.18% -2.13% 0.98x
get_blob_sidecars[indices1-head] 0.15332142160004877 0.15126003860013953 1.34% 1.36% 1.01x
get_blob_sidecars[indices2-0xabc123] 0.15652978928574157 0.15610269779990632 0.27% 0.27% 1.00x
get_blob_sidecars[indices2-12345] 0.4046076361428277 0.16442674983325864 59.36% 146.07% 2.46x
get_blob_sidecars[indices2-genesis] 0.39907510300008653 0.40380602300001556 -1.19% -1.17% 0.99x
get_blob_sidecars[indices2-head] 0.1621444906667572 0.16096646657147826 0.73% 0.73% 1.01x
get_blob_sidecars[None-0xabc123] 0.15431898057158833 0.14872998157131537 3.62% 3.76% 1.04x
get_blob_sidecars[None-12345] 0.38294926828575626 0.15739032340006814 58.90% 143.31% 2.43x
get_blob_sidecars[None-genesis] 0.15479381742859136 0.1596795000000384 -3.16% -3.06% 0.97x
get_blob_sidecars[None-head] 0.3847350875713736 0.3861834325714751 -0.38% -0.38% 1.00x
get_block_attestations[0xabc123] 0.29973196957143955 0.14969227071437022 50.06% 100.23% 2.00x
get_block_attestations[12345] 0.15511333557138382 0.31619317928574936 -103.85% -50.94% 0.49x
get_block_attestations[genesis] 0.30523406171434025 0.15370431757128244 49.64% 98.59% 1.99x
get_block_attestations[head] 0.15785169057140333 0.15204295200003667 3.68% 3.82% 1.04x
get_block_header[0xabc123] 0.15528070328563054 0.2752207222857968 -77.24% -43.58% 0.56x
get_block_header[12345] 0.15296747600004892 0.14652527442863825 4.21% 4.40% 1.04x
get_block_header[genesis] 0.1553062162857454 0.2839755144285456 -82.85% -45.31% 0.55x
get_block_header[head] 0.29114843457136885 0.159660877999873 45.16% 82.35% 1.82x
get_block_headers 0.15412432585721295 0.14910967228576869 3.25% 3.36% 1.03x
get_block_proposer_duties[0] 0.16643647842855508 0.1533764871427203 7.85% 8.51% 1.09x
get_block_proposer_duties[123] 0.15335112871428333 0.43927876871423777 -186.45% -65.09% 0.35x
get_block_proposer_duties[99999] 0.4304430177143591 0.15636241399995146 63.67% 175.29% 2.75x
get_block_root[0xabc123] 0.15405120242862072 0.1561335499999846 -1.35% -1.33% 0.99x
get_block_root[12345] 0.15694176757148984 0.2986995359999907 -90.33% -47.46% 0.53x
get_block_root[genesis] 0.29300161971429717 0.1512758815713044 48.37% 93.69% 1.94x
get_block_root[head] 0.15724855628572446 0.3039510307141557 -93.29% -48.27% 0.52x
get_block[0xabc123] 0.15843237614288747 0.28625834285704904 -80.68% -44.65% 0.55x
get_block[12345] 0.2977467155713904 0.15176809285711507 49.03% 96.19% 1.96x
get_block[genesis] 0.15544547928571514 0.15289829042844108 1.64% 1.67% 1.02x
get_block[head] 0.1530340042856681 0.2826824297143113 -84.72% -45.86% 0.54x
get_bls_to_execution_changes 0.35299025342861307 0.15659089028570503 55.64% 125.42% 2.25x
get_deposit_contract 0.15475787957159678 0.3506345392856929 -126.57% -55.86% 0.44x
get_epoch_committees[12345] 0.26974177120000603 0.15032198028575294 44.27% 79.44% 1.79x
get_epoch_committees[finalized] 0.2541504517143949 0.15460983214292615 39.17% 64.38% 1.64x
get_epoch_committees[head] 0.14961604042861967 0.15451465842865478 -3.27% -3.17% 0.97x
get_epoch_committees[justified] 0.1553159944286173 0.2506070037141918 -61.35% -38.02% 0.62x
get_epoch_randao[12345] 0.1609233961429319 0.2668774569999966 -65.84% -39.70% 0.60x
get_epoch_randao[finalized] 0.15753993742841235 0.27136604871436376 -72.25% -41.95% 0.58x
get_epoch_randao[head] 0.26515822771430714 0.1567320277142374 40.89% 69.18% 1.69x
get_epoch_randao[justified] 0.26999482728576496 0.15599414171421294 42.22% 73.08% 1.73x
get_epoch_sync_committees[12345] 0.2583332085713274 0.15450083500010287 40.19% 67.21% 1.67x
get_epoch_sync_committees[finalized] 0.15374506171435445 0.14461726519994045 5.94% 6.31% 1.06x
get_epoch_sync_committees[head] 0.2554502664285922 0.15434750142860917 39.58% 65.50% 1.66x
get_epoch_sync_committees[justified] 0.1535115848571747 0.15397117728577672 -0.30% -0.30% 1.00x
get_finality_checkpoint[12345] 0.159074632285735 0.15935860085710374 -0.18% -0.18% 1.00x
get_finality_checkpoint[finalized] 0.19529638299997845 0.20399001099992478 -4.45% -4.26% 0.96x
get_finality_checkpoint[head] 0.1565833623334735 0.15576075485712085 0.53% 0.53% 1.01x
get_finality_checkpoint[justified] 0.19570096757141592 0.14871348028574566 24.01% 31.60% 1.32x
get_fork_data[12345] 0.18867500757148395 0.19466791457145 -3.18% -3.08% 0.97x
get_fork_data[finalized] 0.15588488857136845 0.1570136861429481 -0.72% -0.72% 0.99x
get_fork_data[head] 0.1554482811429807 0.15041596900001813 3.24% 3.35% 1.03x
get_fork_data[justified] 0.1880603548002 0.19097053585703958 -1.55% -1.52% 0.98x
get_fork_schedule 0.3469564727142824 0.1569967468572031 54.75% 121.00% 2.21x
get_genesis 0.1660874474287084 0.16886793042847006 -1.67% -1.65% 0.98x
get_hash_root[12345] 0.1564522765714693 0.17937807557154883 -14.65% -12.78% 0.87x
get_hash_root[finalized] 0.15738995471435505 0.15356292899996332 2.43% 2.49% 1.02x
get_hash_root[head] 0.15372323657136025 0.15457205328571685 -0.55% -0.55% 0.99x
get_hash_root[justified] 0.15675639985712614 0.1778846304286422 -13.48% -11.88% 0.88x
get_health 0.1401011733749442 0.3586575682857074 -156.00% -60.94% 0.39x
get_light_client_bootstrap_structure[0x0] 0.32162186742860804 0.1537009302000115 52.21% 109.25% 2.09x
get_light_client_bootstrap_structure[0xabc123] 0.1489327874286833 0.15379310128576304 -3.26% -3.16% 0.97x
get_light_client_finality_update 0.333259516857197 0.15134859757154118 54.59% 120.19% 2.20x
get_light_client_optimistic_update 0.32689236899997404 0.1537464649999752 52.97% 112.62% 2.13x
get_light_client_updates 0.15739602757139437 0.14987720242860242 4.78% 5.02% 1.05x
get_node_identity 0.4375553966001462 0.15439763814278454 64.71% 183.40% 2.83x
get_peer_count 0.15457672371433415 0.15195566685718273 1.70% 1.72% 1.02x
get_peer[0xdeadbeef] 0.1520193411429318 0.15659631240014277 -3.01% -2.92% 0.97x
get_peer[peer1] 0.15112560857141943 0.3616990778572082 -139.34% -58.22% 0.42x
get_peer[peer2] 0.37628547457123723 0.15387301757144606 59.11% 144.54% 2.45x
get_peers 0.15417441419995156 0.15321077400000963 0.63% 0.63% 1.01x
get_proposer_slashings 0.15555337485719584 0.14485288859996218 6.88% 7.39% 1.07x
get_rewards[0xabc123] 0.15324716528571766 0.3330738094286322 -117.34% -53.99% 0.46x
get_rewards[12345] 0.32287197328573064 0.1522843095713792 52.83% 112.02% 2.12x
get_rewards[genesis] 0.15499335842852296 0.15075017257140644 2.74% 2.81% 1.03x
get_rewards[head] 0.15065641328569004 0.32281449814282887 -114.27% -53.33% 0.47x
get_spec 0.15668614199994407 0.1522845282856906 2.81% 2.89% 1.03x
get_sync_committee_duties[validator_indices0-0] 0.15582302557134295 0.15131985742865645 2.89% 2.98% 1.03x
get_sync_committee_duties[validator_indices0-123] 0.43323392614281275 0.4451909692856394 -2.76% -2.69% 0.97x
get_sync_committee_duties[validator_indices0-99999] 0.15209373814299657 0.15223237185715074 -0.09% -0.09% 1.00x
get_sync_committee_duties[validator_indices1-0] 0.43402969857139134 0.447755029428533 -3.16% -3.07% 0.97x
get_sync_committee_duties[validator_indices1-123] 0.15380389671437505 0.16069425371441476 -4.48% -4.29% 0.96x
get_sync_committee_duties[validator_indices1-99999] 0.44108461014294725 0.15271120400003774 65.38% 188.84% 2.89x
get_sync_committee_duties[validator_indices2-0] 0.1533507799999175 0.4573883479998975 -198.26% -66.47% 0.34x
get_sync_committee_duties[validator_indices2-123] 0.1556671858572502 0.15386152714284304 1.16% 1.17% 1.01x
get_sync_committee_duties[validator_indices2-99999] 0.4460600121428797 0.44939899928567684 -0.75% -0.74% 0.99x
get_syncing 0.1572146861427817 0.14390749357133764 8.46% 9.25% 1.09x
get_validator_balances[12345] 0.14869953142851955 0.16107564028574675 -8.32% -7.68% 0.92x
get_validator_balances[finalized] 0.15749997379998604 0.15825399971423135 -0.48% -0.48% 1.00x
get_validator_balances[head] 0.15899769942857997 0.2373559052856373 -49.28% -33.01% 0.67x
get_validator_balances[justified] 0.15472766785705971 0.15654185299999882 -1.17% -1.16% 0.99x
get_validator[12345-0] 0.15245883500002883 0.15371431957146342 -0.82% -0.82% 0.99x
get_validator[12345-0xdeadbeef] 0.16521854542861547 0.239461694428493 -44.94% -31.00% 0.69x
get_validator[12345-123456] 0.2215554965713896 0.15708575014286907 29.10% 41.04% 1.41x
get_validator[finalized-0] 0.15175068357140326 0.15345321380000315 -1.12% -1.11% 0.99x
get_validator[finalized-0xdeadbeef] 0.21771957042853632 0.15429779599993967 29.13% 41.10% 1.41x
get_validator[finalized-123456] 0.21078069428566387 0.15974491842858438 24.21% 31.95% 1.32x
get_validator[head-0] 0.1498012492856365 0.15467044914287595 -3.25% -3.15% 0.97x
get_validator[head-0xdeadbeef] 0.21705389885716744 0.15604429671436396 28.11% 39.10% 1.39x
get_validator[head-123456] 0.2088066264284732 0.24256365200009591 -16.17% -13.92% 0.86x
get_validator[justified-0] 0.15629298257135815 0.23366477942857142 -49.50% -33.11% 0.67x
get_validator[justified-0xdeadbeef] 0.21897659028568991 0.2330967898333256 -6.45% -6.06% 0.94x
get_validator[justified-123456] 0.21665815128569324 0.15153474514292092 30.06% 42.98% 1.43x
get_validators[12345] 0.2044555235714662 0.15757853942860883 22.93% 29.75% 1.30x
get_validators[finalized] 0.15966921357137057 0.15402323757143677 3.54% 3.67% 1.04x
get_validators[head] 0.2070383131428051 0.21132848957144493 -2.07% -2.03% 0.98x
get_validators[justified] 0.15787401471425255 0.2037934015715369 -29.09% -22.53% 0.77x
get_version 0.15038144028572528 0.3768114961429611 -150.57% -60.09% 0.40x
get_voluntary_exits 0.15482792800003153 0.15177843028576327 1.97% 2.01% 1.02x

web3/beacon/beacon - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_attestations 0.000278223403385175 0.000013842087798558185 95.02% 1909.98% 20.10x
get_attestations_rewards[validator_indices0-0] 0.00002054660444546032 0.000014024586481669581 31.74% 46.50% 1.47x
get_attestations_rewards[validator_indices0-123] 0.00027228063560264887 0.000013720017932249936 94.96% 1884.55% 19.85x
get_attestations_rewards[validator_indices0-99999] 0.000017870937691384744 0.000013871444024143449 22.38% 28.83% 1.29x
get_attestations_rewards[validator_indices1-0] 0.000020072587907866453 0.00023475926435145058 -1069.55% -91.45% 0.09x
get_attestations_rewards[validator_indices1-123] 0.000019547273537894773 0.000014042779306590802 28.16% 39.20% 1.39x
get_attestations_rewards[validator_indices1-99999] 0.00001920527300440009 0.000013946371452815843 27.38% 37.71% 1.38x
get_attestations_rewards[validator_indices2-0] 0.00026723201832577623 0.000014097785013091589 94.72% 1795.56% 18.96x
get_attestations_rewards[validator_indices2-123] 0.000017472816323403427 0.00001358434638454568 22.25% 28.62% 1.29x
get_attestations_rewards[validator_indices2-99999] 0.000019902175443030082 0.0002589932756824044 -1201.33% -92.32% 0.08x
get_attester_duties[validator_indices0-0] 0.000020039532617997557 0.000013798884524599894 31.14% 45.23% 1.45x
get_attester_duties[validator_indices0-123] 0.000020530530115946323 0.00023941510553526145 -1066.14% -91.42% 0.09x
get_attester_duties[validator_indices0-99999] 0.000019285013205170965 0.0000134435052047327 30.29% 43.45% 1.43x
get_attester_duties[validator_indices1-0] 0.000019425957441287532 0.000013270434829027247 31.69% 46.39% 1.46x
get_attester_duties[validator_indices1-123] 0.00026123662985749865 0.00001329108443486511 94.91% 1865.50% 19.66x
get_attester_duties[validator_indices1-99999] 0.000017440955429361172 0.000014031808937127895 19.55% 24.30% 1.24x
get_attester_duties[validator_indices2-0] 0.000017392328335017668 0.00024235814745592605 -1293.48% -92.82% 0.07x
get_attester_duties[validator_indices2-123] 0.000019723610771598672 0.000014037366811872626 28.83% 40.51% 1.41x
get_attester_duties[validator_indices2-99999] 0.000019755979834172196 0.000013950728835966714 29.38% 41.61% 1.42x
get_attester_slashings 0.000019930112174454025 0.00001357053347922439 31.91% 46.86% 1.47x
get_beacon_heads 0.00025726529070252603 0.000013095466622362836 94.91% 1864.54% 19.65x
get_beacon_state[12345] 0.000017447810318406068 0.000027362197895990532 -56.82% -36.23% 0.64x
get_beacon_state[finalized] 0.000019278490772325486 0.000013731226489089849 28.77% 40.40% 1.40x
get_beacon_state[head] 0.000019667344940451938 0.000014167193577736099 27.97% 38.82% 1.39x
get_beacon_state[justified] 0.0002517057084631269 0.000013674293738484572 94.57% 1740.72% 18.41x
get_blinded_blocks[0xabc123] 0.00002039531528768219 0.000013413702232361404 34.23% 52.05% 1.52x
get_blinded_blocks[12345] 0.00024458267641301704 0.000013792993700371677 94.36% 1673.24% 17.73x
get_blinded_blocks[genesis] 0.00001704804373993586 0.000013972077475370445 18.04% 22.02% 1.22x
get_blinded_blocks[head] 0.00001747276218172916 0.000014124592409644803 19.16% 23.70% 1.24x
get_blob_sidecars[indices1-0xabc123] 0.000021280402835209593 0.00001543438958574751 27.47% 37.88% 1.38x
get_blob_sidecars[indices1-12345] 0.00002172416399388996 0.0002757461885872976 -1169.31% -92.12% 0.08x
get_blob_sidecars[indices1-genesis] 0.000021949238377761225 0.00001465677317248485 33.22% 49.75% 1.50x
get_blob_sidecars[indices1-head] 0.00001937889310933643 0.00001487051543060919 23.26% 30.32% 1.30x
get_blob_sidecars[indices2-0xabc123] 0.00002152077342000372 0.000016217604724543418 24.64% 32.70% 1.33x
get_blob_sidecars[indices2-12345] 0.00002182091802736396 0.00024258955165773987 -1011.73% -91.01% 0.09x
get_blob_sidecars[indices2-genesis] 0.000022003868582729157 0.00001541004553033131 29.97% 42.79% 1.43x
get_blob_sidecars[indices2-head] 0.000253484562173658 0.000016306875057922186 93.57% 1454.46% 15.54x
get_blob_sidecars[None-0xabc123] 0.0002452952395764981 0.0000137225446365575 94.41% 1687.53% 17.88x
get_blob_sidecars[None-12345] 0.00001980504276063628 0.000014102127167096103 28.80% 40.44% 1.40x
get_blob_sidecars[None-genesis] 0.000020035486068997406 0.00023310319990210127 -1063.45% -91.40% 0.09x
get_blob_sidecars[None-head] 0.00002019116439338594 0.000013566146646028876 32.81% 48.83% 1.49x
get_block_attestations[0xabc123] 0.00001999141436788284 0.000013233456323304579 33.80% 51.07% 1.51x
get_block_attestations[12345] 0.000020409896975919654 0.000013295487397520334 34.86% 53.51% 1.54x
get_block_attestations[genesis] 0.000017504163923208602 0.0002526534398009548 -1343.39% -93.07% 0.07x
get_block_attestations[head] 0.00001764473348077413 0.000013798093501731672 21.80% 27.88% 1.28x
get_block_header[0xabc123] 0.000017948127711949392 0.0002530642369046078 -1309.98% -92.91% 0.07x
get_block_header[12345] 0.000017714302543879655 0.000013591578646289168 23.27% 30.33% 1.30x
get_block_header[genesis] 0.00025268190142380766 0.000013833195265481304 94.53% 1726.63% 18.27x
get_block_header[head] 0.000019507159110303493 0.000013760650438444277 29.46% 41.76% 1.42x
get_block_headers 0.00001934885320011072 0.000013082827885692107 32.38% 47.90% 1.48x
get_block_proposer_duties[0] 0.000020079334934342392 0.000014240924256389047 29.08% 41.00% 1.41x
get_block_proposer_duties[123] 0.000019818130039816482 0.000014070561137535603 29.00% 40.85% 1.41x
get_block_proposer_duties[99999] 0.00025739317883248893 0.000013804449784302585 94.64% 1764.57% 18.65x
get_block_root[0xabc123] 0.000021021875926563843 0.000231149858695282 -999.57% -90.91% 0.09x
get_block_root[12345] 0.0002513917988178084 0.000013269761412760996 94.72% 1794.47% 18.94x
get_block_root[genesis] 0.000020599497334530967 0.00001383634219937636 32.83% 48.88% 1.49x
get_block_root[head] 0.00002038734861559982 0.000014081910039065153 30.93% 44.78% 1.45x
get_block[0xabc123] 0.000019819429730796447 0.000013917377255449831 29.78% 42.41% 1.42x
get_block[12345] 0.000019780715153009037 0.000014160729112451653 28.41% 39.69% 1.40x
get_block[genesis] 0.000020476234770584363 0.000013304826522162762 35.02% 53.90% 1.54x
get_block[head] 0.000020429844144284977 0.0002662156538549963 -1203.07% -92.33% 0.08x
get_bls_to_execution_changes 0.000019120085127362123 0.000013306334950903688 30.41% 43.69% 1.44x
get_deposit_contract 0.000020101629644751732 0.000013265542258058322 34.01% 51.53% 1.52x
get_epoch_committees[12345] 0.00002026819010788492 0.00001398291383246286 31.01% 44.95% 1.45x
get_epoch_committees[finalized] 0.00001756233369833353 0.0002301690504876035 -1210.58% -92.37% 0.08x
get_epoch_committees[head] 0.000017552553491303006 0.000013716111734270779 21.86% 27.97% 1.28x
get_epoch_committees[justified] 0.000020319725171300965 0.000014267247116801965 29.79% 42.42% 1.42x
get_epoch_randao[12345] 0.00002024126117853792 0.000013862271129055061 31.51% 46.02% 1.46x
get_epoch_randao[finalized] 0.00001748941022646541 0.000013562552101755538 22.45% 28.95% 1.29x
get_epoch_randao[head] 0.0002782799752853889 0.000013647787551801837 95.10% 1939.01% 20.39x
get_epoch_randao[justified] 0.000020701859176017052 0.00023907632041182878 -1054.85% -91.34% 0.09x
get_epoch_sync_committees[12345] 0.000017838895685210605 0.00001375116189653392 22.91% 29.73% 1.30x
get_epoch_sync_committees[finalized] 0.000019441092880233285 0.0000131867508919664 32.17% 47.43% 1.47x
get_epoch_sync_committees[head] 0.00002046253314926007 0.000013382185537064477 34.60% 52.91% 1.53x
get_epoch_sync_committees[justified] 0.0002513517757048144 0.00001376044392034551 94.53% 1726.63% 18.27x
get_finality_checkpoint[12345] 0.00026494093198047724 0.000013505078927105422 94.90% 1861.79% 19.62x
get_finality_checkpoint[finalized] 0.000019920847713272133 0.000013812822302279795 30.66% 44.22% 1.44x
get_finality_checkpoint[head] 0.00002033923053260031 0.000014106942081326842 30.64% 44.18% 1.44x
get_finality_checkpoint[justified] 0.00001995988837692446 0.000013790059066898808 30.91% 44.74% 1.45x
get_fork_data[12345] 0.00002008290678452818 0.000013877977705820372 30.90% 44.71% 1.45x
get_fork_data[finalized] 0.00002059398638302241 0.00023000085440546143 -1016.84% -91.05% 0.09x
get_fork_data[head] 0.000018099296892380242 0.000014214742592329562 21.46% 27.33% 1.27x
get_fork_data[justified] 0.000019685846120711075 0.000013801857942339016 29.89% 42.63% 1.43x
get_fork_schedule 0.000019166311969760886 0.000013043046670811976 31.95% 46.95% 1.47x
get_genesis 0.000017333317039320074 0.000013768299785749201 20.57% 25.89% 1.26x
get_hash_root[12345] 0.000017363191707831535 0.00023735297215849932 -1266.99% -92.68% 0.07x
get_hash_root[finalized] 0.000020816164928325315 0.000014556800479571026 30.07% 43.00% 1.43x
get_hash_root[head] 0.00002144472633056 0.000014075242578745348 34.37% 52.36% 1.52x
get_hash_root[justified] 0.00026144290318744375 0.000014355586922586337 94.51% 1721.19% 18.21x
get_health 0.000018169435145452957 0.00001224611265126485 32.60% 48.37% 1.48x
get_light_client_bootstrap_structure[0x0] 0.00001992917070224586 0.000013624636496902651 31.63% 46.27% 1.46x
get_light_client_bootstrap_structure[0xabc123] 0.00001784038940023152 0.000013756287921033708 22.89% 29.69% 1.30x
get_light_client_finality_update 0.000016811185350121843 0.00001361794309838655 18.99% 23.45% 1.23x
get_light_client_optimistic_update 0.000019787273466797793 0.000013247840987936876 33.05% 49.36% 1.49x
get_light_client_updates 0.00027957144157487925 0.00001306449198060609 95.33% 2039.93% 21.40x
get_node_identity 0.000018486857300296338 0.000013214397084340872 28.52% 39.90% 1.40x
get_peer_count 0.000019540151722649126 0.000013472105400070822 31.05% 45.04% 1.45x
get_peer[0xdeadbeef] 0.000020133310677029813 0.0002754126831226675 -1267.95% -92.69% 0.07x
get_peer[peer1] 0.000017594386269593684 0.000013599095039008903 22.71% 29.38% 1.29x
get_peer[peer2] 0.000019936503953226674 0.000013610706135364825 31.73% 46.48% 1.46x
get_peers 0.000018646448404487295 0.0002554430411056167 -1269.93% -92.70% 0.07x
get_proposer_slashings 0.000019558195224609714 0.000013197888537258248 32.52% 48.19% 1.48x
get_rewards[0xabc123] 0.00001737992348737901 0.000013229347145568335 23.88% 31.37% 1.31x
get_rewards[12345] 0.00001731269512692988 0.0002545415816350029 -1370.26% -93.20% 0.07x
get_rewards[genesis] 0.00024977118711902663 0.000013621609639850694 94.55% 1733.64% 18.34x
get_rewards[head] 0.00003335310240256153 0.000013287087860562387 60.16% 151.02% 2.51x
get_spec 0.0002957797547407064 0.000013757459483369707 95.35% 2049.96% 21.50x
get_sync_committee_duties[validator_indices0-0] 0.000019673154662489033 0.000014138379053079886 28.13% 39.15% 1.39x
get_sync_committee_duties[validator_indices0-123] 0.000019927543313587575 0.000014224661215388476 28.62% 40.09% 1.40x
get_sync_committee_duties[validator_indices0-99999] 0.0002597693735306186 0.000013965351117151158 94.62% 1760.10% 18.60x
get_sync_committee_duties[validator_indices1-0] 0.000020384277944392413 0.000013623189302855309 33.17% 49.63% 1.50x
get_sync_committee_duties[validator_indices1-123] 0.00001786783937818507 0.00028545240436130497 -1497.58% -93.74% 0.06x
get_sync_committee_duties[validator_indices1-99999] 0.000019881744488233396 0.000014361232137652878 27.77% 38.44% 1.38x
get_sync_committee_duties[validator_indices2-0] 0.000019891038396481446 0.000014193436020291359 28.64% 40.14% 1.40x
get_sync_committee_duties[validator_indices2-123] 0.0002565547505679608 0.000013780581508516382 94.63% 1761.71% 18.62x
get_sync_committee_duties[validator_indices2-99999] 0.00002014460401042067 0.0000136009518939903 32.48% 48.11% 1.48x
get_syncing 0.00001707712390832389 0.000013878493086174366 18.73% 23.05% 1.23x
get_validator_balances[12345] 0.00001801503172685507 0.00022679482188037465 -1158.92% -92.06% 0.08x
get_validator_balances[finalized] 0.000019190414243839454 0.000013214422841670971 31.14% 45.22% 1.45x
get_validator_balances[head] 0.000019134915601919986 0.000013462752182535786 29.64% 42.13% 1.42x
get_validator_balances[justified] 0.000253072115797235 0.00001305375014250961 94.84% 1838.69% 19.39x
get_validator[12345-0] 0.000019346117023376586 0.000013849690093128726 28.41% 39.69% 1.40x
get_validator[12345-0xdeadbeef] 0.00001802465379475673 0.000013772126428467765 23.59% 30.88% 1.31x
get_validator[12345-123456] 0.00025688629484883784 0.000014061566799533663 94.53% 1726.87% 18.27x
get_validator[finalized-0] 0.000019549220897724702 0.0002424441881320852 -1140.17% -91.94% 0.08x
get_validator[finalized-0xdeadbeef] 0.000017773811360061864 0.00001414645985708351 20.41% 25.64% 1.26x
get_validator[finalized-123456] 0.00026193941184154084 0.000013675142103878044 94.78% 1815.44% 19.15x
get_validator[head-0] 0.000020760225177650497 0.000014259718923108763 31.31% 45.59% 1.46x
get_validator[head-0xdeadbeef] 0.000019568754106758998 0.000013841650805972129 29.27% 41.38% 1.41x
get_validator[head-123456] 0.00002059959508408332 0.000014199029806396093 31.07% 45.08% 1.45x
get_validator[justified-0] 0.000017497262219058514 0.00001389570788519978 20.58% 25.92% 1.26x
get_validator[justified-0xdeadbeef] 0.00001986410305539519 0.00023894309184459086 -1102.89% -91.69% 0.08x
get_validator[justified-123456] 0.000017333810321948025 0.000013758690315478794 20.63% 25.98% 1.26x
get_validators[12345] 0.000020714649256293895 0.000014031263090358367 32.26% 47.63% 1.48x
get_validators[finalized] 0.000020439107091338058 0.000013614131327716175 33.39% 50.13% 1.50x
get_validators[head] 0.00030228396870612945 0.000013889795940934932 95.41% 2076.30% 21.76x
get_validators[justified] 0.000020794649264501775 0.00023484473522544276 -1029.35% -91.15% 0.09x
get_version 0.000018906936660516372 0.00026085583845709536 -1279.68% -92.75% 0.07x
get_voluntary_exits 0.00026849637438158103 0.000013640132192887252 94.92% 1868.43% 19.68x

web3/datastructures - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
AttributeDict_eq 0.006425143034577409 0.0038329437425394398 40.34% 67.63% 1.68x
AttributeDict_hash[flat] 0.003349842489443112 0.0031201162502441375 6.86% 7.36% 1.07x
AttributeDict_hash[nested] 0.005052340852642115 0.007254512790859141 -43.59% -30.36% 0.70x
AttributeDict_init[empty] 0.00008726491353853296 0.00008742298607639495 -0.18% -0.18% 1.00x
AttributeDict_init[large] 0.0001293047110552582 0.00013024463023529438 -0.73% -0.72% 0.99x
AttributeDict_init[small] 0.00009303824200485871 0.00009261832735047637 0.45% 0.45% 1.00x
MutableAttributeDict_delitem 0.000390977455755397 0.00039682109866908636 -1.49% -1.47% 0.99x
MutableAttributeDict_setitem 0.00030713798430440634 0.00030546595593654524 0.54% 0.55% 1.01x
NamedElementOnion_add 0.2134341955666476 0.21074162561654888 1.26% 1.28% 1.01x
NamedElementOnion_as_tuple_of_middleware 0.00014939068193905045 0.00014975236986597865 -0.24% -0.24% 1.00x
NamedElementOnion_contains 0.000031814015112116525 0.0000316138509293609 0.63% 0.63% 1.01x
NamedElementOnion_getitem 0.00002744470764654345 0.000027146172552578126 1.09% 1.10% 1.01x
NamedElementOnion_init[callables2] 0.00012451704843628324 0.00012388726478456023 0.51% 0.51% 1.01x
NamedElementOnion_init[callables3] 0.00016064362149971175 0.0001609102330483295 -0.17% -0.17% 1.00x
NamedElementOnion_init[empty] 0.0000426554283498351 0.000044604577072626685 -4.57% -4.37% 0.96x
NamedElementOnion_inject 0.23891310006411587 0.2184136682674783 8.58% 9.39% 1.09x
NamedElementOnion_iter 0.00015820690615927181 0.00015777147669263425 0.28% 0.28% 1.00x
NamedElementOnion_remove 0.0006716151114302342 0.0006717365766528733 -0.02% -0.02% 1.00x
NamedElementOnion_replace 0.00240288163432248 0.0024269220466890517 -1.00% -0.99% 0.99x
ReadableAttributeDict_getitem[large] 0.000015764038366970977 0.00001563773231662348 0.80% 0.81% 1.01x
ReadableAttributeDict_getitem[small] 0.000015234595854127888 0.000015445755441620042 -1.39% -1.37% 0.99x
ReadableAttributeDict_init[empty] 0.000053986329504694276 0.00005280860368532009 2.18% 2.23% 1.02x
ReadableAttributeDict_init[large] 0.00009107792224637799 0.00009085207424120748 0.25% 0.25% 1.00x
ReadableAttributeDict_init[small] 0.00005761954237678024 0.000059819885470879166 -3.82% -3.68% 0.96x
ReadableAttributeDict_recursive[list-in-dict] 0.0008498944816765638 0.0008514450790114797 -0.18% -0.18% 1.00x
ReadableAttributeDict_recursive[nested-dict] 0.000880817716643275 0.0008819670839448076 -0.13% -0.13% 1.00x
ReadableAttributeDict_recursive[set] 0.0004466656835697909 0.00044714450833682154 -0.11% -0.11% 1.00x
tupleize_lists_nested[list-in-dict] 0.005624991561636571 0.0045884098086025745 18.43% 22.59% 1.23x
tupleize_lists_nested[tuple-in-dict] 0.0049465651927354274 0.00472932857240442 4.39% 4.59% 1.05x

web3/utils/address - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
get_create_address[0] 0.00006145302500002916 0.000030411104951215257 50.51% 102.07% 2.02x
get_create_address[100] 0.0000616939698090846 0.000031032569850605285 49.70% 98.80% 1.99x
get_create_address[10000] 0.00006056980518592052 0.00003087632109220831 49.02% 96.17% 1.96x
get_create2_address[long] 0.0000648632032385954 0.00002600038136620657 59.92% 149.47% 2.49x
get_create2_address[med] 0.00006362570705228106 0.000025082867375601954 60.58% 153.66% 2.54x
get_create2_address[short] 0.00006413826626268277 0.000025025647637642366 60.98% 156.29% 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.009448060249999694 0.0223299433986712 -136.34% -57.69% 0.42x
async_handle_offchain_lookup[get-single-hexstr] 0.01041832385265623 0.023920290449291646 -129.60% -56.45% 0.44x
async_handle_offchain_lookup[get-try2-bytes] 0.0352772246841931 0.006800306522062355 80.72% 418.76% 5.19x
async_handle_offchain_lookup[get-try2-hexstr] 0.03760667587209016 0.007123780735291936 81.06% 427.90% 5.28x
async_handle_offchain_lookup[get-try3-bytes] 0.01018975965956649 0.02274899188112842 -123.25% -55.21% 0.45x
async_handle_offchain_lookup[get-try3-hexstr] 0.011319031385504873 0.024336697132315187 -115.01% -53.49% 0.47x
async_handle_offchain_lookup[post-single-bytes] 0.010023058979801833 0.007060946611912172 29.55% 41.95% 1.42x
async_handle_offchain_lookup[post-single-hexstr] 0.01130716299996431 0.007074128330833973 37.44% 59.84% 1.60x
async_handle_offchain_lookup[post-try2-bytes] 0.010267027879128544 0.023543329272045225 -129.31% -56.39% 0.44x
async_handle_offchain_lookup[post-try2-hexstr] 0.03757740894118208 0.024238554917881412 35.50% 55.03% 1.55x
async_handle_offchain_lookup[post-try3-bytes] 0.034575392915810785 0.006602360837041488 80.90% 423.68% 5.24x
async_handle_offchain_lookup[post-try3-hexstr] 0.010447241847833024 0.007169691862596831 31.37% 45.71% 1.46x

web3/utils/caching - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
simplecache_cache[10] 0.0003465383775603725 0.00025319920882353416 26.93% 36.86% 1.37x
simplecache_cache[100] 0.0028655825258767083 0.0019383266523638198 32.36% 47.84% 1.48x
simplecache_cache[1000] 0.02814358925002125 0.01809693391071018 35.70% 55.52% 1.56x
simplecache_eviction[10] 0.0008240471011022476 0.0005925065702636695 28.10% 39.08% 1.39x
simplecache_eviction[100] 0.007384362422197699 0.005269385354487953 28.64% 40.14% 1.40x
simplecache_pop[10] 0.00046093620639726495 0.0003739056907233732 18.88% 23.28% 1.23x
simplecache_pop[100] 0.0036997232785191845 0.0029679076746092574 19.78% 24.66% 1.25x
simplecache_retrieval[10] 0.00008171113363452989 0.00005490031814224221 32.81% 48.84% 1.49x
simplecache_retrieval[100] 0.0006989558580564058 0.0004693737892485825 32.85% 48.91% 1.49x

web3/utils/exception_handling - view benchmarks

Function Reference Mean Faster Mean % Change Speedup (%) x Faster Faster
handle_offchain_lookup[get-single-bytes] 0.00008277723685850224 0.00004934251616109736 40.39% 67.76% 1.68x
handle_offchain_lookup[get-single-hexstr] 0.00009453345191884867 0.00005023578148569014 46.86% 88.18% 1.88x
handle_offchain_lookup[get-try2-bytes] 0.00008303068065967987 0.00004983573221294413 39.98% 66.61% 1.67x
handle_offchain_lookup[get-try2-hexstr] 0.00009417402417813265 0.00005082650699086053 46.03% 85.29% 1.85x
handle_offchain_lookup[get-try3-bytes] 0.00008270998757036504 0.00004978348429183102 39.81% 66.14% 1.66x
handle_offchain_lookup[get-try3-hexstr] 0.00009355557087517501 0.000050488752898068565 46.03% 85.30% 1.85x
handle_offchain_lookup[post-single-bytes] 0.00008226912899834907 0.00004959909975622348 39.71% 65.87% 1.66x
handle_offchain_lookup[post-single-hexstr] 0.00041957539511816783 0.00004945625526052646 88.21% 748.38% 8.48x
handle_offchain_lookup[post-try2-bytes] 0.00008258911745039149 0.0000487177542994328 41.01% 69.53% 1.70x
handle_offchain_lookup[post-try2-hexstr] 0.0000929713636229443 0.00007319522975823404 21.27% 27.02% 1.27x
handle_offchain_lookup[post-try3-bytes] 0.0000827997668672099 0.000381948755986561 -361.29% -78.32% 0.22x
handle_offchain_lookup[post-try3-hexstr] 0.00009434965385182318 0.00039071038085894985 -314.11% -75.85% 0.24x

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