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

fix: fix publishing blsToExecutionChange on post capella forks #6070

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Oct 27, 2023

@g11tech g11tech requested a review from a team as a code owner October 27, 2023 09:18
@github-actions
Copy link
Contributor

github-actions bot commented Oct 27, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4fd682f Previous: cf13ce9 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.1603 ms/op 583.12 us/op 1.99
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 123.44 us/op 117.70 us/op 1.05
BLS verify - blst-native 1.4177 ms/op 1.3822 ms/op 1.03
BLS verifyMultipleSignatures 3 - blst-native 3.1950 ms/op 2.9961 ms/op 1.07
BLS verifyMultipleSignatures 8 - blst-native 6.8738 ms/op 6.3564 ms/op 1.08
BLS verifyMultipleSignatures 32 - blst-native 24.912 ms/op 23.314 ms/op 1.07
BLS verifyMultipleSignatures 64 - blst-native 48.626 ms/op 46.071 ms/op 1.06
BLS verifyMultipleSignatures 128 - blst-native 98.335 ms/op 91.869 ms/op 1.07
BLS deserializing 10000 signatures 1.0137 s/op 954.12 ms/op 1.06
BLS deserializing 100000 signatures 9.5185 s/op 9.5512 s/op 1.00
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.4138 ms/op 1.3937 ms/op 1.01
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5650 ms/op 1.5796 ms/op 0.99
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4027 ms/op 2.4732 ms/op 0.97
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6583 ms/op 4.0254 ms/op 0.91
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.9356 ms/op 5.9082 ms/op 1.00
BLS aggregatePubkeys 32 - blst-native 27.845 us/op 26.927 us/op 1.03
BLS aggregatePubkeys 128 - blst-native 107.34 us/op 105.38 us/op 1.02
getAttestationsForBlock 43.896 ms/op 51.948 ms/op 0.85
isKnown best case - 1 super set check 377.00 ns/op 515.00 ns/op 0.73
isKnown normal case - 2 super set checks 333.00 ns/op 549.00 ns/op 0.61
isKnown worse case - 16 super set checks 535.00 ns/op 530.00 ns/op 1.01
CheckpointStateCache - add get delete 6.3430 us/op 6.2920 us/op 1.01
validate api signedAggregateAndProof - struct 2.9351 ms/op 2.9757 ms/op 0.99
validate gossip signedAggregateAndProof - struct 2.9862 ms/op 2.9886 ms/op 1.00
validate gossip attestation - vc 640000 1.4144 ms/op 1.4583 ms/op 0.97
batch validate gossip attestation - vc 640000 - chunk 32 175.97 us/op 191.64 us/op 0.92
batch validate gossip attestation - vc 640000 - chunk 64 157.06 us/op 157.55 us/op 1.00
batch validate gossip attestation - vc 640000 - chunk 128 146.47 us/op 127.62 us/op 1.15
batch validate gossip attestation - vc 640000 - chunk 256 133.53 us/op 122.82 us/op 1.09
pickEth1Vote - no votes 1.2086 ms/op 1.1986 ms/op 1.01
pickEth1Vote - max votes 8.7500 ms/op 9.3050 ms/op 0.94
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.609 ms/op 17.493 ms/op 0.84
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.784 ms/op 25.971 ms/op 1.07
pickEth1Vote - Eth1Data fastSerialize value x2048 572.56 us/op 535.85 us/op 1.07
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.6555 ms/op 5.6151 ms/op 1.36
bytes32 toHexString 484.00 ns/op 471.00 ns/op 1.03
bytes32 Buffer.toString(hex) 299.00 ns/op 282.00 ns/op 1.06
bytes32 Buffer.toString(hex) from Uint8Array 425.00 ns/op 407.00 ns/op 1.04
bytes32 Buffer.toString(hex) + 0x 309.00 ns/op 286.00 ns/op 1.08
Object access 1 prop 0.17100 ns/op 0.14900 ns/op 1.15
Map access 1 prop 0.16200 ns/op 0.15200 ns/op 1.07
Object get x1000 7.5100 ns/op 7.1770 ns/op 1.05
Map get x1000 0.67300 ns/op 0.59000 ns/op 1.14
Object set x1000 55.485 ns/op 47.009 ns/op 1.18
Map set x1000 43.147 ns/op 38.047 ns/op 1.13
Return object 10000 times 0.25210 ns/op 0.23730 ns/op 1.06
Throw Error 10000 times 4.0030 us/op 3.8558 us/op 1.04
fastMsgIdFn sha256 / 200 bytes 3.4300 us/op 3.2360 us/op 1.06
fastMsgIdFn h32 xxhash / 200 bytes 309.00 ns/op 273.00 ns/op 1.13
fastMsgIdFn h64 xxhash / 200 bytes 374.00 ns/op 336.00 ns/op 1.11
fastMsgIdFn sha256 / 1000 bytes 11.760 us/op 11.393 us/op 1.03
fastMsgIdFn h32 xxhash / 1000 bytes 436.00 ns/op 398.00 ns/op 1.10
fastMsgIdFn h64 xxhash / 1000 bytes 459.00 ns/op 408.00 ns/op 1.13
fastMsgIdFn sha256 / 10000 bytes 107.63 us/op 103.68 us/op 1.04
fastMsgIdFn h32 xxhash / 10000 bytes 2.0320 us/op 1.8790 us/op 1.08
fastMsgIdFn h64 xxhash / 10000 bytes 1.4060 us/op 1.2880 us/op 1.09
send data - 1000 256B messages 20.391 ms/op 17.874 ms/op 1.14
send data - 1000 512B messages 27.779 ms/op 24.304 ms/op 1.14
send data - 1000 1024B messages 42.667 ms/op 38.220 ms/op 1.12
send data - 1000 1200B messages 24.374 ms/op 27.768 ms/op 0.88
send data - 1000 2048B messages 24.651 ms/op 31.330 ms/op 0.79
send data - 1000 4096B messages 34.374 ms/op 33.097 ms/op 1.04
send data - 1000 16384B messages 80.040 ms/op 74.804 ms/op 1.07
send data - 1000 65536B messages 311.41 ms/op 289.26 ms/op 1.08
enrSubnets - fastDeserialize 64 bits 1.2620 us/op 1.3010 us/op 0.97
enrSubnets - ssz BitVector 64 bits 415.00 ns/op 418.00 ns/op 0.99
enrSubnets - fastDeserialize 4 bits 167.00 ns/op 176.00 ns/op 0.95
enrSubnets - ssz BitVector 4 bits 412.00 ns/op 420.00 ns/op 0.98
prioritizePeers score -10:0 att 32-0.1 sync 2-0 101.33 us/op 101.02 us/op 1.00
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 124.29 us/op 122.38 us/op 1.02
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 154.50 us/op 160.72 us/op 0.96
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 289.68 us/op 291.56 us/op 0.99
prioritizePeers score 0:0 att 64-1 sync 4-1 344.93 us/op 341.43 us/op 1.01
array of 16000 items push then shift 1.6453 us/op 1.6238 us/op 1.01
LinkedList of 16000 items push then shift 9.1710 ns/op 9.1000 ns/op 1.01
array of 16000 items push then pop 68.771 ns/op 75.073 ns/op 0.92
LinkedList of 16000 items push then pop 8.9080 ns/op 9.0880 ns/op 0.98
array of 24000 items push then shift 2.4220 us/op 2.6106 us/op 0.93
LinkedList of 24000 items push then shift 9.1100 ns/op 9.0860 ns/op 1.00
array of 24000 items push then pop 95.567 ns/op 104.97 ns/op 0.91
LinkedList of 24000 items push then pop 8.9080 ns/op 8.8380 ns/op 1.01
intersect bitArray bitLen 8 6.9890 ns/op 7.1130 ns/op 0.98
intersect array and set length 8 55.584 ns/op 55.871 ns/op 0.99
intersect bitArray bitLen 128 32.926 ns/op 32.696 ns/op 1.01
intersect array and set length 128 770.37 ns/op 768.98 ns/op 1.00
bitArray.getTrueBitIndexes() bitLen 128 1.5050 us/op 1.4100 us/op 1.07
bitArray.getTrueBitIndexes() bitLen 248 2.5780 us/op 2.5450 us/op 1.01
bitArray.getTrueBitIndexes() bitLen 512 4.8960 us/op 5.5440 us/op 0.88
Buffer.concat 32 items 946.00 ns/op 1.0040 us/op 0.94
Uint8Array.set 32 items 2.2070 us/op 1.9320 us/op 1.14
Set add up to 64 items then delete first 4.3663 us/op 4.4205 us/op 0.99
OrderedSet add up to 64 items then delete first 5.4600 us/op 5.7201 us/op 0.95
Set add up to 64 items then delete last 4.6514 us/op 4.8833 us/op 0.95
OrderedSet add up to 64 items then delete last 5.7444 us/op 5.8816 us/op 0.98
Set add up to 64 items then delete middle 4.6032 us/op 5.0075 us/op 0.92
OrderedSet add up to 64 items then delete middle 7.1363 us/op 7.7294 us/op 0.92
Set add up to 128 items then delete first 9.4650 us/op 9.7287 us/op 0.97
OrderedSet add up to 128 items then delete first 12.493 us/op 12.997 us/op 0.96
Set add up to 128 items then delete last 9.1932 us/op 9.7631 us/op 0.94
OrderedSet add up to 128 items then delete last 11.727 us/op 12.160 us/op 0.96
Set add up to 128 items then delete middle 9.1701 us/op 9.3319 us/op 0.98
OrderedSet add up to 128 items then delete middle 17.030 us/op 17.427 us/op 0.98
Set add up to 256 items then delete first 19.087 us/op 20.038 us/op 0.95
OrderedSet add up to 256 items then delete first 25.195 us/op 26.417 us/op 0.95
Set add up to 256 items then delete last 18.162 us/op 18.651 us/op 0.97
OrderedSet add up to 256 items then delete last 23.214 us/op 24.366 us/op 0.95
Set add up to 256 items then delete middle 18.102 us/op 18.976 us/op 0.95
OrderedSet add up to 256 items then delete middle 45.494 us/op 49.181 us/op 0.93
transfer serialized Status (84 B) 1.8370 us/op 1.9100 us/op 0.96
copy serialized Status (84 B) 1.5660 us/op 1.5200 us/op 1.03
transfer serialized SignedVoluntaryExit (112 B) 1.9490 us/op 1.9610 us/op 0.99
copy serialized SignedVoluntaryExit (112 B) 1.6450 us/op 1.6180 us/op 1.02
transfer serialized ProposerSlashing (416 B) 2.3790 us/op 2.2770 us/op 1.04
copy serialized ProposerSlashing (416 B) 2.2520 us/op 2.1650 us/op 1.04
transfer serialized Attestation (485 B) 2.3350 us/op 2.8730 us/op 0.81
copy serialized Attestation (485 B) 2.6970 us/op 2.0910 us/op 1.29
transfer serialized AttesterSlashing (33232 B) 2.9730 us/op 2.2240 us/op 1.34
copy serialized AttesterSlashing (33232 B) 7.3720 us/op 5.9210 us/op 1.25
transfer serialized Small SignedBeaconBlock (128000 B) 2.8440 us/op 2.8400 us/op 1.00
copy serialized Small SignedBeaconBlock (128000 B) 13.138 us/op 19.055 us/op 0.69
transfer serialized Avg SignedBeaconBlock (200000 B) 3.1840 us/op 3.3780 us/op 0.94
copy serialized Avg SignedBeaconBlock (200000 B) 19.646 us/op 21.049 us/op 0.93
transfer serialized BlobsSidecar (524380 B) 3.0460 us/op 3.2190 us/op 0.95
copy serialized BlobsSidecar (524380 B) 132.56 us/op 84.493 us/op 1.57
transfer serialized Big SignedBeaconBlock (1000000 B) 3.1680 us/op 3.3080 us/op 0.96
copy serialized Big SignedBeaconBlock (1000000 B) 207.37 us/op 157.96 us/op 1.31
pass gossip attestations to forkchoice per slot 3.9254 ms/op 3.9287 ms/op 1.00
forkChoice updateHead vc 100000 bc 64 eq 0 701.64 us/op 690.54 us/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 0 5.0181 ms/op 6.7557 ms/op 0.74
forkChoice updateHead vc 1000000 bc 64 eq 0 7.4517 ms/op 7.4590 ms/op 1.00
forkChoice updateHead vc 600000 bc 320 eq 0 4.4438 ms/op 4.6712 ms/op 0.95
forkChoice updateHead vc 600000 bc 1200 eq 0 4.4154 ms/op 4.8373 ms/op 0.91
forkChoice updateHead vc 600000 bc 7200 eq 0 5.3524 ms/op 5.5201 ms/op 0.97
forkChoice updateHead vc 600000 bc 64 eq 1000 11.691 ms/op 11.766 ms/op 0.99
forkChoice updateHead vc 600000 bc 64 eq 10000 12.532 ms/op 12.590 ms/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 300000 17.581 ms/op 16.495 ms/op 1.07
computeDeltas 500000 validators 300 proto nodes 6.8026 ms/op 6.5599 ms/op 1.04
computeDeltas 500000 validators 1200 proto nodes 6.8053 ms/op 6.4195 ms/op 1.06
computeDeltas 500000 validators 7200 proto nodes 7.1177 ms/op 6.1773 ms/op 1.15
computeDeltas 750000 validators 300 proto nodes 10.204 ms/op 9.2894 ms/op 1.10
computeDeltas 750000 validators 1200 proto nodes 9.6167 ms/op 9.4003 ms/op 1.02
computeDeltas 750000 validators 7200 proto nodes 9.5836 ms/op 9.6999 ms/op 0.99
computeDeltas 1400000 validators 300 proto nodes 17.734 ms/op 18.529 ms/op 0.96
computeDeltas 1400000 validators 1200 proto nodes 18.383 ms/op 18.587 ms/op 0.99
computeDeltas 1400000 validators 7200 proto nodes 18.945 ms/op 18.720 ms/op 1.01
computeDeltas 2100000 validators 300 proto nodes 30.386 ms/op 29.715 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 31.131 ms/op 30.529 ms/op 1.02
computeDeltas 2100000 validators 7200 proto nodes 30.067 ms/op 29.996 ms/op 1.00
computeProposerBoostScoreFromBalances 500000 validators 3.7095 ms/op 3.5645 ms/op 1.04
computeProposerBoostScoreFromBalances 750000 validators 3.7633 ms/op 3.6032 ms/op 1.04
computeProposerBoostScoreFromBalances 1400000 validators 3.6949 ms/op 3.5955 ms/op 1.03
computeProposerBoostScoreFromBalances 2100000 validators 3.5886 ms/op 3.4760 ms/op 1.03
altair processAttestation - 250000 vs - 7PWei normalcase 3.6899 ms/op 3.3023 ms/op 1.12
altair processAttestation - 250000 vs - 7PWei worstcase 5.2430 ms/op 4.4772 ms/op 1.17
altair processAttestation - setStatus - 1/6 committees join 233.52 us/op 153.82 us/op 1.52
altair processAttestation - setStatus - 1/3 committees join 380.45 us/op 316.53 us/op 1.20
altair processAttestation - setStatus - 1/2 committees join 560.20 us/op 406.44 us/op 1.38
altair processAttestation - setStatus - 2/3 committees join 652.11 us/op 508.91 us/op 1.28
altair processAttestation - setStatus - 4/5 committees join 882.67 us/op 738.54 us/op 1.20
altair processAttestation - setStatus - 100% committees join 1.0279 ms/op 828.71 us/op 1.24
altair processBlock - 250000 vs - 7PWei normalcase 11.039 ms/op 11.198 ms/op 0.99
altair processBlock - 250000 vs - 7PWei normalcase hashState 35.980 ms/op 35.466 ms/op 1.01
altair processBlock - 250000 vs - 7PWei worstcase 45.725 ms/op 44.498 ms/op 1.03
altair processBlock - 250000 vs - 7PWei worstcase hashState 106.53 ms/op 96.796 ms/op 1.10
phase0 processBlock - 250000 vs - 7PWei normalcase 4.1157 ms/op 2.7661 ms/op 1.49
phase0 processBlock - 250000 vs - 7PWei worstcase 39.656 ms/op 34.039 ms/op 1.16
altair processEth1Data - 250000 vs - 7PWei normalcase 794.82 us/op 684.11 us/op 1.16
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 19.409 us/op 15.363 us/op 1.26
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 79.067 us/op 50.504 us/op 1.57
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 29.095 us/op 19.190 us/op 1.52
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 19.202 us/op 13.702 us/op 1.40
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 230.72 us/op 177.36 us/op 1.30
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4416 ms/op 1.6059 ms/op 0.90
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.7646 ms/op 2.0273 ms/op 0.87
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.8082 ms/op 1.7232 ms/op 1.05
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.9015 ms/op 4.0322 ms/op 1.22
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.1799 ms/op 2.9478 ms/op 1.08
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 7.1236 ms/op 7.1049 ms/op 1.00
Tree 40 250000 create 802.05 ms/op 527.86 ms/op 1.52
Tree 40 250000 get(125000) 234.12 ns/op 217.57 ns/op 1.08
Tree 40 250000 set(125000) 2.7182 us/op 1.3080 us/op 2.08
Tree 40 250000 toArray() 29.560 ms/op 26.524 ms/op 1.11
Tree 40 250000 iterate all - toArray() + loop 25.070 ms/op 25.143 ms/op 1.00
Tree 40 250000 iterate all - get(i) 79.800 ms/op 77.614 ms/op 1.03
MutableVector 250000 create 15.837 ms/op 13.706 ms/op 1.16
MutableVector 250000 get(125000) 7.2850 ns/op 6.7500 ns/op 1.08
MutableVector 250000 set(125000) 351.51 ns/op 359.65 ns/op 0.98
MutableVector 250000 toArray() 4.7576 ms/op 3.9852 ms/op 1.19
MutableVector 250000 iterate all - toArray() + loop 4.8206 ms/op 4.4759 ms/op 1.08
MutableVector 250000 iterate all - get(i) 1.7567 ms/op 1.5944 ms/op 1.10
Array 250000 create 4.2466 ms/op 4.0833 ms/op 1.04
Array 250000 clone - spread 1.3021 ms/op 1.1395 ms/op 1.14
Array 250000 get(125000) 0.67600 ns/op 0.54500 ns/op 1.24
Array 250000 set(125000) 0.91500 ns/op 0.62700 ns/op 1.46
Array 250000 iterate all - loop 96.994 us/op 85.927 us/op 1.13
effectiveBalanceIncrements clone Uint8Array 300000 53.279 us/op 47.509 us/op 1.12
effectiveBalanceIncrements clone MutableVector 300000 332.00 ns/op 307.00 ns/op 1.08
effectiveBalanceIncrements rw all Uint8Array 300000 196.59 us/op 183.76 us/op 1.07
effectiveBalanceIncrements rw all MutableVector 300000 137.10 ms/op 83.520 ms/op 1.64
phase0 afterProcessEpoch - 250000 vs - 7PWei 129.94 ms/op 120.09 ms/op 1.08
phase0 beforeProcessEpoch - 250000 vs - 7PWei 54.904 ms/op 45.785 ms/op 1.20
altair processEpoch - mainnet_e81889 522.65 ms/op 475.27 ms/op 1.10
mainnet_e81889 - altair beforeProcessEpoch 74.764 ms/op 64.893 ms/op 1.15
mainnet_e81889 - altair processJustificationAndFinalization 20.137 us/op 16.961 us/op 1.19
mainnet_e81889 - altair processInactivityUpdates 7.0958 ms/op 5.5723 ms/op 1.27
mainnet_e81889 - altair processRewardsAndPenalties 76.597 ms/op 66.681 ms/op 1.15
mainnet_e81889 - altair processRegistryUpdates 3.9090 us/op 2.7380 us/op 1.43
mainnet_e81889 - altair processSlashings 830.00 ns/op 521.00 ns/op 1.59
mainnet_e81889 - altair processEth1DataReset 948.00 ns/op 480.00 ns/op 1.98
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3710 ms/op 1.3263 ms/op 1.03
mainnet_e81889 - altair processSlashingsReset 5.0710 us/op 4.1350 us/op 1.23
mainnet_e81889 - altair processRandaoMixesReset 8.9460 us/op 5.1810 us/op 1.73
mainnet_e81889 - altair processHistoricalRootsUpdate 1.4980 us/op 888.00 ns/op 1.69
mainnet_e81889 - altair processParticipationFlagUpdates 5.3170 us/op 2.3780 us/op 2.24
mainnet_e81889 - altair processSyncCommitteeUpdates 777.00 ns/op 479.00 ns/op 1.62
mainnet_e81889 - altair afterProcessEpoch 142.67 ms/op 128.63 ms/op 1.11
capella processEpoch - mainnet_e217614 1.8681 s/op 1.6809 s/op 1.11
mainnet_e217614 - capella beforeProcessEpoch 302.18 ms/op 298.56 ms/op 1.01
mainnet_e217614 - capella processJustificationAndFinalization 18.620 us/op 22.578 us/op 0.82
mainnet_e217614 - capella processInactivityUpdates 20.516 ms/op 19.373 ms/op 1.06
mainnet_e217614 - capella processRewardsAndPenalties 340.08 ms/op 312.08 ms/op 1.09
mainnet_e217614 - capella processRegistryUpdates 25.467 us/op 24.886 us/op 1.02
mainnet_e217614 - capella processSlashings 1.0770 us/op 748.00 ns/op 1.44
mainnet_e217614 - capella processEth1DataReset 739.00 ns/op 815.00 ns/op 0.91
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.4292 ms/op 4.7555 ms/op 0.93
mainnet_e217614 - capella processSlashingsReset 2.8620 us/op 4.6990 us/op 0.61
mainnet_e217614 - capella processRandaoMixesReset 7.7980 us/op 5.0260 us/op 1.55
mainnet_e217614 - capella processHistoricalRootsUpdate 895.00 ns/op 1.1840 us/op 0.76
mainnet_e217614 - capella processParticipationFlagUpdates 3.4010 us/op 3.0300 us/op 1.12
mainnet_e217614 - capella afterProcessEpoch 339.41 ms/op 331.75 ms/op 1.02
phase0 processEpoch - mainnet_e58758 531.49 ms/op 465.93 ms/op 1.14
mainnet_e58758 - phase0 beforeProcessEpoch 194.91 ms/op 133.41 ms/op 1.46
mainnet_e58758 - phase0 processJustificationAndFinalization 32.137 us/op 21.439 us/op 1.50
mainnet_e58758 - phase0 processRewardsAndPenalties 68.101 ms/op 50.358 ms/op 1.35
mainnet_e58758 - phase0 processRegistryUpdates 18.068 us/op 17.932 us/op 1.01
mainnet_e58758 - phase0 processSlashings 699.00 ns/op 842.00 ns/op 0.83
mainnet_e58758 - phase0 processEth1DataReset 847.00 ns/op 660.00 ns/op 1.28
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.6840 ms/op 1.3169 ms/op 1.28
mainnet_e58758 - phase0 processSlashingsReset 5.9960 us/op 3.1090 us/op 1.93
mainnet_e58758 - phase0 processRandaoMixesReset 10.717 us/op 7.1340 us/op 1.50
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.6000 us/op 970.00 ns/op 1.65
mainnet_e58758 - phase0 processParticipationRecordUpdates 7.9980 us/op 7.4340 us/op 1.08
mainnet_e58758 - phase0 afterProcessEpoch 125.92 ms/op 117.26 ms/op 1.07
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.7460 ms/op 1.6556 ms/op 1.05
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.2564 ms/op 1.7211 ms/op 1.31
altair processInactivityUpdates - 250000 normalcase 28.088 ms/op 20.924 ms/op 1.34
altair processInactivityUpdates - 250000 worstcase 27.601 ms/op 28.923 ms/op 0.95
phase0 processRegistryUpdates - 250000 normalcase 18.737 us/op 13.538 us/op 1.38
phase0 processRegistryUpdates - 250000 badcase_full_deposits 532.64 us/op 459.92 us/op 1.16
phase0 processRegistryUpdates - 250000 worstcase 0.5 163.43 ms/op 168.78 ms/op 0.97
altair processRewardsAndPenalties - 250000 normalcase 70.451 ms/op 76.402 ms/op 0.92
altair processRewardsAndPenalties - 250000 worstcase 80.371 ms/op 81.344 ms/op 0.99
phase0 getAttestationDeltas - 250000 normalcase 12.280 ms/op 14.980 ms/op 0.82
phase0 getAttestationDeltas - 250000 worstcase 12.481 ms/op 13.532 ms/op 0.92
phase0 processSlashings - 250000 worstcase 3.8770 ms/op 2.8197 ms/op 1.37
altair processSyncCommitteeUpdates - 250000 195.05 ms/op 185.99 ms/op 1.05
BeaconState.hashTreeRoot - No change 422.00 ns/op 302.00 ns/op 1.40
BeaconState.hashTreeRoot - 1 full validator 174.83 us/op 154.87 us/op 1.13
BeaconState.hashTreeRoot - 32 full validator 2.0630 ms/op 1.5939 ms/op 1.29
BeaconState.hashTreeRoot - 512 full validator 20.884 ms/op 16.715 ms/op 1.25
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 226.19 us/op 161.59 us/op 1.40
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.2041 ms/op 2.3169 ms/op 1.38
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 38.710 ms/op 30.308 ms/op 1.28
BeaconState.hashTreeRoot - 1 balances 168.57 us/op 154.22 us/op 1.09
BeaconState.hashTreeRoot - 32 balances 1.5620 ms/op 1.3045 ms/op 1.20
BeaconState.hashTreeRoot - 512 balances 16.069 ms/op 13.723 ms/op 1.17
BeaconState.hashTreeRoot - 250000 balances 268.47 ms/op 200.63 ms/op 1.34
aggregationBits - 2048 els - zipIndexesInBitList 37.287 us/op 26.498 us/op 1.41
regular array get 100000 times 36.956 us/op 35.165 us/op 1.05
wrappedArray get 100000 times 37.929 us/op 38.953 us/op 0.97
arrayWithProxy get 100000 times 16.049 ms/op 16.819 ms/op 0.95
ssz.Root.equals 318.00 ns/op 309.00 ns/op 1.03
byteArrayEquals 321.00 ns/op 330.00 ns/op 0.97
shuffle list - 16384 els 7.7549 ms/op 9.1379 ms/op 0.85
shuffle list - 250000 els 114.38 ms/op 118.48 ms/op 0.97
processSlot - 1 slots 35.574 us/op 22.220 us/op 1.60
processSlot - 32 slots 4.1606 ms/op 4.0167 ms/op 1.04
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 61.984 ms/op 67.826 ms/op 0.91
getCommitteeAssignments - req 1 vs - 250000 vc 3.1235 ms/op 3.0161 ms/op 1.04
getCommitteeAssignments - req 100 vs - 250000 vc 5.3847 ms/op 4.7955 ms/op 1.12
getCommitteeAssignments - req 1000 vs - 250000 vc 5.0164 ms/op 4.6978 ms/op 1.07
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 7.4100 ns/op 5.9600 ns/op 1.24
state getBlockRootAtSlot - 250000 vs - 7PWei 960.74 ns/op 736.92 ns/op 1.30
computeProposers - vc 250000 12.896 ms/op 10.610 ms/op 1.22
computeEpochShuffling - vc 250000 121.43 ms/op 122.79 ms/op 0.99
getNextSyncCommittee - vc 250000 182.71 ms/op 178.23 ms/op 1.03
computeSigningRoot for AttestationData 34.101 us/op 31.628 us/op 1.08
hash AttestationData serialized data then Buffer.toString(base64) 2.7651 us/op 2.5459 us/op 1.09
toHexString serialized data 1.8536 us/op 1.3307 us/op 1.39
Buffer.toString(base64) 311.07 ns/op 263.76 ns/op 1.18

by benchmarkbot/action

@g11tech g11tech enabled auto-merge (squash) October 27, 2023 10:02
@marioevz
Copy link

I've run the test that was failing on hive using this branch and have confirmed that this now works 👍

@g11tech g11tech merged commit 2b5935a into unstable Oct 27, 2023
15 checks passed
@g11tech g11tech deleted the fix-blschangespublish branch October 27, 2023 22:46
@wemeetagain
Copy link
Member

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

"PublishError.InsufficientPeers" error on submitPoolBlsToExecutionChange
4 participants