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 breaking builder block production #5928

Merged
merged 1 commit into from
Sep 2, 2023
Merged

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Sep 2, 2023

The builder block proposals are breaking because of a bug that crept in while improving the logging for better tracking of block proposals.
This PR fixes the same.

@g11tech g11tech requested a review from a team as a code owner September 2, 2023 06:38
@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: d3a3ef7 Previous: 3b5941a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 748.47 us/op 912.58 us/op 0.82
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 76.084 us/op 79.769 us/op 0.95
BLS verify - blst-native 1.2833 ms/op 1.3270 ms/op 0.97
BLS verifyMultipleSignatures 3 - blst-native 2.6897 ms/op 2.8263 ms/op 0.95
BLS verifyMultipleSignatures 8 - blst-native 5.9015 ms/op 6.4779 ms/op 0.91
BLS verifyMultipleSignatures 32 - blst-native 21.543 ms/op 23.397 ms/op 0.92
BLS verifyMultipleSignatures 64 - blst-native 43.198 ms/op 45.842 ms/op 0.94
BLS verifyMultipleSignatures 128 - blst-native 85.383 ms/op 89.521 ms/op 0.95
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2673 ms/op 1.4431 ms/op 0.88
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5112 ms/op 1.5194 ms/op 0.99
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2933 ms/op 2.3623 ms/op 0.97
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.3788 ms/op 3.4711 ms/op 0.97
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.2968 ms/op 5.6978 ms/op 1.11
BLS aggregatePubkeys 32 - blst-native 25.240 us/op 26.397 us/op 0.96
BLS aggregatePubkeys 128 - blst-native 100.08 us/op 103.23 us/op 0.97
getAttestationsForBlock 34.726 ms/op 35.947 ms/op 0.97
isKnown best case - 1 super set check 278.00 ns/op 278.00 ns/op 1.00
isKnown normal case - 2 super set checks 267.00 ns/op 273.00 ns/op 0.98
isKnown worse case - 16 super set checks 266.00 ns/op 260.00 ns/op 1.02
CheckpointStateCache - add get delete 5.8140 us/op 5.1900 us/op 1.12
validate api signedAggregateAndProof - struct 2.7631 ms/op 2.8277 ms/op 0.98
validate gossip signedAggregateAndProof - struct 2.7411 ms/op 2.7947 ms/op 0.98
validate gossip attestation - vc 640000 1.3350 ms/op 1.3577 ms/op 0.98
batch validate gossip attestation - vc 640000 - chunk 32 147.45 us/op 154.01 us/op 0.96
batch validate gossip attestation - vc 640000 - chunk 64 126.51 us/op 137.79 us/op 0.92
batch validate gossip attestation - vc 640000 - chunk 128 118.79 us/op 123.34 us/op 0.96
batch validate gossip attestation - vc 640000 - chunk 256 110.34 us/op 116.77 us/op 0.94
pickEth1Vote - no votes 1.0970 ms/op 1.2473 ms/op 0.88
pickEth1Vote - max votes 9.5011 ms/op 8.5080 ms/op 1.12
pickEth1Vote - Eth1Data hashTreeRoot value x2048 8.2367 ms/op 8.5377 ms/op 0.96
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 14.896 ms/op 16.158 ms/op 0.92
pickEth1Vote - Eth1Data fastSerialize value x2048 606.82 us/op 636.33 us/op 0.95
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.8485 ms/op 7.5802 ms/op 0.77
bytes32 toHexString 465.00 ns/op 479.00 ns/op 0.97
bytes32 Buffer.toString(hex) 291.00 ns/op 296.00 ns/op 0.98
bytes32 Buffer.toString(hex) from Uint8Array 429.00 ns/op 439.00 ns/op 0.98
bytes32 Buffer.toString(hex) + 0x 284.00 ns/op 282.00 ns/op 1.01
Object access 1 prop 0.14600 ns/op 0.14700 ns/op 0.99
Map access 1 prop 0.14500 ns/op 0.14600 ns/op 0.99
Object get x1000 7.3260 ns/op 7.3610 ns/op 1.00
Map get x1000 0.59700 ns/op 0.62100 ns/op 0.96
Object set x1000 48.341 ns/op 51.627 ns/op 0.94
Map set x1000 37.798 ns/op 40.825 ns/op 0.93
Return object 10000 times 0.23870 ns/op 0.23900 ns/op 1.00
Throw Error 10000 times 3.8793 us/op 4.0255 us/op 0.96
fastMsgIdFn sha256 / 200 bytes 3.3300 us/op 3.2570 us/op 1.02
fastMsgIdFn h32 xxhash / 200 bytes 275.00 ns/op 284.00 ns/op 0.97
fastMsgIdFn h64 xxhash / 200 bytes 351.00 ns/op 352.00 ns/op 1.00
fastMsgIdFn sha256 / 1000 bytes 11.563 us/op 11.438 us/op 1.01
fastMsgIdFn h32 xxhash / 1000 bytes 390.00 ns/op 431.00 ns/op 0.90
fastMsgIdFn h64 xxhash / 1000 bytes 416.00 ns/op 429.00 ns/op 0.97
fastMsgIdFn sha256 / 10000 bytes 103.73 us/op 103.40 us/op 1.00
fastMsgIdFn h32 xxhash / 10000 bytes 1.8920 us/op 1.9200 us/op 0.99
fastMsgIdFn h64 xxhash / 10000 bytes 1.3190 us/op 1.2950 us/op 1.02
enrSubnets - fastDeserialize 64 bits 1.1570 us/op 1.1840 us/op 0.98
enrSubnets - ssz BitVector 64 bits 419.00 ns/op 437.00 ns/op 0.96
enrSubnets - fastDeserialize 4 bits 153.00 ns/op 159.00 ns/op 0.96
enrSubnets - ssz BitVector 4 bits 402.00 ns/op 412.00 ns/op 0.98
prioritizePeers score -10:0 att 32-0.1 sync 2-0 95.780 us/op 95.952 us/op 1.00
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 122.33 us/op 122.22 us/op 1.00
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 155.36 us/op 151.64 us/op 1.02
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 277.25 us/op 281.02 us/op 0.99
prioritizePeers score 0:0 att 64-1 sync 4-1 321.32 us/op 329.94 us/op 0.97
array of 16000 items push then shift 1.5344 us/op 1.6006 us/op 0.96
LinkedList of 16000 items push then shift 8.5290 ns/op 8.8260 ns/op 0.97
array of 16000 items push then pop 72.008 ns/op 79.188 ns/op 0.91
LinkedList of 16000 items push then pop 8.5820 ns/op 8.7180 ns/op 0.98
array of 24000 items push then shift 2.3453 us/op 2.3607 us/op 0.99
LinkedList of 24000 items push then shift 8.7620 ns/op 8.8590 ns/op 0.99
array of 24000 items push then pop 85.580 ns/op 105.98 ns/op 0.81
LinkedList of 24000 items push then pop 8.5750 ns/op 8.5000 ns/op 1.01
intersect bitArray bitLen 8 6.7460 ns/op 6.6720 ns/op 1.01
intersect array and set length 8 53.929 ns/op 53.850 ns/op 1.00
intersect bitArray bitLen 128 31.702 ns/op 31.132 ns/op 1.02
intersect array and set length 128 742.71 ns/op 729.58 ns/op 1.02
bitArray.getTrueBitIndexes() bitLen 128 1.3260 us/op 1.3210 us/op 1.00
bitArray.getTrueBitIndexes() bitLen 248 2.3230 us/op 2.2820 us/op 1.02
bitArray.getTrueBitIndexes() bitLen 512 4.4050 us/op 4.5440 us/op 0.97
Buffer.concat 32 items 942.00 ns/op 920.00 ns/op 1.02
Uint8Array.set 32 items 1.8960 us/op 1.7520 us/op 1.08
Set add up to 64 items then delete first 4.1849 us/op 4.1743 us/op 1.00
OrderedSet add up to 64 items then delete first 5.2543 us/op 5.3188 us/op 0.99
Set add up to 64 items then delete last 4.4944 us/op 4.6057 us/op 0.98
OrderedSet add up to 64 items then delete last 5.6207 us/op 5.8926 us/op 0.95
Set add up to 64 items then delete middle 4.4485 us/op 4.8123 us/op 0.92
OrderedSet add up to 64 items then delete middle 6.5983 us/op 7.0244 us/op 0.94
Set add up to 128 items then delete first 8.8599 us/op 9.2158 us/op 0.96
OrderedSet add up to 128 items then delete first 11.663 us/op 13.313 us/op 0.88
Set add up to 128 items then delete last 8.6803 us/op 9.7959 us/op 0.89
OrderedSet add up to 128 items then delete last 10.999 us/op 11.636 us/op 0.95
Set add up to 128 items then delete middle 8.5991 us/op 9.1874 us/op 0.94
OrderedSet add up to 128 items then delete middle 16.509 us/op 17.113 us/op 0.96
Set add up to 256 items then delete first 17.860 us/op 19.723 us/op 0.91
OrderedSet add up to 256 items then delete first 23.556 us/op 26.244 us/op 0.90
Set add up to 256 items then delete last 17.297 us/op 19.670 us/op 0.88
OrderedSet add up to 256 items then delete last 22.273 us/op 24.612 us/op 0.90
Set add up to 256 items then delete middle 17.123 us/op 18.805 us/op 0.91
OrderedSet add up to 256 items then delete middle 42.796 us/op 47.192 us/op 0.91
transfer serialized Status (84 B) 1.7840 us/op 1.8320 us/op 0.97
copy serialized Status (84 B) 1.4990 us/op 1.5850 us/op 0.95
transfer serialized SignedVoluntaryExit (112 B) 1.9230 us/op 2.0810 us/op 0.92
copy serialized SignedVoluntaryExit (112 B) 1.5880 us/op 1.6270 us/op 0.98
transfer serialized ProposerSlashing (416 B) 2.9370 us/op 2.0920 us/op 1.40
copy serialized ProposerSlashing (416 B) 2.5880 us/op 1.9380 us/op 1.34
transfer serialized Attestation (485 B) 3.0360 us/op 2.7510 us/op 1.10
copy serialized Attestation (485 B) 2.7140 us/op 2.7420 us/op 0.99
transfer serialized AttesterSlashing (33232 B) 2.7990 us/op 2.7180 us/op 1.03
copy serialized AttesterSlashing (33232 B) 5.0510 us/op 6.0490 us/op 0.84
transfer serialized Small SignedBeaconBlock (128000 B) 2.4910 us/op 2.4450 us/op 1.02
copy serialized Small SignedBeaconBlock (128000 B) 12.311 us/op 12.698 us/op 0.97
transfer serialized Avg SignedBeaconBlock (200000 B) 2.9570 us/op 2.6790 us/op 1.10
copy serialized Avg SignedBeaconBlock (200000 B) 17.839 us/op 18.490 us/op 0.96
transfer serialized BlobsSidecar (524380 B) 2.7910 us/op 2.8440 us/op 0.98
copy serialized BlobsSidecar (524380 B) 84.381 us/op 90.536 us/op 0.93
transfer serialized Big SignedBeaconBlock (1000000 B) 2.8370 us/op 3.0980 us/op 0.92
copy serialized Big SignedBeaconBlock (1000000 B) 164.96 us/op 160.86 us/op 1.03
pass gossip attestations to forkchoice per slot 3.8190 ms/op 3.8394 ms/op 0.99
forkChoice updateHead vc 100000 bc 64 eq 0 644.81 us/op 711.32 us/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 0 4.0700 ms/op 5.5618 ms/op 0.73
forkChoice updateHead vc 1000000 bc 64 eq 0 8.3994 ms/op 8.0563 ms/op 1.04
forkChoice updateHead vc 600000 bc 320 eq 0 4.1514 ms/op 4.2637 ms/op 0.97
forkChoice updateHead vc 600000 bc 1200 eq 0 4.1204 ms/op 4.3665 ms/op 0.94
forkChoice updateHead vc 600000 bc 7200 eq 0 5.0042 ms/op 5.2152 ms/op 0.96
forkChoice updateHead vc 600000 bc 64 eq 1000 10.900 ms/op 11.585 ms/op 0.94
forkChoice updateHead vc 600000 bc 64 eq 10000 11.773 ms/op 12.373 ms/op 0.95
forkChoice updateHead vc 600000 bc 64 eq 300000 15.873 ms/op 17.013 ms/op 0.93
computeDeltas 500000 validators 300 proto nodes 6.1707 ms/op 6.4292 ms/op 0.96
computeDeltas 500000 validators 1200 proto nodes 6.1339 ms/op 6.2698 ms/op 0.98
computeDeltas 500000 validators 7200 proto nodes 6.1793 ms/op 6.2328 ms/op 0.99
computeDeltas 750000 validators 300 proto nodes 9.2121 ms/op 9.5423 ms/op 0.97
computeDeltas 750000 validators 1200 proto nodes 9.1997 ms/op 9.4905 ms/op 0.97
computeDeltas 750000 validators 7200 proto nodes 9.1875 ms/op 9.4577 ms/op 0.97
computeDeltas 1400000 validators 300 proto nodes 17.314 ms/op 18.344 ms/op 0.94
computeDeltas 1400000 validators 1200 proto nodes 17.563 ms/op 18.133 ms/op 0.97
computeDeltas 1400000 validators 7200 proto nodes 17.571 ms/op 18.014 ms/op 0.98
computeDeltas 2100000 validators 300 proto nodes 26.273 ms/op 26.668 ms/op 0.99
computeDeltas 2100000 validators 1200 proto nodes 25.797 ms/op 26.808 ms/op 0.96
computeDeltas 2100000 validators 7200 proto nodes 26.069 ms/op 26.901 ms/op 0.97
computeProposerBoostScoreFromBalances 500000 validators 3.1927 ms/op 3.2688 ms/op 0.98
computeProposerBoostScoreFromBalances 750000 validators 3.1095 ms/op 3.2542 ms/op 0.96
computeProposerBoostScoreFromBalances 1400000 validators 3.0973 ms/op 3.2646 ms/op 0.95
computeProposerBoostScoreFromBalances 2100000 validators 3.0759 ms/op 3.2634 ms/op 0.94
altair processAttestation - 250000 vs - 7PWei normalcase 2.2134 ms/op 2.3925 ms/op 0.93
altair processAttestation - 250000 vs - 7PWei worstcase 3.2653 ms/op 3.4463 ms/op 0.95
altair processAttestation - setStatus - 1/6 committees join 174.73 us/op 184.52 us/op 0.95
altair processAttestation - setStatus - 1/3 committees join 345.98 us/op 380.84 us/op 0.91
altair processAttestation - setStatus - 1/2 committees join 450.39 us/op 492.22 us/op 0.92
altair processAttestation - setStatus - 2/3 committees join 572.50 us/op 614.53 us/op 0.93
altair processAttestation - setStatus - 4/5 committees join 768.75 us/op 849.90 us/op 0.90
altair processAttestation - setStatus - 100% committees join 889.52 us/op 1.0299 ms/op 0.86
altair processBlock - 250000 vs - 7PWei normalcase 9.5348 ms/op 10.456 ms/op 0.91
altair processBlock - 250000 vs - 7PWei normalcase hashState 17.331 ms/op 17.248 ms/op 1.00
altair processBlock - 250000 vs - 7PWei worstcase 37.934 ms/op 39.654 ms/op 0.96
altair processBlock - 250000 vs - 7PWei worstcase hashState 54.470 ms/op 60.656 ms/op 0.90
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3476 ms/op 2.6697 ms/op 0.88
phase0 processBlock - 250000 vs - 7PWei worstcase 29.085 ms/op 31.440 ms/op 0.93
altair processEth1Data - 250000 vs - 7PWei normalcase 500.50 us/op 572.96 us/op 0.87
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 12.090 us/op 11.470 us/op 1.05
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 32.058 us/op 63.453 us/op 0.51
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 12.357 us/op 23.514 us/op 0.53
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 7.3130 us/op 13.234 us/op 0.55
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 138.41 us/op 150.56 us/op 0.92
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4340 ms/op 1.3434 ms/op 1.07
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.4829 ms/op 1.5671 ms/op 0.95
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5870 ms/op 1.5812 ms/op 1.00
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.1236 ms/op 3.6675 ms/op 0.85
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2325 ms/op 2.4690 ms/op 0.90
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.1023 ms/op 4.8511 ms/op 1.05
Tree 40 250000 create 314.75 ms/op 346.05 ms/op 0.91
Tree 40 250000 get(125000) 189.49 ns/op 199.34 ns/op 0.95
Tree 40 250000 set(125000) 895.27 ns/op 946.66 ns/op 0.95
Tree 40 250000 toArray() 17.323 ms/op 19.946 ms/op 0.87
Tree 40 250000 iterate all - toArray() + loop 17.403 ms/op 20.699 ms/op 0.84
Tree 40 250000 iterate all - get(i) 64.816 ms/op 71.618 ms/op 0.91
MutableVector 250000 create 12.423 ms/op 10.755 ms/op 1.16
MutableVector 250000 get(125000) 6.4030 ns/op 6.6620 ns/op 0.96
MutableVector 250000 set(125000) 247.02 ns/op 263.79 ns/op 0.94
MutableVector 250000 toArray() 2.9276 ms/op 3.3974 ms/op 0.86
MutableVector 250000 iterate all - toArray() + loop 3.0203 ms/op 3.2514 ms/op 0.93
MutableVector 250000 iterate all - get(i) 1.5155 ms/op 1.5375 ms/op 0.99
Array 250000 create 2.6627 ms/op 3.1239 ms/op 0.85
Array 250000 clone - spread 1.1425 ms/op 1.2131 ms/op 0.94
Array 250000 get(125000) 0.55100 ns/op 0.61000 ns/op 0.90
Array 250000 set(125000) 0.62100 ns/op 0.65900 ns/op 0.94
Array 250000 iterate all - loop 80.244 us/op 84.418 us/op 0.95
effectiveBalanceIncrements clone Uint8Array 300000 25.640 us/op 35.634 us/op 0.72
effectiveBalanceIncrements clone MutableVector 300000 330.00 ns/op 341.00 ns/op 0.97
effectiveBalanceIncrements rw all Uint8Array 300000 172.71 us/op 178.68 us/op 0.97
effectiveBalanceIncrements rw all MutableVector 300000 78.059 ms/op 86.259 ms/op 0.90
phase0 afterProcessEpoch - 250000 vs - 7PWei 113.24 ms/op 115.75 ms/op 0.98
phase0 beforeProcessEpoch - 250000 vs - 7PWei 31.903 ms/op 32.568 ms/op 0.98
altair processEpoch - mainnet_e81889 313.38 ms/op 324.47 ms/op 0.97
mainnet_e81889 - altair beforeProcessEpoch 58.457 ms/op 61.136 ms/op 0.96
mainnet_e81889 - altair processJustificationAndFinalization 14.266 us/op 14.833 us/op 0.96
mainnet_e81889 - altair processInactivityUpdates 5.7821 ms/op 6.3907 ms/op 0.90
mainnet_e81889 - altair processRewardsAndPenalties 68.070 ms/op 67.545 ms/op 1.01
mainnet_e81889 - altair processRegistryUpdates 2.5350 us/op 2.1870 us/op 1.16
mainnet_e81889 - altair processSlashings 455.00 ns/op 462.00 ns/op 0.98
mainnet_e81889 - altair processEth1DataReset 656.00 ns/op 528.00 ns/op 1.24
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2004 ms/op 1.2609 ms/op 0.95
mainnet_e81889 - altair processSlashingsReset 2.6500 us/op 3.0360 us/op 0.87
mainnet_e81889 - altair processRandaoMixesReset 3.9920 us/op 5.4120 us/op 0.74
mainnet_e81889 - altair processHistoricalRootsUpdate 736.00 ns/op 780.00 ns/op 0.94
mainnet_e81889 - altair processParticipationFlagUpdates 1.5610 us/op 1.9490 us/op 0.80
mainnet_e81889 - altair processSyncCommitteeUpdates 671.00 ns/op 619.00 ns/op 1.08
mainnet_e81889 - altair afterProcessEpoch 121.98 ms/op 122.26 ms/op 1.00
capella processEpoch - mainnet_e217614 1.0138 s/op 1.0279 s/op 0.99
mainnet_e217614 - capella beforeProcessEpoch 223.19 ms/op 237.85 ms/op 0.94
mainnet_e217614 - capella processJustificationAndFinalization 12.884 us/op 12.596 us/op 1.02
mainnet_e217614 - capella processInactivityUpdates 17.212 ms/op 16.519 ms/op 1.04
mainnet_e217614 - capella processRewardsAndPenalties 279.75 ms/op 279.49 ms/op 1.00
mainnet_e217614 - capella processRegistryUpdates 20.264 us/op 19.413 us/op 1.04
mainnet_e217614 - capella processSlashings 548.00 ns/op 1.1730 us/op 0.47
mainnet_e217614 - capella processEth1DataReset 462.00 ns/op 445.00 ns/op 1.04
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9443 ms/op 4.0276 ms/op 0.98
mainnet_e217614 - capella processSlashingsReset 2.2550 us/op 2.1160 us/op 1.07
mainnet_e217614 - capella processRandaoMixesReset 4.2170 us/op 4.1690 us/op 1.01
mainnet_e217614 - capella processHistoricalRootsUpdate 525.00 ns/op 614.00 ns/op 0.86
mainnet_e217614 - capella processParticipationFlagUpdates 1.9400 us/op 1.4210 us/op 1.37
mainnet_e217614 - capella afterProcessEpoch 292.61 ms/op 294.78 ms/op 0.99
phase0 processEpoch - mainnet_e58758 307.59 ms/op 329.52 ms/op 0.93
mainnet_e58758 - phase0 beforeProcessEpoch 100.49 ms/op 117.35 ms/op 0.86
mainnet_e58758 - phase0 processJustificationAndFinalization 15.581 us/op 15.546 us/op 1.00
mainnet_e58758 - phase0 processRewardsAndPenalties 39.658 ms/op 44.295 ms/op 0.90
mainnet_e58758 - phase0 processRegistryUpdates 9.5930 us/op 8.8420 us/op 1.08
mainnet_e58758 - phase0 processSlashings 577.00 ns/op 504.00 ns/op 1.14
mainnet_e58758 - phase0 processEth1DataReset 450.00 ns/op 412.00 ns/op 1.09
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 998.73 us/op 1.0003 ms/op 1.00
mainnet_e58758 - phase0 processSlashingsReset 2.1430 us/op 2.1770 us/op 0.98
mainnet_e58758 - phase0 processRandaoMixesReset 3.7980 us/op 3.6030 us/op 1.05
mainnet_e58758 - phase0 processHistoricalRootsUpdate 767.00 ns/op 445.00 ns/op 1.72
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.1580 us/op 3.5090 us/op 0.90
mainnet_e58758 - phase0 afterProcessEpoch 97.240 ms/op 96.970 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.9379 ms/op 1.2456 ms/op 1.56
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5120 ms/op 1.4439 ms/op 1.05
altair processInactivityUpdates - 250000 normalcase 24.534 ms/op 18.784 ms/op 1.31
altair processInactivityUpdates - 250000 worstcase 25.100 ms/op 19.187 ms/op 1.31
phase0 processRegistryUpdates - 250000 normalcase 9.3740 us/op 8.0590 us/op 1.16
phase0 processRegistryUpdates - 250000 badcase_full_deposits 316.69 us/op 455.42 us/op 0.70
phase0 processRegistryUpdates - 250000 worstcase 0.5 130.66 ms/op 118.95 ms/op 1.10
altair processRewardsAndPenalties - 250000 normalcase 71.123 ms/op 40.341 ms/op 1.76
altair processRewardsAndPenalties - 250000 worstcase 69.782 ms/op 41.054 ms/op 1.70
phase0 getAttestationDeltas - 250000 normalcase 7.5717 ms/op 7.8998 ms/op 0.96
phase0 getAttestationDeltas - 250000 worstcase 7.5876 ms/op 7.9426 ms/op 0.96
phase0 processSlashings - 250000 worstcase 2.2897 ms/op 2.2825 ms/op 1.00
altair processSyncCommitteeUpdates - 250000 142.77 ms/op 153.46 ms/op 0.93
BeaconState.hashTreeRoot - No change 243.00 ns/op 258.00 ns/op 0.94
BeaconState.hashTreeRoot - 1 full validator 48.845 us/op 50.571 us/op 0.97
BeaconState.hashTreeRoot - 32 full validator 532.02 us/op 538.37 us/op 0.99
BeaconState.hashTreeRoot - 512 full validator 5.5958 ms/op 5.7188 ms/op 0.98
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 60.577 us/op 62.600 us/op 0.97
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 813.71 us/op 857.57 us/op 0.95
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 11.052 ms/op 11.000 ms/op 1.00
BeaconState.hashTreeRoot - 1 balances 50.877 us/op 48.274 us/op 1.05
BeaconState.hashTreeRoot - 32 balances 467.88 us/op 449.58 us/op 1.04
BeaconState.hashTreeRoot - 512 balances 4.2570 ms/op 4.3149 ms/op 0.99
BeaconState.hashTreeRoot - 250000 balances 72.035 ms/op 71.491 ms/op 1.01
aggregationBits - 2048 els - zipIndexesInBitList 14.042 us/op 16.076 us/op 0.87
regular array get 100000 times 31.706 us/op 33.062 us/op 0.96
wrappedArray get 100000 times 42.049 us/op 32.970 us/op 1.28
arrayWithProxy get 100000 times 14.056 ms/op 13.963 ms/op 1.01
ssz.Root.equals 191.00 ns/op 221.00 ns/op 0.86
byteArrayEquals 187.00 ns/op 216.00 ns/op 0.87
shuffle list - 16384 els 6.6121 ms/op 6.9384 ms/op 0.95
shuffle list - 250000 els 97.489 ms/op 101.87 ms/op 0.96
processSlot - 1 slots 7.8600 us/op 8.1220 us/op 0.97
processSlot - 32 slots 1.2294 ms/op 1.3257 ms/op 0.93
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 54.548 ms/op 46.756 ms/op 1.17
getCommitteeAssignments - req 1 vs - 250000 vc 2.5297 ms/op 2.5073 ms/op 1.01
getCommitteeAssignments - req 100 vs - 250000 vc 3.7171 ms/op 3.7915 ms/op 0.98
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0422 ms/op 4.0525 ms/op 1.00
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5500 ns/op 5.0700 ns/op 0.90
state getBlockRootAtSlot - 250000 vs - 7PWei 844.49 ns/op 759.84 ns/op 1.11
computeProposers - vc 250000 8.9863 ms/op 9.1426 ms/op 0.98
computeEpochShuffling - vc 250000 103.07 ms/op 103.79 ms/op 0.99
getNextSyncCommittee - vc 250000 140.99 ms/op 148.42 ms/op 0.95
computeSigningRoot for AttestationData 12.638 us/op 12.584 us/op 1.00
hash AttestationData serialized data then Buffer.toString(base64) 2.2426 us/op 2.3054 us/op 0.97
toHexString serialized data 1.0233 us/op 1.0481 us/op 0.98
Buffer.toString(base64) 209.86 ns/op 216.96 ns/op 0.97

by benchmarkbot/action

@g11tech g11tech merged commit acb787a into unstable Sep 2, 2023
@g11tech g11tech deleted the fix-builder-proposal branch September 2, 2023 11:51
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.11.1 🎉

@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.

3 participants