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

Schedule mainnet merge 🐼 #4409

Closed
wants to merge 1 commit into from
Closed

Conversation

dapplion
Copy link
Contributor

@dapplion dapplion commented Aug 13, 2022

Motivation

Description

Blocked until ethereum/consensus-specs#2969 is confirmed on Aug 18th

Closes #4408

@dapplion dapplion changed the title Schedule mainnet merge Schedule mainnet merge 🐼 Aug 13, 2022
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: b3218bf Previous: d39e2f9 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.4027 ms/op 2.1524 ms/op 1.12
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 84.038 us/op 76.566 us/op 1.10
BLS verify - blst-native 2.2278 ms/op 2.0336 ms/op 1.10
BLS verifyMultipleSignatures 3 - blst-native 4.5642 ms/op 4.0651 ms/op 1.12
BLS verifyMultipleSignatures 8 - blst-native 9.8328 ms/op 8.6599 ms/op 1.14
BLS verifyMultipleSignatures 32 - blst-native 35.556 ms/op 31.116 ms/op 1.14
BLS aggregatePubkeys 32 - blst-native 46.914 us/op 40.685 us/op 1.15
BLS aggregatePubkeys 128 - blst-native 183.23 us/op 159.03 us/op 1.15
getAttestationsForBlock 192.68 ms/op 183.55 ms/op 1.05
isKnown best case - 1 super set check 495.00 ns/op 475.00 ns/op 1.04
isKnown normal case - 2 super set checks 486.00 ns/op 462.00 ns/op 1.05
isKnown worse case - 16 super set checks 491.00 ns/op 449.00 ns/op 1.09
CheckpointStateCache - add get delete 10.124 us/op 9.7020 us/op 1.04
validate gossip signedAggregateAndProof - struct 5.1089 ms/op 4.7162 ms/op 1.08
validate gossip attestation - struct 2.4270 ms/op 2.2171 ms/op 1.09
altair verifyImport mainnet_s3766816:31 5.0893 s/op 9.0691 s/op 0.56
pickEth1Vote - no votes 2.5600 ms/op 2.1986 ms/op 1.16
pickEth1Vote - max votes 26.353 ms/op 21.235 ms/op 1.24
pickEth1Vote - Eth1Data hashTreeRoot value x2048 13.798 ms/op 11.448 ms/op 1.21
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 24.013 ms/op 21.265 ms/op 1.13
pickEth1Vote - Eth1Data fastSerialize value x2048 1.9312 ms/op 1.6768 ms/op 1.15
pickEth1Vote - Eth1Data fastSerialize tree x2048 17.390 ms/op 16.008 ms/op 1.09
bytes32 toHexString 1.2180 us/op 1.1920 us/op 1.02
bytes32 Buffer.toString(hex) 801.00 ns/op 732.00 ns/op 1.09
bytes32 Buffer.toString(hex) from Uint8Array 1.1140 us/op 991.00 ns/op 1.12
bytes32 Buffer.toString(hex) + 0x 815.00 ns/op 826.00 ns/op 0.99
Object access 1 prop 0.42700 ns/op 0.41800 ns/op 1.02
Map access 1 prop 0.35300 ns/op 0.34200 ns/op 1.03
Object get x1000 22.728 ns/op 19.711 ns/op 1.15
Map get x1000 1.2000 ns/op 1.3110 ns/op 0.92
Object set x1000 134.49 ns/op 131.08 ns/op 1.03
Map set x1000 78.474 ns/op 75.787 ns/op 1.04
Return object 10000 times 0.44030 ns/op 0.41020 ns/op 1.07
Throw Error 10000 times 7.0799 us/op 6.2197 us/op 1.14
enrSubnets - fastDeserialize 64 bits 3.0340 us/op 2.9990 us/op 1.01
enrSubnets - ssz BitVector 64 bits 853.00 ns/op 784.00 ns/op 1.09
enrSubnets - fastDeserialize 4 bits 435.00 ns/op 447.00 ns/op 0.97
enrSubnets - ssz BitVector 4 bits 860.00 ns/op 777.00 ns/op 1.11
prioritizePeers score -10:0 att 32-0.1 sync 2-0 108.03 us/op 108.32 us/op 1.00
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 147.37 us/op 149.63 us/op 0.98
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 235.88 us/op 240.17 us/op 0.98
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 467.91 us/op 426.52 us/op 1.10
prioritizePeers score 0:0 att 64-1 sync 4-1 453.23 us/op 492.33 us/op 0.92
RateTracker 1000000 limit, 1 obj count per request 205.85 ns/op 203.29 ns/op 1.01
RateTracker 1000000 limit, 2 obj count per request 169.61 ns/op 155.71 ns/op 1.09
RateTracker 1000000 limit, 4 obj count per request 152.14 ns/op 130.48 ns/op 1.17
RateTracker 1000000 limit, 8 obj count per request 144.47 ns/op 116.86 ns/op 1.24
RateTracker with prune 4.8550 us/op 4.6980 us/op 1.03
array of 16000 items push then shift 3.7314 us/op 3.5032 us/op 1.07
LinkedList of 16000 items push then shift 28.605 ns/op 25.594 ns/op 1.12
array of 16000 items push then pop 279.89 ns/op 266.60 ns/op 1.05
LinkedList of 16000 items push then pop 23.887 ns/op 22.805 ns/op 1.05
array of 24000 items push then shift 5.4392 us/op 4.8776 us/op 1.12
LinkedList of 24000 items push then shift 31.388 ns/op 25.671 ns/op 1.22
array of 24000 items push then pop 251.20 ns/op 220.91 ns/op 1.14
LinkedList of 24000 items push then pop 23.701 ns/op 22.514 ns/op 1.05
intersect bitArray bitLen 8 14.028 ns/op 12.533 ns/op 1.12
intersect array and set length 8 207.95 ns/op 176.19 ns/op 1.18
intersect bitArray bitLen 128 74.107 ns/op 65.201 ns/op 1.14
intersect array and set length 128 2.7742 us/op 2.3717 us/op 1.17
Buffer.concat 32 items 2.1980 ns/op 1.9850 ns/op 1.11
pass gossip attestations to forkchoice per slot 4.9505 ms/op 5.8443 ms/op 0.85
computeDeltas 4.3250 ms/op 3.7233 ms/op 1.16
computeProposerBoostScoreFromBalances 1.0759 ms/op 957.65 us/op 1.12
altair processAttestation - 250000 vs - 7PWei normalcase 3.9970 ms/op 3.8966 ms/op 1.03
altair processAttestation - 250000 vs - 7PWei worstcase 7.6754 ms/op 5.8164 ms/op 1.32
altair processAttestation - setStatus - 1/6 committees join 241.66 us/op 225.53 us/op 1.07
altair processAttestation - setStatus - 1/3 committees join 461.05 us/op 418.31 us/op 1.10
altair processAttestation - setStatus - 1/2 committees join 652.12 us/op 576.15 us/op 1.13
altair processAttestation - setStatus - 2/3 committees join 825.64 us/op 754.43 us/op 1.09
altair processAttestation - setStatus - 4/5 committees join 1.1538 ms/op 1.0573 ms/op 1.09
altair processAttestation - setStatus - 100% committees join 1.3883 ms/op 1.2397 ms/op 1.12
altair processBlock - 250000 vs - 7PWei normalcase 34.299 ms/op 29.282 ms/op 1.17
altair processBlock - 250000 vs - 7PWei normalcase hashState 39.951 ms/op 41.860 ms/op 0.95
altair processBlock - 250000 vs - 7PWei worstcase 91.352 ms/op 84.722 ms/op 1.08
altair processBlock - 250000 vs - 7PWei worstcase hashState 104.02 ms/op 107.02 ms/op 0.97
phase0 processBlock - 250000 vs - 7PWei normalcase 4.0370 ms/op 5.1720 ms/op 0.78
phase0 processBlock - 250000 vs - 7PWei worstcase 55.904 ms/op 48.475 ms/op 1.15
altair processEth1Data - 250000 vs - 7PWei normalcase 1.2418 ms/op 833.37 us/op 1.49
Tree 40 250000 create 838.34 ms/op 823.88 ms/op 1.02
Tree 40 250000 get(125000) 323.80 ns/op 309.10 ns/op 1.05
Tree 40 250000 set(125000) 2.4088 us/op 2.5477 us/op 0.95
Tree 40 250000 toArray() 36.437 ms/op 34.992 ms/op 1.04
Tree 40 250000 iterate all - toArray() + loop 37.736 ms/op 34.860 ms/op 1.08
Tree 40 250000 iterate all - get(i) 130.77 ms/op 123.37 ms/op 1.06
MutableVector 250000 create 25.814 ms/op 16.165 ms/op 1.60
MutableVector 250000 get(125000) 19.976 ns/op 14.839 ns/op 1.35
MutableVector 250000 set(125000) 613.20 ns/op 647.60 ns/op 0.95
MutableVector 250000 toArray() 8.1202 ms/op 7.7765 ms/op 1.04
MutableVector 250000 iterate all - toArray() + loop 8.0684 ms/op 8.2622 ms/op 0.98
MutableVector 250000 iterate all - get(i) 4.2004 ms/op 3.5878 ms/op 1.17
Array 250000 create 7.0359 ms/op 7.2302 ms/op 0.97
Array 250000 clone - spread 2.8051 ms/op 3.8737 ms/op 0.72
Array 250000 get(125000) 1.1820 ns/op 1.6620 ns/op 0.71
Array 250000 set(125000) 1.1650 ns/op 1.6040 ns/op 0.73
Array 250000 iterate all - loop 186.13 us/op 184.71 us/op 1.01
effectiveBalanceIncrements clone Uint8Array 300000 74.477 us/op 85.496 us/op 0.87
effectiveBalanceIncrements clone MutableVector 300000 821.00 ns/op 1.2050 us/op 0.68
effectiveBalanceIncrements rw all Uint8Array 300000 281.44 us/op 261.87 us/op 1.07
effectiveBalanceIncrements rw all MutableVector 300000 168.00 ms/op 210.17 ms/op 0.80
phase0 afterProcessEpoch - 250000 vs - 7PWei 209.53 ms/op 196.44 ms/op 1.07
phase0 beforeProcessEpoch - 250000 vs - 7PWei 158.06 ms/op 98.853 ms/op 1.60
altair processEpoch - mainnet_e81889 803.83 ms/op 618.96 ms/op 1.30
mainnet_e81889 - altair beforeProcessEpoch 224.62 ms/op 122.64 ms/op 1.83
mainnet_e81889 - altair processJustificationAndFinalization 52.965 us/op 39.324 us/op 1.35
mainnet_e81889 - altair processInactivityUpdates 10.671 ms/op 11.141 ms/op 0.96
mainnet_e81889 - altair processRewardsAndPenalties 212.88 ms/op 100.17 ms/op 2.13
mainnet_e81889 - altair processRegistryUpdates 7.4590 us/op 9.1520 us/op 0.82
mainnet_e81889 - altair processSlashings 1.9700 us/op 2.2670 us/op 0.87
mainnet_e81889 - altair processEth1DataReset 2.1370 us/op 2.2790 us/op 0.94
mainnet_e81889 - altair processEffectiveBalanceUpdates 3.3101 ms/op 2.5737 ms/op 1.29
mainnet_e81889 - altair processSlashingsReset 11.518 us/op 10.743 us/op 1.07
mainnet_e81889 - altair processRandaoMixesReset 10.563 us/op 9.8920 us/op 1.07
mainnet_e81889 - altair processHistoricalRootsUpdate 1.8100 us/op 1.6630 us/op 1.09
mainnet_e81889 - altair processParticipationFlagUpdates 8.0600 us/op 5.8950 us/op 1.37
mainnet_e81889 - altair processSyncCommitteeUpdates 1.9970 us/op 1.3720 us/op 1.46
mainnet_e81889 - altair afterProcessEpoch 204.11 ms/op 226.98 ms/op 0.90
phase0 processEpoch - mainnet_e58758 771.80 ms/op 644.72 ms/op 1.20
mainnet_e58758 - phase0 beforeProcessEpoch 326.39 ms/op 200.55 ms/op 1.63
mainnet_e58758 - phase0 processJustificationAndFinalization 29.274 us/op 37.794 us/op 0.77
mainnet_e58758 - phase0 processRewardsAndPenalties 177.79 ms/op 140.63 ms/op 1.26
mainnet_e58758 - phase0 processRegistryUpdates 15.676 us/op 17.140 us/op 0.91
mainnet_e58758 - phase0 processSlashings 2.3040 us/op 1.7730 us/op 1.30
mainnet_e58758 - phase0 processEth1DataReset 2.3520 us/op 1.7280 us/op 1.36
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.5682 ms/op 2.1623 ms/op 1.19
mainnet_e58758 - phase0 processSlashingsReset 14.069 us/op 9.3370 us/op 1.51
mainnet_e58758 - phase0 processRandaoMixesReset 18.034 us/op 12.127 us/op 1.49
mainnet_e58758 - phase0 processHistoricalRootsUpdate 2.9270 us/op 2.3290 us/op 1.26
mainnet_e58758 - phase0 processParticipationRecordUpdates 14.914 us/op 12.308 us/op 1.21
mainnet_e58758 - phase0 afterProcessEpoch 167.23 ms/op 169.54 ms/op 0.99
phase0 processEffectiveBalanceUpdates - 250000 normalcase 2.9871 ms/op 2.9014 ms/op 1.03
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 3.5383 ms/op 3.3855 ms/op 1.05
altair processInactivityUpdates - 250000 normalcase 74.797 ms/op 47.482 ms/op 1.58
altair processInactivityUpdates - 250000 worstcase 65.910 ms/op 44.447 ms/op 1.48
phase0 processRegistryUpdates - 250000 normalcase 14.265 us/op 16.583 us/op 0.86
phase0 processRegistryUpdates - 250000 badcase_full_deposits 504.25 us/op 576.48 us/op 0.87
phase0 processRegistryUpdates - 250000 worstcase 0.5 309.38 ms/op 235.52 ms/op 1.31
altair processRewardsAndPenalties - 250000 normalcase 184.37 ms/op 88.360 ms/op 2.09
altair processRewardsAndPenalties - 250000 worstcase 183.07 ms/op 142.50 ms/op 1.28
phase0 getAttestationDeltas - 250000 normalcase 13.163 ms/op 13.918 ms/op 0.95
phase0 getAttestationDeltas - 250000 worstcase 13.522 ms/op 13.743 ms/op 0.98
phase0 processSlashings - 250000 worstcase 6.8184 ms/op 5.8796 ms/op 1.16
altair processSyncCommitteeUpdates - 250000 304.97 ms/op 305.50 ms/op 1.00
BeaconState.hashTreeRoot - No change 547.00 ns/op 563.00 ns/op 0.97
BeaconState.hashTreeRoot - 1 full validator 84.780 us/op 64.568 us/op 1.31
BeaconState.hashTreeRoot - 32 full validator 956.33 us/op 669.46 us/op 1.43
BeaconState.hashTreeRoot - 512 full validator 15.571 ms/op 6.7074 ms/op 2.32
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 97.358 us/op 80.331 us/op 1.21
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.5062 ms/op 1.2665 ms/op 1.19
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 19.615 ms/op 16.198 ms/op 1.21
BeaconState.hashTreeRoot - 1 balances 87.748 us/op 65.187 us/op 1.35
BeaconState.hashTreeRoot - 32 balances 847.28 us/op 662.69 us/op 1.28
BeaconState.hashTreeRoot - 512 balances 7.7967 ms/op 6.0004 ms/op 1.30
BeaconState.hashTreeRoot - 250000 balances 114.01 ms/op 88.722 ms/op 1.29
aggregationBits - 2048 els - zipIndexesInBitList 33.950 us/op 36.136 us/op 0.94
regular array get 100000 times 75.925 us/op 74.172 us/op 1.02
wrappedArray get 100000 times 74.722 us/op 74.106 us/op 1.01
arrayWithProxy get 100000 times 32.653 ms/op 32.864 ms/op 0.99
ssz.Root.equals 515.00 ns/op 514.00 ns/op 1.00
byteArrayEquals 521.00 ns/op 493.00 ns/op 1.06
shuffle list - 16384 els 13.146 ms/op 11.989 ms/op 1.10
shuffle list - 250000 els 192.16 ms/op 181.99 ms/op 1.06
processSlot - 1 slots 15.736 us/op 13.434 us/op 1.17
processSlot - 32 slots 2.2667 ms/op 1.8344 ms/op 1.24
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 434.54 us/op 417.08 us/op 1.04
getCommitteeAssignments - req 1 vs - 250000 vc 6.1836 ms/op 5.3988 ms/op 1.15
getCommitteeAssignments - req 100 vs - 250000 vc 8.4634 ms/op 7.5590 ms/op 1.12
getCommitteeAssignments - req 1000 vs - 250000 vc 9.3489 ms/op 8.2387 ms/op 1.13
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 11.120 ns/op 11.180 ns/op 0.99
state getBlockRootAtSlot - 250000 vs - 7PWei 1.2348 us/op 1.1033 us/op 1.12
computeProposers - vc 250000 18.144 ms/op 17.305 ms/op 1.05
computeEpochShuffling - vc 250000 185.86 ms/op 183.08 ms/op 1.02
getNextSyncCommittee - vc 250000 288.87 ms/op 281.22 ms/op 1.03

by benchmarkbot/action

@philknows
Copy link
Member

Closed in favour of #4429

@philknows philknows closed this Aug 18, 2022
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.

Configs for Mainnet Merge LFG!
2 participants