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

Enable rc dockerhub publish in await-release script #4100

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

wemeetagain
Copy link
Member

Motivation

See https://github.com/ChainSafe/lodestar/runs/6693443871?check_suite_focus=true

The await-release script was hardcoded to check the latest dist-tag on npm.

Description

Update the await-release script to check a dist-tag determined by script input.
In publish-rc, check the rc dist-tag.
In publish-stable, check the latest dist-tag.

@wemeetagain wemeetagain requested a review from a team as a code owner June 1, 2022 16:30
@wemeetagain wemeetagain changed the title Update await-release script to enable rc publish Enable rc dockerhub publish in await-release script Jun 1, 2022
@g11tech g11tech enabled auto-merge (squash) June 1, 2022 16:44
@g11tech g11tech disabled auto-merge June 1, 2022 16:48
@github-actions
Copy link
Contributor

github-actions bot commented Jun 1, 2022

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: e8b120f Previous: ebd668d Ratio
BeaconState.hashTreeRoot - No change 521.00 ns/op 535.00 ns/op 0.97
BeaconState.hashTreeRoot - 1 full validator 67.189 us/op 66.655 us/op 1.01
BeaconState.hashTreeRoot - 32 full validator 659.71 us/op 654.64 us/op 1.01
BeaconState.hashTreeRoot - 512 full validator 7.9126 ms/op 7.0432 ms/op 1.12
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 83.907 us/op 84.895 us/op 0.99
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.1476 ms/op 1.1299 ms/op 1.02
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 16.600 ms/op 15.324 ms/op 1.08
BeaconState.hashTreeRoot - 1 balances 65.690 us/op 65.424 us/op 1.00
BeaconState.hashTreeRoot - 32 balances 565.53 us/op 561.90 us/op 1.01
BeaconState.hashTreeRoot - 512 balances 5.8740 ms/op 5.4015 ms/op 1.09
BeaconState.hashTreeRoot - 250000 balances 120.62 ms/op 110.88 ms/op 1.09
processSlot - 1 slots 12.553 us/op 12.781 us/op 0.98
processSlot - 32 slots 1.8976 ms/op 1.8755 ms/op 1.01
getCommitteeAssignments - req 1 vs - 250000 vc 5.4830 ms/op 5.4146 ms/op 1.01
getCommitteeAssignments - req 100 vs - 250000 vc 8.0366 ms/op 7.9895 ms/op 1.01
getCommitteeAssignments - req 1000 vs - 250000 vc 8.5897 ms/op 8.7137 ms/op 0.99
computeProposers - vc 250000 18.368 ms/op 17.429 ms/op 1.05
computeEpochShuffling - vc 250000 173.20 ms/op 170.81 ms/op 1.01
getNextSyncCommittee - vc 250000 290.75 ms/op 288.01 ms/op 1.01
altair processAttestation - 250000 vs - 7PWei normalcase 3.2625 ms/op 3.4000 ms/op 0.96
altair processAttestation - 250000 vs - 7PWei worstcase 4.7835 ms/op 5.0469 ms/op 0.95
altair processAttestation - setStatus - 1/6 committees join 157.88 us/op 162.34 us/op 0.97
altair processAttestation - setStatus - 1/3 committees join 321.41 us/op 320.33 us/op 1.00
altair processAttestation - setStatus - 1/2 committees join 457.87 us/op 461.07 us/op 0.99
altair processAttestation - setStatus - 2/3 committees join 603.09 us/op 609.40 us/op 0.99
altair processAttestation - setStatus - 4/5 committees join 843.17 us/op 853.81 us/op 0.99
altair processAttestation - setStatus - 100% committees join 1.0174 ms/op 1.0581 ms/op 0.96
altair processBlock - 250000 vs - 7PWei normalcase 23.890 ms/op 23.013 ms/op 1.04
altair processBlock - 250000 vs - 7PWei normalcase hashState 37.352 ms/op 35.619 ms/op 1.05
altair processBlock - 250000 vs - 7PWei worstcase 73.416 ms/op 75.559 ms/op 0.97
altair processBlock - 250000 vs - 7PWei worstcase hashState 103.50 ms/op 97.099 ms/op 1.07
altair processEth1Data - 250000 vs - 7PWei normalcase 755.81 us/op 858.94 us/op 0.88
altair processEpoch - mainnet_e81889 521.98 ms/op 528.71 ms/op 0.99
mainnet_e81889 - altair beforeProcessEpoch 119.70 ms/op 126.13 ms/op 0.95
mainnet_e81889 - altair processJustificationAndFinalization 24.043 us/op 19.916 us/op 1.21
mainnet_e81889 - altair processInactivityUpdates 8.7735 ms/op 9.4269 ms/op 0.93
mainnet_e81889 - altair processRewardsAndPenalties 115.57 ms/op 113.69 ms/op 1.02
mainnet_e81889 - altair processRegistryUpdates 5.1280 us/op 3.7920 us/op 1.35
mainnet_e81889 - altair processSlashings 1.0130 us/op 682.00 ns/op 1.49
mainnet_e81889 - altair processEth1DataReset 1.3570 us/op 882.00 ns/op 1.54
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.3676 ms/op 2.2365 ms/op 1.06
mainnet_e81889 - altair processSlashingsReset 5.9240 us/op 5.1530 us/op 1.15
mainnet_e81889 - altair processRandaoMixesReset 7.4190 us/op 4.3570 us/op 1.70
mainnet_e81889 - altair processHistoricalRootsUpdate 1.2740 us/op 623.00 ns/op 2.04
mainnet_e81889 - altair processParticipationFlagUpdates 5.9690 us/op 2.5270 us/op 2.36
mainnet_e81889 - altair processSyncCommitteeUpdates 1.1100 us/op 1.0190 us/op 1.09
mainnet_e81889 - altair afterProcessEpoch 220.51 ms/op 215.80 ms/op 1.02
altair processInactivityUpdates - 250000 normalcase 26.954 ms/op 29.597 ms/op 0.91
altair processInactivityUpdates - 250000 worstcase 22.486 ms/op 22.632 ms/op 0.99
altair processRewardsAndPenalties - 250000 normalcase 105.53 ms/op 96.037 ms/op 1.10
altair processRewardsAndPenalties - 250000 worstcase 81.942 ms/op 89.913 ms/op 0.91
altair processSyncCommitteeUpdates - 250000 300.81 ms/op 299.67 ms/op 1.00
Tree 40 250000 create 662.54 ms/op 677.88 ms/op 0.98
Tree 40 250000 get(125000) 239.53 ns/op 262.68 ns/op 0.91
Tree 40 250000 set(125000) 1.8954 us/op 2.2658 us/op 0.84
Tree 40 250000 toArray() 25.112 ms/op 27.930 ms/op 0.90
Tree 40 250000 iterate all - toArray() + loop 25.328 ms/op 27.997 ms/op 0.90
Tree 40 250000 iterate all - get(i) 108.25 ms/op 112.33 ms/op 0.96
MutableVector 250000 create 12.037 ms/op 13.892 ms/op 0.87
MutableVector 250000 get(125000) 10.738 ns/op 12.420 ns/op 0.86
MutableVector 250000 set(125000) 484.93 ns/op 689.17 ns/op 0.70
MutableVector 250000 toArray() 6.3825 ms/op 6.1426 ms/op 1.04
MutableVector 250000 iterate all - toArray() + loop 6.4942 ms/op 5.6269 ms/op 1.15
MutableVector 250000 iterate all - get(i) 2.5976 ms/op 3.0320 ms/op 0.86
Array 250000 create 6.3956 ms/op 5.1317 ms/op 1.25
Array 250000 clone - spread 3.1921 ms/op 2.1427 ms/op 1.49
Array 250000 get(125000) 1.5530 ns/op 1.1510 ns/op 1.35
Array 250000 set(125000) 1.5590 ns/op 1.1460 ns/op 1.36
Array 250000 iterate all - loop 151.09 us/op 150.96 us/op 1.00
effectiveBalanceIncrements clone Uint8Array 300000 87.702 us/op 109.51 us/op 0.80
effectiveBalanceIncrements clone MutableVector 300000 1.1810 us/op 579.00 ns/op 2.04
effectiveBalanceIncrements rw all Uint8Array 300000 247.38 us/op 247.46 us/op 1.00
effectiveBalanceIncrements rw all MutableVector 300000 284.35 ms/op 141.49 ms/op 2.01
aggregationBits - 2048 els - zipIndexesInBitList 27.625 us/op 23.127 us/op 1.19
regular array get 100000 times 60.664 us/op 62.191 us/op 0.98
wrappedArray get 100000 times 66.850 us/op 65.877 us/op 1.01
arrayWithProxy get 100000 times 29.232 ms/op 32.163 ms/op 0.91
ssz.Root.equals 599.00 ns/op 478.00 ns/op 1.25
byteArrayEquals 619.00 ns/op 475.00 ns/op 1.30
phase0 processBlock - 250000 vs - 7PWei normalcase 4.3424 ms/op 3.4312 ms/op 1.27
phase0 processBlock - 250000 vs - 7PWei worstcase 53.569 ms/op 51.690 ms/op 1.04
phase0 afterProcessEpoch - 250000 vs - 7PWei 197.02 ms/op 187.39 ms/op 1.05
phase0 beforeProcessEpoch - 250000 vs - 7PWei 80.429 ms/op 58.080 ms/op 1.38
phase0 processEpoch - mainnet_e58758 511.41 ms/op 473.29 ms/op 1.08
mainnet_e58758 - phase0 beforeProcessEpoch 206.36 ms/op 193.40 ms/op 1.07
mainnet_e58758 - phase0 processJustificationAndFinalization 27.313 us/op 20.009 us/op 1.37
mainnet_e58758 - phase0 processRewardsAndPenalties 115.77 ms/op 61.916 ms/op 1.87
mainnet_e58758 - phase0 processRegistryUpdates 15.056 us/op 9.5290 us/op 1.58
mainnet_e58758 - phase0 processSlashings 1.3680 us/op 967.00 ns/op 1.41
mainnet_e58758 - phase0 processEth1DataReset 1.3300 us/op 685.00 ns/op 1.94
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 3.1162 ms/op 1.6512 ms/op 1.89
mainnet_e58758 - phase0 processSlashingsReset 8.0590 us/op 5.2860 us/op 1.52
mainnet_e58758 - phase0 processRandaoMixesReset 9.6700 us/op 4.0200 us/op 2.41
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.5630 us/op 680.00 ns/op 2.30
mainnet_e58758 - phase0 processParticipationRecordUpdates 8.9140 us/op 5.3430 us/op 1.67
mainnet_e58758 - phase0 afterProcessEpoch 173.02 ms/op 164.34 ms/op 1.05
phase0 processEffectiveBalanceUpdates - 250000 normalcase 2.0002 ms/op 1.9962 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.1421 ms/op 2.2128 ms/op 0.97
phase0 processRegistryUpdates - 250000 normalcase 10.822 us/op 6.5020 us/op 1.66
phase0 processRegistryUpdates - 250000 badcase_full_deposits 444.10 us/op 381.44 us/op 1.16
phase0 processRegistryUpdates - 250000 worstcase 0.5 171.87 ms/op 194.68 ms/op 0.88
phase0 getAttestationDeltas - 250000 normalcase 12.467 ms/op 12.966 ms/op 0.96
phase0 getAttestationDeltas - 250000 worstcase 12.806 ms/op 13.308 ms/op 0.96
phase0 processSlashings - 250000 worstcase 5.0874 ms/op 5.0517 ms/op 1.01
shuffle list - 16384 els 11.528 ms/op 11.411 ms/op 1.01
shuffle list - 250000 els 170.67 ms/op 166.95 ms/op 1.02
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 348.43 us/op 359.46 us/op 0.97
pass gossip attestations to forkchoice per slot 2.9193 ms/op 2.9849 ms/op 0.98
computeDeltas 3.4116 ms/op 3.4966 ms/op 0.98
computeProposerBoostScoreFromBalances 803.66 us/op 805.05 us/op 1.00
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.7310 ms/op 2.0344 ms/op 0.85
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 69.655 us/op 73.984 us/op 0.94
BLS verify - blst-native 2.1722 ms/op 2.1696 ms/op 1.00
BLS verifyMultipleSignatures 3 - blst-native 4.4764 ms/op 4.4757 ms/op 1.00
BLS verifyMultipleSignatures 8 - blst-native 9.6910 ms/op 9.6857 ms/op 1.00
BLS verifyMultipleSignatures 32 - blst-native 35.232 ms/op 35.260 ms/op 1.00
BLS aggregatePubkeys 32 - blst-native 47.038 us/op 46.634 us/op 1.01
BLS aggregatePubkeys 128 - blst-native 182.22 us/op 182.40 us/op 1.00
getAttestationsForBlock 70.922 ms/op 59.628 ms/op 1.19
isKnown best case - 1 super set check 504.00 ns/op 495.00 ns/op 1.02
isKnown normal case - 2 super set checks 486.00 ns/op 485.00 ns/op 1.00
isKnown worse case - 16 super set checks 486.00 ns/op 484.00 ns/op 1.00
CheckpointStateCache - add get delete 10.564 us/op 11.702 us/op 0.90
validate gossip signedAggregateAndProof - struct 5.0123 ms/op 5.0121 ms/op 1.00
validate gossip attestation - struct 2.3783 ms/op 2.3640 ms/op 1.01
altair verifyImport mainnet_s3766816:31 6.8770 s/op 6.8666 s/op 1.00
pickEth1Vote - no votes 2.0758 ms/op 2.1196 ms/op 0.98
pickEth1Vote - max votes 21.890 ms/op 23.783 ms/op 0.92
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.885 ms/op 13.466 ms/op 0.96
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 25.103 ms/op 23.652 ms/op 1.06
pickEth1Vote - Eth1Data fastSerialize value x2048 1.4798 ms/op 1.4675 ms/op 1.01
pickEth1Vote - Eth1Data fastSerialize tree x2048 12.560 ms/op 13.235 ms/op 0.95
bytes32 toHexString 988.00 ns/op 881.00 ns/op 1.12
bytes32 Buffer.toString(hex) 762.00 ns/op 765.00 ns/op 1.00
bytes32 Buffer.toString(hex) from Uint8Array 1.0120 us/op 1.0200 us/op 0.99
bytes32 Buffer.toString(hex) + 0x 775.00 ns/op 751.00 ns/op 1.03
Object access 1 prop 0.40300 ns/op 0.34400 ns/op 1.17
Map access 1 prop 0.35500 ns/op 0.30500 ns/op 1.16
Object get x1000 11.300 ns/op 10.834 ns/op 1.04
Map get x1000 0.95300 ns/op 0.93800 ns/op 1.02
Object set x1000 70.777 ns/op 69.407 ns/op 1.02
Map set x1000 45.883 ns/op 47.471 ns/op 0.97
Return object 10000 times 0.44420 ns/op 0.44170 ns/op 1.01
Throw Error 10000 times 6.1328 us/op 5.9522 us/op 1.03
enrSubnets - fastDeserialize 64 bits 2.5410 us/op 2.5370 us/op 1.00
enrSubnets - ssz BitVector 64 bits 826.00 ns/op 828.00 ns/op 1.00
enrSubnets - fastDeserialize 4 bits 415.00 ns/op 447.00 ns/op 0.93
enrSubnets - ssz BitVector 4 bits 809.00 ns/op 833.00 ns/op 0.97
prioritizePeers score -10:0 att 32-0.1 sync 2-0 87.254 us/op 83.178 us/op 1.05
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 120.30 us/op 129.37 us/op 0.93
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 198.26 us/op 203.80 us/op 0.97
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 397.76 us/op 348.88 us/op 1.14
prioritizePeers score 0:0 att 64-1 sync 4-1 434.29 us/op 442.81 us/op 0.98
RateTracker 1000000 limit, 1 obj count per request 178.82 ns/op 180.52 ns/op 0.99
RateTracker 1000000 limit, 2 obj count per request 136.24 ns/op 132.35 ns/op 1.03
RateTracker 1000000 limit, 4 obj count per request 114.13 ns/op 108.50 ns/op 1.05
RateTracker 1000000 limit, 8 obj count per request 101.26 ns/op 96.137 ns/op 1.05
RateTracker with prune 4.1430 us/op 4.0200 us/op 1.03
array of 16000 items push then shift 51.603 us/op 51.596 us/op 1.00
LinkedList of 16000 items push then shift 18.401 ns/op 16.413 ns/op 1.12
array of 16000 items push then pop 188.48 ns/op 193.38 ns/op 0.97
LinkedList of 16000 items push then pop 14.755 ns/op 14.391 ns/op 1.03
array of 24000 items push then shift 77.393 us/op 77.357 us/op 1.00
LinkedList of 24000 items push then shift 24.216 ns/op 20.262 ns/op 1.20
array of 24000 items push then pop 196.75 ns/op 183.25 ns/op 1.07
LinkedList of 24000 items push then pop 17.134 ns/op 15.798 ns/op 1.08
intersect bitArray bitLen 8 10.802 ns/op 10.975 ns/op 0.98
intersect array and set length 8 141.84 ns/op 130.51 ns/op 1.09
intersect bitArray bitLen 128 57.950 ns/op 55.577 ns/op 1.04
intersect array and set length 128 1.8127 us/op 1.7904 us/op 1.01

by benchmarkbot/action

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.

2 participants