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

Release v1.5.1 #5253

Closed
wants to merge 4 commits into from
Closed

Release v1.5.1 #5253

wants to merge 4 commits into from

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Mar 9, 2023

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4c564b1 Previous: - Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.1345 ms/op
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 71.325 us/op
BLS verify - blst-native 1.8649 ms/op
BLS verifyMultipleSignatures 3 - blst-native 3.8078 ms/op
BLS verifyMultipleSignatures 8 - blst-native 8.1953 ms/op
BLS verifyMultipleSignatures 32 - blst-native 29.765 ms/op
BLS aggregatePubkeys 32 - blst-native 39.466 us/op
BLS aggregatePubkeys 128 - blst-native 154.42 us/op
getAttestationsForBlock 90.442 ms/op
isKnown best case - 1 super set check 430.00 ns/op
isKnown normal case - 2 super set checks 425.00 ns/op
isKnown worse case - 16 super set checks 420.00 ns/op
CheckpointStateCache - add get delete 8.1770 us/op
validate gossip signedAggregateAndProof - struct 4.2717 ms/op
validate gossip attestation - struct 2.0247 ms/op
pickEth1Vote - no votes 2.2067 ms/op
pickEth1Vote - max votes 16.799 ms/op
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.024 ms/op
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.525 ms/op
pickEth1Vote - Eth1Data fastSerialize value x2048 1.4949 ms/op
pickEth1Vote - Eth1Data fastSerialize tree x2048 9.6656 ms/op
bytes32 toHexString 1.0310 us/op
bytes32 Buffer.toString(hex) 627.00 ns/op
bytes32 Buffer.toString(hex) from Uint8Array 952.00 ns/op
bytes32 Buffer.toString(hex) + 0x 660.00 ns/op
Object access 1 prop 0.27900 ns/op
Map access 1 prop 0.25700 ns/op
Object get x1000 16.903 ns/op
Map get x1000 1.0040 ns/op
Object set x1000 110.31 ns/op
Map set x1000 71.705 ns/op
Return object 10000 times 0.37040 ns/op
Throw Error 10000 times 6.9350 us/op
fastMsgIdFn sha256 / 200 bytes 4.2990 us/op
fastMsgIdFn h32 xxhash / 200 bytes 493.00 ns/op
fastMsgIdFn h64 xxhash / 200 bytes 699.00 ns/op
fastMsgIdFn sha256 / 1000 bytes 13.547 us/op
fastMsgIdFn h32 xxhash / 1000 bytes 643.00 ns/op
fastMsgIdFn h64 xxhash / 1000 bytes 791.00 ns/op
fastMsgIdFn sha256 / 10000 bytes 116.95 us/op
fastMsgIdFn h32 xxhash / 10000 bytes 2.3980 us/op
fastMsgIdFn h64 xxhash / 10000 bytes 1.7900 us/op
enrSubnets - fastDeserialize 64 bits 2.3850 us/op
enrSubnets - ssz BitVector 64 bits 849.00 ns/op
enrSubnets - fastDeserialize 4 bits 297.00 ns/op
enrSubnets - ssz BitVector 4 bits 911.00 ns/op
prioritizePeers score -10:0 att 32-0.1 sync 2-0 150.18 us/op
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 217.99 us/op
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 310.46 us/op
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 547.98 us/op
prioritizePeers score 0:0 att 64-1 sync 4-1 625.36 us/op
array of 16000 items push then shift 2.8040 us/op
LinkedList of 16000 items push then shift 18.707 ns/op
array of 16000 items push then pop 229.33 ns/op
LinkedList of 16000 items push then pop 17.352 ns/op
array of 24000 items push then shift 3.9721 us/op
LinkedList of 24000 items push then shift 23.538 ns/op
array of 24000 items push then pop 204.91 ns/op
LinkedList of 24000 items push then pop 19.329 ns/op
intersect bitArray bitLen 8 29.038 ns/op
intersect array and set length 8 167.30 ns/op
intersect bitArray bitLen 128 108.21 ns/op
intersect array and set length 128 2.2909 us/op
Buffer.concat 32 items 5.9720 us/op
Uint8Array.set 32 items 4.2470 us/op
pass gossip attestations to forkchoice per slot 4.1903 ms/op
computeDeltas 5.9460 ms/op
computeProposerBoostScoreFromBalances 2.8493 ms/op
altair processAttestation - 250000 vs - 7PWei normalcase 3.9258 ms/op
altair processAttestation - 250000 vs - 7PWei worstcase 6.3358 ms/op
altair processAttestation - setStatus - 1/6 committees join 211.20 us/op
altair processAttestation - setStatus - 1/3 committees join 399.58 us/op
altair processAttestation - setStatus - 1/2 committees join 556.44 us/op
altair processAttestation - setStatus - 2/3 committees join 719.65 us/op
altair processAttestation - setStatus - 4/5 committees join 988.36 us/op
altair processAttestation - setStatus - 100% committees join 1.1749 ms/op
altair processBlock - 250000 vs - 7PWei normalcase 27.998 ms/op
altair processBlock - 250000 vs - 7PWei normalcase hashState 41.290 ms/op
altair processBlock - 250000 vs - 7PWei worstcase 76.297 ms/op
altair processBlock - 250000 vs - 7PWei worstcase hashState 98.012 ms/op
phase0 processBlock - 250000 vs - 7PWei normalcase 3.7652 ms/op
phase0 processBlock - 250000 vs - 7PWei worstcase 46.955 ms/op
altair processEth1Data - 250000 vs - 7PWei normalcase 810.68 us/op
vc - 250000 eb 1 eth1 1 we 0 wn 0 - smpl 15 14.024 us/op
vc - 250000 eb 0.95 eth1 0.1 we 0.05 wn 0 - smpl 219 41.863 us/op
vc - 250000 eb 0.95 eth1 0.3 we 0.05 wn 0 - smpl 42 16.409 us/op
vc - 250000 eb 0.95 eth1 0.7 we 0.05 wn 0 - smpl 18 11.401 us/op
vc - 250000 eb 0.1 eth1 0.1 we 0 wn 0 - smpl 1020 159.56 us/op
vc - 250000 eb 0.03 eth1 0.03 we 0 wn 0 - smpl 11777 1.1447 ms/op
vc - 250000 eb 0.01 eth1 0.01 we 0 wn 0 - smpl 16384 1.5237 ms/op
vc - 250000 eb 0 eth1 0 we 0 wn 0 - smpl 16384 1.3469 ms/op
vc - 250000 eb 0 eth1 0 we 0 wn 0 nocache - smpl 16384 4.3851 ms/op
vc - 250000 eb 0 eth1 1 we 0 wn 0 - smpl 16384 2.8659 ms/op
vc - 250000 eb 0 eth1 1 we 0 wn 0 nocache - smpl 16384 7.0122 ms/op
Tree 40 250000 create 693.70 ms/op
Tree 40 250000 get(125000) 285.17 ns/op
Tree 40 250000 set(125000) 2.3743 us/op
Tree 40 250000 toArray() 36.445 ms/op
Tree 40 250000 iterate all - toArray() + loop 36.142 ms/op
Tree 40 250000 iterate all - get(i) 110.31 ms/op
MutableVector 250000 create 16.430 ms/op
MutableVector 250000 get(125000) 13.118 ns/op
MutableVector 250000 set(125000) 655.18 ns/op
MutableVector 250000 toArray() 6.8659 ms/op
MutableVector 250000 iterate all - toArray() + loop 7.1449 ms/op
MutableVector 250000 iterate all - get(i) 3.4646 ms/op
Array 250000 create 6.7768 ms/op
Array 250000 clone - spread 3.0315 ms/op
Array 250000 get(125000) 1.2550 ns/op
Array 250000 set(125000) 1.2810 ns/op
Array 250000 iterate all - loop 170.38 us/op
effectiveBalanceIncrements clone Uint8Array 300000 91.061 us/op
effectiveBalanceIncrements clone MutableVector 300000 923.00 ns/op
effectiveBalanceIncrements rw all Uint8Array 300000 252.77 us/op
effectiveBalanceIncrements rw all MutableVector 300000 223.04 ms/op
phase0 afterProcessEpoch - 250000 vs - 7PWei 193.66 ms/op
phase0 beforeProcessEpoch - 250000 vs - 7PWei 76.034 ms/op
altair processEpoch - mainnet_e81889 590.18 ms/op
mainnet_e81889 - altair beforeProcessEpoch 163.76 ms/op
mainnet_e81889 - altair processJustificationAndFinalization 22.538 us/op
mainnet_e81889 - altair processInactivityUpdates 11.713 ms/op
mainnet_e81889 - altair processRewardsAndPenalties 95.844 ms/op
mainnet_e81889 - altair processRegistryUpdates 2.7720 us/op
mainnet_e81889 - altair processSlashings 844.00 ns/op
mainnet_e81889 - altair processEth1DataReset 820.00 ns/op
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.3112 ms/op
mainnet_e81889 - altair processSlashingsReset 4.7330 us/op
mainnet_e81889 - altair processRandaoMixesReset 5.9620 us/op
mainnet_e81889 - altair processHistoricalRootsUpdate 848.00 ns/op
mainnet_e81889 - altair processParticipationFlagUpdates 3.2140 us/op
mainnet_e81889 - altair processSyncCommitteeUpdates 752.00 ns/op
mainnet_e81889 - altair afterProcessEpoch 194.95 ms/op
phase0 processEpoch - mainnet_e58758 547.43 ms/op
mainnet_e58758 - phase0 beforeProcessEpoch 246.35 ms/op
mainnet_e58758 - phase0 processJustificationAndFinalization 19.700 us/op
mainnet_e58758 - phase0 processRewardsAndPenalties 145.74 ms/op
mainnet_e58758 - phase0 processRegistryUpdates 9.8030 us/op
mainnet_e58758 - phase0 processSlashings 633.00 ns/op
mainnet_e58758 - phase0 processEth1DataReset 683.00 ns/op
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 3.0488 ms/op
mainnet_e58758 - phase0 processSlashingsReset 4.2970 us/op
mainnet_e58758 - phase0 processRandaoMixesReset 5.6140 us/op
mainnet_e58758 - phase0 processHistoricalRootsUpdate 710.00 ns/op
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.4670 us/op
mainnet_e58758 - phase0 afterProcessEpoch 160.43 ms/op
phase0 processEffectiveBalanceUpdates - 250000 normalcase 2.8122 ms/op
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 3.2684 ms/op
altair processInactivityUpdates - 250000 normalcase 40.582 ms/op
altair processInactivityUpdates - 250000 worstcase 51.483 ms/op
phase0 processRegistryUpdates - 250000 normalcase 8.0320 us/op
phase0 processRegistryUpdates - 250000 badcase_full_deposits 419.66 us/op
phase0 processRegistryUpdates - 250000 worstcase 0.5 225.55 ms/op
altair processRewardsAndPenalties - 250000 normalcase 131.98 ms/op
altair processRewardsAndPenalties - 250000 worstcase 86.007 ms/op
phase0 getAttestationDeltas - 250000 normalcase 13.795 ms/op
phase0 getAttestationDeltas - 250000 worstcase 13.620 ms/op
phase0 processSlashings - 250000 worstcase 5.4224 ms/op
altair processSyncCommitteeUpdates - 250000 264.68 ms/op
BeaconState.hashTreeRoot - No change 460.00 ns/op
BeaconState.hashTreeRoot - 1 full validator 62.837 us/op
BeaconState.hashTreeRoot - 32 full validator 702.46 us/op
BeaconState.hashTreeRoot - 512 full validator 6.6566 ms/op
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 76.772 us/op
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.1623 ms/op
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 15.613 ms/op
BeaconState.hashTreeRoot - 1 balances 60.474 us/op
BeaconState.hashTreeRoot - 32 balances 592.98 us/op
BeaconState.hashTreeRoot - 512 balances 5.7988 ms/op
BeaconState.hashTreeRoot - 250000 balances 93.886 ms/op
aggregationBits - 2048 els - zipIndexesInBitList 32.453 us/op
regular array get 100000 times 67.382 us/op
wrappedArray get 100000 times 67.352 us/op
arrayWithProxy get 100000 times 29.555 ms/op
ssz.Root.equals 1.0690 us/op
byteArrayEquals 1.0610 us/op
shuffle list - 16384 els 11.286 ms/op
shuffle list - 250000 els 166.14 ms/op
processSlot - 1 slots 12.281 us/op
processSlot - 32 slots 1.7625 ms/op
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 344.21 us/op
getCommitteeAssignments - req 1 vs - 250000 vc 5.5916 ms/op
getCommitteeAssignments - req 100 vs - 250000 vc 7.5814 ms/op
getCommitteeAssignments - req 1000 vs - 250000 vc 8.1631 ms/op
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 9.7200 ns/op
state getBlockRootAtSlot - 250000 vs - 7PWei 1.2566 us/op
computeProposers - vc 250000 15.863 ms/op
computeEpochShuffling - vc 250000 172.16 ms/op
getNextSyncCommittee - vc 250000 262.43 ms/op

by benchmarkbot/action

@wemeetagain wemeetagain marked this pull request as ready for review March 10, 2023 14:17
@wemeetagain wemeetagain requested a review from a team as a code owner March 10, 2023 14:17
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