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

refactor: remove now defunct network zhejiang #5721

Merged
merged 1 commit into from
Jun 30, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Jun 30, 2023

remove the now defunct shapella testing network zhejiang

@g11tech g11tech requested a review from a team as a code owner June 30, 2023 09:11
@g11tech g11tech changed the title refac: remove now defunct network zhejiang refactor: remove now defunct network zhejiang Jun 30, 2023
@g11tech g11tech enabled auto-merge (squash) June 30, 2023 09:22
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 8533dee Previous: a4c93c1 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 760.40 us/op 577.59 us/op 1.32
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 55.233 us/op 51.176 us/op 1.08
BLS verify - blst-native 1.2832 ms/op 1.2647 ms/op 1.01
BLS verifyMultipleSignatures 3 - blst-native 2.5798 ms/op 2.5098 ms/op 1.03
BLS verifyMultipleSignatures 8 - blst-native 5.5384 ms/op 5.3927 ms/op 1.03
BLS verifyMultipleSignatures 32 - blst-native 20.167 ms/op 19.487 ms/op 1.03
BLS aggregatePubkeys 32 - blst-native 26.906 us/op 25.969 us/op 1.04
BLS aggregatePubkeys 128 - blst-native 104.44 us/op 101.29 us/op 1.03
getAttestationsForBlock 67.213 ms/op 53.307 ms/op 1.26
isKnown best case - 1 super set check 266.00 ns/op 257.00 ns/op 1.04
isKnown normal case - 2 super set checks 257.00 ns/op 248.00 ns/op 1.04
isKnown worse case - 16 super set checks 256.00 ns/op 248.00 ns/op 1.03
CheckpointStateCache - add get delete 5.9980 us/op 5.1370 us/op 1.17
validate gossip signedAggregateAndProof - struct 2.8653 ms/op 2.7312 ms/op 1.05
validate gossip attestation - struct 1.3742 ms/op 1.3147 ms/op 1.05
pickEth1Vote - no votes 1.4622 ms/op 1.3114 ms/op 1.12
pickEth1Vote - max votes 10.233 ms/op 9.4000 ms/op 1.09
pickEth1Vote - Eth1Data hashTreeRoot value x2048 9.2198 ms/op 8.6439 ms/op 1.07
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 17.296 ms/op 14.276 ms/op 1.21
pickEth1Vote - Eth1Data fastSerialize value x2048 805.27 us/op 803.67 us/op 1.00
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.7725 ms/op 7.1103 ms/op 0.81
bytes32 toHexString 639.00 ns/op 539.00 ns/op 1.19
bytes32 Buffer.toString(hex) 428.00 ns/op 368.00 ns/op 1.16
bytes32 Buffer.toString(hex) from Uint8Array 647.00 ns/op 558.00 ns/op 1.16
bytes32 Buffer.toString(hex) + 0x 438.00 ns/op 379.00 ns/op 1.16
Object access 1 prop 0.19600 ns/op 0.17700 ns/op 1.11
Map access 1 prop 0.16700 ns/op 0.16300 ns/op 1.02
Object get x1000 6.9690 ns/op 6.9700 ns/op 1.00
Map get x1000 0.58900 ns/op 0.56800 ns/op 1.04
Object set x1000 71.007 ns/op 57.159 ns/op 1.24
Map set x1000 56.178 ns/op 52.552 ns/op 1.07
Return object 10000 times 0.25240 ns/op 0.24500 ns/op 1.03
Throw Error 10000 times 4.4828 us/op 4.3942 us/op 1.02
fastMsgIdFn sha256 / 200 bytes 3.6580 us/op 3.5500 us/op 1.03
fastMsgIdFn h32 xxhash / 200 bytes 331.00 ns/op 299.00 ns/op 1.11
fastMsgIdFn h64 xxhash / 200 bytes 479.00 ns/op 412.00 ns/op 1.16
fastMsgIdFn sha256 / 1000 bytes 12.161 us/op 11.924 us/op 1.02
fastMsgIdFn h32 xxhash / 1000 bytes 459.00 ns/op 431.00 ns/op 1.06
fastMsgIdFn h64 xxhash / 1000 bytes 567.00 ns/op 488.00 ns/op 1.16
fastMsgIdFn sha256 / 10000 bytes 108.26 us/op 107.23 us/op 1.01
fastMsgIdFn h32 xxhash / 10000 bytes 2.0430 us/op 1.9580 us/op 1.04
fastMsgIdFn h64 xxhash / 10000 bytes 1.4580 us/op 1.4060 us/op 1.04
enrSubnets - fastDeserialize 64 bits 1.7530 us/op 1.3620 us/op 1.29
enrSubnets - ssz BitVector 64 bits 613.00 ns/op 521.00 ns/op 1.18
enrSubnets - fastDeserialize 4 bits 203.00 ns/op 183.00 ns/op 1.11
enrSubnets - ssz BitVector 4 bits 610.00 ns/op 542.00 ns/op 1.13
prioritizePeers score -10:0 att 32-0.1 sync 2-0 143.91 us/op 116.75 us/op 1.23
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 167.97 us/op 145.13 us/op 1.16
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 202.54 us/op 212.34 us/op 0.95
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 370.96 us/op 319.45 us/op 1.16
prioritizePeers score 0:0 att 64-1 sync 4-1 452.28 us/op 383.82 us/op 1.18
array of 16000 items push then shift 1.7214 us/op 1.6719 us/op 1.03
LinkedList of 16000 items push then shift 9.2120 ns/op 9.1420 ns/op 1.01
array of 16000 items push then pop 119.77 ns/op 94.859 ns/op 1.26
LinkedList of 16000 items push then pop 9.5600 ns/op 8.7930 ns/op 1.09
array of 24000 items push then shift 2.5107 us/op 2.4205 us/op 1.04
LinkedList of 24000 items push then shift 9.7290 ns/op 9.0520 ns/op 1.07
array of 24000 items push then pop 96.953 ns/op 82.098 ns/op 1.18
LinkedList of 24000 items push then pop 9.5960 ns/op 8.7530 ns/op 1.10
intersect bitArray bitLen 8 13.792 ns/op 13.628 ns/op 1.01
intersect array and set length 8 107.11 ns/op 78.481 ns/op 1.36
intersect bitArray bitLen 128 45.982 ns/op 44.880 ns/op 1.02
intersect array and set length 128 1.3423 us/op 1.0590 us/op 1.27
Buffer.concat 32 items 3.1290 us/op 2.6490 us/op 1.18
Uint8Array.set 32 items 2.9300 us/op 2.1480 us/op 1.36
transfer serialized Status (84 B) 2.2110 us/op 2.0220 us/op 1.09
copy serialized Status (84 B) 1.7550 us/op 1.6500 us/op 1.06
transfer serialized SignedVoluntaryExit (112 B) 2.2740 us/op 2.0730 us/op 1.10
copy serialized SignedVoluntaryExit (112 B) 1.8230 us/op 1.8380 us/op 0.99
transfer serialized ProposerSlashing (416 B) 2.5740 us/op 3.0150 us/op 0.85
copy serialized ProposerSlashing (416 B) 2.3550 us/op 2.6760 us/op 0.88
transfer serialized Attestation (485 B) 2.5340 us/op 2.5530 us/op 0.99
copy serialized Attestation (485 B) 2.3030 us/op 2.1090 us/op 1.09
transfer serialized AttesterSlashing (33232 B) 2.5970 us/op 2.7010 us/op 0.96
copy serialized AttesterSlashing (33232 B) 7.4200 us/op 5.7260 us/op 1.30
transfer serialized Small SignedBeaconBlock (128000 B) 4.1060 us/op 3.1260 us/op 1.31
copy serialized Small SignedBeaconBlock (128000 B) 20.442 us/op 15.946 us/op 1.28
transfer serialized Avg SignedBeaconBlock (200000 B) 4.3330 us/op 3.3870 us/op 1.28
copy serialized Avg SignedBeaconBlock (200000 B) 26.618 us/op 21.999 us/op 1.21
transfer serialized BlobsSidecar (524380 B) 4.4010 us/op 3.5170 us/op 1.25
copy serialized BlobsSidecar (524380 B) 94.337 us/op 170.15 us/op 0.55
transfer serialized Big SignedBeaconBlock (1000000 B) 4.5620 us/op 3.6560 us/op 1.25
copy serialized Big SignedBeaconBlock (1000000 B) 156.64 us/op 238.54 us/op 0.66
pass gossip attestations to forkchoice per slot 2.9003 ms/op 2.6732 ms/op 1.08
forkChoice updateHead vc 100000 bc 64 eq 0 2.1932 ms/op 2.1876 ms/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 0 12.613 ms/op 12.177 ms/op 1.04
forkChoice updateHead vc 1000000 bc 64 eq 0 25.332 ms/op 18.323 ms/op 1.38
forkChoice updateHead vc 600000 bc 320 eq 0 17.622 ms/op 16.612 ms/op 1.06
forkChoice updateHead vc 600000 bc 1200 eq 0 89.941 ms/op 82.081 ms/op 1.10
forkChoice updateHead vc 600000 bc 64 eq 1000 21.916 ms/op 21.136 ms/op 1.04
forkChoice updateHead vc 600000 bc 64 eq 10000 24.670 ms/op 22.640 ms/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 300000 49.455 ms/op 30.941 ms/op 1.60
computeDeltas 3.5686 ms/op 3.2868 ms/op 1.09
computeProposerBoostScoreFromBalances 1.8630 ms/op 1.9098 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.9894 ms/op 3.1998 ms/op 0.93
altair processAttestation - 250000 vs - 7PWei worstcase 4.6742 ms/op 5.1573 ms/op 0.91
altair processAttestation - setStatus - 1/6 committees join 148.00 us/op 157.06 us/op 0.94
altair processAttestation - setStatus - 1/3 committees join 281.67 us/op 304.89 us/op 0.92
altair processAttestation - setStatus - 1/2 committees join 377.51 us/op 384.48 us/op 0.98
altair processAttestation - setStatus - 2/3 committees join 481.62 us/op 497.25 us/op 0.97
altair processAttestation - setStatus - 4/5 committees join 666.45 us/op 774.02 us/op 0.86
altair processAttestation - setStatus - 100% committees join 780.35 us/op 827.02 us/op 0.94
altair processBlock - 250000 vs - 7PWei normalcase 20.071 ms/op 23.874 ms/op 0.84
altair processBlock - 250000 vs - 7PWei normalcase hashState 28.919 ms/op 33.568 ms/op 0.86
altair processBlock - 250000 vs - 7PWei worstcase 54.848 ms/op 66.237 ms/op 0.83
altair processBlock - 250000 vs - 7PWei worstcase hashState 85.128 ms/op 90.373 ms/op 0.94
phase0 processBlock - 250000 vs - 7PWei normalcase 2.0681 ms/op 2.7210 ms/op 0.76
phase0 processBlock - 250000 vs - 7PWei worstcase 28.534 ms/op 33.730 ms/op 0.85
altair processEth1Data - 250000 vs - 7PWei normalcase 463.61 us/op 670.62 us/op 0.69
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.993 us/op 14.660 us/op 0.75
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 32.085 us/op 40.387 us/op 0.79
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 14.324 us/op 15.234 us/op 0.94
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 10.720 us/op 11.570 us/op 0.93
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 122.74 us/op 115.75 us/op 1.06
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 626.06 us/op 715.19 us/op 0.88
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.5427 ms/op 968.47 us/op 1.59
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6500 ms/op 1.1134 ms/op 1.48
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.2364 ms/op 3.0970 ms/op 0.72
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.7596 ms/op 1.5774 ms/op 1.12
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.9411 ms/op 4.3728 ms/op 0.90
Tree 40 250000 create 310.64 ms/op 451.84 ms/op 0.69
Tree 40 250000 get(125000) 187.48 ns/op 207.92 ns/op 0.90
Tree 40 250000 set(125000) 952.00 ns/op 1.1417 us/op 0.83
Tree 40 250000 toArray() 17.636 ms/op 23.973 ms/op 0.74
Tree 40 250000 iterate all - toArray() + loop 18.459 ms/op 23.652 ms/op 0.78
Tree 40 250000 iterate all - get(i) 69.415 ms/op 78.561 ms/op 0.88
MutableVector 250000 create 14.445 ms/op 10.553 ms/op 1.37
MutableVector 250000 get(125000) 7.4070 ns/op 6.5950 ns/op 1.12
MutableVector 250000 set(125000) 256.68 ns/op 288.83 ns/op 0.89
MutableVector 250000 toArray() 2.6757 ms/op 3.0512 ms/op 0.88
MutableVector 250000 iterate all - toArray() + loop 2.7518 ms/op 3.2032 ms/op 0.86
MutableVector 250000 iterate all - get(i) 1.7942 ms/op 1.5450 ms/op 1.16
Array 250000 create 2.5612 ms/op 3.0357 ms/op 0.84
Array 250000 clone - spread 1.1622 ms/op 1.1204 ms/op 1.04
Array 250000 get(125000) 0.58900 ns/op 0.54200 ns/op 1.09
Array 250000 set(125000) 0.65900 ns/op 0.61500 ns/op 1.07
Array 250000 iterate all - loop 82.365 us/op 84.423 us/op 0.98
effectiveBalanceIncrements clone Uint8Array 300000 28.450 us/op 27.040 us/op 1.05
effectiveBalanceIncrements clone MutableVector 300000 370.00 ns/op 325.00 ns/op 1.14
effectiveBalanceIncrements rw all Uint8Array 300000 169.22 us/op 169.62 us/op 1.00
effectiveBalanceIncrements rw all MutableVector 300000 81.332 ms/op 80.107 ms/op 1.02
phase0 afterProcessEpoch - 250000 vs - 7PWei 115.18 ms/op 115.27 ms/op 1.00
phase0 beforeProcessEpoch - 250000 vs - 7PWei 44.252 ms/op 44.561 ms/op 0.99
altair processEpoch - mainnet_e81889 360.53 ms/op 333.88 ms/op 1.08
mainnet_e81889 - altair beforeProcessEpoch 52.264 ms/op 69.920 ms/op 0.75
mainnet_e81889 - altair processJustificationAndFinalization 26.633 us/op 16.719 us/op 1.59
mainnet_e81889 - altair processInactivityUpdates 5.5210 ms/op 6.0971 ms/op 0.91
mainnet_e81889 - altair processRewardsAndPenalties 85.873 ms/op 66.078 ms/op 1.30
mainnet_e81889 - altair processRegistryUpdates 3.8450 us/op 2.9630 us/op 1.30
mainnet_e81889 - altair processSlashings 903.00 ns/op 474.00 ns/op 1.91
mainnet_e81889 - altair processEth1DataReset 874.00 ns/op 537.00 ns/op 1.63
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.2871 ms/op 1.2056 ms/op 1.90
mainnet_e81889 - altair processSlashingsReset 7.6220 us/op 4.5570 us/op 1.67
mainnet_e81889 - altair processRandaoMixesReset 7.7250 us/op 6.1870 us/op 1.25
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1920 us/op 917.00 ns/op 1.30
mainnet_e81889 - altair processParticipationFlagUpdates 4.9860 us/op 3.2780 us/op 1.52
mainnet_e81889 - altair processSyncCommitteeUpdates 1.0060 us/op 657.00 ns/op 1.53
mainnet_e81889 - altair afterProcessEpoch 126.50 ms/op 130.67 ms/op 0.97
phase0 processEpoch - mainnet_e58758 410.58 ms/op 382.57 ms/op 1.07
mainnet_e58758 - phase0 beforeProcessEpoch 154.37 ms/op 145.79 ms/op 1.06
mainnet_e58758 - phase0 processJustificationAndFinalization 28.232 us/op 19.905 us/op 1.42
mainnet_e58758 - phase0 processRewardsAndPenalties 74.107 ms/op 64.099 ms/op 1.16
mainnet_e58758 - phase0 processRegistryUpdates 13.816 us/op 11.392 us/op 1.21
mainnet_e58758 - phase0 processSlashings 818.00 ns/op 1.1030 us/op 0.74
mainnet_e58758 - phase0 processEth1DataReset 878.00 ns/op 1.2920 us/op 0.68
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.8787 ms/op 1.4697 ms/op 1.28
mainnet_e58758 - phase0 processSlashingsReset 5.7080 us/op 6.6080 us/op 0.86
mainnet_e58758 - phase0 processRandaoMixesReset 7.6750 us/op 8.1000 us/op 0.95
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.0750 us/op 1.4350 us/op 0.75
mainnet_e58758 - phase0 processParticipationRecordUpdates 6.9950 us/op 7.5120 us/op 0.93
mainnet_e58758 - phase0 afterProcessEpoch 96.153 ms/op 106.73 ms/op 0.90
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2432 ms/op 1.3952 ms/op 0.89
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.8636 ms/op 1.7375 ms/op 1.07
altair processInactivityUpdates - 250000 normalcase 27.450 ms/op 29.342 ms/op 0.94
altair processInactivityUpdates - 250000 worstcase 26.037 ms/op 31.649 ms/op 0.82
phase0 processRegistryUpdates - 250000 normalcase 7.6860 us/op 13.370 us/op 0.57
phase0 processRegistryUpdates - 250000 badcase_full_deposits 419.20 us/op 303.50 us/op 1.38
phase0 processRegistryUpdates - 250000 worstcase 0.5 136.16 ms/op 136.99 ms/op 0.99
altair processRewardsAndPenalties - 250000 normalcase 70.334 ms/op 68.655 ms/op 1.02
altair processRewardsAndPenalties - 250000 worstcase 76.822 ms/op 70.846 ms/op 1.08
phase0 getAttestationDeltas - 250000 normalcase 7.8667 ms/op 6.9932 ms/op 1.12
phase0 getAttestationDeltas - 250000 worstcase 7.0306 ms/op 7.4203 ms/op 0.95
phase0 processSlashings - 250000 worstcase 3.7697 ms/op 3.5588 ms/op 1.06
altair processSyncCommitteeUpdates - 250000 190.74 ms/op 195.83 ms/op 0.97
BeaconState.hashTreeRoot - No change 327.00 ns/op 345.00 ns/op 0.95
BeaconState.hashTreeRoot - 1 full validator 56.168 us/op 54.101 us/op 1.04
BeaconState.hashTreeRoot - 32 full validator 595.43 us/op 506.84 us/op 1.17
BeaconState.hashTreeRoot - 512 full validator 5.1411 ms/op 5.9252 ms/op 0.87
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 66.529 us/op 66.022 us/op 1.01
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.1304 ms/op 1.0037 ms/op 1.13
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 11.260 ms/op 13.219 ms/op 0.85
BeaconState.hashTreeRoot - 1 balances 62.154 us/op 54.851 us/op 1.13
BeaconState.hashTreeRoot - 32 balances 470.96 us/op 523.34 us/op 0.90
BeaconState.hashTreeRoot - 512 balances 4.7706 ms/op 5.4642 ms/op 0.87
BeaconState.hashTreeRoot - 250000 balances 77.702 ms/op 83.176 ms/op 0.93
aggregationBits - 2048 els - zipIndexesInBitList 18.516 us/op 19.245 us/op 0.96
regular array get 100000 times 37.840 us/op 36.634 us/op 1.03
wrappedArray get 100000 times 33.743 us/op 36.316 us/op 0.93
arrayWithProxy get 100000 times 15.572 ms/op 16.179 ms/op 0.96
ssz.Root.equals 576.00 ns/op 612.00 ns/op 0.94
byteArrayEquals 559.00 ns/op 616.00 ns/op 0.91
shuffle list - 16384 els 6.9730 ms/op 7.7482 ms/op 0.90
shuffle list - 250000 els 102.32 ms/op 114.10 ms/op 0.90
processSlot - 1 slots 9.9210 us/op 10.237 us/op 0.97
processSlot - 32 slots 1.3609 ms/op 1.4951 ms/op 0.91
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 38.069 ms/op 38.399 ms/op 0.99
getCommitteeAssignments - req 1 vs - 250000 vc 3.0177 ms/op 3.0329 ms/op 0.99
getCommitteeAssignments - req 100 vs - 250000 vc 4.2459 ms/op 4.3842 ms/op 0.97
getCommitteeAssignments - req 1000 vs - 250000 vc 4.7224 ms/op 4.7144 ms/op 1.00
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.1000 ns/op 5.2300 ns/op 0.98
state getBlockRootAtSlot - 250000 vs - 7PWei 723.17 ns/op 933.39 ns/op 0.77
computeProposers - vc 250000 10.781 ms/op 11.660 ms/op 0.92
computeEpochShuffling - vc 250000 104.27 ms/op 110.11 ms/op 0.95
getNextSyncCommittee - vc 250000 185.92 ms/op 201.33 ms/op 0.92
computeSigningRoot for AttestationData 13.399 us/op 15.157 us/op 0.88
hash AttestationData serialized data then Buffer.toString(base64) 2.4787 us/op 2.8590 us/op 0.87
toHexString serialized data 1.0845 us/op 2.0522 us/op 0.53
Buffer.toString(base64) 316.56 ns/op 473.84 ns/op 0.67

by benchmarkbot/action

@g11tech g11tech merged commit 9ea69ef into unstable Jun 30, 2023
@g11tech g11tech deleted the g11tech/remove-zhejiang branch June 30, 2023 09:28
@wemeetagain
Copy link
Member

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