Skip to content

Commit

Permalink
Cleanup amphora merge testnet scripts/configs (#3741)
Browse files Browse the repository at this point in the history
  • Loading branch information
g11tech authored Feb 10, 2022
1 parent f9cf7a3 commit 18df0a6
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 269 deletions.
31 changes: 0 additions & 31 deletions amphora/m2/README.md

This file was deleted.

29 changes: 0 additions & 29 deletions amphora/m2/docker-compose.yml

This file was deleted.

25 changes: 0 additions & 25 deletions amphora/m2/rcconfig.yml

This file was deleted.

4 changes: 0 additions & 4 deletions amphora/m2/run-devnet.sh

This file was deleted.

31 changes: 0 additions & 31 deletions amphora/m3/README.md

This file was deleted.

36 changes: 0 additions & 36 deletions amphora/m3/docker-compose.yml

This file was deleted.

22 changes: 0 additions & 22 deletions amphora/m3/rcconfig.yml

This file was deleted.

4 changes: 0 additions & 4 deletions amphora/m3/run-devnet.sh

This file was deleted.

16 changes: 0 additions & 16 deletions amphora/m4/geth/Dockerfile

This file was deleted.

27 changes: 0 additions & 27 deletions amphora/m4/geth/genesis.json

This file was deleted.

44 changes: 0 additions & 44 deletions amphora/m4/geth/run.sh

This file was deleted.

1 comment on commit 18df0a6

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for some benchmarks.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold.

Benchmark suite Current: 18df0a6 Previous: f9cf7a3 Ratio
altair processAttestation - updateEpochParticipants - 2/3 committees join 85.495 ms/op 22.057 ms/op 3.88
Full benchmark results
Benchmark suite Current: 18df0a6 Previous: f9cf7a3 Ratio
BeaconState.hashTreeRoot - No change 607.00 ns/op 560.00 ns/op 1.08
BeaconState.hashTreeRoot - 1 full validator 138.86 us/op 132.89 us/op 1.04
BeaconState.hashTreeRoot - 32 full validator 2.0830 ms/op 2.0330 ms/op 1.02
BeaconState.hashTreeRoot - 512 full validator 27.771 ms/op 27.197 ms/op 1.02
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 133.00 us/op 136.50 us/op 0.97
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.2973 ms/op 2.2556 ms/op 1.02
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 30.478 ms/op 42.782 ms/op 0.71
BeaconState.hashTreeRoot - 1 balances 96.744 us/op 98.674 us/op 0.98
BeaconState.hashTreeRoot - 32 balances 850.97 us/op 803.44 us/op 1.06
BeaconState.hashTreeRoot - 512 balances 8.1355 ms/op 7.7680 ms/op 1.05
BeaconState.hashTreeRoot - 250000 balances 150.88 ms/op 150.06 ms/op 1.01
processSlot - 1 slots 55.946 us/op 63.453 us/op 0.88
processSlot - 32 slots 3.1442 ms/op 3.0860 ms/op 1.02
getCommitteeAssignments - req 1 vs - 250000 vc 5.8294 ms/op 5.9445 ms/op 0.98
getCommitteeAssignments - req 100 vs - 250000 vc 7.8134 ms/op 8.4874 ms/op 0.92
getCommitteeAssignments - req 1000 vs - 250000 vc 8.5984 ms/op 8.3745 ms/op 1.03
computeProposers - vc 250000 23.646 ms/op 22.236 ms/op 1.06
computeEpochShuffling - vc 250000 203.65 ms/op 200.54 ms/op 1.02
getNextSyncCommittee - vc 250000 382.08 ms/op 356.27 ms/op 1.07
altair processAttestation - 250000 vs - 7PWei normalcase 40.978 ms/op 38.030 ms/op 1.08
altair processAttestation - 250000 vs - 7PWei worstcase 39.661 ms/op 37.168 ms/op 1.07
altair processAttestation - setStatus - 1/6 committees join 13.120 ms/op 10.483 ms/op 1.25
altair processAttestation - setStatus - 1/3 committees join 24.619 ms/op 22.087 ms/op 1.11
altair processAttestation - setStatus - 1/2 committees join 34.466 ms/op 33.486 ms/op 1.03
altair processAttestation - setStatus - 2/3 committees join 57.512 ms/op 46.535 ms/op 1.24
altair processAttestation - setStatus - 4/5 committees join 58.397 ms/op 55.827 ms/op 1.05
altair processAttestation - setStatus - 100% committees join 76.195 ms/op 60.079 ms/op 1.27
altair processAttestation - updateEpochParticipants - 1/6 committees join 13.777 ms/op 10.432 ms/op 1.32
altair processAttestation - updateEpochParticipants - 1/3 committees join 29.939 ms/op 21.962 ms/op 1.36
altair processAttestation - updateEpochParticipants - 1/2 committees join 21.686 ms/op 24.772 ms/op 0.88
altair processAttestation - updateEpochParticipants - 2/3 committees join 85.495 ms/op 22.057 ms/op 3.88
altair processAttestation - updateEpochParticipants - 4/5 committees join 22.569 ms/op 23.625 ms/op 0.96
altair processAttestation - updateEpochParticipants - 100% committees join 24.299 ms/op 29.670 ms/op 0.82
altair processAttestation - updateAllStatus 21.443 ms/op 20.368 ms/op 1.05
altair processBlock - 250000 vs - 7PWei normalcase 36.650 ms/op 34.005 ms/op 1.08
altair processBlock - 250000 vs - 7PWei worstcase 110.56 ms/op 108.62 ms/op 1.02
altair processEpoch - mainnet_e81889 1.1146 s/op 1.0825 s/op 1.03
mainnet_e81889 - altair beforeProcessEpoch 343.25 ms/op 328.46 ms/op 1.05
mainnet_e81889 - altair processJustificationAndFinalization 62.045 us/op 105.13 us/op 0.59
mainnet_e81889 - altair processInactivityUpdates 20.206 ms/op 19.112 ms/op 1.06
mainnet_e81889 - altair processRewardsAndPenalties 262.39 ms/op 282.95 ms/op 0.93
mainnet_e81889 - altair processRegistryUpdates 12.172 us/op 11.155 us/op 1.09
mainnet_e81889 - altair processSlashings 3.7830 us/op 3.1440 us/op 1.20
mainnet_e81889 - altair processEth1DataReset 2.9970 us/op 2.8310 us/op 1.06
mainnet_e81889 - altair processEffectiveBalanceUpdates 7.5127 ms/op 7.3488 ms/op 1.02
mainnet_e81889 - altair processSlashingsReset 14.946 us/op 13.891 us/op 1.08
mainnet_e81889 - altair processRandaoMixesReset 18.305 us/op 18.727 us/op 0.98
mainnet_e81889 - altair processHistoricalRootsUpdate 4.1630 us/op 3.9350 us/op 1.06
mainnet_e81889 - altair processParticipationFlagUpdates 93.006 ms/op 76.235 ms/op 1.22
mainnet_e81889 - altair processSyncCommitteeUpdates 3.0830 us/op 2.8680 us/op 1.07
mainnet_e81889 - altair afterProcessEpoch 246.47 ms/op 252.48 ms/op 0.98
altair processInactivityUpdates - 250000 normalcase 102.57 ms/op 69.217 ms/op 1.48
altair processInactivityUpdates - 250000 worstcase 73.893 ms/op 101.70 ms/op 0.73
altair processParticipationFlagUpdates - 250000 anycase 70.841 ms/op 74.065 ms/op 0.96
altair processRewardsAndPenalties - 250000 normalcase 236.22 ms/op 224.06 ms/op 1.05
altair processRewardsAndPenalties - 250000 worstcase 242.48 ms/op 242.85 ms/op 1.00
altair processSyncCommitteeUpdates - 250000 400.97 ms/op 379.25 ms/op 1.06
Tree 40 250000 create 953.52 ms/op 651.30 ms/op 1.46
Tree 40 250000 get(125000) 421.74 ns/op 350.26 ns/op 1.20
Tree 40 250000 set(125000) 2.0995 us/op 2.1164 us/op 0.99
Tree 40 250000 toArray() 44.183 ms/op 39.189 ms/op 1.13
Tree 40 250000 iterate all - toArray() + loop 49.912 ms/op 39.121 ms/op 1.28
Tree 40 250000 iterate all - get(i) 137.13 ms/op 144.66 ms/op 0.95
MutableVector 250000 create 29.201 ms/op 25.249 ms/op 1.16
MutableVector 250000 get(125000) 15.278 ns/op 14.266 ns/op 1.07
MutableVector 250000 set(125000) 588.11 ns/op 493.12 ns/op 1.19
MutableVector 250000 toArray() 10.600 ms/op 9.1557 ms/op 1.16
MutableVector 250000 iterate all - toArray() + loop 10.874 ms/op 9.1090 ms/op 1.19
MutableVector 250000 iterate all - get(i) 4.4954 ms/op 3.9723 ms/op 1.13
Array 250000 create 6.7493 ms/op 5.3922 ms/op 1.25
Array 250000 clone - spread 2.6136 ms/op 2.3526 ms/op 1.11
Array 250000 get(125000) 1.2220 ns/op 1.1040 ns/op 1.11
Array 250000 set(125000) 1.2340 ns/op 1.1100 ns/op 1.11
Array 250000 iterate all - loop 200.63 us/op 187.18 us/op 1.07
effectiveBalanceIncrements clone Uint8Array 300000 89.954 us/op 75.322 us/op 1.19
effectiveBalanceIncrements clone MutableVector 300000 784.00 ns/op 731.00 ns/op 1.07
effectiveBalanceIncrements rw all Uint8Array 300000 353.40 us/op 335.15 us/op 1.05
effectiveBalanceIncrements rw all MutableVector 300000 210.55 ms/op 181.63 ms/op 1.16
aggregationBits - 2048 els - readonlyValues 222.59 us/op 188.85 us/op 1.18
aggregationBits - 2048 els - zipIndexesInBitList 43.068 us/op 34.812 us/op 1.24
regular array get 100000 times 80.251 us/op 73.628 us/op 1.09
wrappedArray get 100000 times 79.676 us/op 70.440 us/op 1.13
arrayWithProxy get 100000 times 35.522 ms/op 36.290 ms/op 0.98
ssz.Root.equals 1.3090 us/op 1.0810 us/op 1.21
ssz.Root.equals with valueOf() 1.5600 us/op 1.2780 us/op 1.22
byteArrayEquals with valueOf() 1.5040 us/op 1.2890 us/op 1.17
phase0 processBlock - 250000 vs - 7PWei normalcase 9.4012 ms/op 8.0970 ms/op 1.16
phase0 processBlock - 250000 vs - 7PWei worstcase 86.897 ms/op 78.492 ms/op 1.11
phase0 afterProcessEpoch - 250000 vs - 7PWei 238.32 ms/op 221.29 ms/op 1.08
phase0 beforeProcessEpoch - 250000 vs - 7PWei 660.73 ms/op 622.01 ms/op 1.06
phase0 processEpoch - mainnet_e58758 981.73 ms/op 909.45 ms/op 1.08
mainnet_e58758 - phase0 beforeProcessEpoch 453.88 ms/op 427.87 ms/op 1.06
mainnet_e58758 - phase0 processJustificationAndFinalization 65.411 us/op 107.13 us/op 0.61
mainnet_e58758 - phase0 processRewardsAndPenalties 172.71 ms/op 134.25 ms/op 1.29
mainnet_e58758 - phase0 processRegistryUpdates 47.345 us/op 76.037 us/op 0.62
mainnet_e58758 - phase0 processSlashings 4.6620 us/op 4.5790 us/op 1.02
mainnet_e58758 - phase0 processEth1DataReset 2.9200 us/op 4.5860 us/op 0.64
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 6.3266 ms/op 5.9615 ms/op 1.06
mainnet_e58758 - phase0 processSlashingsReset 12.643 us/op 21.143 us/op 0.60
mainnet_e58758 - phase0 processRandaoMixesReset 20.246 us/op 30.115 us/op 0.67
mainnet_e58758 - phase0 processHistoricalRootsUpdate 4.2660 us/op 5.4610 us/op 0.78
mainnet_e58758 - phase0 processParticipationRecordUpdates 15.362 us/op 12.798 us/op 1.20
mainnet_e58758 - phase0 afterProcessEpoch 206.20 ms/op 198.40 ms/op 1.04
phase0 processEffectiveBalanceUpdates - 250000 normalcase 6.9673 ms/op 6.9364 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 7.1465 ms/op 7.0596 ms/op 1.01
phase0 processRegistryUpdates - 250000 normalcase 52.358 us/op 43.173 us/op 1.21
phase0 processRegistryUpdates - 250000 badcase_full_deposits 3.1083 ms/op 3.0512 ms/op 1.02
phase0 processRegistryUpdates - 250000 worstcase 0.5 1.6288 s/op 1.7502 s/op 0.93
phase0 getAttestationDeltas - 250000 normalcase 90.387 ms/op 70.129 ms/op 1.29
phase0 getAttestationDeltas - 250000 worstcase 80.502 ms/op 72.128 ms/op 1.12
phase0 processSlashings - 250000 worstcase 33.130 ms/op 33.033 ms/op 1.00
shuffle list - 16384 els 13.440 ms/op 13.996 ms/op 0.96
shuffle list - 250000 els 195.55 ms/op 197.74 ms/op 0.99
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 472.88 us/op 465.16 us/op 1.02
pass gossip attestations to forkchoice per slot 20.686 ms/op 17.627 ms/op 1.17
computeDeltas 3.4896 ms/op 3.5216 ms/op 0.99
computeProposerBoostScoreFromBalances 553.04 us/op 561.73 us/op 0.98
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.2920 ms/op 2.1771 ms/op 1.05
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 770.91 us/op 740.11 us/op 1.04
BLS verify - blst-native 2.1661 ms/op 2.0812 ms/op 1.04
BLS verifyMultipleSignatures 3 - blst-native 4.0652 ms/op 4.2501 ms/op 0.96
BLS verifyMultipleSignatures 8 - blst-native 9.0170 ms/op 9.2078 ms/op 0.98
BLS verifyMultipleSignatures 32 - blst-native 35.416 ms/op 33.526 ms/op 1.06
BLS aggregatePubkeys 32 - blst-native 44.207 us/op 44.470 us/op 0.99
BLS aggregatePubkeys 128 - blst-native 172.02 us/op 173.55 us/op 0.99
getAttestationsForBlock 73.706 ms/op 67.598 ms/op 1.09
CheckpointStateCache - add get delete 20.034 us/op 19.472 us/op 1.03
validate gossip signedAggregateAndProof - struct 4.9055 ms/op 4.8635 ms/op 1.01
validate gossip signedAggregateAndProof - treeBacked 4.8906 ms/op 5.1259 ms/op 0.95
validate gossip attestation - struct 2.2829 ms/op 2.3520 ms/op 0.97
validate gossip attestation - treeBacked 2.3379 ms/op 2.3345 ms/op 1.00
pickEth1Vote - no votes 10.843 ms/op 9.5089 ms/op 1.14
pickEth1Vote - max votes 57.760 ms/op 52.191 ms/op 1.11
pickEth1Vote - Eth1Data hashTreeRoot value x2048 27.389 ms/op 26.510 ms/op 1.03
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 10.672 ms/op 10.245 ms/op 1.04
pickEth1Vote - Eth1Data fastSerialize value x2048 5.9571 ms/op 5.4651 ms/op 1.09
pickEth1Vote - Eth1Data fastSerialize tree x2048 27.853 ms/op 23.667 ms/op 1.18
bytes32 toHexString 1.8770 us/op 1.7280 us/op 1.09
bytes32 Buffer.toString(hex) 826.00 ns/op 788.00 ns/op 1.05
bytes32 Buffer.toString(hex) from Uint8Array 1.0570 us/op 1.0220 us/op 1.03
bytes32 Buffer.toString(hex) + 0x 840.00 ns/op 767.00 ns/op 1.10
Object access 1 prop 0.35300 ns/op 0.34000 ns/op 1.04
Map access 1 prop 0.30600 ns/op 0.30900 ns/op 0.99
Object get x1000 19.054 ns/op 19.890 ns/op 0.96
Map get x1000 1.1930 ns/op 1.0760 ns/op 1.11
Object set x1000 117.17 ns/op 113.25 ns/op 1.03
Map set x1000 73.181 ns/op 68.057 ns/op 1.08
Return object 10000 times 0.41920 ns/op 0.41160 ns/op 1.02
Throw Error 10000 times 6.7822 us/op 6.5686 us/op 1.03
enrSubnets - fastDeserialize 64 bits 1.4370 us/op 1.2840 us/op 1.12
enrSubnets - ssz BitVector 64 bits 19.079 us/op 17.900 us/op 1.07
enrSubnets - fastDeserialize 4 bits 501.00 ns/op 465.00 ns/op 1.08
enrSubnets - ssz BitVector 4 bits 3.2300 us/op 3.1730 us/op 1.02
RateTracker 1000000 limit, 1 obj count per request 200.48 ns/op 197.19 ns/op 1.02
RateTracker 1000000 limit, 2 obj count per request 144.05 ns/op 144.25 ns/op 1.00
RateTracker 1000000 limit, 4 obj count per request 117.00 ns/op 117.59 ns/op 0.99
RateTracker 1000000 limit, 8 obj count per request 105.04 ns/op 108.51 ns/op 0.97
RateTracker with prune 3.7920 us/op 4.0710 us/op 0.93

Please sign in to comment.