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: skip validator monitoring pre-genesis #6001

Merged
merged 1 commit into from
Sep 29, 2023

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Sep 26, 2023

Motivation

Closes #5999

Description

Skip validator monitoring pre-genesis

@nflaig nflaig requested a review from a team as a code owner September 26, 2023 20:10
@github-actions
Copy link
Contributor

github-actions bot commented Sep 26, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4fa686e Previous: 1397834 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.2166 ms/op 828.51 us/op 1.47
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 126.09 us/op 128.68 us/op 0.98
BLS verify - blst-native 1.5779 ms/op 1.5866 ms/op 0.99
BLS verifyMultipleSignatures 3 - blst-native 3.2596 ms/op 3.0682 ms/op 1.06
BLS verifyMultipleSignatures 8 - blst-native 7.0083 ms/op 6.7124 ms/op 1.04
BLS verifyMultipleSignatures 32 - blst-native 25.515 ms/op 23.545 ms/op 1.08
BLS verifyMultipleSignatures 64 - blst-native 50.956 ms/op 45.354 ms/op 1.12
BLS verifyMultipleSignatures 128 - blst-native 100.06 ms/op 95.974 ms/op 1.04
BLS deserializing 10000 signatures 1.0097 s/op 946.52 ms/op 1.07
BLS deserializing 100000 signatures 10.211 s/op 9.7745 s/op 1.04
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.5119 ms/op 1.5306 ms/op 0.99
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.7868 ms/op 1.6814 ms/op 1.06
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.6241 ms/op 2.7240 ms/op 0.96
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.4804 ms/op 3.8760 ms/op 1.16
BLS verifyMultipleSignatures - same message - 128 - blst-native 7.1616 ms/op 6.9272 ms/op 1.03
BLS aggregatePubkeys 32 - blst-native 30.789 us/op 30.980 us/op 0.99
BLS aggregatePubkeys 128 - blst-native 116.43 us/op 115.05 us/op 1.01
getAttestationsForBlock 56.197 ms/op 105.10 ms/op 0.53
isKnown best case - 1 super set check 586.00 ns/op 1.0820 us/op 0.54
isKnown normal case - 2 super set checks 618.00 ns/op 944.00 ns/op 0.65
isKnown worse case - 16 super set checks 573.00 ns/op 923.00 ns/op 0.62
CheckpointStateCache - add get delete 6.7490 us/op 10.801 us/op 0.62
validate api signedAggregateAndProof - struct 3.0636 ms/op 3.4226 ms/op 0.90
validate gossip signedAggregateAndProof - struct 3.0520 ms/op 3.3552 ms/op 0.91
validate gossip attestation - vc 640000 1.5449 ms/op 1.5228 ms/op 1.01
batch validate gossip attestation - vc 640000 - chunk 32 193.86 us/op 221.22 us/op 0.88
batch validate gossip attestation - vc 640000 - chunk 64 178.10 us/op 183.34 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 128 161.03 us/op 165.57 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 256 154.08 us/op 144.67 us/op 1.07
pickEth1Vote - no votes 1.2989 ms/op 1.3427 ms/op 0.97
pickEth1Vote - max votes 11.383 ms/op 10.995 ms/op 1.04
pickEth1Vote - Eth1Data hashTreeRoot value x2048 19.857 ms/op 18.569 ms/op 1.07
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.273 ms/op 27.534 ms/op 0.99
pickEth1Vote - Eth1Data fastSerialize value x2048 694.54 us/op 691.28 us/op 1.00
pickEth1Vote - Eth1Data fastSerialize tree x2048 8.6118 ms/op 8.2330 ms/op 1.05
bytes32 toHexString 592.00 ns/op 631.00 ns/op 0.94
bytes32 Buffer.toString(hex) 333.00 ns/op 310.00 ns/op 1.07
bytes32 Buffer.toString(hex) from Uint8Array 531.00 ns/op 555.00 ns/op 0.96
bytes32 Buffer.toString(hex) + 0x 315.00 ns/op 326.00 ns/op 0.97
Object access 1 prop 0.18400 ns/op 0.20600 ns/op 0.89
Map access 1 prop 0.15200 ns/op 0.15400 ns/op 0.99
Object get x1000 8.0910 ns/op 7.9840 ns/op 1.01
Map get x1000 0.71400 ns/op 0.67400 ns/op 1.06
Object set x1000 64.964 ns/op 65.025 ns/op 1.00
Map set x1000 50.271 ns/op 49.129 ns/op 1.02
Return object 10000 times 0.26500 ns/op 0.25030 ns/op 1.06
Throw Error 10000 times 4.3744 us/op 3.9370 us/op 1.11
fastMsgIdFn sha256 / 200 bytes 3.7210 us/op 3.4240 us/op 1.09
fastMsgIdFn h32 xxhash / 200 bytes 324.00 ns/op 325.00 ns/op 1.00
fastMsgIdFn h64 xxhash / 200 bytes 397.00 ns/op 378.00 ns/op 1.05
fastMsgIdFn sha256 / 1000 bytes 12.240 us/op 11.672 us/op 1.05
fastMsgIdFn h32 xxhash / 1000 bytes 460.00 ns/op 454.00 ns/op 1.01
fastMsgIdFn h64 xxhash / 1000 bytes 474.00 ns/op 450.00 ns/op 1.05
fastMsgIdFn sha256 / 10000 bytes 113.81 us/op 106.62 us/op 1.07
fastMsgIdFn h32 xxhash / 10000 bytes 2.0880 us/op 2.0450 us/op 1.02
fastMsgIdFn h64 xxhash / 10000 bytes 1.4010 us/op 1.4150 us/op 0.99
send data - 1000 256B messages 21.527 ms/op 21.634 ms/op 1.00
send data - 1000 512B messages 28.392 ms/op 29.872 ms/op 0.95
send data - 1000 1024B messages 43.456 ms/op 45.085 ms/op 0.96
send data - 1000 1200B messages 32.638 ms/op 34.476 ms/op 0.95
send data - 1000 2048B messages 34.861 ms/op 39.902 ms/op 0.87
send data - 1000 4096B messages 35.390 ms/op 39.309 ms/op 0.90
send data - 1000 16384B messages 89.826 ms/op 80.061 ms/op 1.12
send data - 1000 65536B messages 353.49 ms/op 297.29 ms/op 1.19
enrSubnets - fastDeserialize 64 bits 1.5100 us/op 1.3630 us/op 1.11
enrSubnets - ssz BitVector 64 bits 524.00 ns/op 483.00 ns/op 1.08
enrSubnets - fastDeserialize 4 bits 234.00 ns/op 194.00 ns/op 1.21
enrSubnets - ssz BitVector 4 bits 513.00 ns/op 457.00 ns/op 1.12
prioritizePeers score -10:0 att 32-0.1 sync 2-0 118.79 us/op 114.67 us/op 1.04
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 146.61 us/op 139.84 us/op 1.05
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 194.26 us/op 194.59 us/op 1.00
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 322.39 us/op 341.80 us/op 0.94
prioritizePeers score 0:0 att 64-1 sync 4-1 394.69 us/op 372.49 us/op 1.06
array of 16000 items push then shift 1.7402 us/op 1.7216 us/op 1.01
LinkedList of 16000 items push then shift 10.846 ns/op 10.233 ns/op 1.06
array of 16000 items push then pop 112.74 ns/op 112.72 ns/op 1.00
LinkedList of 16000 items push then pop 10.469 ns/op 9.7800 ns/op 1.07
array of 24000 items push then shift 2.7482 us/op 2.4651 us/op 1.11
LinkedList of 24000 items push then shift 11.428 ns/op 10.731 ns/op 1.06
array of 24000 items push then pop 144.08 ns/op 167.62 ns/op 0.86
LinkedList of 24000 items push then pop 10.612 ns/op 10.111 ns/op 1.05
intersect bitArray bitLen 8 8.1550 ns/op 6.8320 ns/op 1.19
intersect array and set length 8 72.673 ns/op 72.088 ns/op 1.01
intersect bitArray bitLen 128 36.434 ns/op 33.380 ns/op 1.09
intersect array and set length 128 941.18 ns/op 950.42 ns/op 0.99
bitArray.getTrueBitIndexes() bitLen 128 1.9590 us/op 1.7040 us/op 1.15
bitArray.getTrueBitIndexes() bitLen 248 3.1290 us/op 3.0530 us/op 1.02
bitArray.getTrueBitIndexes() bitLen 512 6.4050 us/op 6.2470 us/op 1.03
Buffer.concat 32 items 1.1100 us/op 1.0450 us/op 1.06
Uint8Array.set 32 items 2.1620 us/op 2.0830 us/op 1.04
Set add up to 64 items then delete first 5.2460 us/op 4.7453 us/op 1.11
OrderedSet add up to 64 items then delete first 5.9666 us/op 6.0750 us/op 0.98
Set add up to 64 items then delete last 5.4096 us/op 5.1108 us/op 1.06
OrderedSet add up to 64 items then delete last 7.0846 us/op 5.8796 us/op 1.20
Set add up to 64 items then delete middle 5.4724 us/op 4.9476 us/op 1.11
OrderedSet add up to 64 items then delete middle 8.1953 us/op 7.6051 us/op 1.08
Set add up to 128 items then delete first 11.244 us/op 10.356 us/op 1.09
OrderedSet add up to 128 items then delete first 13.927 us/op 13.891 us/op 1.00
Set add up to 128 items then delete last 10.238 us/op 10.195 us/op 1.00
OrderedSet add up to 128 items then delete last 12.899 us/op 13.721 us/op 0.94
Set add up to 128 items then delete middle 10.469 us/op 10.188 us/op 1.03
OrderedSet add up to 128 items then delete middle 20.070 us/op 18.833 us/op 1.07
Set add up to 256 items then delete first 21.516 us/op 20.752 us/op 1.04
OrderedSet add up to 256 items then delete first 27.160 us/op 27.985 us/op 0.97
Set add up to 256 items then delete last 21.531 us/op 20.300 us/op 1.06
OrderedSet add up to 256 items then delete last 26.778 us/op 27.826 us/op 0.96
Set add up to 256 items then delete middle 20.398 us/op 20.253 us/op 1.01
OrderedSet add up to 256 items then delete middle 48.398 us/op 50.698 us/op 0.95
transfer serialized Status (84 B) 2.1320 us/op 2.0880 us/op 1.02
copy serialized Status (84 B) 1.9100 us/op 1.7470 us/op 1.09
transfer serialized SignedVoluntaryExit (112 B) 2.2820 us/op 2.0630 us/op 1.11
copy serialized SignedVoluntaryExit (112 B) 1.9470 us/op 1.7230 us/op 1.13
transfer serialized ProposerSlashing (416 B) 2.4140 us/op 2.4110 us/op 1.00
copy serialized ProposerSlashing (416 B) 2.2770 us/op 2.6710 us/op 0.85
transfer serialized Attestation (485 B) 2.2190 us/op 2.4080 us/op 0.92
copy serialized Attestation (485 B) 2.1900 us/op 2.4490 us/op 0.89
transfer serialized AttesterSlashing (33232 B) 2.2590 us/op 2.6500 us/op 0.85
copy serialized AttesterSlashing (33232 B) 5.4320 us/op 9.3130 us/op 0.58
transfer serialized Small SignedBeaconBlock (128000 B) 2.6950 us/op 3.1820 us/op 0.85
copy serialized Small SignedBeaconBlock (128000 B) 16.961 us/op 22.289 us/op 0.76
transfer serialized Avg SignedBeaconBlock (200000 B) 3.4900 us/op 3.2040 us/op 1.09
copy serialized Avg SignedBeaconBlock (200000 B) 23.759 us/op 33.244 us/op 0.71
transfer serialized BlobsSidecar (524380 B) 3.5180 us/op 4.1740 us/op 0.84
copy serialized BlobsSidecar (524380 B) 116.72 us/op 164.49 us/op 0.71
transfer serialized Big SignedBeaconBlock (1000000 B) 3.8970 us/op 5.4120 us/op 0.72
copy serialized Big SignedBeaconBlock (1000000 B) 178.31 us/op 192.39 us/op 0.93
pass gossip attestations to forkchoice per slot 4.4470 ms/op 4.5761 ms/op 0.97
forkChoice updateHead vc 100000 bc 64 eq 0 773.36 us/op 756.51 us/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 0 5.2315 ms/op 5.2527 ms/op 1.00
forkChoice updateHead vc 1000000 bc 64 eq 0 7.1019 ms/op 8.4244 ms/op 0.84
forkChoice updateHead vc 600000 bc 320 eq 0 4.6276 ms/op 5.3494 ms/op 0.87
forkChoice updateHead vc 600000 bc 1200 eq 0 4.5585 ms/op 4.7779 ms/op 0.95
forkChoice updateHead vc 600000 bc 7200 eq 0 5.5823 ms/op 6.0353 ms/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 1000 12.073 ms/op 11.952 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 10000 13.001 ms/op 13.228 ms/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 300000 16.890 ms/op 27.170 ms/op 0.62
computeDeltas 500000 validators 300 proto nodes 6.6943 ms/op 6.9671 ms/op 0.96
computeDeltas 500000 validators 1200 proto nodes 6.5234 ms/op 6.9986 ms/op 0.93
computeDeltas 500000 validators 7200 proto nodes 6.4027 ms/op 6.8772 ms/op 0.93
computeDeltas 750000 validators 300 proto nodes 9.8203 ms/op 10.049 ms/op 0.98
computeDeltas 750000 validators 1200 proto nodes 9.6429 ms/op 10.003 ms/op 0.96
computeDeltas 750000 validators 7200 proto nodes 9.6988 ms/op 10.168 ms/op 0.95
computeDeltas 1400000 validators 300 proto nodes 20.054 ms/op 20.538 ms/op 0.98
computeDeltas 1400000 validators 1200 proto nodes 20.762 ms/op 20.998 ms/op 0.99
computeDeltas 1400000 validators 7200 proto nodes 20.439 ms/op 21.379 ms/op 0.96
computeDeltas 2100000 validators 300 proto nodes 29.933 ms/op 29.434 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 29.666 ms/op 29.961 ms/op 0.99
computeDeltas 2100000 validators 7200 proto nodes 30.432 ms/op 29.121 ms/op 1.05
computeProposerBoostScoreFromBalances 500000 validators 3.6895 ms/op 3.6451 ms/op 1.01
computeProposerBoostScoreFromBalances 750000 validators 3.8532 ms/op 3.7563 ms/op 1.03
computeProposerBoostScoreFromBalances 1400000 validators 3.8355 ms/op 3.7417 ms/op 1.03
computeProposerBoostScoreFromBalances 2100000 validators 3.6496 ms/op 3.6235 ms/op 1.01
altair processAttestation - 250000 vs - 7PWei normalcase 4.2398 ms/op 3.1421 ms/op 1.35
altair processAttestation - 250000 vs - 7PWei worstcase 3.7915 ms/op 4.3240 ms/op 0.88
altair processAttestation - setStatus - 1/6 committees join 208.30 us/op 224.94 us/op 0.93
altair processAttestation - setStatus - 1/3 committees join 356.64 us/op 353.56 us/op 1.01
altair processAttestation - setStatus - 1/2 committees join 498.15 us/op 515.41 us/op 0.97
altair processAttestation - setStatus - 2/3 committees join 626.90 us/op 635.66 us/op 0.99
altair processAttestation - setStatus - 4/5 committees join 834.26 us/op 907.56 us/op 0.92
altair processAttestation - setStatus - 100% committees join 1.0134 ms/op 1.0572 ms/op 0.96
altair processBlock - 250000 vs - 7PWei normalcase 7.7309 ms/op 9.6032 ms/op 0.81
altair processBlock - 250000 vs - 7PWei normalcase hashState 29.491 ms/op 37.180 ms/op 0.79
altair processBlock - 250000 vs - 7PWei worstcase 40.822 ms/op 49.435 ms/op 0.83
altair processBlock - 250000 vs - 7PWei worstcase hashState 92.308 ms/op 122.50 ms/op 0.75
phase0 processBlock - 250000 vs - 7PWei normalcase 2.6851 ms/op 3.7449 ms/op 0.72
phase0 processBlock - 250000 vs - 7PWei worstcase 34.844 ms/op 35.576 ms/op 0.98
altair processEth1Data - 250000 vs - 7PWei normalcase 514.30 us/op 671.65 us/op 0.77
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 12.039 us/op 16.589 us/op 0.73
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 36.926 us/op 83.131 us/op 0.44
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 15.966 us/op 31.937 us/op 0.50
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 18.093 us/op 18.251 us/op 0.99
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 175.79 us/op 200.24 us/op 0.88
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2690 ms/op 1.8173 ms/op 0.70
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8617 ms/op 1.8878 ms/op 0.99
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.0101 ms/op 1.8931 ms/op 1.06
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.6328 ms/op 4.7054 ms/op 0.77
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.0897 ms/op 3.5388 ms/op 0.87
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.4736 ms/op 8.6424 ms/op 0.63
Tree 40 250000 create 359.49 ms/op 612.16 ms/op 0.59
Tree 40 250000 get(125000) 216.59 ns/op 256.78 ns/op 0.84
Tree 40 250000 set(125000) 962.62 ns/op 2.7537 us/op 0.35
Tree 40 250000 toArray() 21.668 ms/op 31.202 ms/op 0.69
Tree 40 250000 iterate all - toArray() + loop 21.041 ms/op 29.589 ms/op 0.71
Tree 40 250000 iterate all - get(i) 78.318 ms/op 90.211 ms/op 0.87
MutableVector 250000 create 10.341 ms/op 12.321 ms/op 0.84
MutableVector 250000 get(125000) 7.1620 ns/op 7.1340 ns/op 1.00
MutableVector 250000 set(125000) 315.08 ns/op 286.53 ns/op 1.10
MutableVector 250000 toArray() 3.8656 ms/op 4.1770 ms/op 0.93
MutableVector 250000 iterate all - toArray() + loop 3.8282 ms/op 3.5924 ms/op 1.07
MutableVector 250000 iterate all - get(i) 1.6219 ms/op 1.6053 ms/op 1.01
Array 250000 create 3.4335 ms/op 3.6538 ms/op 0.94
Array 250000 clone - spread 1.3346 ms/op 1.1270 ms/op 1.18
Array 250000 get(125000) 0.65300 ns/op 0.53500 ns/op 1.22
Array 250000 set(125000) 0.73000 ns/op 0.59500 ns/op 1.23
Array 250000 iterate all - loop 91.147 us/op 114.58 us/op 0.80
effectiveBalanceIncrements clone Uint8Array 300000 42.256 us/op 43.954 us/op 0.96
effectiveBalanceIncrements clone MutableVector 300000 407.00 ns/op 261.00 ns/op 1.56
effectiveBalanceIncrements rw all Uint8Array 300000 189.29 us/op 180.53 us/op 1.05
effectiveBalanceIncrements rw all MutableVector 300000 91.756 ms/op 87.111 ms/op 1.05
phase0 afterProcessEpoch - 250000 vs - 7PWei 117.09 ms/op 117.62 ms/op 1.00
phase0 beforeProcessEpoch - 250000 vs - 7PWei 38.482 ms/op 45.211 ms/op 0.85
altair processEpoch - mainnet_e81889 506.26 ms/op 539.26 ms/op 0.94
mainnet_e81889 - altair beforeProcessEpoch 71.095 ms/op 73.030 ms/op 0.97
mainnet_e81889 - altair processJustificationAndFinalization 15.194 us/op 26.734 us/op 0.57
mainnet_e81889 - altair processInactivityUpdates 8.0690 ms/op 9.2618 ms/op 0.87
mainnet_e81889 - altair processRewardsAndPenalties 55.003 ms/op 72.098 ms/op 0.76
mainnet_e81889 - altair processRegistryUpdates 2.5210 us/op 3.5140 us/op 0.72
mainnet_e81889 - altair processSlashings 442.00 ns/op 483.00 ns/op 0.92
mainnet_e81889 - altair processEth1DataReset 676.00 ns/op 616.00 ns/op 1.10
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3499 ms/op 1.2717 ms/op 1.06
mainnet_e81889 - altair processSlashingsReset 3.4040 us/op 3.0380 us/op 1.12
mainnet_e81889 - altair processRandaoMixesReset 7.0840 us/op 5.4130 us/op 1.31
mainnet_e81889 - altair processHistoricalRootsUpdate 2.7540 us/op 675.00 ns/op 4.08
mainnet_e81889 - altair processParticipationFlagUpdates 2.8000 us/op 2.1690 us/op 1.29
mainnet_e81889 - altair processSyncCommitteeUpdates 771.00 ns/op 566.00 ns/op 1.36
mainnet_e81889 - altair afterProcessEpoch 139.55 ms/op 127.72 ms/op 1.09
capella processEpoch - mainnet_e217614 1.5337 s/op 1.4948 s/op 1.03
mainnet_e217614 - capella beforeProcessEpoch 245.84 ms/op 248.44 ms/op 0.99
mainnet_e217614 - capella processJustificationAndFinalization 16.072 us/op 13.190 us/op 1.22
mainnet_e217614 - capella processInactivityUpdates 22.594 ms/op 20.880 ms/op 1.08
mainnet_e217614 - capella processRewardsAndPenalties 267.96 ms/op 267.86 ms/op 1.00
mainnet_e217614 - capella processRegistryUpdates 35.432 us/op 21.471 us/op 1.65
mainnet_e217614 - capella processSlashings 723.00 ns/op 488.00 ns/op 1.48
mainnet_e217614 - capella processEth1DataReset 541.00 ns/op 686.00 ns/op 0.79
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.1156 ms/op 4.1244 ms/op 1.24
mainnet_e217614 - capella processSlashingsReset 3.8340 us/op 2.6250 us/op 1.46
mainnet_e217614 - capella processRandaoMixesReset 7.2000 us/op 3.8080 us/op 1.89
mainnet_e217614 - capella processHistoricalRootsUpdate 810.00 ns/op 820.00 ns/op 0.99
mainnet_e217614 - capella processParticipationFlagUpdates 2.4820 us/op 3.5180 us/op 0.71
mainnet_e217614 - capella afterProcessEpoch 312.59 ms/op 305.07 ms/op 1.02
phase0 processEpoch - mainnet_e58758 485.58 ms/op 457.66 ms/op 1.06
mainnet_e58758 - phase0 beforeProcessEpoch 119.21 ms/op 105.88 ms/op 1.13
mainnet_e58758 - phase0 processJustificationAndFinalization 17.254 us/op 24.355 us/op 0.71
mainnet_e58758 - phase0 processRewardsAndPenalties 51.188 ms/op 50.684 ms/op 1.01
mainnet_e58758 - phase0 processRegistryUpdates 9.5380 us/op 10.551 us/op 0.90
mainnet_e58758 - phase0 processSlashings 612.00 ns/op 602.00 ns/op 1.02
mainnet_e58758 - phase0 processEth1DataReset 495.00 ns/op 593.00 ns/op 0.83
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0690 ms/op 1.0484 ms/op 1.02
mainnet_e58758 - phase0 processSlashingsReset 2.8910 us/op 3.5800 us/op 0.81
mainnet_e58758 - phase0 processRandaoMixesReset 4.5710 us/op 5.7860 us/op 0.79
mainnet_e58758 - phase0 processHistoricalRootsUpdate 648.00 ns/op 405.00 ns/op 1.60
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.5640 us/op 4.0090 us/op 1.14
mainnet_e58758 - phase0 afterProcessEpoch 111.72 ms/op 106.61 ms/op 1.05
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3662 ms/op 1.2626 ms/op 1.08
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5055 ms/op 1.9395 ms/op 0.78
altair processInactivityUpdates - 250000 normalcase 21.384 ms/op 22.712 ms/op 0.94
altair processInactivityUpdates - 250000 worstcase 21.769 ms/op 21.091 ms/op 1.03
phase0 processRegistryUpdates - 250000 normalcase 13.308 us/op 9.6820 us/op 1.37
phase0 processRegistryUpdates - 250000 badcase_full_deposits 381.51 us/op 340.64 us/op 1.12
phase0 processRegistryUpdates - 250000 worstcase 0.5 144.15 ms/op 129.89 ms/op 1.11
altair processRewardsAndPenalties - 250000 normalcase 72.612 ms/op 65.411 ms/op 1.11
altair processRewardsAndPenalties - 250000 worstcase 89.950 ms/op 64.909 ms/op 1.39
phase0 getAttestationDeltas - 250000 normalcase 9.0239 ms/op 9.5013 ms/op 0.95
phase0 getAttestationDeltas - 250000 worstcase 11.692 ms/op 9.5946 ms/op 1.22
phase0 processSlashings - 250000 worstcase 2.8335 ms/op 2.5712 ms/op 1.10
altair processSyncCommitteeUpdates - 250000 181.49 ms/op 153.09 ms/op 1.19
BeaconState.hashTreeRoot - No change 419.00 ns/op 385.00 ns/op 1.09
BeaconState.hashTreeRoot - 1 full validator 126.58 us/op 177.07 us/op 0.71
BeaconState.hashTreeRoot - 32 full validator 1.5227 ms/op 1.8060 ms/op 0.84
BeaconState.hashTreeRoot - 512 full validator 17.643 ms/op 13.170 ms/op 1.34
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 194.90 us/op 147.54 us/op 1.32
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.5135 ms/op 1.9974 ms/op 1.26
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 35.461 ms/op 33.619 ms/op 1.05
BeaconState.hashTreeRoot - 1 balances 175.16 us/op 125.59 us/op 1.39
BeaconState.hashTreeRoot - 32 balances 1.3146 ms/op 1.1438 ms/op 1.15
BeaconState.hashTreeRoot - 512 balances 12.784 ms/op 9.7644 ms/op 1.31
BeaconState.hashTreeRoot - 250000 balances 242.07 ms/op 177.21 ms/op 1.37
aggregationBits - 2048 els - zipIndexesInBitList 22.370 us/op 15.743 us/op 1.42
regular array get 100000 times 43.434 us/op 43.631 us/op 1.00
wrappedArray get 100000 times 53.624 us/op 33.569 us/op 1.60
arrayWithProxy get 100000 times 16.394 ms/op 15.936 ms/op 1.03
ssz.Root.equals 268.00 ns/op 224.00 ns/op 1.20
byteArrayEquals 291.00 ns/op 221.00 ns/op 1.32
shuffle list - 16384 els 7.7659 ms/op 7.1860 ms/op 1.08
shuffle list - 250000 els 111.32 ms/op 106.29 ms/op 1.05
processSlot - 1 slots 17.992 us/op 16.702 us/op 1.08
processSlot - 32 slots 3.7147 ms/op 4.1911 ms/op 0.89
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 57.538 ms/op 61.869 ms/op 0.93
getCommitteeAssignments - req 1 vs - 250000 vc 2.6237 ms/op 2.6481 ms/op 0.99
getCommitteeAssignments - req 100 vs - 250000 vc 3.7843 ms/op 3.8053 ms/op 0.99
getCommitteeAssignments - req 1000 vs - 250000 vc 4.2782 ms/op 4.2163 ms/op 1.01
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.6700 ns/op 5.1500 ns/op 1.10
state getBlockRootAtSlot - 250000 vs - 7PWei 730.57 ns/op 725.73 ns/op 1.01
computeProposers - vc 250000 10.206 ms/op 9.7152 ms/op 1.05
computeEpochShuffling - vc 250000 113.60 ms/op 109.02 ms/op 1.04
getNextSyncCommittee - vc 250000 156.19 ms/op 164.06 ms/op 0.95
computeSigningRoot for AttestationData 22.968 us/op 29.969 us/op 0.77
hash AttestationData serialized data then Buffer.toString(base64) 2.4281 us/op 2.4455 us/op 0.99
toHexString serialized data 1.1087 us/op 1.2606 us/op 0.88
Buffer.toString(base64) 229.22 ns/op 240.19 ns/op 0.95

by benchmarkbot/action

Copy link
Member

@matthewkeil matthewkeil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!! 🚀

@nflaig nflaig force-pushed the nflaig/vmon-error-pre-genesis branch from 5c9d365 to 97e62d6 Compare September 29, 2023 13:00
@wemeetagain wemeetagain merged commit 070c121 into unstable Sep 29, 2023
13 of 14 checks passed
@wemeetagain wemeetagain deleted the nflaig/vmon-error-pre-genesis branch September 29, 2023 13:59
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.12.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.

Validator monitor errors pre-genesis
4 participants