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

feat: enable builder proposals post deneb with blobs #5933

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Sep 3, 2023

build on top of the below PR , to be rebased when merged

@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: ee4a11b Previous: 2b5935a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 691.21 us/op 796.24 us/op 0.87
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 76.945 us/op 47.995 us/op 1.60
BLS verify - blst-native 1.2592 ms/op 1.0721 ms/op 1.17
BLS verifyMultipleSignatures 3 - blst-native 2.6319 ms/op 2.2878 ms/op 1.15
BLS verifyMultipleSignatures 8 - blst-native 5.7800 ms/op 5.0705 ms/op 1.14
BLS verifyMultipleSignatures 32 - blst-native 21.137 ms/op 18.628 ms/op 1.13
BLS verifyMultipleSignatures 64 - blst-native 41.632 ms/op 36.661 ms/op 1.14
BLS verifyMultipleSignatures 128 - blst-native 82.559 ms/op 73.533 ms/op 1.12
BLS deserializing 10000 signatures 850.04 ms/op 761.13 ms/op 1.12
BLS deserializing 100000 signatures 8.7504 s/op 7.6443 s/op 1.14
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2822 ms/op 1.1701 ms/op 1.10
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4442 ms/op 1.2694 ms/op 1.14
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2346 ms/op 1.9999 ms/op 1.12
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.2760 ms/op 2.9730 ms/op 1.10
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.1391 ms/op 4.9050 ms/op 1.25
BLS aggregatePubkeys 32 - blst-native 25.717 us/op 22.258 us/op 1.16
BLS aggregatePubkeys 128 - blst-native 96.262 us/op 87.332 us/op 1.10
getAttestationsForBlock 37.379 ms/op 27.307 ms/op 1.37
isKnown best case - 1 super set check 275.00 ns/op 299.00 ns/op 0.92
isKnown normal case - 2 super set checks 266.00 ns/op 302.00 ns/op 0.88
isKnown worse case - 16 super set checks 267.00 ns/op 301.00 ns/op 0.89
CheckpointStateCache - add get delete 4.7860 us/op 3.4550 us/op 1.39
validate api signedAggregateAndProof - struct 2.6427 ms/op 2.4074 ms/op 1.10
validate gossip signedAggregateAndProof - struct 2.7476 ms/op 2.3522 ms/op 1.17
validate gossip attestation - vc 640000 1.3346 ms/op 1.1280 ms/op 1.18
batch validate gossip attestation - vc 640000 - chunk 32 156.53 us/op 135.47 us/op 1.16
batch validate gossip attestation - vc 640000 - chunk 64 137.83 us/op 120.70 us/op 1.14
batch validate gossip attestation - vc 640000 - chunk 128 128.04 us/op 109.81 us/op 1.17
batch validate gossip attestation - vc 640000 - chunk 256 122.67 us/op 106.85 us/op 1.15
pickEth1Vote - no votes 1.1833 ms/op 871.51 us/op 1.36
pickEth1Vote - max votes 9.3661 ms/op 10.367 ms/op 0.90
pickEth1Vote - Eth1Data hashTreeRoot value x2048 15.718 ms/op 18.709 ms/op 0.84
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 24.430 ms/op 24.615 ms/op 0.99
pickEth1Vote - Eth1Data fastSerialize value x2048 573.16 us/op 366.67 us/op 1.56
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.6002 ms/op 5.1396 ms/op 1.28
bytes32 toHexString 488.00 ns/op 391.00 ns/op 1.25
bytes32 Buffer.toString(hex) 277.00 ns/op 275.00 ns/op 1.01
bytes32 Buffer.toString(hex) from Uint8Array 406.00 ns/op 378.00 ns/op 1.07
bytes32 Buffer.toString(hex) + 0x 275.00 ns/op 277.00 ns/op 0.99
Object access 1 prop 0.14600 ns/op 0.18100 ns/op 0.81
Map access 1 prop 0.14600 ns/op 0.17800 ns/op 0.82
Object get x1000 7.2600 ns/op 4.8040 ns/op 1.51
Map get x1000 0.56800 ns/op 0.48800 ns/op 1.16
Object set x1000 47.226 ns/op 22.926 ns/op 2.06
Map set x1000 36.853 ns/op 16.235 ns/op 2.27
Return object 10000 times 0.23310 ns/op 0.21350 ns/op 1.09
Throw Error 10000 times 3.8129 us/op 2.6166 us/op 1.46
fastMsgIdFn sha256 / 200 bytes 3.1990 us/op 1.8840 us/op 1.70
fastMsgIdFn h32 xxhash / 200 bytes 270.00 ns/op 281.00 ns/op 0.96
fastMsgIdFn h64 xxhash / 200 bytes 334.00 ns/op 331.00 ns/op 1.01
fastMsgIdFn sha256 / 1000 bytes 11.196 us/op 5.8950 us/op 1.90
fastMsgIdFn h32 xxhash / 1000 bytes 395.00 ns/op 391.00 ns/op 1.01
fastMsgIdFn h64 xxhash / 1000 bytes 404.00 ns/op 387.00 ns/op 1.04
fastMsgIdFn sha256 / 10000 bytes 103.06 us/op 51.040 us/op 2.02
fastMsgIdFn h32 xxhash / 10000 bytes 1.9000 us/op 1.7250 us/op 1.10
fastMsgIdFn h64 xxhash / 10000 bytes 1.3080 us/op 1.1830 us/op 1.11
send data - 1000 256B messages 17.512 ms/op 11.017 ms/op 1.59
send data - 1000 512B messages 24.751 ms/op 14.457 ms/op 1.71
send data - 1000 1024B messages 39.347 ms/op 21.755 ms/op 1.81
send data - 1000 1200B messages 27.866 ms/op 20.456 ms/op 1.36
send data - 1000 2048B messages 31.029 ms/op 22.924 ms/op 1.35
send data - 1000 4096B messages 31.777 ms/op 23.586 ms/op 1.35
send data - 1000 16384B messages 75.239 ms/op 56.992 ms/op 1.32
send data - 1000 65536B messages 290.54 ms/op 228.16 ms/op 1.27
enrSubnets - fastDeserialize 64 bits 1.1720 us/op 859.00 ns/op 1.36
enrSubnets - ssz BitVector 64 bits 393.00 ns/op 397.00 ns/op 0.99
enrSubnets - fastDeserialize 4 bits 157.00 ns/op 185.00 ns/op 0.85
enrSubnets - ssz BitVector 4 bits 393.00 ns/op 391.00 ns/op 1.01
prioritizePeers score -10:0 att 32-0.1 sync 2-0 93.560 us/op 62.735 us/op 1.49
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 118.03 us/op 74.079 us/op 1.59
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 152.42 us/op 105.66 us/op 1.44
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 271.84 us/op 177.99 us/op 1.53
prioritizePeers score 0:0 att 64-1 sync 4-1 321.07 us/op 197.47 us/op 1.63
array of 16000 items push then shift 1.5399 us/op 1.1970 us/op 1.29
LinkedList of 16000 items push then shift 8.6090 ns/op 6.5390 ns/op 1.32
array of 16000 items push then pop 70.992 ns/op 59.456 ns/op 1.19
LinkedList of 16000 items push then pop 8.6250 ns/op 5.5730 ns/op 1.55
array of 24000 items push then shift 2.3446 us/op 1.7747 us/op 1.32
LinkedList of 24000 items push then shift 8.6140 ns/op 6.2550 ns/op 1.38
array of 24000 items push then pop 85.157 ns/op 77.599 ns/op 1.10
LinkedList of 24000 items push then pop 8.5050 ns/op 5.5830 ns/op 1.52
intersect bitArray bitLen 8 6.6300 ns/op 5.2120 ns/op 1.27
intersect array and set length 8 52.945 ns/op 39.104 ns/op 1.35
intersect bitArray bitLen 128 31.284 ns/op 24.742 ns/op 1.26
intersect array and set length 128 735.23 ns/op 548.66 ns/op 1.34
bitArray.getTrueBitIndexes() bitLen 128 1.3890 us/op 1.1640 us/op 1.19
bitArray.getTrueBitIndexes() bitLen 248 2.3370 us/op 1.8790 us/op 1.24
bitArray.getTrueBitIndexes() bitLen 512 4.4480 us/op 3.3860 us/op 1.31
Buffer.concat 32 items 921.00 ns/op 841.00 ns/op 1.10
Uint8Array.set 32 items 1.9800 us/op 1.7780 us/op 1.11
Set add up to 64 items then delete first 4.1535 us/op 1.6944 us/op 2.45
OrderedSet add up to 64 items then delete first 5.2242 us/op 2.5875 us/op 2.02
Set add up to 64 items then delete last 4.4617 us/op 1.9366 us/op 2.30
OrderedSet add up to 64 items then delete last 5.5372 us/op 2.8678 us/op 1.93
Set add up to 64 items then delete middle 4.4444 us/op 1.9352 us/op 2.30
OrderedSet add up to 64 items then delete middle 6.7818 us/op 4.1304 us/op 1.64
Set add up to 128 items then delete first 9.0536 us/op 3.8383 us/op 2.36
OrderedSet add up to 128 items then delete first 11.871 us/op 5.9986 us/op 1.98
Set add up to 128 items then delete last 8.8813 us/op 3.6751 us/op 2.42
OrderedSet add up to 128 items then delete last 11.287 us/op 5.6744 us/op 1.99
Set add up to 128 items then delete middle 8.7798 us/op 3.8124 us/op 2.30
OrderedSet add up to 128 items then delete middle 16.369 us/op 10.538 us/op 1.55
Set add up to 256 items then delete first 18.319 us/op 7.4845 us/op 2.45
OrderedSet add up to 256 items then delete first 24.266 us/op 11.857 us/op 2.05
Set add up to 256 items then delete last 17.753 us/op 7.2076 us/op 2.46
OrderedSet add up to 256 items then delete last 22.711 us/op 10.956 us/op 2.07
Set add up to 256 items then delete middle 17.563 us/op 7.1477 us/op 2.46
OrderedSet add up to 256 items then delete middle 43.888 us/op 29.953 us/op 1.47
transfer serialized Status (84 B) 1.8190 us/op 1.3980 us/op 1.30
copy serialized Status (84 B) 1.4440 us/op 1.2440 us/op 1.16
transfer serialized SignedVoluntaryExit (112 B) 1.9710 us/op 1.4640 us/op 1.35
copy serialized SignedVoluntaryExit (112 B) 1.5610 us/op 1.3250 us/op 1.18
transfer serialized ProposerSlashing (416 B) 3.0660 us/op 2.3130 us/op 1.33
copy serialized ProposerSlashing (416 B) 2.9280 us/op 2.3160 us/op 1.26
transfer serialized Attestation (485 B) 3.1740 us/op 2.4300 us/op 1.31
copy serialized Attestation (485 B) 2.9460 us/op 2.2810 us/op 1.29
transfer serialized AttesterSlashing (33232 B) 2.9950 us/op 2.3780 us/op 1.26
copy serialized AttesterSlashing (33232 B) 5.8460 us/op 5.0060 us/op 1.17
transfer serialized Small SignedBeaconBlock (128000 B) 3.0550 us/op 2.3340 us/op 1.31
copy serialized Small SignedBeaconBlock (128000 B) 12.355 us/op 11.074 us/op 1.12
transfer serialized Avg SignedBeaconBlock (200000 B) 3.1700 us/op 2.4080 us/op 1.32
copy serialized Avg SignedBeaconBlock (200000 B) 16.844 us/op 18.528 us/op 0.91
transfer serialized BlobsSidecar (524380 B) 3.0520 us/op 2.5510 us/op 1.20
copy serialized BlobsSidecar (524380 B) 84.990 us/op 71.011 us/op 1.20
transfer serialized Big SignedBeaconBlock (1000000 B) 3.2720 us/op 2.5540 us/op 1.28
copy serialized Big SignedBeaconBlock (1000000 B) 161.91 us/op 139.87 us/op 1.16
pass gossip attestations to forkchoice per slot 3.7934 ms/op 2.6015 ms/op 1.46
forkChoice updateHead vc 100000 bc 64 eq 0 669.08 us/op 431.50 us/op 1.55
forkChoice updateHead vc 600000 bc 64 eq 0 4.4414 ms/op 2.9483 ms/op 1.51
forkChoice updateHead vc 1000000 bc 64 eq 0 6.9545 ms/op 4.5480 ms/op 1.53
forkChoice updateHead vc 600000 bc 320 eq 0 4.0805 ms/op 2.6198 ms/op 1.56
forkChoice updateHead vc 600000 bc 1200 eq 0 4.2362 ms/op 2.9296 ms/op 1.45
forkChoice updateHead vc 600000 bc 7200 eq 0 5.4200 ms/op 3.4147 ms/op 1.59
forkChoice updateHead vc 600000 bc 64 eq 1000 11.009 ms/op 9.8509 ms/op 1.12
forkChoice updateHead vc 600000 bc 64 eq 10000 11.842 ms/op 9.9270 ms/op 1.19
forkChoice updateHead vc 600000 bc 64 eq 300000 15.256 ms/op 12.361 ms/op 1.23
computeDeltas 500000 validators 300 proto nodes 6.2393 ms/op 2.8485 ms/op 2.19
computeDeltas 500000 validators 1200 proto nodes 6.2402 ms/op 2.8871 ms/op 2.16
computeDeltas 500000 validators 7200 proto nodes 6.4012 ms/op 2.8293 ms/op 2.26
computeDeltas 750000 validators 300 proto nodes 9.4355 ms/op 4.3903 ms/op 2.15
computeDeltas 750000 validators 1200 proto nodes 9.5111 ms/op 4.2857 ms/op 2.22
computeDeltas 750000 validators 7200 proto nodes 9.6658 ms/op 4.2634 ms/op 2.27
computeDeltas 1400000 validators 300 proto nodes 17.937 ms/op 8.2065 ms/op 2.19
computeDeltas 1400000 validators 1200 proto nodes 18.204 ms/op 8.2389 ms/op 2.21
computeDeltas 1400000 validators 7200 proto nodes 17.791 ms/op 8.2451 ms/op 2.16
computeDeltas 2100000 validators 300 proto nodes 26.027 ms/op 12.618 ms/op 2.06
computeDeltas 2100000 validators 1200 proto nodes 25.988 ms/op 12.617 ms/op 2.06
computeDeltas 2100000 validators 7200 proto nodes 25.882 ms/op 12.940 ms/op 2.00
computeProposerBoostScoreFromBalances 500000 validators 3.2333 ms/op 2.7660 ms/op 1.17
computeProposerBoostScoreFromBalances 750000 validators 3.1860 ms/op 2.7606 ms/op 1.15
computeProposerBoostScoreFromBalances 1400000 validators 3.1935 ms/op 2.8303 ms/op 1.13
computeProposerBoostScoreFromBalances 2100000 validators 3.2556 ms/op 2.8487 ms/op 1.14
altair processAttestation - 250000 vs - 7PWei normalcase 2.1843 ms/op 1.5454 ms/op 1.41
altair processAttestation - 250000 vs - 7PWei worstcase 3.2008 ms/op 2.8214 ms/op 1.13
altair processAttestation - setStatus - 1/6 committees join 178.79 us/op 121.41 us/op 1.47
altair processAttestation - setStatus - 1/3 committees join 345.63 us/op 210.46 us/op 1.64
altair processAttestation - setStatus - 1/2 committees join 465.43 us/op 311.58 us/op 1.49
altair processAttestation - setStatus - 2/3 committees join 587.41 us/op 419.26 us/op 1.40
altair processAttestation - setStatus - 4/5 committees join 779.72 us/op 528.25 us/op 1.48
altair processAttestation - setStatus - 100% committees join 913.57 us/op 673.94 us/op 1.36
altair processBlock - 250000 vs - 7PWei normalcase 9.6441 ms/op 8.9014 ms/op 1.08
altair processBlock - 250000 vs - 7PWei normalcase hashState 29.753 ms/op 25.617 ms/op 1.16
altair processBlock - 250000 vs - 7PWei worstcase 38.188 ms/op 30.510 ms/op 1.25
altair processBlock - 250000 vs - 7PWei worstcase hashState 82.965 ms/op 76.640 ms/op 1.08
phase0 processBlock - 250000 vs - 7PWei normalcase 2.7201 ms/op 2.4757 ms/op 1.10
phase0 processBlock - 250000 vs - 7PWei worstcase 30.298 ms/op 28.806 ms/op 1.05
altair processEth1Data - 250000 vs - 7PWei normalcase 532.62 us/op 307.60 us/op 1.73
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 11.530 us/op 7.7620 us/op 1.49
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 65.781 us/op 41.841 us/op 1.57
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 19.866 us/op 8.2060 us/op 2.42
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 9.4130 us/op 11.508 us/op 0.82
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 170.02 us/op 129.05 us/op 1.32
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.0337 ms/op 678.69 us/op 1.52
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.4018 ms/op 913.40 us/op 1.53
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.4884 ms/op 1.0932 ms/op 1.36
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.3694 ms/op 2.7804 ms/op 1.21
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2727 ms/op 1.8019 ms/op 1.26
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.3368 ms/op 4.8357 ms/op 1.10
Tree 40 250000 create 327.29 ms/op 252.45 ms/op 1.30
Tree 40 250000 get(125000) 203.32 ns/op 117.30 ns/op 1.73
Tree 40 250000 set(125000) 989.00 ns/op 796.94 ns/op 1.24
Tree 40 250000 toArray() 22.788 ms/op 21.021 ms/op 1.08
Tree 40 250000 iterate all - toArray() + loop 18.570 ms/op 21.574 ms/op 0.86
Tree 40 250000 iterate all - get(i) 66.968 ms/op 52.900 ms/op 1.27
MutableVector 250000 create 14.958 ms/op 10.444 ms/op 1.43
MutableVector 250000 get(125000) 6.5820 ns/op 5.9100 ns/op 1.11
MutableVector 250000 set(125000) 292.63 ns/op 216.86 ns/op 1.35
MutableVector 250000 toArray() 3.5542 ms/op 3.1824 ms/op 1.12
MutableVector 250000 iterate all - toArray() + loop 3.5668 ms/op 3.3455 ms/op 1.07
MutableVector 250000 iterate all - get(i) 1.5307 ms/op 1.3468 ms/op 1.14
Array 250000 create 2.5995 ms/op 2.7194 ms/op 0.96
Array 250000 clone - spread 1.0052 ms/op 987.27 us/op 1.02
Array 250000 get(125000) 0.48500 ns/op 0.58100 ns/op 0.83
Array 250000 set(125000) 0.56400 ns/op 0.61600 ns/op 0.92
Array 250000 iterate all - loop 83.617 us/op 78.219 us/op 1.07
effectiveBalanceIncrements clone Uint8Array 300000 24.445 us/op 11.511 us/op 2.12
effectiveBalanceIncrements clone MutableVector 300000 251.00 ns/op 318.00 ns/op 0.79
effectiveBalanceIncrements rw all Uint8Array 300000 182.18 us/op 173.07 us/op 1.05
effectiveBalanceIncrements rw all MutableVector 300000 78.233 ms/op 61.339 ms/op 1.28
phase0 afterProcessEpoch - 250000 vs - 7PWei 114.41 ms/op 78.789 ms/op 1.45
phase0 beforeProcessEpoch - 250000 vs - 7PWei 41.345 ms/op 32.440 ms/op 1.27
altair processEpoch - mainnet_e81889 424.93 ms/op 363.30 ms/op 1.17
mainnet_e81889 - altair beforeProcessEpoch 59.248 ms/op 46.725 ms/op 1.27
mainnet_e81889 - altair processJustificationAndFinalization 15.977 us/op 8.7960 us/op 1.82
mainnet_e81889 - altair processInactivityUpdates 5.7014 ms/op 5.0674 ms/op 1.13
mainnet_e81889 - altair processRewardsAndPenalties 68.450 ms/op 48.836 ms/op 1.40
mainnet_e81889 - altair processRegistryUpdates 2.3710 us/op 1.2150 us/op 1.95
mainnet_e81889 - altair processSlashings 503.00 ns/op 313.00 ns/op 1.61
mainnet_e81889 - altair processEth1DataReset 524.00 ns/op 310.00 ns/op 1.69
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2802 ms/op 902.29 us/op 1.42
mainnet_e81889 - altair processSlashingsReset 3.1990 us/op 2.0690 us/op 1.55
mainnet_e81889 - altair processRandaoMixesReset 5.1860 us/op 3.1120 us/op 1.67
mainnet_e81889 - altair processHistoricalRootsUpdate 813.00 ns/op 451.00 ns/op 1.80
mainnet_e81889 - altair processParticipationFlagUpdates 1.8980 us/op 1.2020 us/op 1.58
mainnet_e81889 - altair processSyncCommitteeUpdates 730.00 ns/op 394.00 ns/op 1.85
mainnet_e81889 - altair afterProcessEpoch 128.01 ms/op 85.684 ms/op 1.49
capella processEpoch - mainnet_e217614 1.4119 s/op 1.2378 s/op 1.14
mainnet_e217614 - capella beforeProcessEpoch 238.22 ms/op 198.75 ms/op 1.20
mainnet_e217614 - capella processJustificationAndFinalization 12.918 us/op 7.1530 us/op 1.81
mainnet_e217614 - capella processInactivityUpdates 15.464 ms/op 13.391 ms/op 1.15
mainnet_e217614 - capella processRewardsAndPenalties 284.96 ms/op 238.55 ms/op 1.19
mainnet_e217614 - capella processRegistryUpdates 18.526 us/op 12.678 us/op 1.46
mainnet_e217614 - capella processSlashings 482.00 ns/op 342.00 ns/op 1.41
mainnet_e217614 - capella processEth1DataReset 467.00 ns/op 505.00 ns/op 0.92
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.1776 ms/op 3.1561 ms/op 1.32
mainnet_e217614 - capella processSlashingsReset 2.2360 us/op 1.4570 us/op 1.53
mainnet_e217614 - capella processRandaoMixesReset 3.9800 us/op 2.8830 us/op 1.38
mainnet_e217614 - capella processHistoricalRootsUpdate 600.00 ns/op 444.00 ns/op 1.35
mainnet_e217614 - capella processParticipationFlagUpdates 3.4960 us/op 883.00 ns/op 3.96
mainnet_e217614 - capella afterProcessEpoch 314.29 ms/op 198.49 ms/op 1.58
phase0 processEpoch - mainnet_e58758 426.93 ms/op 346.99 ms/op 1.23
mainnet_e58758 - phase0 beforeProcessEpoch 125.42 ms/op 95.395 ms/op 1.31
mainnet_e58758 - phase0 processJustificationAndFinalization 16.083 us/op 9.6680 us/op 1.66
mainnet_e58758 - phase0 processRewardsAndPenalties 51.089 ms/op 47.363 ms/op 1.08
mainnet_e58758 - phase0 processRegistryUpdates 13.485 us/op 4.8730 us/op 2.77
mainnet_e58758 - phase0 processSlashings 494.00 ns/op 292.00 ns/op 1.69
mainnet_e58758 - phase0 processEth1DataReset 398.00 ns/op 289.00 ns/op 1.38
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0613 ms/op 725.29 us/op 1.46
mainnet_e58758 - phase0 processSlashingsReset 2.1560 us/op 1.4060 us/op 1.53
mainnet_e58758 - phase0 processRandaoMixesReset 4.6180 us/op 1.6370 us/op 2.82
mainnet_e58758 - phase0 processHistoricalRootsUpdate 525.00 ns/op 284.00 ns/op 1.85
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.0090 us/op 2.4030 us/op 1.67
mainnet_e58758 - phase0 afterProcessEpoch 104.25 ms/op 67.389 ms/op 1.55
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2744 ms/op 887.51 us/op 1.44
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4385 ms/op 1.1074 ms/op 1.30
altair processInactivityUpdates - 250000 normalcase 25.573 ms/op 15.463 ms/op 1.65
altair processInactivityUpdates - 250000 worstcase 27.346 ms/op 14.796 ms/op 1.85
phase0 processRegistryUpdates - 250000 normalcase 8.3140 us/op 3.4560 us/op 2.41
phase0 processRegistryUpdates - 250000 badcase_full_deposits 372.12 us/op 246.78 us/op 1.51
phase0 processRegistryUpdates - 250000 worstcase 0.5 137.22 ms/op 104.27 ms/op 1.32
altair processRewardsAndPenalties - 250000 normalcase 71.849 ms/op 50.910 ms/op 1.41
altair processRewardsAndPenalties - 250000 worstcase 70.742 ms/op 53.187 ms/op 1.33
phase0 getAttestationDeltas - 250000 normalcase 7.9830 ms/op 5.0912 ms/op 1.57
phase0 getAttestationDeltas - 250000 worstcase 8.2180 ms/op 4.9587 ms/op 1.66
phase0 processSlashings - 250000 worstcase 2.3329 ms/op 1.5576 ms/op 1.50
altair processSyncCommitteeUpdates - 250000 154.49 ms/op 104.16 ms/op 1.48
BeaconState.hashTreeRoot - No change 260.00 ns/op 288.00 ns/op 0.90
BeaconState.hashTreeRoot - 1 full validator 142.00 us/op 104.33 us/op 1.36
BeaconState.hashTreeRoot - 32 full validator 1.7436 ms/op 1.3449 ms/op 1.30
BeaconState.hashTreeRoot - 512 full validator 15.727 ms/op 13.384 ms/op 1.18
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 158.50 us/op 143.56 us/op 1.10
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.2853 ms/op 1.9368 ms/op 1.18
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 24.800 ms/op 25.543 ms/op 0.97
BeaconState.hashTreeRoot - 1 balances 105.34 us/op 129.02 us/op 0.82
BeaconState.hashTreeRoot - 32 balances 1.1772 ms/op 867.73 us/op 1.36
BeaconState.hashTreeRoot - 512 balances 10.288 ms/op 10.921 ms/op 0.94
BeaconState.hashTreeRoot - 250000 balances 190.23 ms/op 168.14 ms/op 1.13
aggregationBits - 2048 els - zipIndexesInBitList 16.324 us/op 9.3830 us/op 1.74
regular array get 100000 times 43.437 us/op 30.568 us/op 1.42
wrappedArray get 100000 times 33.319 us/op 30.557 us/op 1.09
arrayWithProxy get 100000 times 14.661 ms/op 10.008 ms/op 1.46
ssz.Root.equals 203.00 ns/op 235.00 ns/op 0.86
byteArrayEquals 205.00 ns/op 225.00 ns/op 0.91
shuffle list - 16384 els 6.9775 ms/op 4.3707 ms/op 1.60
shuffle list - 250000 els 102.37 ms/op 64.246 ms/op 1.59
processSlot - 1 slots 14.027 us/op 13.379 us/op 1.05
processSlot - 32 slots 2.6247 ms/op 2.5688 ms/op 1.02
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 55.820 ms/op 40.429 ms/op 1.38
getCommitteeAssignments - req 1 vs - 250000 vc 2.4858 ms/op 2.3571 ms/op 1.05
getCommitteeAssignments - req 100 vs - 250000 vc 3.6843 ms/op 3.7899 ms/op 0.97
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0371 ms/op 4.2685 ms/op 0.95
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.0200 ns/op 6.5600 ns/op 0.61
state getBlockRootAtSlot - 250000 vs - 7PWei 832.11 ns/op 1.2790 us/op 0.65
computeProposers - vc 250000 8.5276 ms/op 8.1641 ms/op 1.04
computeEpochShuffling - vc 250000 101.19 ms/op 75.813 ms/op 1.33
getNextSyncCommittee - vc 250000 142.75 ms/op 137.36 ms/op 1.04
computeSigningRoot for AttestationData 24.217 us/op 24.369 us/op 0.99
hash AttestationData serialized data then Buffer.toString(base64) 2.2219 us/op 1.2953 us/op 1.72
toHexString serialized data 1.0252 us/op 834.04 ns/op 1.23
Buffer.toString(base64) 204.32 ns/op 158.43 ns/op 1.29

