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: log useProduceBlockV3 default value instead of undefined #6125

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Nov 23, 2023

Motivation

Current log prints out undefined for useProduceBlockV3 instead of the default value.

info: Initializing validator useProduceBlockV3=undefined, defaultBuilderSelection=executiononly, suggestedFeeRecipient=0x0000000000000000000000000000000000000000, strictFeeRecipientCheck=false

Description

Log useProduceBlockV3 default value instead of undefined

info: Initializing validator useProduceBlockV3=false, defaultBuilderSelection=executiononly, suggestedFeeRecipient=0x0000000000000000000000000000000000000000, strictFeeRecipientCheck=false

cc @g11tech

@nflaig nflaig requested a review from a team as a code owner November 23, 2023 12:07
Copy link
Contributor

github-actions bot commented Nov 23, 2023

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: db14f11 Previous: 3f3a207 Ratio
enrSubnets - fastDeserialize 64 bits 1.2870 us/op 5.7000 us/op 0.23
Full benchmark results
Benchmark suite Current: db14f11 Previous: 3f3a207 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 727.38 us/op 683.54 us/op 1.06
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 141.28 us/op 86.541 us/op 1.63
BLS verify - blst-native 1.6552 ms/op 1.3301 ms/op 1.24
BLS verifyMultipleSignatures 3 - blst-native 3.2373 ms/op 2.8189 ms/op 1.15
BLS verifyMultipleSignatures 8 - blst-native 6.7447 ms/op 6.1090 ms/op 1.10
BLS verifyMultipleSignatures 32 - blst-native 26.146 ms/op 22.250 ms/op 1.18
BLS verifyMultipleSignatures 64 - blst-native 51.471 ms/op 43.385 ms/op 1.19
BLS verifyMultipleSignatures 128 - blst-native 100.97 ms/op 86.717 ms/op 1.16
BLS deserializing 10000 signatures 1.0099 s/op 933.03 ms/op 1.08
BLS deserializing 100000 signatures 10.024 s/op 9.2264 s/op 1.09
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.4831 ms/op 1.3273 ms/op 1.12
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.7916 ms/op 1.5099 ms/op 1.19
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5945 ms/op 2.3367 ms/op 1.11
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.7422 ms/op 4.0995 ms/op 0.91
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.8348 ms/op 5.6337 ms/op 1.21
BLS aggregatePubkeys 32 - blst-native 30.540 us/op 25.642 us/op 1.19
BLS aggregatePubkeys 128 - blst-native 112.38 us/op 101.12 us/op 1.11
getAttestationsForBlock 59.039 ms/op 46.064 ms/op 1.28
isKnown best case - 1 super set check 702.00 ns/op 375.00 ns/op 1.87
isKnown normal case - 2 super set checks 803.00 ns/op 333.00 ns/op 2.41
isKnown worse case - 16 super set checks 741.00 ns/op 357.00 ns/op 2.08
CheckpointStateCache - add get delete 7.4400 us/op 6.0890 us/op 1.22
validate api signedAggregateAndProof - struct 3.7348 ms/op 2.8432 ms/op 1.31
validate gossip signedAggregateAndProof - struct 3.0579 ms/op 2.8665 ms/op 1.07
validate gossip attestation - vc 640000 1.6219 ms/op 1.3839 ms/op 1.17
batch validate gossip attestation - vc 640000 - chunk 32 212.94 us/op 166.50 us/op 1.28
batch validate gossip attestation - vc 640000 - chunk 64 181.62 us/op 150.18 us/op 1.21
batch validate gossip attestation - vc 640000 - chunk 128 177.57 us/op 140.15 us/op 1.27
batch validate gossip attestation - vc 640000 - chunk 256 185.51 us/op 131.25 us/op 1.41
pickEth1Vote - no votes 1.5288 ms/op 1.3789 ms/op 1.11
pickEth1Vote - max votes 14.304 ms/op 12.213 ms/op 1.17
pickEth1Vote - Eth1Data hashTreeRoot value x2048 20.570 ms/op 24.172 ms/op 0.85
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 39.797 ms/op 33.123 ms/op 1.20
pickEth1Vote - Eth1Data fastSerialize value x2048 867.17 us/op 728.03 us/op 1.19
pickEth1Vote - Eth1Data fastSerialize tree x2048 8.7611 ms/op 6.5572 ms/op 1.34
bytes32 toHexString 929.00 ns/op 629.00 ns/op 1.48
bytes32 Buffer.toString(hex) 359.00 ns/op 311.00 ns/op 1.15
bytes32 Buffer.toString(hex) from Uint8Array 617.00 ns/op 557.00 ns/op 1.11
bytes32 Buffer.toString(hex) + 0x 349.00 ns/op 310.00 ns/op 1.13
Object access 1 prop 0.22300 ns/op 0.19600 ns/op 1.14
Map access 1 prop 0.17000 ns/op 0.15100 ns/op 1.13
Object get x1000 7.9540 ns/op 7.3860 ns/op 1.08
Map get x1000 0.78900 ns/op 0.71100 ns/op 1.11
Object set x1000 74.876 ns/op 62.334 ns/op 1.20
Map set x1000 55.791 ns/op 46.835 ns/op 1.19
Return object 10000 times 0.27280 ns/op 0.25210 ns/op 1.08
Throw Error 10000 times 4.3193 us/op 3.9744 us/op 1.09
fastMsgIdFn sha256 / 200 bytes 3.7040 us/op 3.4330 us/op 1.08
fastMsgIdFn h32 xxhash / 200 bytes 382.00 ns/op 350.00 ns/op 1.09
fastMsgIdFn h64 xxhash / 200 bytes 409.00 ns/op 397.00 ns/op 1.03
fastMsgIdFn sha256 / 1000 bytes 12.724 us/op 11.732 us/op 1.08
fastMsgIdFn h32 xxhash / 1000 bytes 530.00 ns/op 453.00 ns/op 1.17
fastMsgIdFn h64 xxhash / 1000 bytes 505.00 ns/op 460.00 ns/op 1.10
fastMsgIdFn sha256 / 10000 bytes 120.56 us/op 105.50 us/op 1.14
fastMsgIdFn h32 xxhash / 10000 bytes 2.2610 us/op 2.0270 us/op 1.12
fastMsgIdFn h64 xxhash / 10000 bytes 1.5290 us/op 1.3810 us/op 1.11
send data - 1000 256B messages 24.215 ms/op 21.158 ms/op 1.14
send data - 1000 512B messages 35.509 ms/op 28.813 ms/op 1.23
send data - 1000 1024B messages 47.608 ms/op 42.088 ms/op 1.13
send data - 1000 1200B messages 40.372 ms/op 23.386 ms/op 1.73
send data - 1000 2048B messages 46.951 ms/op 23.555 ms/op 1.99
send data - 1000 4096B messages 41.662 ms/op 38.544 ms/op 1.08
send data - 1000 16384B messages 113.02 ms/op 107.05 ms/op 1.06
send data - 1000 65536B messages 435.98 ms/op 444.46 ms/op 0.98
enrSubnets - fastDeserialize 64 bits 1.2870 us/op 5.7000 us/op 0.23
enrSubnets - ssz BitVector 64 bits 433.00 ns/op 476.00 ns/op 0.91
enrSubnets - fastDeserialize 4 bits 179.00 ns/op 186.00 ns/op 0.96
enrSubnets - ssz BitVector 4 bits 435.00 ns/op 512.00 ns/op 0.85
prioritizePeers score -10:0 att 32-0.1 sync 2-0 111.35 us/op 107.94 us/op 1.03
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 130.31 us/op 134.66 us/op 0.97
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 158.72 us/op 165.71 us/op 0.96
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 292.28 us/op 290.95 us/op 1.00
prioritizePeers score 0:0 att 64-1 sync 4-1 357.87 us/op 349.41 us/op 1.02
array of 16000 items push then shift 1.6750 us/op 1.6879 us/op 0.99
LinkedList of 16000 items push then shift 8.9770 ns/op 9.1170 ns/op 0.98
array of 16000 items push then pop 94.269 ns/op 98.860 ns/op 0.95
LinkedList of 16000 items push then pop 8.8420 ns/op 9.0310 ns/op 0.98
array of 24000 items push then shift 2.4215 us/op 2.4477 us/op 0.99
LinkedList of 24000 items push then shift 8.9220 ns/op 8.8770 ns/op 1.01
array of 24000 items push then pop 128.29 ns/op 140.33 ns/op 0.91
LinkedList of 24000 items push then pop 8.6820 ns/op 8.6950 ns/op 1.00
intersect bitArray bitLen 8 6.8470 ns/op 6.9540 ns/op 0.98
intersect array and set length 8 58.130 ns/op 57.657 ns/op 1.01
intersect bitArray bitLen 128 31.669 ns/op 32.138 ns/op 0.99
intersect array and set length 128 768.92 ns/op 771.89 ns/op 1.00
bitArray.getTrueBitIndexes() bitLen 128 1.3400 us/op 1.4340 us/op 0.93
bitArray.getTrueBitIndexes() bitLen 248 2.4170 us/op 2.5220 us/op 0.96
bitArray.getTrueBitIndexes() bitLen 512 4.7900 us/op 4.8530 us/op 0.99
Buffer.concat 32 items 1.0350 us/op 1.0020 us/op 1.03
Uint8Array.set 32 items 2.4850 us/op 2.0520 us/op 1.21
Set add up to 64 items then delete first 4.3419 us/op 4.3633 us/op 1.00
OrderedSet add up to 64 items then delete first 5.4954 us/op 5.4480 us/op 1.01
Set add up to 64 items then delete last 4.6833 us/op 4.6660 us/op 1.00
OrderedSet add up to 64 items then delete last 6.0747 us/op 5.8516 us/op 1.04
Set add up to 64 items then delete middle 4.6676 us/op 4.6187 us/op 1.01
OrderedSet add up to 64 items then delete middle 7.3910 us/op 7.0530 us/op 1.05
Set add up to 128 items then delete first 9.2185 us/op 9.5125 us/op 0.97
OrderedSet add up to 128 items then delete first 11.887 us/op 12.399 us/op 0.96
Set add up to 128 items then delete last 9.3271 us/op 9.1572 us/op 1.02
OrderedSet add up to 128 items then delete last 12.435 us/op 11.647 us/op 1.07
Set add up to 128 items then delete middle 9.1328 us/op 9.1334 us/op 1.00
OrderedSet add up to 128 items then delete middle 17.408 us/op 16.938 us/op 1.03
Set add up to 256 items then delete first 18.402 us/op 19.081 us/op 0.96
OrderedSet add up to 256 items then delete first 24.181 us/op 25.320 us/op 0.95
Set add up to 256 items then delete last 18.683 us/op 18.251 us/op 1.02
OrderedSet add up to 256 items then delete last 24.957 us/op 23.268 us/op 1.07
Set add up to 256 items then delete middle 18.414 us/op 18.260 us/op 1.01
OrderedSet add up to 256 items then delete middle 45.824 us/op 44.962 us/op 1.02
transfer serialized Status (84 B) 1.8540 us/op 1.9070 us/op 0.97
copy serialized Status (84 B) 1.4750 us/op 1.5710 us/op 0.94
transfer serialized SignedVoluntaryExit (112 B) 2.0390 us/op 2.1670 us/op 0.94
copy serialized SignedVoluntaryExit (112 B) 1.6520 us/op 1.7530 us/op 0.94
transfer serialized ProposerSlashing (416 B) 2.8950 us/op 3.1020 us/op 0.93
copy serialized ProposerSlashing (416 B) 2.8070 us/op 3.0290 us/op 0.93
transfer serialized Attestation (485 B) 3.0480 us/op 3.2740 us/op 0.93
copy serialized Attestation (485 B) 2.8010 us/op 3.0480 us/op 0.92
transfer serialized AttesterSlashing (33232 B) 2.5050 us/op 3.1550 us/op 0.79
copy serialized AttesterSlashing (33232 B) 5.6420 us/op 7.6860 us/op 0.73
transfer serialized Small SignedBeaconBlock (128000 B) 3.1220 us/op 2.5240 us/op 1.24
copy serialized Small SignedBeaconBlock (128000 B) 15.964 us/op 13.770 us/op 1.16
transfer serialized Avg SignedBeaconBlock (200000 B) 3.3040 us/op 2.8790 us/op 1.15
copy serialized Avg SignedBeaconBlock (200000 B) 20.439 us/op 20.274 us/op 1.01
transfer serialized BlobsSidecar (524380 B) 3.2210 us/op 2.8850 us/op 1.12
copy serialized BlobsSidecar (524380 B) 134.21 us/op 93.338 us/op 1.44
transfer serialized Big SignedBeaconBlock (1000000 B) 3.1550 us/op 2.9460 us/op 1.07
copy serialized Big SignedBeaconBlock (1000000 B) 374.94 us/op 322.18 us/op 1.16
pass gossip attestations to forkchoice per slot 4.1684 ms/op 3.8483 ms/op 1.08
forkChoice updateHead vc 100000 bc 64 eq 0 689.45 us/op 684.93 us/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 0 4.4885 ms/op 4.1176 ms/op 1.09
forkChoice updateHead vc 1000000 bc 64 eq 0 7.0142 ms/op 7.2408 ms/op 0.97
forkChoice updateHead vc 600000 bc 320 eq 0 4.1573 ms/op 4.2170 ms/op 0.99
forkChoice updateHead vc 600000 bc 1200 eq 0 4.3220 ms/op 4.2290 ms/op 1.02
forkChoice updateHead vc 600000 bc 7200 eq 0 5.1726 ms/op 5.4529 ms/op 0.95
forkChoice updateHead vc 600000 bc 64 eq 1000 11.325 ms/op 11.370 ms/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 10000 12.038 ms/op 12.164 ms/op 0.99
forkChoice updateHead vc 600000 bc 64 eq 300000 15.658 ms/op 15.782 ms/op 0.99
computeDeltas 500000 validators 300 proto nodes 6.8322 ms/op 6.5587 ms/op 1.04
computeDeltas 500000 validators 1200 proto nodes 6.6742 ms/op 6.4303 ms/op 1.04
computeDeltas 500000 validators 7200 proto nodes 6.9480 ms/op 6.4520 ms/op 1.08
computeDeltas 750000 validators 300 proto nodes 10.395 ms/op 9.6252 ms/op 1.08
computeDeltas 750000 validators 1200 proto nodes 10.349 ms/op 9.3162 ms/op 1.11
computeDeltas 750000 validators 7200 proto nodes 10.386 ms/op 9.5882 ms/op 1.08
computeDeltas 1400000 validators 300 proto nodes 19.105 ms/op 17.940 ms/op 1.06
computeDeltas 1400000 validators 1200 proto nodes 19.468 ms/op 18.184 ms/op 1.07
computeDeltas 1400000 validators 7200 proto nodes 19.227 ms/op 18.321 ms/op 1.05
computeDeltas 2100000 validators 300 proto nodes 29.223 ms/op 28.035 ms/op 1.04
computeDeltas 2100000 validators 1200 proto nodes 29.729 ms/op 27.804 ms/op 1.07
computeDeltas 2100000 validators 7200 proto nodes 31.402 ms/op 27.508 ms/op 1.14
computeProposerBoostScoreFromBalances 500000 validators 3.3674 ms/op 3.2826 ms/op 1.03
computeProposerBoostScoreFromBalances 750000 validators 3.3082 ms/op 3.2543 ms/op 1.02
computeProposerBoostScoreFromBalances 1400000 validators 3.4795 ms/op 3.2796 ms/op 1.06
computeProposerBoostScoreFromBalances 2100000 validators 3.4721 ms/op 3.3139 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei normalcase 3.8269 ms/op 2.2918 ms/op 1.67
altair processAttestation - 250000 vs - 7PWei worstcase 4.4910 ms/op 3.3844 ms/op 1.33
altair processAttestation - setStatus - 1/6 committees join 155.61 us/op 183.76 us/op 0.85
altair processAttestation - setStatus - 1/3 committees join 300.51 us/op 358.01 us/op 0.84
altair processAttestation - setStatus - 1/2 committees join 371.38 us/op 492.14 us/op 0.75
altair processAttestation - setStatus - 2/3 committees join 468.62 us/op 635.74 us/op 0.74
altair processAttestation - setStatus - 4/5 committees join 676.46 us/op 864.90 us/op 0.78
altair processAttestation - setStatus - 100% committees join 776.22 us/op 1.0127 ms/op 0.77
altair processBlock - 250000 vs - 7PWei normalcase 11.769 ms/op 11.197 ms/op 1.05
altair processBlock - 250000 vs - 7PWei normalcase hashState 45.046 ms/op 32.990 ms/op 1.37
altair processBlock - 250000 vs - 7PWei worstcase 45.926 ms/op 44.496 ms/op 1.03
altair processBlock - 250000 vs - 7PWei worstcase hashState 100.73 ms/op 97.452 ms/op 1.03
phase0 processBlock - 250000 vs - 7PWei normalcase 3.5852 ms/op 3.4148 ms/op 1.05
phase0 processBlock - 250000 vs - 7PWei worstcase 35.224 ms/op 34.867 ms/op 1.01
altair processEth1Data - 250000 vs - 7PWei normalcase 648.77 us/op 749.23 us/op 0.87
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 16.302 us/op 20.886 us/op 0.78
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 71.304 us/op 110.26 us/op 0.65
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 24.465 us/op 38.432 us/op 0.64
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 17.153 us/op 21.193 us/op 0.81
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 222.26 us/op 213.03 us/op 1.04
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.8234 ms/op 1.6338 ms/op 1.12
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.1096 ms/op 2.8572 ms/op 0.74
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.0914 ms/op 1.8689 ms/op 1.12
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.7479 ms/op 4.1381 ms/op 0.91
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.6592 ms/op 3.0775 ms/op 0.86
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.7190 ms/op 6.9271 ms/op 0.83
Tree 40 250000 create 430.93 ms/op 656.02 ms/op 0.66
Tree 40 250000 get(125000) 217.58 ns/op 245.66 ns/op 0.89
Tree 40 250000 set(125000) 1.0490 us/op 2.0343 us/op 0.52
Tree 40 250000 toArray() 22.181 ms/op 26.924 ms/op 0.82
Tree 40 250000 iterate all - toArray() + loop 22.270 ms/op 38.109 ms/op 0.58
Tree 40 250000 iterate all - get(i) 74.769 ms/op 107.44 ms/op 0.70
MutableVector 250000 create 15.988 ms/op 18.541 ms/op 0.86
MutableVector 250000 get(125000) 6.8430 ns/op 8.3780 ns/op 0.82
MutableVector 250000 set(125000) 290.73 ns/op 768.09 ns/op 0.38
MutableVector 250000 toArray() 4.0243 ms/op 6.3430 ms/op 0.63
MutableVector 250000 iterate all - toArray() + loop 4.1443 ms/op 5.6388 ms/op 0.73
MutableVector 250000 iterate all - get(i) 1.5726 ms/op 1.7961 ms/op 0.88
Array 250000 create 3.4907 ms/op 5.2783 ms/op 0.66
Array 250000 clone - spread 1.4681 ms/op 3.3166 ms/op 0.44
Array 250000 get(125000) 0.71400 ns/op 1.5430 ns/op 0.46
Array 250000 set(125000) 0.82900 ns/op 1.4930 ns/op 0.56
Array 250000 iterate all - loop 86.508 us/op 92.824 us/op 0.93
effectiveBalanceIncrements clone Uint8Array 300000 43.417 us/op 157.24 us/op 0.28
effectiveBalanceIncrements clone MutableVector 300000 453.00 ns/op 355.00 ns/op 1.28
effectiveBalanceIncrements rw all Uint8Array 300000 183.21 us/op 191.83 us/op 0.96
effectiveBalanceIncrements rw all MutableVector 300000 107.27 ms/op 135.30 ms/op 0.79
phase0 afterProcessEpoch - 250000 vs - 7PWei 125.10 ms/op 130.46 ms/op 0.96
phase0 beforeProcessEpoch - 250000 vs - 7PWei 58.446 ms/op 65.481 ms/op 0.89
altair processEpoch - mainnet_e81889 480.71 ms/op 561.96 ms/op 0.86
mainnet_e81889 - altair beforeProcessEpoch 86.359 ms/op 93.719 ms/op 0.92
mainnet_e81889 - altair processJustificationAndFinalization 23.150 us/op 22.172 us/op 1.04
mainnet_e81889 - altair processInactivityUpdates 7.3002 ms/op 10.605 ms/op 0.69
mainnet_e81889 - altair processRewardsAndPenalties 88.726 ms/op 69.287 ms/op 1.28
mainnet_e81889 - altair processRegistryUpdates 4.8660 us/op 5.4630 us/op 0.89
mainnet_e81889 - altair processSlashings 862.00 ns/op 1.2010 us/op 0.72
mainnet_e81889 - altair processEth1DataReset 752.00 ns/op 859.00 ns/op 0.88
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.5336 ms/op 1.5170 ms/op 1.01
mainnet_e81889 - altair processSlashingsReset 4.5990 us/op 3.9340 us/op 1.17
mainnet_e81889 - altair processRandaoMixesReset 8.1030 us/op 6.2770 us/op 1.29
mainnet_e81889 - altair processHistoricalRootsUpdate 773.00 ns/op 854.00 ns/op 0.91
mainnet_e81889 - altair processParticipationFlagUpdates 3.3530 us/op 4.1540 us/op 0.81
mainnet_e81889 - altair processSyncCommitteeUpdates 1.2960 us/op 1.6460 us/op 0.79
mainnet_e81889 - altair afterProcessEpoch 128.10 ms/op 131.35 ms/op 0.98
capella processEpoch - mainnet_e217614 2.5651 s/op 2.4314 s/op 1.05
mainnet_e217614 - capella beforeProcessEpoch 516.94 ms/op 487.93 ms/op 1.06
mainnet_e217614 - capella processJustificationAndFinalization 21.693 us/op 17.150 us/op 1.26
mainnet_e217614 - capella processInactivityUpdates 19.741 ms/op 21.548 ms/op 0.92
mainnet_e217614 - capella processRewardsAndPenalties 561.60 ms/op 516.78 ms/op 1.09
mainnet_e217614 - capella processRegistryUpdates 34.419 us/op 35.416 us/op 0.97
mainnet_e217614 - capella processSlashings 713.00 ns/op 476.00 ns/op 1.50
mainnet_e217614 - capella processEth1DataReset 509.00 ns/op 894.00 ns/op 0.57
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.3156 ms/op 4.2077 ms/op 1.03
mainnet_e217614 - capella processSlashingsReset 4.1060 us/op 2.8300 us/op 1.45
mainnet_e217614 - capella processRandaoMixesReset 6.2220 us/op 5.3330 us/op 1.17
mainnet_e217614 - capella processHistoricalRootsUpdate 1.0480 us/op 745.00 ns/op 1.41
mainnet_e217614 - capella processParticipationFlagUpdates 3.3460 us/op 1.9120 us/op 1.75
mainnet_e217614 - capella afterProcessEpoch 339.80 ms/op 331.03 ms/op 1.03
phase0 processEpoch - mainnet_e58758 475.00 ms/op 436.73 ms/op 1.09
mainnet_e58758 - phase0 beforeProcessEpoch 149.73 ms/op 115.04 ms/op 1.30
mainnet_e58758 - phase0 processJustificationAndFinalization 18.185 us/op 15.354 us/op 1.18
mainnet_e58758 - phase0 processRewardsAndPenalties 69.864 ms/op 66.939 ms/op 1.04
mainnet_e58758 - phase0 processRegistryUpdates 9.6500 us/op 9.7620 us/op 0.99
mainnet_e58758 - phase0 processSlashings 799.00 ns/op 554.00 ns/op 1.44
mainnet_e58758 - phase0 processEth1DataReset 407.00 ns/op 520.00 ns/op 0.78
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.2745 ms/op 1.0890 ms/op 1.17
mainnet_e58758 - phase0 processSlashingsReset 2.9190 us/op 2.9110 us/op 1.00
mainnet_e58758 - phase0 processRandaoMixesReset 6.2850 us/op 4.5410 us/op 1.38
mainnet_e58758 - phase0 processHistoricalRootsUpdate 482.00 ns/op 1.0580 us/op 0.46
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.3780 us/op 5.3300 us/op 0.82
mainnet_e58758 - phase0 afterProcessEpoch 104.36 ms/op 104.37 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.8352 ms/op 1.2743 ms/op 1.44
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4403 ms/op 1.4933 ms/op 0.96
altair processInactivityUpdates - 250000 normalcase 25.824 ms/op 22.397 ms/op 1.15
altair processInactivityUpdates - 250000 worstcase 28.273 ms/op 26.762 ms/op 1.06
phase0 processRegistryUpdates - 250000 normalcase 8.2730 us/op 10.971 us/op 0.75
phase0 processRegistryUpdates - 250000 badcase_full_deposits 659.19 us/op 457.32 us/op 1.44
phase0 processRegistryUpdates - 250000 worstcase 0.5 126.39 ms/op 133.86 ms/op 0.94
altair processRewardsAndPenalties - 250000 normalcase 77.691 ms/op 72.985 ms/op 1.06
altair processRewardsAndPenalties - 250000 worstcase 81.150 ms/op 72.973 ms/op 1.11
phase0 getAttestationDeltas - 250000 normalcase 8.2949 ms/op 12.801 ms/op 0.65
phase0 getAttestationDeltas - 250000 worstcase 8.2638 ms/op 11.393 ms/op 0.73
phase0 processSlashings - 250000 worstcase 2.2827 ms/op 2.7034 ms/op 0.84
altair processSyncCommitteeUpdates - 250000 156.17 ms/op 211.09 ms/op 0.74
BeaconState.hashTreeRoot - No change 249.00 ns/op 295.00 ns/op 0.84
BeaconState.hashTreeRoot - 1 full validator 125.48 us/op 195.90 us/op 0.64
BeaconState.hashTreeRoot - 32 full validator 1.4420 ms/op 1.7811 ms/op 0.81
BeaconState.hashTreeRoot - 512 full validator 17.426 ms/op 20.671 ms/op 0.84
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 190.98 us/op 219.08 us/op 0.87
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.3011 ms/op 2.9085 ms/op 0.79
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 27.502 ms/op 36.925 ms/op 0.74
BeaconState.hashTreeRoot - 1 balances 123.75 us/op 133.42 us/op 0.93
BeaconState.hashTreeRoot - 32 balances 1.2786 ms/op 1.2558 ms/op 1.02
BeaconState.hashTreeRoot - 512 balances 11.271 ms/op 12.913 ms/op 0.87
BeaconState.hashTreeRoot - 250000 balances 251.10 ms/op 211.77 ms/op 1.19
aggregationBits - 2048 els - zipIndexesInBitList 38.257 us/op 30.233 us/op 1.27
byteArrayEquals 32 51.523 ns/op 52.701 ns/op 0.98
Buffer.compare 32 56.046 ns/op 57.422 ns/op 0.98
byteArrayEquals 1024 1.5308 us/op 1.5818 us/op 0.97
Buffer.compare 1024 71.915 ns/op 74.074 ns/op 0.97
byteArrayEquals 16384 23.704 us/op 25.237 us/op 0.94
Buffer.compare 16384 277.74 ns/op 278.30 ns/op 1.00
byteArrayEquals 123687377 182.77 ms/op 186.96 ms/op 0.98
Buffer.compare 123687377 10.237 ms/op 8.2472 ms/op 1.24
byteArrayEquals 32 - diff last byte 60.918 ns/op 55.014 ns/op 1.11
Buffer.compare 32 - diff last byte 70.402 ns/op 59.007 ns/op 1.19
byteArrayEquals 1024 - diff last byte 1.8777 us/op 1.5297 us/op 1.23
Buffer.compare 1024 - diff last byte 89.242 ns/op 74.729 ns/op 1.19
byteArrayEquals 16384 - diff last byte 27.122 us/op 24.443 us/op 1.11
Buffer.compare 16384 - diff last byte 291.52 ns/op 288.72 ns/op 1.01
byteArrayEquals 123687377 - diff last byte 191.44 ms/op 177.48 ms/op 1.08
Buffer.compare 123687377 - diff last byte 7.8459 ms/op 6.5142 ms/op 1.20
byteArrayEquals 32 - random bytes 7.4810 ns/op 5.9310 ns/op 1.26
Buffer.compare 32 - random bytes 66.730 ns/op 60.077 ns/op 1.11
byteArrayEquals 1024 - random bytes 6.9300 ns/op 5.7540 ns/op 1.20
Buffer.compare 1024 - random bytes 65.504 ns/op 59.442 ns/op 1.10
byteArrayEquals 16384 - random bytes 7.1880 ns/op 5.7410 ns/op 1.25
Buffer.compare 16384 - random bytes 68.483 ns/op 59.401 ns/op 1.15
byteArrayEquals 123687377 - random bytes 13.970 ns/op 8.8000 ns/op 1.59
Buffer.compare 123687377 - random bytes 76.090 ns/op 62.910 ns/op 1.21
regular array get 100000 times 43.972 us/op 31.883 us/op 1.38
wrappedArray get 100000 times 36.296 us/op 32.058 us/op 1.13
arrayWithProxy get 100000 times 14.775 ms/op 14.860 ms/op 0.99
ssz.Root.equals 52.713 ns/op 49.097 ns/op 1.07
byteArrayEquals 53.767 ns/op 48.428 ns/op 1.11
Buffer.compare 13.571 ns/op 10.711 ns/op 1.27
shuffle list - 16384 els 7.9153 ms/op 6.8414 ms/op 1.16
shuffle list - 250000 els 125.17 ms/op 100.34 ms/op 1.25
processSlot - 1 slots 19.377 us/op 17.301 us/op 1.12
processSlot - 32 slots 4.1533 ms/op 3.5902 ms/op 1.16
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 65.668 ms/op 59.881 ms/op 1.10
getCommitteeAssignments - req 1 vs - 250000 vc 2.7294 ms/op 2.5055 ms/op 1.09
getCommitteeAssignments - req 100 vs - 250000 vc 3.9431 ms/op 3.7558 ms/op 1.05
getCommitteeAssignments - req 1000 vs - 250000 vc 4.2789 ms/op 4.1053 ms/op 1.04
findModifiedValidators - 10000 modified validators 563.19 ms/op 586.42 ms/op 0.96
findModifiedValidators - 1000 modified validators 470.66 ms/op 511.49 ms/op 0.92
findModifiedValidators - 100 modified validators 420.48 ms/op 477.08 ms/op 0.88
findModifiedValidators - 10 modified validators 411.11 ms/op 473.29 ms/op 0.87
findModifiedValidators - 1 modified validators 412.77 ms/op 423.43 ms/op 0.97
findModifiedValidators - no difference 431.80 ms/op 451.32 ms/op 0.96
compare ViewDUs 5.1063 s/op 4.4099 s/op 1.16
compare each validator Uint8Array 1.7879 s/op 1.7986 s/op 0.99
compare ViewDU to Uint8Array 1.3336 s/op 1.1069 s/op 1.20
migrate state 1000000 validators, 24 modified, 0 new 1.1434 s/op 767.83 ms/op 1.49
migrate state 1000000 validators, 1700 modified, 1000 new 1.1597 s/op 1.0499 s/op 1.10
migrate state 1000000 validators, 3400 modified, 2000 new 1.4304 s/op 1.3753 s/op 1.04
migrate state 1500000 validators, 24 modified, 0 new 824.03 ms/op 854.84 ms/op 0.96
migrate state 1500000 validators, 1700 modified, 1000 new 1.1220 s/op 1.1990 s/op 0.94
migrate state 1500000 validators, 3400 modified, 2000 new 1.4627 s/op 1.5308 s/op 0.96
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.1500 ns/op 5.0100 ns/op 0.83
state getBlockRootAtSlot - 250000 vs - 7PWei 848.50 ns/op 722.66 ns/op 1.17
computeProposers - vc 250000 8.5251 ms/op 10.142 ms/op 0.84
computeEpochShuffling - vc 250000 100.31 ms/op 113.11 ms/op 0.89
getNextSyncCommittee - vc 250000 164.98 ms/op 178.18 ms/op 0.93
computeSigningRoot for AttestationData 28.351 us/op 31.126 us/op 0.91
hash AttestationData serialized data then Buffer.toString(base64) 2.3278 us/op 2.4545 us/op 0.95
toHexString serialized data 1.0490 us/op 1.3855 us/op 0.76
Buffer.toString(base64) 220.90 ns/op 268.47 ns/op 0.82

by benchmarkbot/action

@g11tech g11tech merged commit 3f3a207 into unstable Nov 23, 2023
14 of 15 checks passed
@g11tech g11tech deleted the nflaig/produceblockv3-init-log branch November 23, 2023 13:28
@wemeetagain
Copy link
Member

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

3 participants