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

chore: update gossipsub to 10.1.0 #5899

Merged
merged 2 commits into from
Aug 23, 2023
Merged

chore: update gossipsub to 10.1.0 #5899

merged 2 commits into from
Aug 23, 2023

Conversation

wemeetagain
Copy link
Member

cc @tuyennhv this includes metrics changes, do we need dashboard changes?

@wemeetagain wemeetagain requested a review from a team as a code owner August 22, 2023 13:56
@github-actions
Copy link
Contributor

github-actions bot commented Aug 22, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: c0b1be9 Previous: 7ee07da Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 711.62 us/op 975.06 us/op 0.73
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 79.609 us/op 139.87 us/op 0.57
BLS verify - blst-native 1.3274 ms/op 1.4819 ms/op 0.90
BLS verifyMultipleSignatures 3 - blst-native 2.7902 ms/op 4.0024 ms/op 0.70
BLS verifyMultipleSignatures 8 - blst-native 6.1418 ms/op 7.3089 ms/op 0.84
BLS verifyMultipleSignatures 32 - blst-native 22.520 ms/op 23.622 ms/op 0.95
BLS verifyMultipleSignatures 64 - blst-native 44.452 ms/op 52.434 ms/op 0.85
BLS verifyMultipleSignatures 128 - blst-native 87.221 ms/op 91.238 ms/op 0.96
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3347 ms/op 1.4795 ms/op 0.90
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5022 ms/op 1.6771 ms/op 0.90
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3685 ms/op 2.6524 ms/op 0.89
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4735 ms/op 3.7523 ms/op 0.93
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.4734 ms/op 7.0878 ms/op 0.91
BLS aggregatePubkeys 32 - blst-native 26.923 us/op 29.879 us/op 0.90
BLS aggregatePubkeys 128 - blst-native 100.01 us/op 112.69 us/op 0.89
getAttestationsForBlock 59.485 ms/op 81.213 ms/op 0.73
isKnown best case - 1 super set check 407.00 ns/op 511.00 ns/op 0.80
isKnown normal case - 2 super set checks 402.00 ns/op 544.00 ns/op 0.74
isKnown worse case - 16 super set checks 360.00 ns/op 532.00 ns/op 0.68
CheckpointStateCache - add get delete 5.8770 us/op 6.1840 us/op 0.95
validate api signedAggregateAndProof - struct 2.7969 ms/op 3.0083 ms/op 0.93
validate gossip signedAggregateAndProof - struct 2.8156 ms/op 3.0722 ms/op 0.92
validate gossip attestation - vc 640000 1.3570 ms/op 1.4122 ms/op 0.96
batch validate gossip attestation - vc 640000 - chunk 32 154.80 us/op 157.49 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 64 132.32 us/op 137.93 us/op 0.96
batch validate gossip attestation - vc 640000 - chunk 128 123.57 us/op 131.01 us/op 0.94
batch validate gossip attestation - vc 640000 - chunk 256 116.28 us/op 124.29 us/op 0.94
pickEth1Vote - no votes 1.1834 ms/op 1.4309 ms/op 0.83
pickEth1Vote - max votes 9.5887 ms/op 11.762 ms/op 0.82
pickEth1Vote - Eth1Data hashTreeRoot value x2048 8.6946 ms/op 9.7763 ms/op 0.89
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 16.117 ms/op 15.376 ms/op 1.05
pickEth1Vote - Eth1Data fastSerialize value x2048 638.39 us/op 595.49 us/op 1.07
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.8297 ms/op 4.3044 ms/op 1.12
bytes32 toHexString 481.00 ns/op 498.00 ns/op 0.97
bytes32 Buffer.toString(hex) 296.00 ns/op 299.00 ns/op 0.99
bytes32 Buffer.toString(hex) from Uint8Array 441.00 ns/op 439.00 ns/op 1.00
bytes32 Buffer.toString(hex) + 0x 294.00 ns/op 294.00 ns/op 1.00
Object access 1 prop 0.15600 ns/op 0.16200 ns/op 0.96
Map access 1 prop 0.15400 ns/op 0.15100 ns/op 1.02
Object get x1000 7.7360 ns/op 7.4890 ns/op 1.03
Map get x1000 0.63500 ns/op 0.64900 ns/op 0.98
Object set x1000 51.344 ns/op 50.481 ns/op 1.02
Map set x1000 40.013 ns/op 39.772 ns/op 1.01
Return object 10000 times 0.24100 ns/op 0.26070 ns/op 0.92
Throw Error 10000 times 3.8950 us/op 4.0146 us/op 0.97
fastMsgIdFn sha256 / 200 bytes 3.3320 us/op 3.3940 us/op 0.98
fastMsgIdFn h32 xxhash / 200 bytes 279.00 ns/op 283.00 ns/op 0.99
fastMsgIdFn h64 xxhash / 200 bytes 358.00 ns/op 344.00 ns/op 1.04
fastMsgIdFn sha256 / 1000 bytes 11.489 us/op 11.705 us/op 0.98
fastMsgIdFn h32 xxhash / 1000 bytes 417.00 ns/op 414.00 ns/op 1.01
fastMsgIdFn h64 xxhash / 1000 bytes 412.00 ns/op 421.00 ns/op 0.98
fastMsgIdFn sha256 / 10000 bytes 103.65 us/op 107.10 us/op 0.97
fastMsgIdFn h32 xxhash / 10000 bytes 4.2020 us/op 2.0200 us/op 2.08
fastMsgIdFn h64 xxhash / 10000 bytes 3.6150 us/op 1.3890 us/op 2.60
enrSubnets - fastDeserialize 64 bits 1.2240 us/op 1.2530 us/op 0.98
enrSubnets - ssz BitVector 64 bits 415.00 ns/op 429.00 ns/op 0.97
enrSubnets - fastDeserialize 4 bits 156.00 ns/op 167.00 ns/op 0.93
enrSubnets - ssz BitVector 4 bits 415.00 ns/op 436.00 ns/op 0.95
prioritizePeers score -10:0 att 32-0.1 sync 2-0 103.16 us/op 104.62 us/op 0.99
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 132.18 us/op 133.81 us/op 0.99
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 180.13 us/op 169.87 us/op 1.06
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 317.50 us/op 301.39 us/op 1.05
prioritizePeers score 0:0 att 64-1 sync 4-1 348.14 us/op 356.32 us/op 0.98
array of 16000 items push then shift 1.6455 us/op 1.7042 us/op 0.97
LinkedList of 16000 items push then shift 8.9320 ns/op 9.1480 ns/op 0.98
array of 16000 items push then pop 84.511 ns/op 76.580 ns/op 1.10
LinkedList of 16000 items push then pop 9.1460 ns/op 8.9370 ns/op 1.02
array of 24000 items push then shift 2.4661 us/op 2.5611 us/op 0.96
LinkedList of 24000 items push then shift 9.3290 ns/op 9.2480 ns/op 1.01
array of 24000 items push then pop 129.71 ns/op 104.93 ns/op 1.24
LinkedList of 24000 items push then pop 8.8340 ns/op 9.0380 ns/op 0.98
intersect bitArray bitLen 8 6.8860 ns/op 7.1260 ns/op 0.97
intersect array and set length 8 57.531 ns/op 57.685 ns/op 1.00
intersect bitArray bitLen 128 32.167 ns/op 34.069 ns/op 0.94
intersect array and set length 128 852.27 ns/op 790.16 ns/op 1.08
bitArray.getTrueBitIndexes() bitLen 128 1.6160 us/op 1.5500 us/op 1.04
bitArray.getTrueBitIndexes() bitLen 248 2.7270 us/op 2.5270 us/op 1.08
bitArray.getTrueBitIndexes() bitLen 512 5.2790 us/op 5.1090 us/op 1.03
Buffer.concat 32 items 975.00 ns/op 1.0130 us/op 0.96
Uint8Array.set 32 items 1.6950 us/op 1.7680 us/op 0.96
Set add up to 64 items then delete first 4.6503 us/op 4.4564 us/op 1.04
OrderedSet add up to 64 items then delete first 5.9528 us/op 5.6545 us/op 1.05
Set add up to 64 items then delete last 4.9665 us/op 4.7278 us/op 1.05
OrderedSet add up to 64 items then delete last 6.6240 us/op 6.9488 us/op 0.95
Set add up to 64 items then delete middle 4.8949 us/op 5.0249 us/op 0.97
OrderedSet add up to 64 items then delete middle 7.8363 us/op 7.9487 us/op 0.99
Set add up to 128 items then delete first 10.283 us/op 9.8833 us/op 1.04
OrderedSet add up to 128 items then delete first 13.755 us/op 11.941 us/op 1.15
Set add up to 128 items then delete last 10.010 us/op 9.5461 us/op 1.05
OrderedSet add up to 128 items then delete last 12.260 us/op 12.798 us/op 0.96
Set add up to 128 items then delete middle 9.9956 us/op 9.4051 us/op 1.06
OrderedSet add up to 128 items then delete middle 18.928 us/op 18.362 us/op 1.03
Set add up to 256 items then delete first 21.633 us/op 18.912 us/op 1.14
OrderedSet add up to 256 items then delete first 28.761 us/op 24.091 us/op 1.19
Set add up to 256 items then delete last 18.811 us/op 18.804 us/op 1.00
OrderedSet add up to 256 items then delete last 29.288 us/op 24.844 us/op 1.18
Set add up to 256 items then delete middle 21.757 us/op 18.577 us/op 1.17
OrderedSet add up to 256 items then delete middle 50.010 us/op 45.747 us/op 1.09
transfer serialized Status (84 B) 2.1230 us/op 1.7910 us/op 1.19
copy serialized Status (84 B) 1.8410 us/op 1.4880 us/op 1.24
transfer serialized SignedVoluntaryExit (112 B) 2.2300 us/op 1.8890 us/op 1.18
copy serialized SignedVoluntaryExit (112 B) 1.8640 us/op 1.5540 us/op 1.20
transfer serialized ProposerSlashing (416 B) 2.2610 us/op 1.9900 us/op 1.14
copy serialized ProposerSlashing (416 B) 2.0230 us/op 1.8120 us/op 1.12
transfer serialized Attestation (485 B) 2.0710 us/op 2.0360 us/op 1.02
copy serialized Attestation (485 B) 2.3010 us/op 1.8950 us/op 1.21
transfer serialized AttesterSlashing (33232 B) 2.3450 us/op 2.1550 us/op 1.09
copy serialized AttesterSlashing (33232 B) 5.4970 us/op 4.8050 us/op 1.14
transfer serialized Small SignedBeaconBlock (128000 B) 2.4350 us/op 2.4150 us/op 1.01
copy serialized Small SignedBeaconBlock (128000 B) 16.657 us/op 12.297 us/op 1.35
transfer serialized Avg SignedBeaconBlock (200000 B) 2.8800 us/op 2.7420 us/op 1.05
copy serialized Avg SignedBeaconBlock (200000 B) 22.106 us/op 17.859 us/op 1.24
transfer serialized BlobsSidecar (524380 B) 3.0590 us/op 2.6720 us/op 1.14
copy serialized BlobsSidecar (524380 B) 126.00 us/op 88.157 us/op 1.43
transfer serialized Big SignedBeaconBlock (1000000 B) 3.6330 us/op 2.7800 us/op 1.31
copy serialized Big SignedBeaconBlock (1000000 B) 182.46 us/op 323.93 us/op 0.56
pass gossip attestations to forkchoice per slot 3.8671 ms/op 3.7974 ms/op 1.02
forkChoice updateHead vc 100000 bc 64 eq 0 750.58 us/op 704.15 us/op 1.07
forkChoice updateHead vc 600000 bc 64 eq 0 4.4363 ms/op 4.2876 ms/op 1.03
forkChoice updateHead vc 1000000 bc 64 eq 0 7.8592 ms/op 7.6505 ms/op 1.03
forkChoice updateHead vc 600000 bc 320 eq 0 4.5035 ms/op 4.2539 ms/op 1.06
forkChoice updateHead vc 600000 bc 1200 eq 0 4.5686 ms/op 4.3756 ms/op 1.04
forkChoice updateHead vc 600000 bc 7200 eq 0 5.3476 ms/op 5.6227 ms/op 0.95
forkChoice updateHead vc 600000 bc 64 eq 1000 11.309 ms/op 11.484 ms/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 10000 12.245 ms/op 12.331 ms/op 0.99
forkChoice updateHead vc 600000 bc 64 eq 300000 15.729 ms/op 17.676 ms/op 0.89
computeDeltas 500000 validators 300 proto nodes 6.2667 ms/op 6.4671 ms/op 0.97
computeDeltas 500000 validators 1200 proto nodes 6.2197 ms/op 6.2685 ms/op 0.99
computeDeltas 500000 validators 7200 proto nodes 6.1457 ms/op 6.1867 ms/op 0.99
computeDeltas 750000 validators 300 proto nodes 9.2979 ms/op 9.3795 ms/op 0.99
computeDeltas 750000 validators 1200 proto nodes 10.227 ms/op 9.2878 ms/op 1.10
computeDeltas 750000 validators 7200 proto nodes 9.3197 ms/op 9.3147 ms/op 1.00
computeDeltas 1400000 validators 300 proto nodes 17.543 ms/op 17.629 ms/op 1.00
computeDeltas 1400000 validators 1200 proto nodes 17.724 ms/op 17.583 ms/op 1.01
computeDeltas 1400000 validators 7200 proto nodes 17.440 ms/op 17.920 ms/op 0.97
computeDeltas 2100000 validators 300 proto nodes 26.415 ms/op 26.707 ms/op 0.99
computeDeltas 2100000 validators 1200 proto nodes 26.714 ms/op 26.891 ms/op 0.99
computeDeltas 2100000 validators 7200 proto nodes 26.419 ms/op 26.843 ms/op 0.98
computeProposerBoostScoreFromBalances 500000 validators 3.1998 ms/op 3.2897 ms/op 0.97
computeProposerBoostScoreFromBalances 750000 validators 3.2209 ms/op 3.2918 ms/op 0.98
computeProposerBoostScoreFromBalances 1400000 validators 3.2211 ms/op 3.2841 ms/op 0.98
computeProposerBoostScoreFromBalances 2100000 validators 3.2273 ms/op 3.2582 ms/op 0.99
altair processAttestation - 250000 vs - 7PWei normalcase 2.3053 ms/op 2.1380 ms/op 1.08
altair processAttestation - 250000 vs - 7PWei worstcase 3.2680 ms/op 3.2039 ms/op 1.02
altair processAttestation - setStatus - 1/6 committees join 175.82 us/op 139.17 us/op 1.26
altair processAttestation - setStatus - 1/3 committees join 349.50 us/op 278.38 us/op 1.26
altair processAttestation - setStatus - 1/2 committees join 479.11 us/op 377.16 us/op 1.27
altair processAttestation - setStatus - 2/3 committees join 583.28 us/op 480.57 us/op 1.21
altair processAttestation - setStatus - 4/5 committees join 807.53 us/op 654.18 us/op 1.23
altair processAttestation - setStatus - 100% committees join 965.37 us/op 762.57 us/op 1.27
altair processBlock - 250000 vs - 7PWei normalcase 10.134 ms/op 9.9597 ms/op 1.02
altair processBlock - 250000 vs - 7PWei normalcase hashState 16.996 ms/op 17.746 ms/op 0.96
altair processBlock - 250000 vs - 7PWei worstcase 39.652 ms/op 38.809 ms/op 1.02
altair processBlock - 250000 vs - 7PWei worstcase hashState 60.719 ms/op 62.723 ms/op 0.97
phase0 processBlock - 250000 vs - 7PWei normalcase 2.9248 ms/op 3.0088 ms/op 0.97
phase0 processBlock - 250000 vs - 7PWei worstcase 33.576 ms/op 31.984 ms/op 1.05
altair processEth1Data - 250000 vs - 7PWei normalcase 582.40 us/op 604.47 us/op 0.96
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 8.3040 us/op 15.488 us/op 0.54
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 61.741 us/op 74.741 us/op 0.83
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 19.797 us/op 13.450 us/op 1.47
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 10.481 us/op 12.355 us/op 0.85
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 172.14 us/op 199.08 us/op 0.86
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4888 ms/op 1.3463 ms/op 1.11
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8058 ms/op 1.6298 ms/op 1.11
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.8608 ms/op 1.5687 ms/op 1.19
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.2466 ms/op 3.5116 ms/op 1.21
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.5974 ms/op 2.4339 ms/op 1.07
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.6001 ms/op 5.4354 ms/op 1.03
Tree 40 250000 create 435.09 ms/op 345.41 ms/op 1.26
Tree 40 250000 get(125000) 211.22 ns/op 202.85 ns/op 1.04
Tree 40 250000 set(125000) 937.12 ns/op 920.84 ns/op 1.02
Tree 40 250000 toArray() 22.786 ms/op 20.224 ms/op 1.13
Tree 40 250000 iterate all - toArray() + loop 21.918 ms/op 20.695 ms/op 1.06
Tree 40 250000 iterate all - get(i) 71.801 ms/op 71.141 ms/op 1.01
MutableVector 250000 create 12.807 ms/op 10.750 ms/op 1.19
MutableVector 250000 get(125000) 6.6880 ns/op 6.5320 ns/op 1.02
MutableVector 250000 set(125000) 272.71 ns/op 280.93 ns/op 0.97
MutableVector 250000 toArray() 3.3910 ms/op 3.5194 ms/op 0.96
MutableVector 250000 iterate all - toArray() + loop 3.7557 ms/op 3.4248 ms/op 1.10
MutableVector 250000 iterate all - get(i) 1.6187 ms/op 1.5434 ms/op 1.05
Array 250000 create 3.6468 ms/op 2.9276 ms/op 1.25
Array 250000 clone - spread 1.1912 ms/op 1.0252 ms/op 1.16
Array 250000 get(125000) 0.68100 ns/op 0.49600 ns/op 1.37
Array 250000 set(125000) 0.71200 ns/op 0.56800 ns/op 1.25
Array 250000 iterate all - loop 93.877 us/op 83.459 us/op 1.12
effectiveBalanceIncrements clone Uint8Array 300000 36.765 us/op 25.758 us/op 1.43
effectiveBalanceIncrements clone MutableVector 300000 339.00 ns/op 261.00 ns/op 1.30
effectiveBalanceIncrements rw all Uint8Array 300000 185.53 us/op 177.22 us/op 1.05
effectiveBalanceIncrements rw all MutableVector 300000 93.239 ms/op 76.613 ms/op 1.22
phase0 afterProcessEpoch - 250000 vs - 7PWei 133.47 ms/op 115.05 ms/op 1.16
phase0 beforeProcessEpoch - 250000 vs - 7PWei 46.948 ms/op 39.645 ms/op 1.18
altair processEpoch - mainnet_e81889 363.18 ms/op 332.14 ms/op 1.09
mainnet_e81889 - altair beforeProcessEpoch 72.252 ms/op 49.140 ms/op 1.47
mainnet_e81889 - altair processJustificationAndFinalization 23.525 us/op 15.518 us/op 1.52
mainnet_e81889 - altair processInactivityUpdates 6.8554 ms/op 5.8721 ms/op 1.17
mainnet_e81889 - altair processRewardsAndPenalties 72.658 ms/op 60.483 ms/op 1.20
mainnet_e81889 - altair processRegistryUpdates 3.0800 us/op 2.4030 us/op 1.28
mainnet_e81889 - altair processSlashings 716.00 ns/op 391.00 ns/op 1.83
mainnet_e81889 - altair processEth1DataReset 705.00 ns/op 495.00 ns/op 1.42
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4213 ms/op 1.2377 ms/op 1.15
mainnet_e81889 - altair processSlashingsReset 6.4640 us/op 3.2980 us/op 1.96
mainnet_e81889 - altair processRandaoMixesReset 5.3950 us/op 4.8710 us/op 1.11
mainnet_e81889 - altair processHistoricalRootsUpdate 1.5920 us/op 752.00 ns/op 2.12
mainnet_e81889 - altair processParticipationFlagUpdates 3.1790 us/op 5.3910 us/op 0.59
mainnet_e81889 - altair processSyncCommitteeUpdates 1.4410 us/op 1.5410 us/op 0.94
mainnet_e81889 - altair afterProcessEpoch 141.34 ms/op 124.20 ms/op 1.14
capella processEpoch - mainnet_e217614 1.1317 s/op 1.0210 s/op 1.11
mainnet_e217614 - capella beforeProcessEpoch 290.41 ms/op 243.03 ms/op 1.19
mainnet_e217614 - capella processJustificationAndFinalization 16.332 us/op 12.962 us/op 1.26
mainnet_e217614 - capella processInactivityUpdates 16.872 ms/op 15.725 ms/op 1.07
mainnet_e217614 - capella processRewardsAndPenalties 285.99 ms/op 275.54 ms/op 1.04
mainnet_e217614 - capella processRegistryUpdates 18.822 us/op 19.817 us/op 0.95
mainnet_e217614 - capella processSlashings 633.00 ns/op 482.00 ns/op 1.31
mainnet_e217614 - capella processEth1DataReset 447.00 ns/op 488.00 ns/op 0.92
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.0129 ms/op 4.2483 ms/op 0.94
mainnet_e217614 - capella processSlashingsReset 2.3570 us/op 2.4670 us/op 0.96
mainnet_e217614 - capella processRandaoMixesReset 4.0940 us/op 4.2150 us/op 0.97
mainnet_e217614 - capella processHistoricalRootsUpdate 578.00 ns/op 519.00 ns/op 1.11
mainnet_e217614 - capella processParticipationFlagUpdates 1.9500 us/op 2.2530 us/op 0.87
mainnet_e217614 - capella afterProcessEpoch 293.98 ms/op 319.10 ms/op 0.92
phase0 processEpoch - mainnet_e58758 327.29 ms/op 339.91 ms/op 0.96
mainnet_e58758 - phase0 beforeProcessEpoch 114.02 ms/op 139.15 ms/op 0.82
mainnet_e58758 - phase0 processJustificationAndFinalization 14.654 us/op 15.611 us/op 0.94
mainnet_e58758 - phase0 processRewardsAndPenalties 53.250 ms/op 41.924 ms/op 1.27
mainnet_e58758 - phase0 processRegistryUpdates 10.008 us/op 10.480 us/op 0.95
mainnet_e58758 - phase0 processSlashings 507.00 ns/op 549.00 ns/op 0.92
mainnet_e58758 - phase0 processEth1DataReset 445.00 ns/op 509.00 ns/op 0.87
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 941.34 us/op 2.0574 ms/op 0.46
mainnet_e58758 - phase0 processSlashingsReset 2.1620 us/op 7.9920 us/op 0.27
mainnet_e58758 - phase0 processRandaoMixesReset 3.8030 us/op 20.876 us/op 0.18
mainnet_e58758 - phase0 processHistoricalRootsUpdate 447.00 ns/op 1.8520 us/op 0.24
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.2080 us/op 12.978 us/op 0.32
mainnet_e58758 - phase0 afterProcessEpoch 98.128 ms/op 133.50 ms/op 0.74
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2245 ms/op 2.1944 ms/op 0.56
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4433 ms/op 2.4789 ms/op 0.58
altair processInactivityUpdates - 250000 normalcase 22.279 ms/op 26.992 ms/op 0.83
altair processInactivityUpdates - 250000 worstcase 23.174 ms/op 24.472 ms/op 0.95
phase0 processRegistryUpdates - 250000 normalcase 7.4190 us/op 9.6880 us/op 0.77
phase0 processRegistryUpdates - 250000 badcase_full_deposits 308.70 us/op 389.76 us/op 0.79
phase0 processRegistryUpdates - 250000 worstcase 0.5 125.38 ms/op 138.56 ms/op 0.90
altair processRewardsAndPenalties - 250000 normalcase 74.939 ms/op 73.141 ms/op 1.02
altair processRewardsAndPenalties - 250000 worstcase 71.387 ms/op 84.164 ms/op 0.85
phase0 getAttestationDeltas - 250000 normalcase 7.6643 ms/op 11.449 ms/op 0.67
phase0 getAttestationDeltas - 250000 worstcase 7.9486 ms/op 11.634 ms/op 0.68
phase0 processSlashings - 250000 worstcase 2.3585 ms/op 3.2964 ms/op 0.72
altair processSyncCommitteeUpdates - 250000 147.75 ms/op 175.41 ms/op 0.84
BeaconState.hashTreeRoot - No change 246.00 ns/op 267.00 ns/op 0.92
BeaconState.hashTreeRoot - 1 full validator 49.956 us/op 57.625 us/op 0.87
BeaconState.hashTreeRoot - 32 full validator 526.52 us/op 557.43 us/op 0.94
BeaconState.hashTreeRoot - 512 full validator 5.1184 ms/op 7.1557 ms/op 0.72
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 65.112 us/op 80.037 us/op 0.81
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 888.76 us/op 1.0519 ms/op 0.84
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 10.949 ms/op 14.832 ms/op 0.74
BeaconState.hashTreeRoot - 1 balances 49.832 us/op 62.416 us/op 0.80
BeaconState.hashTreeRoot - 32 balances 459.22 us/op 580.22 us/op 0.79
BeaconState.hashTreeRoot - 512 balances 4.1411 ms/op 5.9085 ms/op 0.70
BeaconState.hashTreeRoot - 250000 balances 77.172 ms/op 86.502 ms/op 0.89
aggregationBits - 2048 els - zipIndexesInBitList 13.853 us/op 23.717 us/op 0.58
regular array get 100000 times 42.578 us/op 51.607 us/op 0.83
wrappedArray get 100000 times 32.652 us/op 44.241 us/op 0.74
arrayWithProxy get 100000 times 14.164 ms/op 17.997 ms/op 0.79
ssz.Root.equals 204.00 ns/op 389.00 ns/op 0.52
byteArrayEquals 180.00 ns/op 318.00 ns/op 0.57
shuffle list - 16384 els 6.8015 ms/op 7.6987 ms/op 0.88
shuffle list - 250000 els 100.07 ms/op 116.21 ms/op 0.86
processSlot - 1 slots 8.2760 us/op 10.251 us/op 0.81
processSlot - 32 slots 1.3037 ms/op 1.7232 ms/op 0.76
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 58.079 ms/op 66.654 ms/op 0.87
getCommitteeAssignments - req 1 vs - 250000 vc 2.4949 ms/op 2.9142 ms/op 0.86
getCommitteeAssignments - req 100 vs - 250000 vc 3.6674 ms/op 4.2156 ms/op 0.87
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0194 ms/op 4.5858 ms/op 0.88
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.4600 ns/op 5.8700 ns/op 0.76
state getBlockRootAtSlot - 250000 vs - 7PWei 787.13 ns/op 847.75 ns/op 0.93
computeProposers - vc 250000 8.8660 ms/op 10.151 ms/op 0.87
computeEpochShuffling - vc 250000 102.35 ms/op 126.97 ms/op 0.81
getNextSyncCommittee - vc 250000 151.44 ms/op 164.87 ms/op 0.92
computeSigningRoot for AttestationData 13.178 us/op 15.596 us/op 0.84
hash AttestationData serialized data then Buffer.toString(base64) 2.2740 us/op 2.5570 us/op 0.89
toHexString serialized data 1.0513 us/op 1.6669 us/op 0.63
Buffer.toString(base64) 209.38 ns/op 281.94 ns/op 0.74

by benchmarkbot/action

@twoeths
Copy link
Contributor

twoeths commented Aug 23, 2023

@wemeetagain I updated the dashboard, was able to see IGNORE/REJECT percentage metrics

Screenshot 2023-08-23 at 09 58 36

@twoeths twoeths merged commit cdfbd85 into unstable Aug 23, 2023
11 checks passed
@twoeths twoeths deleted the cayman/update-gossipsub branch August 23, 2023 03:04
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