by benchmarkbot/action

@g11tech g11tech mentioned this pull request Aug 28, 2023
40 tasks
@g11tech g11tech changed the base branch from unstable to g11tech/produceblock-v3 September 4, 2023 06:53
@g11tech g11tech force-pushed the g11tech/produceblock-v3 branch 2 times, most recently from 3fc8b40 to 9ae9801 Compare September 14, 2023 17:08
@g11tech g11tech force-pushed the deneb-builder branch 2 times, most recently from b516c48 to 4b1297c Compare September 15, 2023 13:35
@g11tech g11tech force-pushed the g11tech/produceblock-v3 branch 2 times, most recently from 97aaf8e to 25c4ab5 Compare September 26, 2023 11:41
@g11tech g11tech force-pushed the g11tech/produceblock-v3 branch 2 times, most recently from 1e88930 to e9c6aff Compare October 3, 2023 08:34
@g11tech g11tech force-pushed the g11tech/produceblock-v3 branch 3 times, most recently from 4779c67 to 9ea7037 Compare October 10, 2023 14:40
@g11tech g11tech force-pushed the g11tech/produceblock-v3 branch 2 times, most recently from 3daae60 to e6573f0 Compare October 20, 2023 12:02
@g11tech g11tech force-pushed the deneb-builder branch 2 times, most recently from dafe3ca to be2ddbc Compare October 20, 2023 13:07
@g11tech g11tech force-pushed the g11tech/produceblock-v3 branch 2 times, most recently from acd897d to 676e315 Compare October 24, 2023 15:02
Base automatically changed from g11tech/produceblock-v3 to unstable October 26, 2023 15:22
@g11tech g11tech marked this pull request as ready for review October 26, 2023 15:59
@g11tech g11tech requested a review from a team as a code owner October 26, 2023 15:59
@codecov
Copy link

codecov bot commented Oct 28, 2023

Codecov Report

Merging #5933 (3f3a4fc) into unstable (2b5935a) will not change coverage.
The diff coverage is n/a.

❗ Current head 3f3a4fc differs from pull request most recent head 906dee8. Consider uploading reports for the commit 906dee8 to get more accurate results

@@       Coverage Diff        @@
##   unstable   #5933   +/-   ##
================================
================================

implement missing blindedblock publishing

remove the throw

refactor the type reconstructions for builder

improv
Copy link
Contributor

@dapplion dapplion left a comment

Choose a reason for hiding this comment

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

LGTM!

@g11tech g11tech merged commit 8dbef3f into unstable Oct 30, 2023
15 checks passed
@g11tech g11tech deleted the deneb-builder branch October 30, 2023 13:42
@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