Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update config for relaunched mekong network #7220

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Nov 8, 2024

Mekong network was relaunched 3 days ago (ethpandaops/mekong-devnets#3), we need to adapt to config to be able to join the network

@nflaig nflaig requested a review from a team as a code owner November 8, 2024 05:55
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.09%. Comparing base (e2c45b9) to head (d142fa3).
Report is 1 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #7220      +/-   ##
============================================
- Coverage     49.09%   49.09%   -0.01%     
============================================
  Files           600      600              
  Lines         40223    40223              
  Branches       2105     2098       -7     
============================================
- Hits          19748    19746       -2     
- Misses        20437    20439       +2     
  Partials         38       38              

@nflaig nflaig enabled auto-merge (squash) November 8, 2024 06:13
@nflaig nflaig merged commit 2e8b8bb into unstable Nov 8, 2024
21 checks passed
@nflaig nflaig deleted the nflaig/relaunch-mekong branch November 8, 2024 06:23
Copy link
Contributor

github-actions bot commented Nov 8, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: b0ffb5c Previous: 2e5265b Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.1363 ms/op 1.9106 ms/op 1.12
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 63.579 us/op 45.485 us/op 1.40
BLS verify - blst 971.40 us/op 705.97 us/op 1.38
BLS verifyMultipleSignatures 3 - blst 1.7443 ms/op 1.1527 ms/op 1.51
BLS verifyMultipleSignatures 8 - blst 2.4766 ms/op 1.6375 ms/op 1.51
BLS verifyMultipleSignatures 32 - blst 6.0204 ms/op 4.7806 ms/op 1.26
BLS verifyMultipleSignatures 64 - blst 11.019 ms/op 8.9230 ms/op 1.23
BLS verifyMultipleSignatures 128 - blst 18.069 ms/op 17.000 ms/op 1.06
BLS deserializing 10000 signatures 716.59 ms/op 674.17 ms/op 1.06
BLS deserializing 100000 signatures 7.1878 s/op 6.7303 s/op 1.07
BLS verifyMultipleSignatures - same message - 3 - blst 1.0281 ms/op 872.35 us/op 1.18
BLS verifyMultipleSignatures - same message - 8 - blst 1.1115 ms/op 1.0108 ms/op 1.10
BLS verifyMultipleSignatures - same message - 32 - blst 1.8328 ms/op 1.6781 ms/op 1.09
BLS verifyMultipleSignatures - same message - 64 - blst 3.0183 ms/op 2.5408 ms/op 1.19
BLS verifyMultipleSignatures - same message - 128 - blst 4.6163 ms/op 4.2463 ms/op 1.09
BLS aggregatePubkeys 32 - blst 21.199 us/op 19.073 us/op 1.11
BLS aggregatePubkeys 128 - blst 74.022 us/op 68.246 us/op 1.08
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 70.842 ms/op 63.527 ms/op 1.12
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 57.530 ms/op 47.301 ms/op 1.22
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 52.338 ms/op 36.716 ms/op 1.43
getSlashingsAndExits - default max 104.25 us/op 86.584 us/op 1.20
getSlashingsAndExits - 2k 293.12 us/op 256.36 us/op 1.14
proposeBlockBody type=full, size=empty 5.6336 ms/op 5.7276 ms/op 0.98
isKnown best case - 1 super set check 269.00 ns/op 273.00 ns/op 0.99
isKnown normal case - 2 super set checks 253.00 ns/op 267.00 ns/op 0.95
isKnown worse case - 16 super set checks 260.00 ns/op 271.00 ns/op 0.96
InMemoryCheckpointStateCache - add get delete 2.7050 us/op 2.9680 us/op 0.91
updateUnfinalizedPubkeys - updating 10 pubkeys 1.1918 ms/op 787.66 us/op 1.51
updateUnfinalizedPubkeys - updating 100 pubkeys 3.8007 ms/op 3.3386 ms/op 1.14
updateUnfinalizedPubkeys - updating 1000 pubkeys 52.576 ms/op 50.318 ms/op 1.04
validate api signedAggregateAndProof - struct 1.3740 ms/op 1.3548 ms/op 1.01
validate gossip signedAggregateAndProof - struct 1.8950 ms/op 1.3324 ms/op 1.42
batch validate gossip attestation - vc 640000 - chunk 32 128.10 us/op 120.77 us/op 1.06
batch validate gossip attestation - vc 640000 - chunk 64 112.85 us/op 111.30 us/op 1.01
batch validate gossip attestation - vc 640000 - chunk 128 106.21 us/op 107.82 us/op 0.99
batch validate gossip attestation - vc 640000 - chunk 256 103.32 us/op 101.30 us/op 1.02
pickEth1Vote - no votes 1.0410 ms/op 1.0309 ms/op 1.01
pickEth1Vote - max votes 6.1791 ms/op 6.0681 ms/op 1.02
pickEth1Vote - Eth1Data hashTreeRoot value x2048 15.900 ms/op 15.522 ms/op 1.02
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 24.338 ms/op 18.882 ms/op 1.29
pickEth1Vote - Eth1Data fastSerialize value x2048 463.43 us/op 460.93 us/op 1.01
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.6521 ms/op 4.1122 ms/op 0.89
bytes32 toHexString 425.00 ns/op 423.00 ns/op 1.00
bytes32 Buffer.toString(hex) 261.00 ns/op 248.00 ns/op 1.05
bytes32 Buffer.toString(hex) from Uint8Array 379.00 ns/op 377.00 ns/op 1.01
bytes32 Buffer.toString(hex) + 0x 260.00 ns/op 252.00 ns/op 1.03
Object access 1 prop 0.13500 ns/op 0.13900 ns/op 0.97
Map access 1 prop 0.13300 ns/op 0.13200 ns/op 1.01
Object get x1000 5.8890 ns/op 5.9270 ns/op 0.99
Map get x1000 6.4340 ns/op 6.2940 ns/op 1.02
Object set x1000 32.272 ns/op 31.695 ns/op 1.02
Map set x1000 22.022 ns/op 21.607 ns/op 1.02
Return object 10000 times 0.29020 ns/op 0.28240 ns/op 1.03
Throw Error 10000 times 3.3467 us/op 3.2823 us/op 1.02
toHex 150.08 ns/op 154.22 ns/op 0.97
Buffer.from 137.21 ns/op 136.88 ns/op 1.00
shared Buffer 92.902 ns/op 89.600 ns/op 1.04
fastMsgIdFn sha256 / 200 bytes 2.2800 us/op 2.1540 us/op 1.06
fastMsgIdFn h32 xxhash / 200 bytes 240.00 ns/op 220.00 ns/op 1.09
fastMsgIdFn h64 xxhash / 200 bytes 269.00 ns/op 255.00 ns/op 1.05
fastMsgIdFn sha256 / 1000 bytes 7.4340 us/op 7.0130 us/op 1.06
fastMsgIdFn h32 xxhash / 1000 bytes 364.00 ns/op 340.00 ns/op 1.07
fastMsgIdFn h64 xxhash / 1000 bytes 336.00 ns/op 334.00 ns/op 1.01
fastMsgIdFn sha256 / 10000 bytes 65.027 us/op 62.078 us/op 1.05
fastMsgIdFn h32 xxhash / 10000 bytes 1.8320 us/op 1.7240 us/op 1.06
fastMsgIdFn h64 xxhash / 10000 bytes 1.2020 us/op 1.1390 us/op 1.06
send data - 1000 256B messages 12.470 ms/op 11.658 ms/op 1.07
send data - 1000 512B messages 16.056 ms/op 14.782 ms/op 1.09
send data - 1000 1024B messages 24.986 ms/op 24.380 ms/op 1.02
send data - 1000 1200B messages 26.849 ms/op 26.105 ms/op 1.03
send data - 1000 2048B messages 31.105 ms/op 30.605 ms/op 1.02
send data - 1000 4096B messages 30.043 ms/op 29.947 ms/op 1.00
send data - 1000 16384B messages 71.413 ms/op 70.462 ms/op 1.01
send data - 1000 65536B messages 207.71 ms/op 218.24 ms/op 0.95
enrSubnets - fastDeserialize 64 bits 1.0170 us/op 1.0890 us/op 0.93
enrSubnets - ssz BitVector 64 bits 350.00 ns/op 334.00 ns/op 1.05
enrSubnets - fastDeserialize 4 bits 143.00 ns/op 139.00 ns/op 1.03
enrSubnets - ssz BitVector 4 bits 351.00 ns/op 339.00 ns/op 1.04
prioritizePeers score -10:0 att 32-0.1 sync 2-0 131.44 us/op 147.69 us/op 0.89
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 151.37 us/op 148.65 us/op 1.02
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 221.52 us/op 242.20 us/op 0.91
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 390.59 us/op 400.56 us/op 0.98
prioritizePeers score 0:0 att 64-1 sync 4-1 486.85 us/op 609.90 us/op 0.80
array of 16000 items push then shift 1.5515 us/op 1.6177 us/op 0.96
LinkedList of 16000 items push then shift 6.7230 ns/op 6.9440 ns/op 0.97
array of 16000 items push then pop 105.14 ns/op 114.02 ns/op 0.92
LinkedList of 16000 items push then pop 6.9080 ns/op 6.8190 ns/op 1.01
array of 24000 items push then shift 2.3694 us/op 2.3857 us/op 0.99
LinkedList of 24000 items push then shift 7.6260 ns/op 6.9090 ns/op 1.10
array of 24000 items push then pop 125.70 ns/op 143.72 ns/op 0.87
LinkedList of 24000 items push then pop 6.9140 ns/op 6.7660 ns/op 1.02
intersect bitArray bitLen 8 6.3330 ns/op 6.2670 ns/op 1.01
intersect array and set length 8 43.245 ns/op 44.892 ns/op 0.96
intersect bitArray bitLen 128 29.798 ns/op 29.197 ns/op 1.02
intersect array and set length 128 649.79 ns/op 663.73 ns/op 0.98
bitArray.getTrueBitIndexes() bitLen 128 1.2800 us/op 2.0020 us/op 0.64
bitArray.getTrueBitIndexes() bitLen 248 2.0580 us/op 2.7880 us/op 0.74
bitArray.getTrueBitIndexes() bitLen 512 3.9550 us/op 5.8460 us/op 0.68
Buffer.concat 32 items 931.00 ns/op 879.00 ns/op 1.06
Uint8Array.set 32 items 1.9550 us/op 1.4300 us/op 1.37
Buffer.copy 2.2350 us/op 1.5040 us/op 1.49
Uint8Array.set - with subarray 2.8620 us/op 2.2250 us/op 1.29
Uint8Array.set - without subarray 1.4460 us/op 1.1940 us/op 1.21
getUint32 - dataview 227.00 ns/op 221.00 ns/op 1.03
getUint32 - manual 146.00 ns/op 141.00 ns/op 1.04
Set add up to 64 items then delete first 2.1327 us/op 2.0969 us/op 1.02
OrderedSet add up to 64 items then delete first 3.1465 us/op 3.1563 us/op 1.00
Set add up to 64 items then delete last 2.4395 us/op 2.4003 us/op 1.02
OrderedSet add up to 64 items then delete last 3.5633 us/op 3.7027 us/op 0.96
Set add up to 64 items then delete middle 2.4992 us/op 2.4462 us/op 1.02
OrderedSet add up to 64 items then delete middle 5.1802 us/op 5.0942 us/op 1.02
Set add up to 128 items then delete first 5.1921 us/op 4.8092 us/op 1.08
OrderedSet add up to 128 items then delete first 7.7526 us/op 6.9556 us/op 1.11
Set add up to 128 items then delete last 4.8627 us/op 4.8433 us/op 1.00
OrderedSet add up to 128 items then delete last 7.2037 us/op 7.3495 us/op 0.98
Set add up to 128 items then delete middle 4.8509 us/op 4.7519 us/op 1.02
OrderedSet add up to 128 items then delete middle 13.667 us/op 13.105 us/op 1.04
Set add up to 256 items then delete first 10.513 us/op 9.6078 us/op 1.09
OrderedSet add up to 256 items then delete first 16.687 us/op 14.497 us/op 1.15
Set add up to 256 items then delete last 9.6731 us/op 9.5841 us/op 1.01
OrderedSet add up to 256 items then delete last 14.500 us/op 14.908 us/op 0.97
Set add up to 256 items then delete middle 9.6179 us/op 9.6047 us/op 1.00
OrderedSet add up to 256 items then delete middle 41.482 us/op 39.315 us/op 1.06
transfer serialized Status (84 B) 1.4130 us/op 1.3030 us/op 1.08
copy serialized Status (84 B) 1.0990 us/op 1.0450 us/op 1.05
transfer serialized SignedVoluntaryExit (112 B) 1.4960 us/op 1.3680 us/op 1.09
copy serialized SignedVoluntaryExit (112 B) 1.2830 us/op 1.0890 us/op 1.18
transfer serialized ProposerSlashing (416 B) 1.8730 us/op 1.5180 us/op 1.23
copy serialized ProposerSlashing (416 B) 2.2450 us/op 1.9620 us/op 1.14
transfer serialized Attestation (485 B) 2.2990 us/op 1.9460 us/op 1.18
copy serialized Attestation (485 B) 2.2430 us/op 2.0230 us/op 1.11
transfer serialized AttesterSlashing (33232 B) 2.4080 us/op 2.5760 us/op 0.93
copy serialized AttesterSlashing (33232 B) 6.2800 us/op 6.4090 us/op 0.98
transfer serialized Small SignedBeaconBlock (128000 B) 3.1430 us/op 2.5150 us/op 1.25
copy serialized Small SignedBeaconBlock (128000 B) 13.070 us/op 17.015 us/op 0.77
transfer serialized Avg SignedBeaconBlock (200000 B) 3.2160 us/op 2.9040 us/op 1.11
copy serialized Avg SignedBeaconBlock (200000 B) 20.164 us/op 22.199 us/op 0.91
transfer serialized BlobsSidecar (524380 B) 2.8570 us/op 2.4650 us/op 1.16
copy serialized BlobsSidecar (524380 B) 74.786 us/op 203.84 us/op 0.37
transfer serialized Big SignedBeaconBlock (1000000 B) 2.7600 us/op 2.8850 us/op 0.96
copy serialized Big SignedBeaconBlock (1000000 B) 190.05 us/op 148.46 us/op 1.28
pass gossip attestations to forkchoice per slot 2.6724 ms/op 2.7928 ms/op 0.96
forkChoice updateHead vc 100000 bc 64 eq 0 459.74 us/op 448.16 us/op 1.03
forkChoice updateHead vc 600000 bc 64 eq 0 3.2364 ms/op 2.6426 ms/op 1.22
forkChoice updateHead vc 1000000 bc 64 eq 0 4.8405 ms/op 4.7497 ms/op 1.02
forkChoice updateHead vc 600000 bc 320 eq 0 2.7748 ms/op 2.6412 ms/op 1.05
forkChoice updateHead vc 600000 bc 1200 eq 0 2.8265 ms/op 2.8108 ms/op 1.01
forkChoice updateHead vc 600000 bc 7200 eq 0 3.6109 ms/op 3.2127 ms/op 1.12
forkChoice updateHead vc 600000 bc 64 eq 1000 10.592 ms/op 10.395 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 10000 9.8630 ms/op 10.067 ms/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 300000 13.154 ms/op 13.382 ms/op 0.98
computeDeltas 500000 validators 300 proto nodes 3.9798 ms/op 3.8727 ms/op 1.03
computeDeltas 500000 validators 1200 proto nodes 4.0427 ms/op 3.9015 ms/op 1.04
computeDeltas 500000 validators 7200 proto nodes 3.9652 ms/op 3.8872 ms/op 1.02
computeDeltas 750000 validators 300 proto nodes 5.9754 ms/op 5.7349 ms/op 1.04
computeDeltas 750000 validators 1200 proto nodes 5.9680 ms/op 5.8157 ms/op 1.03
computeDeltas 750000 validators 7200 proto nodes 6.0846 ms/op 5.7781 ms/op 1.05
computeDeltas 1400000 validators 300 proto nodes 11.000 ms/op 10.917 ms/op 1.01
computeDeltas 1400000 validators 1200 proto nodes 11.752 ms/op 10.892 ms/op 1.08
computeDeltas 1400000 validators 7200 proto nodes 11.212 ms/op 10.921 ms/op 1.03
computeDeltas 2100000 validators 300 proto nodes 17.390 ms/op 16.200 ms/op 1.07
computeDeltas 2100000 validators 1200 proto nodes 17.179 ms/op 16.350 ms/op 1.05
computeDeltas 2100000 validators 7200 proto nodes 16.898 ms/op 16.332 ms/op 1.03
altair processAttestation - 250000 vs - 7PWei normalcase 1.6198 ms/op 1.8563 ms/op 0.87
altair processAttestation - 250000 vs - 7PWei worstcase 2.5556 ms/op 2.7594 ms/op 0.93
altair processAttestation - setStatus - 1/6 committees join 87.284 us/op 119.37 us/op 0.73
altair processAttestation - setStatus - 1/3 committees join 171.43 us/op 228.21 us/op 0.75
altair processAttestation - setStatus - 1/2 committees join 243.82 us/op 320.78 us/op 0.76
altair processAttestation - setStatus - 2/3 committees join 317.64 us/op 410.32 us/op 0.77
altair processAttestation - setStatus - 4/5 committees join 455.00 us/op 569.19 us/op 0.80
altair processAttestation - setStatus - 100% committees join 543.04 us/op 669.31 us/op 0.81
altair processBlock - 250000 vs - 7PWei normalcase 6.6345 ms/op 4.7251 ms/op 1.40
altair processBlock - 250000 vs - 7PWei normalcase hashState 31.135 ms/op 27.491 ms/op 1.13
altair processBlock - 250000 vs - 7PWei worstcase 40.536 ms/op 30.747 ms/op 1.32
altair processBlock - 250000 vs - 7PWei worstcase hashState 87.662 ms/op 68.855 ms/op 1.27
phase0 processBlock - 250000 vs - 7PWei normalcase 2.5100 ms/op 1.6138 ms/op 1.56
phase0 processBlock - 250000 vs - 7PWei worstcase 28.189 ms/op 19.414 ms/op 1.45
altair processEth1Data - 250000 vs - 7PWei normalcase 354.09 us/op 302.53 us/op 1.17
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 8.0920 us/op 4.8990 us/op 1.65
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 41.323 us/op 27.224 us/op 1.52
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 13.306 us/op 8.5550 us/op 1.56
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 6.4440 us/op 5.0680 us/op 1.27
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 177.61 us/op 113.18 us/op 1.57
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.6335 ms/op 1.0894 ms/op 1.50
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.7910 ms/op 1.4814 ms/op 1.88
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.6641 ms/op 1.4673 ms/op 1.82
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.5754 ms/op 3.6411 ms/op 0.98
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.0926 ms/op 1.5472 ms/op 2.00
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.6154 ms/op 3.6768 ms/op 0.98
Tree 40 250000 create 230.41 ms/op 219.15 ms/op 1.05
Tree 40 250000 get(125000) 148.23 ns/op 141.68 ns/op 1.05
Tree 40 250000 set(125000) 606.12 ns/op 642.25 ns/op 0.94
Tree 40 250000 toArray() 15.742 ms/op 14.920 ms/op 1.06
Tree 40 250000 iterate all - toArray() + loop 15.812 ms/op 14.649 ms/op 1.08
Tree 40 250000 iterate all - get(i) 52.789 ms/op 50.201 ms/op 1.05
Array 250000 create 2.8179 ms/op 2.7622 ms/op 1.02
Array 250000 clone - spread 1.4061 ms/op 1.4527 ms/op 0.97
Array 250000 get(125000) 0.41000 ns/op 0.41200 ns/op 1.00
Array 250000 set(125000) 0.41900 ns/op 0.43100 ns/op 0.97
Array 250000 iterate all - loop 88.101 us/op 81.256 us/op 1.08
phase0 afterProcessEpoch - 250000 vs - 7PWei 48.693 ms/op 47.876 ms/op 1.02
Array.fill - length 1000000 3.5386 ms/op 3.5911 ms/op 0.99
Array push - length 1000000 16.921 ms/op 12.393 ms/op 1.37
Array.get 0.26845 ns/op 0.26163 ns/op 1.03
Uint8Array.get 0.43309 ns/op 0.41989 ns/op 1.03
phase0 beforeProcessEpoch - 250000 vs - 7PWei 16.054 ms/op 16.383 ms/op 0.98
altair processEpoch - mainnet_e81889 310.53 ms/op 280.43 ms/op 1.11
mainnet_e81889 - altair beforeProcessEpoch 18.668 ms/op 17.766 ms/op 1.05
mainnet_e81889 - altair processJustificationAndFinalization 18.850 us/op 12.112 us/op 1.56
mainnet_e81889 - altair processInactivityUpdates 5.2080 ms/op 5.0529 ms/op 1.03
mainnet_e81889 - altair processRewardsAndPenalties 59.830 ms/op 44.895 ms/op 1.33
mainnet_e81889 - altair processRegistryUpdates 2.7340 us/op 1.6090 us/op 1.70
mainnet_e81889 - altair processSlashings 598.00 ns/op 347.00 ns/op 1.72
mainnet_e81889 - altair processEth1DataReset 613.00 ns/op 306.00 ns/op 2.00
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.5555 ms/op 1.9291 ms/op 1.32
mainnet_e81889 - altair processSlashingsReset 4.3430 us/op 2.7690 us/op 1.57
mainnet_e81889 - altair processRandaoMixesReset 5.4510 us/op 5.0280 us/op 1.08
mainnet_e81889 - altair processHistoricalRootsUpdate 975.00 ns/op 500.00 ns/op 1.95
mainnet_e81889 - altair processParticipationFlagUpdates 2.9510 us/op 2.0250 us/op 1.46
mainnet_e81889 - altair processSyncCommitteeUpdates 848.00 ns/op 430.00 ns/op 1.97
mainnet_e81889 - altair afterProcessEpoch 52.284 ms/op 49.775 ms/op 1.05
capella processEpoch - mainnet_e217614 993.99 ms/op 1.0315 s/op 0.96
mainnet_e217614 - capella beforeProcessEpoch 72.156 ms/op 72.849 ms/op 0.99
mainnet_e217614 - capella processJustificationAndFinalization 22.646 us/op 13.642 us/op 1.66
mainnet_e217614 - capella processInactivityUpdates 21.678 ms/op 16.665 ms/op 1.30
mainnet_e217614 - capella processRewardsAndPenalties 262.18 ms/op 222.56 ms/op 1.18
mainnet_e217614 - capella processRegistryUpdates 20.929 us/op 12.651 us/op 1.65
mainnet_e217614 - capella processSlashings 706.00 ns/op 366.00 ns/op 1.93
mainnet_e217614 - capella processEth1DataReset 468.00 ns/op 338.00 ns/op 1.38
mainnet_e217614 - capella processEffectiveBalanceUpdates 13.198 ms/op 11.482 ms/op 1.15
mainnet_e217614 - capella processSlashingsReset 4.9770 us/op 3.3110 us/op 1.50
mainnet_e217614 - capella processRandaoMixesReset 5.0840 us/op 3.7910 us/op 1.34
mainnet_e217614 - capella processHistoricalRootsUpdate 316.00 ns/op 369.00 ns/op 0.86
mainnet_e217614 - capella processParticipationFlagUpdates 2.3640 us/op 2.0760 us/op 1.14
mainnet_e217614 - capella afterProcessEpoch 125.29 ms/op 121.22 ms/op 1.03
phase0 processEpoch - mainnet_e58758 353.70 ms/op 327.32 ms/op 1.08
mainnet_e58758 - phase0 beforeProcessEpoch 84.194 ms/op 66.395 ms/op 1.27
mainnet_e58758 - phase0 processJustificationAndFinalization 21.022 us/op 14.126 us/op 1.49
mainnet_e58758 - phase0 processRewardsAndPenalties 34.990 ms/op 29.650 ms/op 1.18
mainnet_e58758 - phase0 processRegistryUpdates 8.2770 us/op 6.7860 us/op 1.22
mainnet_e58758 - phase0 processSlashings 424.00 ns/op 399.00 ns/op 1.06
mainnet_e58758 - phase0 processEth1DataReset 454.00 ns/op 320.00 ns/op 1.42
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.5493 ms/op 1.7039 ms/op 0.91
mainnet_e58758 - phase0 processSlashingsReset 2.7510 us/op 2.9450 us/op 0.93
mainnet_e58758 - phase0 processRandaoMixesReset 5.0590 us/op 3.8560 us/op 1.31
mainnet_e58758 - phase0 processHistoricalRootsUpdate 492.00 ns/op 404.00 ns/op 1.22
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.4390 us/op 2.8540 us/op 1.56
mainnet_e58758 - phase0 afterProcessEpoch 44.981 ms/op 42.547 ms/op 1.06
phase0 processEffectiveBalanceUpdates - 250000 normalcase 2.3355 ms/op 1.8034 ms/op 1.30
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.2814 ms/op 2.2071 ms/op 1.03
altair processInactivityUpdates - 250000 normalcase 19.562 ms/op 14.361 ms/op 1.36
altair processInactivityUpdates - 250000 worstcase 16.622 ms/op 14.474 ms/op 1.15
phase0 processRegistryUpdates - 250000 normalcase 6.6010 us/op 6.3980 us/op 1.03
phase0 processRegistryUpdates - 250000 badcase_full_deposits 339.47 us/op 238.07 us/op 1.43
phase0 processRegistryUpdates - 250000 worstcase 0.5 137.43 ms/op 121.30 ms/op 1.13
altair processRewardsAndPenalties - 250000 normalcase 39.422 ms/op 27.551 ms/op 1.43
altair processRewardsAndPenalties - 250000 worstcase 45.862 ms/op 37.436 ms/op 1.23
phase0 getAttestationDeltas - 250000 normalcase 10.570 ms/op 7.4162 ms/op 1.43
phase0 getAttestationDeltas - 250000 worstcase 9.5393 ms/op 7.0716 ms/op 1.35
phase0 processSlashings - 250000 worstcase 120.80 us/op 78.678 us/op 1.54
altair processSyncCommitteeUpdates - 250000 133.31 ms/op 123.70 ms/op 1.08
BeaconState.hashTreeRoot - No change 302.00 ns/op 249.00 ns/op 1.21
BeaconState.hashTreeRoot - 1 full validator 133.98 us/op 111.51 us/op 1.20
BeaconState.hashTreeRoot - 32 full validator 1.2166 ms/op 1.1640 ms/op 1.05
BeaconState.hashTreeRoot - 512 full validator 11.123 ms/op 9.7886 ms/op 1.14
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 148.10 us/op 152.31 us/op 0.97
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.0066 ms/op 1.6681 ms/op 1.20
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.891 ms/op 22.163 ms/op 1.17
BeaconState.hashTreeRoot - 1 balances 126.16 us/op 110.13 us/op 1.15
BeaconState.hashTreeRoot - 32 balances 1.0682 ms/op 896.23 us/op 1.19
BeaconState.hashTreeRoot - 512 balances 7.8847 ms/op 7.7297 ms/op 1.02
BeaconState.hashTreeRoot - 250000 balances 193.96 ms/op 176.30 ms/op 1.10
aggregationBits - 2048 els - zipIndexesInBitList 32.307 us/op 23.091 us/op 1.40
byteArrayEquals 32 55.927 ns/op 57.192 ns/op 0.98
Buffer.compare 32 17.808 ns/op 17.055 ns/op 1.04
byteArrayEquals 1024 1.6365 us/op 1.5664 us/op 1.04
Buffer.compare 1024 26.371 ns/op 24.600 ns/op 1.07
byteArrayEquals 16384 26.064 us/op 24.935 us/op 1.05
Buffer.compare 16384 209.31 ns/op 186.09 ns/op 1.12
byteArrayEquals 123687377 187.71 ms/op 187.59 ms/op 1.00
Buffer.compare 123687377 6.1464 ms/op 6.4598 ms/op 0.95
byteArrayEquals 32 - diff last byte 49.734 ns/op 51.675 ns/op 0.96
Buffer.compare 32 - diff last byte 17.272 ns/op 16.848 ns/op 1.03
byteArrayEquals 1024 - diff last byte 1.5741 us/op 1.5551 us/op 1.01
Buffer.compare 1024 - diff last byte 24.936 ns/op 24.753 ns/op 1.01
byteArrayEquals 16384 - diff last byte 25.023 us/op 24.793 us/op 1.01
Buffer.compare 16384 - diff last byte 181.47 ns/op 192.31 ns/op 0.94
byteArrayEquals 123687377 - diff last byte 190.12 ms/op 191.89 ms/op 0.99
Buffer.compare 123687377 - diff last byte 6.2407 ms/op 6.4832 ms/op 0.96
byteArrayEquals 32 - random bytes 5.1730 ns/op 5.2490 ns/op 0.99
Buffer.compare 32 - random bytes 17.366 ns/op 17.655 ns/op 0.98
byteArrayEquals 1024 - random bytes 5.1740 ns/op 5.2360 ns/op 0.99
Buffer.compare 1024 - random bytes 17.313 ns/op 17.450 ns/op 0.99
byteArrayEquals 16384 - random bytes 5.1600 ns/op 5.1730 ns/op 1.00
Buffer.compare 16384 - random bytes 17.311 ns/op 17.337 ns/op 1.00
byteArrayEquals 123687377 - random bytes 6.3700 ns/op 6.4900 ns/op 0.98
Buffer.compare 123687377 - random bytes 18.560 ns/op 18.700 ns/op 0.99
regular array get 100000 times 36.113 us/op 43.104 us/op 0.84
wrappedArray get 100000 times 32.904 us/op 34.078 us/op 0.97
arrayWithProxy get 100000 times 14.230 ms/op 13.837 ms/op 1.03
ssz.Root.equals 46.657 ns/op 46.910 ns/op 0.99
byteArrayEquals 46.030 ns/op 46.231 ns/op 1.00
Buffer.compare 10.565 ns/op 10.505 ns/op 1.01
processSlot - 1 slots 13.354 us/op 13.911 us/op 0.96
processSlot - 32 slots 2.6971 ms/op 2.6823 ms/op 1.01
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 39.661 ms/op 36.212 ms/op 1.10
getCommitteeAssignments - req 1 vs - 250000 vc 2.1363 ms/op 2.0609 ms/op 1.04
getCommitteeAssignments - req 100 vs - 250000 vc 4.1514 ms/op 3.9873 ms/op 1.04
getCommitteeAssignments - req 1000 vs - 250000 vc 4.4153 ms/op 4.1699 ms/op 1.06
findModifiedValidators - 10000 modified validators 254.41 ms/op 226.75 ms/op 1.12
findModifiedValidators - 1000 modified validators 184.37 ms/op 164.65 ms/op 1.12
findModifiedValidators - 100 modified validators 143.76 ms/op 153.96 ms/op 0.93
findModifiedValidators - 10 modified validators 192.37 ms/op 152.26 ms/op 1.26
findModifiedValidators - 1 modified validators 155.92 ms/op 152.23 ms/op 1.02
findModifiedValidators - no difference 176.66 ms/op 168.35 ms/op 1.05
compare ViewDUs 3.2449 s/op 2.9207 s/op 1.11
compare each validator Uint8Array 1.2942 s/op 1.5692 s/op 0.82
compare ViewDU to Uint8Array 972.18 ms/op 1.0075 s/op 0.96
migrate state 1000000 validators, 24 modified, 0 new 753.66 ms/op 761.69 ms/op 0.99
migrate state 1000000 validators, 1700 modified, 1000 new 1.0266 s/op 961.73 ms/op 1.07
migrate state 1000000 validators, 3400 modified, 2000 new 1.2464 s/op 1.1539 s/op 1.08
migrate state 1500000 validators, 24 modified, 0 new 731.30 ms/op 717.28 ms/op 1.02
migrate state 1500000 validators, 1700 modified, 1000 new 996.69 ms/op 987.65 ms/op 1.01
migrate state 1500000 validators, 3400 modified, 2000 new 1.2331 s/op 1.1428 s/op 1.08
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.1800 ns/op 4.2800 ns/op 0.98
state getBlockRootAtSlot - 250000 vs - 7PWei 620.67 ns/op 716.59 ns/op 0.87
computeProposers - vc 250000 7.6071 ms/op 6.7528 ms/op 1.13
computeEpochShuffling - vc 250000 41.500 ms/op 40.061 ms/op 1.04
getNextSyncCommittee - vc 250000 125.83 ms/op 126.99 ms/op 0.99
computeSigningRoot for AttestationData 25.822 us/op 24.968 us/op 1.03
hash AttestationData serialized data then Buffer.toString(base64) 1.5636 us/op 1.5227 us/op 1.03
toHexString serialized data 867.57 ns/op 867.43 ns/op 1.00
Buffer.toString(base64) 169.97 ns/op 183.88 ns/op 0.92
nodejs block root to RootHex using toHex 152.80 ns/op 154.69 ns/op 0.99
nodejs block root to RootHex using toRootHex 90.978 ns/op 96.509 ns/op 0.94
browser block root to RootHex using the deprecated toHexString 215.88 ns/op 224.06 ns/op 0.96
browser block root to RootHex using toHex 170.89 ns/op 183.61 ns/op 0.93
browser block root to RootHex using toRootHex 152.25 ns/op 160.37 ns/op 0.95

by benchmarkbot/action

@wemeetagain
Copy link
Member

🎉 This PR is included in v1.23.0 🎉

wemeetagain added a commit that referenced this pull request Dec 20, 2024
* feat: add keymanager endpoint to retrieve proposer config (#7210)

* feat: add keymanager endpoint to retrieve proposer config

* Do not return empty builder config

* Check all builder proposer config values

* Fix settings builder config if undefined

* Fix builder config parsing

* Use ssz type to handle json serialization

Default parsing can't handle BigInt

* Revert "Use ssz type to handle json serialization"

This reverts commit 01fcea7.

* Fix boost factor json serialization

* Remove unused import

* Update test data

* Update proposer config test

* feat: add mekong network option (#7212)

* chore: fix import order with biome syntax (#7211)

Fix import order

* fix: consistently validate pubkey and throw 404 if not found (#7214)

* Throw error if pubkey is unknown when getting graffiti

* Consistently validate pubkey and throw 404 if not found

* fix: only return local keys from /eth/v1/keystores (#7215)

* fix: only return local keys from /eth/v1/keystores

* Fix fetching remote keys in node assertion

* feat: add and use getBlobsV1 to expedite gossip import (#7134)

* hookup the getblobs api to get bob and proof data from el

remove unused

fix import

metrics overhault, test, debugging testing, some feeback

fix

add nethermind bug dicussion link

fix

resolve conflicts

* deblobs timeout

* fix metric

* chore: revert async aggregate with randomness (#7218)

Revert "feat: asyncAggregateWithRandomness (#7204)"

This reverts commit e31d535.

* fix: update config for relaunched mekong network (#7220)

* fix: light client generating `LightClientUpdate` with wrong length of branches (#7187)

* initial commit

* Rewrite SyncCommitteeWitnessRepository

* Fix finality branch

* Update unit test

* fix e2e

* Review PR

---------

Co-authored-by: Nico Flaig <[email protected]>

* fix: archive finalized state when shutting down beacon node (#7221)

* Fix typo

* feat: remove unfinalized pubkey cache (#7230)

* Remove unfinalized pubkey cache

* lint

* Fix unit test

* chore: skip web3_provider unit tests (#7252)

* fix: prune checkpoint states at syncing time (#7241)

* fix: prune checkpoint states at syncing time

* fix: lint

* fix: check-types in test

* fix: sync cached isCompoundingValidatorArr at epoch transition (#7247)

* fix: handle outOfRangeData when range sync Deneb (#7249)

* fix: handle outOfRangeData for beaconBlocksMaybeBlobsByRange()

* fix: lint

* fix: archiveBlocks - handle deneb outOfRangeData block

* fix: sync cached balance when adding new validator to registry (#7255)

* fix: sync cached balance when adding new validator to registry

* chore: add more comments

* fix: remove persisted checkpoint states from the previous run at startup

* fix: do not throw error when trying to prune missing directory (#7257)

* docs: update documentation Oct 2024 (#7178)

* docs update oct 2024 init

* Reconfig quickstart nav and minor fixes

* fix lint

* spelling fixes

* minor fixes and add to wordlist

* prettier fix

* add to wordlist

* sort wordlist

* modify dominance to include lighthouse

* fix typescript casing and add recommendation

* add selection and boost_factor with keymanager notice

* update wordlist

* remove builder enabled and add keymanager api

* spelling

---------

Co-authored-by: Nico Flaig <[email protected]>

* chore(deps): bump cross-spawn from 7.0.3 to 7.0.6 in /docs (#7268)

Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: add error log to notifier if execution client auth failed (#7239)

* feat: add error log to notifier if execution client auth failed

* Update packages/beacon-node/src/node/notifier.ts

---------

Co-authored-by: NC <[email protected]>

* docs: display rcConfig flag on CLI reference page (#7270)

* docs: display rcConfig flag on CLI reference page

* Update word list

* chore: remove prettier as default formatter for all file types (#7275)

* chore: unhide flags relevant for devnets / testing (#7271)

* feat: debug too many shuffling promises (#7251)

* feat: add asyncShufflingCalculation to StateTransitionOpts

* feat: add asyncShufflingCalculation to all regen / processSlots consumers

* fix: default to false for async shuffling and remove unnecessary props

* fix: remove unnecessary flags from stateTransition

* feat: implement conditional build of shuffling for prepareNextSlot

* fix: spec test bug where shufflingCache is present from BeaconChain constructor

* feat: sync build next shuffling if not queued async

* fix: use getSync to pull next shuffling correctly

* docs: add comment to prepareNextSlot

* refactor: rename StateCloneOpts to StateRegenerationOpts

* feat: pass asyncShufflingCalculation through to afterProcessEpoch and refactor conditional to run purely sync

* docs: add issue number to comment

* chore: lint

* chore: unpin nodejs version from 22.4 (#6982)

* Revert "chore: pin nodejs version to 22.4 (#6964)"

This reverts commit f20484b.

* Don't revert formatting changes

---------

Co-authored-by: Nico Flaig <[email protected]>
Co-authored-by: Cayman <[email protected]>

* chore: update bootnodes file url for holesky and sepolia (#7276)

* feat: add `debug_getHistoricalSummaries` endpoint (#7245)

* feat: add new getHistoricalSummaries endpoint to debug namespace

* Add JSON response

* Restructure to use stateId and add proof to response

* add test scaffolding

* Address feedback

* Move getHistoricalSummaries to lodestar namespace

* add lodestar namespace unit test

* update route name to lodestar namespace

* cast state object as Capella state

* Lint

* json properties need to be lower case

* Make it v1 since it's now part of lodestar namespace

* Group with other /lodestar endpoints

* Simplify beacon node impl

* Rename return type

* Update test description

* Fix variable name

---------

Co-authored-by: Nico Flaig <[email protected]>

* chore: log sync committee signature errors as `error` (#7283)

* fix: update engine_getClientVersionV1 commit encoding (#7282)

* fix: check pubkey or validator index known to a state (#7284)

* fix: check pubkey or validator index known to a state

* chore: add more comments

* feat: lodestar script setup (#7254)

* feat: lodestar_setup

* feat: script_updates + docs

* feat: script_addition_in_docs + command_update

* Remove duplicate script from docs folder

* Minor script updates

* Update script to prepare docs and ignore copied file

* Update installation page

* Wording

---------

Co-authored-by: Nico Flaig <[email protected]>

* feat: add terminal-sized Electra giraffe banner (#7286)

* Create giraffeBanners.ts

* Wire in banner

* Fix file name

* lint

* Address @nflaig's comment

---------

Co-authored-by: NC <[email protected]>

* chore: pin nodejs version to 22.4 (#7291)

Revert "chore: unpin nodejs version from 22.4 (#6982)"

This reverts commit 69ae688.

* feat: expose `DOMAIN_APPLICATION_MASK` in config/spec api (#7296)

* feat: expose DOMAIN_APPLICATION_MASK in config/spec api

* Lint

* feat: make `MAX_REQUEST_BLOB_SIDECARS` and `MAX_BLOBS_PER_BLOCK` configurable (#7294)

* Init commit

* Fix check-types

* Add comment on how MAX_REQUEST_BLOB_SIDECARS is calculated

* Ensure proper config object is passed

* Address comment

---------

Co-authored-by: Nico Flaig <[email protected]>

* feat: use `BLOB_SIDECAR_SUBNET_COUNT` to configure blob subnets (#7297)

feat: use BLOB_SIDECAR_SUBNET_COUNT to configure blob subnets

* chore: log sync aggregate participants when producing beacon block body (#7300)

* chore: log sync aggregate participants when producing beacon block body

* Use isForkLightClient instead of ForkSeq

* Fix produce block unit tests

* chore: print graffiti when producing beacon block body (#7303)

* fix: warn if engine / builder failed to produce block within cutoff time (#7305)

* feat: add kzg commitment length check when validating gossip blocks (#7302)

* feat: add blob sidecar index check (#7313)

Validate blobSidecar index

* fix: fix blob sidecar index check (#7315)

Fix index check

* chore: fix format of printed graffiti from hex to utf-8 (#7306)

* chore: fix format of printed graffiti from hex to utf-8

* Use Buffer.from no copy with offset

* docs: batch commit typos and update contributor readme (#7312)

* batch commit typos and update contributor readme

* update donation text

Co-authored-by: Nico Flaig <[email protected]>

* correct spelling

Co-authored-by: Nico Flaig <[email protected]>

---------

Co-authored-by: Nico Flaig <[email protected]>

* chore: remove trailing null bytes from printed graffiti (#7320)

* chore: remove trailing null bytes from printed graffiti

* Use replaceAll instead of regex

* chore: unpin nodejs version from 22.4 (#7324)

Revert "chore: pin nodejs version to 22.4 (#7291)"

This reverts commit 99794d3.

* chore: bump package versions to 1.24.0

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Nico Flaig <[email protected]>
Co-authored-by: Nazar Hussain <[email protected]>
Co-authored-by: g11tech <[email protected]>
Co-authored-by: Matthew Keil <[email protected]>
Co-authored-by: NC <[email protected]>
Co-authored-by: twoeths <[email protected]>
Co-authored-by: Phil Ngo <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: acolytec3 <[email protected]>
Co-authored-by: Varun Guleria <[email protected]>
Co-authored-by: ClockworkYuzu <[email protected]>
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.24.0 🎉

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.

4 participants