Skip to content

v1.7.1 Release - #5319

Merged
twoeths merged 2 commits into
stablefrom
rc/v1.7.1
Mar 30, 2023
Merged

v1.7.1 Release#5319
twoeths merged 2 commits into
stablefrom
rc/v1.7.1

Conversation

@philknows

@philknows philknows commented Mar 29, 2023

Copy link
Copy Markdown
Member

Motivation

Hotfix release v1.7.1 to include fix #5313

philknows and others added 2 commits March 29, 2023 16:28
…#5313)

* Use finalized state id when no checkpoint provided in checkpoint sync

* add stateid to log
@philknows
philknows requested a review from a team as a code owner March 29, 2023 20:33
@github-actions

Copy link
Copy Markdown
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: d536735 Previous: - Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 818.38 us/op
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 53.058 us/op
BLS verify - blst-native 1.2353 ms/op
BLS verifyMultipleSignatures 3 - blst-native 2.5021 ms/op
BLS verifyMultipleSignatures 8 - blst-native 5.3652 ms/op
BLS verifyMultipleSignatures 32 - blst-native 19.569 ms/op
BLS aggregatePubkeys 32 - blst-native 26.223 us/op
BLS aggregatePubkeys 128 - blst-native 100.91 us/op
getAttestationsForBlock 57.852 ms/op
isKnown best case - 1 super set check 270.00 ns/op
isKnown normal case - 2 super set checks 252.00 ns/op
isKnown worse case - 16 super set checks 254.00 ns/op
CheckpointStateCache - add get delete 5.4210 us/op
validate gossip signedAggregateAndProof - struct 2.8048 ms/op
validate gossip attestation - struct 1.3334 ms/op
pickEth1Vote - no votes 1.3983 ms/op
pickEth1Vote - max votes 9.4484 ms/op
pickEth1Vote - Eth1Data hashTreeRoot value x2048 9.1828 ms/op
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 14.530 ms/op
pickEth1Vote - Eth1Data fastSerialize value x2048 770.29 us/op
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.0426 ms/op
bytes32 toHexString 524.00 ns/op
bytes32 Buffer.toString(hex) 379.00 ns/op
bytes32 Buffer.toString(hex) from Uint8Array 593.00 ns/op
bytes32 Buffer.toString(hex) + 0x 390.00 ns/op
Object access 1 prop 0.18300 ns/op
Map access 1 prop 0.16500 ns/op
Object get x1000 6.8070 ns/op
Map get x1000 0.63100 ns/op
Object set x1000 56.473 ns/op
Map set x1000 47.227 ns/op
Return object 10000 times 0.24300 ns/op
Throw Error 10000 times 4.3433 us/op
fastMsgIdFn sha256 / 200 bytes 3.5320 us/op
fastMsgIdFn h32 xxhash / 200 bytes 298.00 ns/op
fastMsgIdFn h64 xxhash / 200 bytes 419.00 ns/op
fastMsgIdFn sha256 / 1000 bytes 11.822 us/op
fastMsgIdFn h32 xxhash / 1000 bytes 444.00 ns/op
fastMsgIdFn h64 xxhash / 1000 bytes 513.00 ns/op
fastMsgIdFn sha256 / 10000 bytes 105.34 us/op
fastMsgIdFn h32 xxhash / 10000 bytes 1.9620 us/op
fastMsgIdFn h64 xxhash / 10000 bytes 1.4170 us/op
enrSubnets - fastDeserialize 64 bits 1.4080 us/op
enrSubnets - ssz BitVector 64 bits 531.00 ns/op
enrSubnets - fastDeserialize 4 bits 189.00 ns/op
enrSubnets - ssz BitVector 4 bits 573.00 ns/op
prioritizePeers score -10:0 att 32-0.1 sync 2-0 115.72 us/op
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 158.83 us/op
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 190.14 us/op
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 358.49 us/op
prioritizePeers score 0:0 att 64-1 sync 4-1 421.33 us/op
array of 16000 items push then shift 1.6851 us/op
LinkedList of 16000 items push then shift 9.0430 ns/op
array of 16000 items push then pop 114.31 ns/op
LinkedList of 16000 items push then pop 8.9070 ns/op
array of 24000 items push then shift 2.4068 us/op
LinkedList of 24000 items push then shift 9.0160 ns/op
array of 24000 items push then pop 86.230 ns/op
LinkedList of 24000 items push then pop 9.0560 ns/op
intersect bitArray bitLen 8 13.553 ns/op
intersect array and set length 8 82.897 ns/op
intersect bitArray bitLen 128 44.206 ns/op
intersect array and set length 128 1.1027 us/op
Buffer.concat 32 items 2.9840 us/op
Uint8Array.set 32 items 2.7640 us/op
pass gossip attestations to forkchoice per slot 3.1013 ms/op
computeDeltas 3.0212 ms/op
computeProposerBoostScoreFromBalances 1.8168 ms/op
altair processAttestation - 250000 vs - 7PWei normalcase 3.3665 ms/op
altair processAttestation - 250000 vs - 7PWei worstcase 4.7523 ms/op
altair processAttestation - setStatus - 1/6 committees join 146.78 us/op
altair processAttestation - setStatus - 1/3 committees join 286.05 us/op
altair processAttestation - setStatus - 1/2 committees join 379.09 us/op
altair processAttestation - setStatus - 2/3 committees join 497.75 us/op
altair processAttestation - setStatus - 4/5 committees join 657.35 us/op
altair processAttestation - setStatus - 100% committees join 751.31 us/op
altair processBlock - 250000 vs - 7PWei normalcase 16.553 ms/op
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.109 ms/op
altair processBlock - 250000 vs - 7PWei worstcase 46.718 ms/op
altair processBlock - 250000 vs - 7PWei worstcase hashState 67.594 ms/op
phase0 processBlock - 250000 vs - 7PWei normalcase 2.1609 ms/op
phase0 processBlock - 250000 vs - 7PWei worstcase 28.902 ms/op
altair processEth1Data - 250000 vs - 7PWei normalcase 567.52 us/op
vc - 250000 eb 1 eth1 1 we 0 wn 0 - smpl 15 9.3580 us/op
vc - 250000 eb 0.95 eth1 0.1 we 0.05 wn 0 - smpl 219 27.845 us/op
vc - 250000 eb 0.95 eth1 0.3 we 0.05 wn 0 - smpl 42 11.534 us/op
vc - 250000 eb 0.95 eth1 0.7 we 0.05 wn 0 - smpl 18 7.5660 us/op
vc - 250000 eb 0.1 eth1 0.1 we 0 wn 0 - smpl 1020 113.77 us/op
vc - 250000 eb 0.03 eth1 0.03 we 0 wn 0 - smpl 11777 662.56 us/op
vc - 250000 eb 0.01 eth1 0.01 we 0 wn 0 - smpl 16384 909.28 us/op
vc - 250000 eb 0 eth1 0 we 0 wn 0 - smpl 16384 899.06 us/op
vc - 250000 eb 0 eth1 0 we 0 wn 0 nocache - smpl 16384 2.4294 ms/op
vc - 250000 eb 0 eth1 1 we 0 wn 0 - smpl 16384 1.5934 ms/op
vc - 250000 eb 0 eth1 1 we 0 wn 0 nocache - smpl 16384 4.3501 ms/op
Tree 40 250000 create 353.22 ms/op
Tree 40 250000 get(125000) 187.62 ns/op
Tree 40 250000 set(125000) 961.16 ns/op
Tree 40 250000 toArray() 20.985 ms/op
Tree 40 250000 iterate all - toArray() + loop 20.220 ms/op
Tree 40 250000 iterate all - get(i) 71.165 ms/op
MutableVector 250000 create 10.630 ms/op
MutableVector 250000 get(125000) 6.3430 ns/op
MutableVector 250000 set(125000) 265.17 ns/op
MutableVector 250000 toArray() 2.8395 ms/op
MutableVector 250000 iterate all - toArray() + loop 3.1247 ms/op
MutableVector 250000 iterate all - get(i) 1.5462 ms/op
Array 250000 create 3.0200 ms/op
Array 250000 clone - spread 1.2767 ms/op
Array 250000 get(125000) 0.60900 ns/op
Array 250000 set(125000) 0.73200 ns/op
Array 250000 iterate all - loop 90.364 us/op
effectiveBalanceIncrements clone Uint8Array 300000 30.713 us/op
effectiveBalanceIncrements clone MutableVector 300000 346.00 ns/op
effectiveBalanceIncrements rw all Uint8Array 300000 172.50 us/op
effectiveBalanceIncrements rw all MutableVector 300000 84.768 ms/op
phase0 afterProcessEpoch - 250000 vs - 7PWei 116.17 ms/op
phase0 beforeProcessEpoch - 250000 vs - 7PWei 43.911 ms/op
altair processEpoch - mainnet_e81889 333.64 ms/op
mainnet_e81889 - altair beforeProcessEpoch 50.441 ms/op
mainnet_e81889 - altair processJustificationAndFinalization 23.355 us/op
mainnet_e81889 - altair processInactivityUpdates 5.9484 ms/op
mainnet_e81889 - altair processRewardsAndPenalties 53.936 ms/op
mainnet_e81889 - altair processRegistryUpdates 2.9120 us/op
mainnet_e81889 - altair processSlashings 478.00 ns/op
mainnet_e81889 - altair processEth1DataReset 647.00 ns/op
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3652 ms/op
mainnet_e81889 - altair processSlashingsReset 6.1370 us/op
mainnet_e81889 - altair processRandaoMixesReset 5.2150 us/op
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0260 us/op
mainnet_e81889 - altair processParticipationFlagUpdates 4.8660 us/op
mainnet_e81889 - altair processSyncCommitteeUpdates 1.4880 us/op
mainnet_e81889 - altair afterProcessEpoch 143.39 ms/op
phase0 processEpoch - mainnet_e58758 412.42 ms/op
mainnet_e58758 - phase0 beforeProcessEpoch 159.48 ms/op
mainnet_e58758 - phase0 processJustificationAndFinalization 19.712 us/op
mainnet_e58758 - phase0 processRewardsAndPenalties 64.827 ms/op
mainnet_e58758 - phase0 processRegistryUpdates 11.572 us/op
mainnet_e58758 - phase0 processSlashings 891.00 ns/op
mainnet_e58758 - phase0 processEth1DataReset 911.00 ns/op
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3485 ms/op
mainnet_e58758 - phase0 processSlashingsReset 5.5640 us/op
mainnet_e58758 - phase0 processRandaoMixesReset 6.7080 us/op
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.0340 us/op
mainnet_e58758 - phase0 processParticipationRecordUpdates 7.1380 us/op
mainnet_e58758 - phase0 afterProcessEpoch 111.67 ms/op
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3032 ms/op
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.7000 ms/op
altair processInactivityUpdates - 250000 normalcase 27.811 ms/op
altair processInactivityUpdates - 250000 worstcase 23.219 ms/op
phase0 processRegistryUpdates - 250000 normalcase 19.182 us/op
phase0 processRegistryUpdates - 250000 badcase_full_deposits 338.10 us/op
phase0 processRegistryUpdates - 250000 worstcase 0.5 182.02 ms/op
altair processRewardsAndPenalties - 250000 normalcase 84.048 ms/op
altair processRewardsAndPenalties - 250000 worstcase 84.503 ms/op
phase0 getAttestationDeltas - 250000 normalcase 9.7241 ms/op
phase0 getAttestationDeltas - 250000 worstcase 10.700 ms/op
phase0 processSlashings - 250000 worstcase 4.8598 ms/op
altair processSyncCommitteeUpdates - 250000 230.70 ms/op
BeaconState.hashTreeRoot - No change 500.00 ns/op
BeaconState.hashTreeRoot - 1 full validator 53.974 us/op
BeaconState.hashTreeRoot - 32 full validator 522.13 us/op
BeaconState.hashTreeRoot - 512 full validator 6.2297 ms/op
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 72.238 us/op
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 993.05 us/op
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 13.106 ms/op
BeaconState.hashTreeRoot - 1 balances 52.752 us/op
BeaconState.hashTreeRoot - 32 balances 473.45 us/op
BeaconState.hashTreeRoot - 512 balances 4.7839 ms/op
BeaconState.hashTreeRoot - 250000 balances 94.396 ms/op
aggregationBits - 2048 els - zipIndexesInBitList 28.217 us/op
regular array get 100000 times 59.264 us/op
wrappedArray get 100000 times 37.694 us/op
arrayWithProxy get 100000 times 19.644 ms/op
ssz.Root.equals 725.00 ns/op
byteArrayEquals 755.00 ns/op
shuffle list - 16384 els 8.2302 ms/op
shuffle list - 250000 els 118.30 ms/op
processSlot - 1 slots 11.100 us/op
processSlot - 32 slots 1.5945 ms/op
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 47.209 ms/op
getCommitteeAssignments - req 1 vs - 250000 vc 3.5010 ms/op
getCommitteeAssignments - req 100 vs - 250000 vc 4.7913 ms/op
getCommitteeAssignments - req 1000 vs - 250000 vc 5.2164 ms/op
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.7500 ns/op
state getBlockRootAtSlot - 250000 vs - 7PWei 842.30 ns/op
computeProposers - vc 250000 11.983 ms/op
computeEpochShuffling - vc 250000 116.55 ms/op
getNextSyncCommittee - vc 250000 213.63 ms/op

by benchmarkbot/action

@twoeths
twoeths merged commit 37201f1 into stable Mar 30, 2023
@twoeths
twoeths deleted the rc/v1.7.1 branch March 30, 2023 03:23
@wemeetagain

Copy link
Copy Markdown
Member

🎉 This PR is included in v1.7.1 🎉

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