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: add blob_sidecar sse event #6044

Merged
merged 4 commits into from
Oct 20, 2023
Merged

feat: add blob_sidecar sse event #6044

merged 4 commits into from
Oct 20, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Oct 17, 2023

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

github-actions bot commented Oct 17, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 89490a5 Previous: 4fa6327 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 964.42 us/op 848.91 us/op 1.14
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 90.721 us/op 81.250 us/op 1.12
BLS verify - blst-native 1.3455 ms/op 1.3324 ms/op 1.01
BLS verifyMultipleSignatures 3 - blst-native 2.8316 ms/op 2.7885 ms/op 1.02
BLS verifyMultipleSignatures 8 - blst-native 6.2170 ms/op 6.0750 ms/op 1.02
BLS verifyMultipleSignatures 32 - blst-native 22.708 ms/op 22.171 ms/op 1.02
BLS verifyMultipleSignatures 64 - blst-native 45.172 ms/op 43.433 ms/op 1.04
BLS verifyMultipleSignatures 128 - blst-native 89.673 ms/op 86.330 ms/op 1.04
BLS deserializing 10000 signatures 930.50 ms/op 911.24 ms/op 1.02
BLS deserializing 100000 signatures 9.7986 s/op 9.1545 s/op 1.07
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.5127 ms/op 1.4461 ms/op 1.05
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.7938 ms/op 1.5260 ms/op 1.18
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4942 ms/op 2.3505 ms/op 1.06
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.8075 ms/op 3.9943 ms/op 0.95
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.4419 ms/op 6.3677 ms/op 1.01
BLS aggregatePubkeys 32 - blst-native 27.529 us/op 25.525 us/op 1.08
BLS aggregatePubkeys 128 - blst-native 107.51 us/op 100.10 us/op 1.07
getAttestationsForBlock 53.218 ms/op 45.641 ms/op 1.17
isKnown best case - 1 super set check 545.00 ns/op 342.00 ns/op 1.59
isKnown normal case - 2 super set checks 521.00 ns/op 339.00 ns/op 1.54
isKnown worse case - 16 super set checks 514.00 ns/op 329.00 ns/op 1.56
CheckpointStateCache - add get delete 6.5870 us/op 5.1280 us/op 1.28
validate api signedAggregateAndProof - struct 2.9664 ms/op 2.8194 ms/op 1.05
validate gossip signedAggregateAndProof - struct 2.9572 ms/op 2.8354 ms/op 1.04
validate gossip attestation - vc 640000 1.5632 ms/op 1.4115 ms/op 1.11
batch validate gossip attestation - vc 640000 - chunk 32 199.54 us/op 173.49 us/op 1.15
batch validate gossip attestation - vc 640000 - chunk 64 180.39 us/op 165.65 us/op 1.09
batch validate gossip attestation - vc 640000 - chunk 128 163.14 us/op 195.16 us/op 0.84
batch validate gossip attestation - vc 640000 - chunk 256 160.97 us/op 198.63 us/op 0.81
pickEth1Vote - no votes 1.6769 ms/op 2.0797 ms/op 0.81
pickEth1Vote - max votes 12.938 ms/op 20.040 ms/op 0.65
pickEth1Vote - Eth1Data hashTreeRoot value x2048 25.443 ms/op 37.546 ms/op 0.68
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 39.029 ms/op 56.498 ms/op 0.69
pickEth1Vote - Eth1Data fastSerialize value x2048 772.19 us/op 1.3639 ms/op 0.57
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.8680 ms/op 11.727 ms/op 0.50
bytes32 toHexString 769.00 ns/op 1.1420 us/op 0.67
bytes32 Buffer.toString(hex) 340.00 ns/op 637.00 ns/op 0.53
bytes32 Buffer.toString(hex) from Uint8Array 544.00 ns/op 924.00 ns/op 0.59
bytes32 Buffer.toString(hex) + 0x 352.00 ns/op 360.00 ns/op 0.98
Object access 1 prop 0.20300 ns/op 0.20100 ns/op 1.01
Map access 1 prop 0.16000 ns/op 0.16600 ns/op 0.96
Object get x1000 11.393 ns/op 8.8060 ns/op 1.29
Map get x1000 0.81200 ns/op 0.70000 ns/op 1.16
Object set x1000 78.292 ns/op 66.248 ns/op 1.18
Map set x1000 55.017 ns/op 50.414 ns/op 1.09
Return object 10000 times 0.36230 ns/op 0.29060 ns/op 1.25
Throw Error 10000 times 4.7067 us/op 4.0964 us/op 1.15
fastMsgIdFn sha256 / 200 bytes 3.8300 us/op 3.6080 us/op 1.06
fastMsgIdFn h32 xxhash / 200 bytes 358.00 ns/op 344.00 ns/op 1.04
fastMsgIdFn h64 xxhash / 200 bytes 414.00 ns/op 391.00 ns/op 1.06
fastMsgIdFn sha256 / 1000 bytes 13.135 us/op 12.053 us/op 1.09
fastMsgIdFn h32 xxhash / 1000 bytes 485.00 ns/op 493.00 ns/op 0.98
fastMsgIdFn h64 xxhash / 1000 bytes 472.00 ns/op 462.00 ns/op 1.02
fastMsgIdFn sha256 / 10000 bytes 112.82 us/op 109.75 us/op 1.03
fastMsgIdFn h32 xxhash / 10000 bytes 2.1290 us/op 2.0720 us/op 1.03
fastMsgIdFn h64 xxhash / 10000 bytes 1.5250 us/op 1.4330 us/op 1.06
send data - 1000 256B messages 21.633 ms/op 21.576 ms/op 1.00
send data - 1000 512B messages 30.388 ms/op 29.316 ms/op 1.04
send data - 1000 1024B messages 45.909 ms/op 46.607 ms/op 0.99
send data - 1000 1200B messages 43.645 ms/op 26.783 ms/op 1.63
send data - 1000 2048B messages 43.166 ms/op 42.727 ms/op 1.01
send data - 1000 4096B messages 43.639 ms/op 37.327 ms/op 1.17
send data - 1000 16384B messages 97.315 ms/op 82.011 ms/op 1.19
send data - 1000 65536B messages 351.32 ms/op 313.96 ms/op 1.12
enrSubnets - fastDeserialize 64 bits 1.6110 us/op 1.4190 us/op 1.14
enrSubnets - ssz BitVector 64 bits 535.00 ns/op 481.00 ns/op 1.11
enrSubnets - fastDeserialize 4 bits 219.00 ns/op 198.00 ns/op 1.11
enrSubnets - ssz BitVector 4 bits 525.00 ns/op 459.00 ns/op 1.14
prioritizePeers score -10:0 att 32-0.1 sync 2-0 127.97 us/op 109.20 us/op 1.17
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 152.16 us/op 142.45 us/op 1.07
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 201.82 us/op 182.76 us/op 1.10
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 350.75 us/op 313.97 us/op 1.12
prioritizePeers score 0:0 att 64-1 sync 4-1 412.53 us/op 358.30 us/op 1.15
array of 16000 items push then shift 2.1286 us/op 1.6946 us/op 1.26
LinkedList of 16000 items push then shift 10.528 ns/op 9.1910 ns/op 1.15
array of 16000 items push then pop 104.32 ns/op 91.593 ns/op 1.14
LinkedList of 16000 items push then pop 11.841 ns/op 8.9190 ns/op 1.33
array of 24000 items push then shift 2.8310 us/op 2.4502 us/op 1.16
LinkedList of 24000 items push then shift 11.385 ns/op 9.2500 ns/op 1.23
array of 24000 items push then pop 140.57 ns/op 125.57 ns/op 1.12
LinkedList of 24000 items push then pop 10.929 ns/op 8.8970 ns/op 1.23
intersect bitArray bitLen 8 7.4760 ns/op 6.8880 ns/op 1.09
intersect array and set length 8 79.386 ns/op 57.919 ns/op 1.37
intersect bitArray bitLen 128 38.126 ns/op 32.831 ns/op 1.16
intersect array and set length 128 935.95 ns/op 845.86 ns/op 1.11
bitArray.getTrueBitIndexes() bitLen 128 1.8320 us/op 1.6500 us/op 1.11
bitArray.getTrueBitIndexes() bitLen 248 2.8660 us/op 2.7980 us/op 1.02
bitArray.getTrueBitIndexes() bitLen 512 6.4020 us/op 5.5180 us/op 1.16
Buffer.concat 32 items 1.0960 us/op 977.00 ns/op 1.12
Uint8Array.set 32 items 2.3810 us/op 1.8370 us/op 1.30
Set add up to 64 items then delete first 4.8764 us/op 4.5671 us/op 1.07
OrderedSet add up to 64 items then delete first 6.5534 us/op 6.0135 us/op 1.09
Set add up to 64 items then delete last 5.3126 us/op 4.9801 us/op 1.07
OrderedSet add up to 64 items then delete last 6.9990 us/op 6.2321 us/op 1.12
Set add up to 64 items then delete middle 5.2649 us/op 5.0120 us/op 1.05
OrderedSet add up to 64 items then delete middle 8.3797 us/op 7.8200 us/op 1.07
Set add up to 128 items then delete first 10.279 us/op 10.334 us/op 0.99
OrderedSet add up to 128 items then delete first 13.506 us/op 14.215 us/op 0.95
Set add up to 128 items then delete last 10.425 us/op 10.239 us/op 1.02
OrderedSet add up to 128 items then delete last 14.055 us/op 13.594 us/op 1.03
Set add up to 128 items then delete middle 10.275 us/op 10.429 us/op 0.99
OrderedSet add up to 128 items then delete middle 19.300 us/op 19.352 us/op 1.00
Set add up to 256 items then delete first 20.731 us/op 21.854 us/op 0.95
OrderedSet add up to 256 items then delete first 27.347 us/op 27.272 us/op 1.00
Set add up to 256 items then delete last 21.494 us/op 21.021 us/op 1.02
OrderedSet add up to 256 items then delete last 28.696 us/op 25.663 us/op 1.12
Set add up to 256 items then delete middle 20.875 us/op 19.260 us/op 1.08
OrderedSet add up to 256 items then delete middle 53.607 us/op 49.499 us/op 1.08
transfer serialized Status (84 B) 1.8830 us/op 2.0440 us/op 0.92
copy serialized Status (84 B) 1.6660 us/op 1.7240 us/op 0.97
transfer serialized SignedVoluntaryExit (112 B) 2.0200 us/op 2.1810 us/op 0.93
copy serialized SignedVoluntaryExit (112 B) 1.7000 us/op 1.8300 us/op 0.93
transfer serialized ProposerSlashing (416 B) 2.2480 us/op 2.6780 us/op 0.84
copy serialized ProposerSlashing (416 B) 2.3580 us/op 2.8830 us/op 0.82
transfer serialized Attestation (485 B) 2.3960 us/op 3.1440 us/op 0.76
copy serialized Attestation (485 B) 2.6250 us/op 3.1340 us/op 0.84
transfer serialized AttesterSlashing (33232 B) 2.7550 us/op 3.2660 us/op 0.84
copy serialized AttesterSlashing (33232 B) 9.6300 us/op 6.5880 us/op 1.46
transfer serialized Small SignedBeaconBlock (128000 B) 3.7880 us/op 3.3730 us/op 1.12
copy serialized Small SignedBeaconBlock (128000 B) 25.392 us/op 16.671 us/op 1.52
transfer serialized Avg SignedBeaconBlock (200000 B) 3.9510 us/op 3.6860 us/op 1.07
copy serialized Avg SignedBeaconBlock (200000 B) 30.858 us/op 23.214 us/op 1.33
transfer serialized BlobsSidecar (524380 B) 4.1150 us/op 3.7620 us/op 1.09
copy serialized BlobsSidecar (524380 B) 112.50 us/op 95.054 us/op 1.18
transfer serialized Big SignedBeaconBlock (1000000 B) 4.3730 us/op 3.9230 us/op 1.11
copy serialized Big SignedBeaconBlock (1000000 B) 390.05 us/op 165.05 us/op 2.36
pass gossip attestations to forkchoice per slot 4.0984 ms/op 3.7908 ms/op 1.08
forkChoice updateHead vc 100000 bc 64 eq 0 787.52 us/op 678.03 us/op 1.16
forkChoice updateHead vc 600000 bc 64 eq 0 6.5671 ms/op 4.2059 ms/op 1.56
forkChoice updateHead vc 1000000 bc 64 eq 0 8.3943 ms/op 7.1121 ms/op 1.18
forkChoice updateHead vc 600000 bc 320 eq 0 5.0644 ms/op 4.2852 ms/op 1.18
forkChoice updateHead vc 600000 bc 1200 eq 0 4.5786 ms/op 4.3509 ms/op 1.05
forkChoice updateHead vc 600000 bc 7200 eq 0 6.1770 ms/op 5.1799 ms/op 1.19
forkChoice updateHead vc 600000 bc 64 eq 1000 13.370 ms/op 11.526 ms/op 1.16
forkChoice updateHead vc 600000 bc 64 eq 10000 13.983 ms/op 12.285 ms/op 1.14
forkChoice updateHead vc 600000 bc 64 eq 300000 38.103 ms/op 16.774 ms/op 2.27
computeDeltas 500000 validators 300 proto nodes 7.5676 ms/op 6.3792 ms/op 1.19
computeDeltas 500000 validators 1200 proto nodes 7.7598 ms/op 6.3303 ms/op 1.23
computeDeltas 500000 validators 7200 proto nodes 7.4617 ms/op 6.4358 ms/op 1.16
computeDeltas 750000 validators 300 proto nodes 12.648 ms/op 9.6783 ms/op 1.31
computeDeltas 750000 validators 1200 proto nodes 12.186 ms/op 9.6899 ms/op 1.26
computeDeltas 750000 validators 7200 proto nodes 11.757 ms/op 9.6795 ms/op 1.21
computeDeltas 1400000 validators 300 proto nodes 20.657 ms/op 17.910 ms/op 1.15
computeDeltas 1400000 validators 1200 proto nodes 20.191 ms/op 17.994 ms/op 1.12
computeDeltas 1400000 validators 7200 proto nodes 20.401 ms/op 18.018 ms/op 1.13
computeDeltas 2100000 validators 300 proto nodes 31.134 ms/op 27.056 ms/op 1.15
computeDeltas 2100000 validators 1200 proto nodes 27.732 ms/op 27.071 ms/op 1.02
computeDeltas 2100000 validators 7200 proto nodes 27.407 ms/op 27.447 ms/op 1.00
computeProposerBoostScoreFromBalances 500000 validators 3.3401 ms/op 3.5722 ms/op 0.94
computeProposerBoostScoreFromBalances 750000 validators 3.3208 ms/op 3.5223 ms/op 0.94
computeProposerBoostScoreFromBalances 1400000 validators 3.3310 ms/op 3.3950 ms/op 0.98
computeProposerBoostScoreFromBalances 2100000 validators 3.3306 ms/op 3.4029 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.3920 ms/op 2.8473 ms/op 0.84
altair processAttestation - 250000 vs - 7PWei worstcase 3.6469 ms/op 4.0646 ms/op 0.90
altair processAttestation - setStatus - 1/6 committees join 178.96 us/op 182.56 us/op 0.98
altair processAttestation - setStatus - 1/3 committees join 347.58 us/op 353.57 us/op 0.98
altair processAttestation - setStatus - 1/2 committees join 487.77 us/op 475.70 us/op 1.03
altair processAttestation - setStatus - 2/3 committees join 603.46 us/op 593.50 us/op 1.02
altair processAttestation - setStatus - 4/5 committees join 815.22 us/op 808.16 us/op 1.01
altair processAttestation - setStatus - 100% committees join 967.27 us/op 933.20 us/op 1.04
altair processBlock - 250000 vs - 7PWei normalcase 10.009 ms/op 9.5918 ms/op 1.04
altair processBlock - 250000 vs - 7PWei normalcase hashState 34.307 ms/op 34.563 ms/op 0.99
altair processBlock - 250000 vs - 7PWei worstcase 41.804 ms/op 45.719 ms/op 0.91
altair processBlock - 250000 vs - 7PWei worstcase hashState 85.525 ms/op 100.13 ms/op 0.85
phase0 processBlock - 250000 vs - 7PWei normalcase 2.9271 ms/op 3.1014 ms/op 0.94
phase0 processBlock - 250000 vs - 7PWei worstcase 33.924 ms/op 31.260 ms/op 1.09
altair processEth1Data - 250000 vs - 7PWei normalcase 628.47 us/op 626.34 us/op 1.00
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 13.466 us/op 11.699 us/op 1.15
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 69.727 us/op 68.078 us/op 1.02
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 24.456 us/op 25.149 us/op 0.97
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 12.744 us/op 20.965 us/op 0.61
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 188.35 us/op 218.41 us/op 0.86
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3120 ms/op 1.5006 ms/op 0.87
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.0640 ms/op 2.1658 ms/op 0.95
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.8694 ms/op 1.5998 ms/op 1.17
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.0763 ms/op 3.4360 ms/op 1.19
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.7991 ms/op 2.8950 ms/op 0.97
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.4487 ms/op 6.2458 ms/op 0.87
Tree 40 250000 create 386.46 ms/op 487.93 ms/op 0.79
Tree 40 250000 get(125000) 214.81 ns/op 222.71 ns/op 0.96
Tree 40 250000 set(125000) 1.0979 us/op 1.0595 us/op 1.04
Tree 40 250000 toArray() 22.229 ms/op 22.954 ms/op 0.97
Tree 40 250000 iterate all - toArray() + loop 23.069 ms/op 23.370 ms/op 0.99
Tree 40 250000 iterate all - get(i) 81.937 ms/op 76.704 ms/op 1.07
MutableVector 250000 create 17.849 ms/op 14.970 ms/op 1.19
MutableVector 250000 get(125000) 6.8850 ns/op 6.8220 ns/op 1.01
MutableVector 250000 set(125000) 518.67 ns/op 302.12 ns/op 1.72
MutableVector 250000 toArray() 4.4853 ms/op 4.2339 ms/op 1.06
MutableVector 250000 iterate all - toArray() + loop 4.9585 ms/op 4.8118 ms/op 1.03
MutableVector 250000 iterate all - get(i) 1.5813 ms/op 1.6853 ms/op 0.94
Array 250000 create 4.6483 ms/op 4.4219 ms/op 1.05
Array 250000 clone - spread 1.2637 ms/op 1.2549 ms/op 1.01
Array 250000 get(125000) 0.51200 ns/op 0.58400 ns/op 0.88
Array 250000 set(125000) 0.56500 ns/op 0.60400 ns/op 0.94
Array 250000 iterate all - loop 85.092 us/op 90.029 us/op 0.95
effectiveBalanceIncrements clone Uint8Array 300000 44.597 us/op 36.873 us/op 1.21
effectiveBalanceIncrements clone MutableVector 300000 214.00 ns/op 207.00 ns/op 1.03
effectiveBalanceIncrements rw all Uint8Array 300000 182.43 us/op 188.21 us/op 0.97
effectiveBalanceIncrements rw all MutableVector 300000 101.30 ms/op 109.51 ms/op 0.93
phase0 afterProcessEpoch - 250000 vs - 7PWei 118.18 ms/op 125.14 ms/op 0.94
phase0 beforeProcessEpoch - 250000 vs - 7PWei 39.685 ms/op 42.977 ms/op 0.92
altair processEpoch - mainnet_e81889 514.75 ms/op 521.34 ms/op 0.99
mainnet_e81889 - altair beforeProcessEpoch 62.873 ms/op 78.248 ms/op 0.80
mainnet_e81889 - altair processJustificationAndFinalization 15.823 us/op 32.830 us/op 0.48
mainnet_e81889 - altair processInactivityUpdates 6.7826 ms/op 8.4125 ms/op 0.81
mainnet_e81889 - altair processRewardsAndPenalties 50.267 ms/op 74.547 ms/op 0.67
mainnet_e81889 - altair processRegistryUpdates 2.6820 us/op 3.4820 us/op 0.77
mainnet_e81889 - altair processSlashings 598.00 ns/op 808.00 ns/op 0.74
mainnet_e81889 - altair processEth1DataReset 803.00 ns/op 666.00 ns/op 1.21
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3259 ms/op 1.3991 ms/op 0.95
mainnet_e81889 - altair processSlashingsReset 3.9710 us/op 4.5390 us/op 0.87
mainnet_e81889 - altair processRandaoMixesReset 4.8030 us/op 10.408 us/op 0.46
mainnet_e81889 - altair processHistoricalRootsUpdate 739.00 ns/op 901.00 ns/op 0.82
mainnet_e81889 - altair processParticipationFlagUpdates 2.1940 us/op 2.8700 us/op 0.76
mainnet_e81889 - altair processSyncCommitteeUpdates 683.00 ns/op 1.0560 us/op 0.65
mainnet_e81889 - altair afterProcessEpoch 130.79 ms/op 138.28 ms/op 0.95
capella processEpoch - mainnet_e217614 1.6005 s/op 1.5257 s/op 1.05
mainnet_e217614 - capella beforeProcessEpoch 264.53 ms/op 225.10 ms/op 1.18
mainnet_e217614 - capella processJustificationAndFinalization 15.186 us/op 14.051 us/op 1.08
mainnet_e217614 - capella processInactivityUpdates 16.684 ms/op 19.717 ms/op 0.85
mainnet_e217614 - capella processRewardsAndPenalties 273.95 ms/op 294.24 ms/op 0.93
mainnet_e217614 - capella processRegistryUpdates 29.626 us/op 21.566 us/op 1.37
mainnet_e217614 - capella processSlashings 1.3810 us/op 535.00 ns/op 2.58
mainnet_e217614 - capella processEth1DataReset 443.00 ns/op 641.00 ns/op 0.69
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.1922 ms/op 4.4976 ms/op 0.93
mainnet_e217614 - capella processSlashingsReset 2.3540 us/op 3.3290 us/op 0.71
mainnet_e217614 - capella processRandaoMixesReset 4.0080 us/op 6.5950 us/op 0.61
mainnet_e217614 - capella processHistoricalRootsUpdate 933.00 ns/op 1.0750 us/op 0.87
mainnet_e217614 - capella processParticipationFlagUpdates 2.0120 us/op 3.6280 us/op 0.55
mainnet_e217614 - capella afterProcessEpoch 293.57 ms/op 316.13 ms/op 0.93
phase0 processEpoch - mainnet_e58758 445.94 ms/op 545.67 ms/op 0.82
mainnet_e58758 - phase0 beforeProcessEpoch 122.79 ms/op 184.03 ms/op 0.67
mainnet_e58758 - phase0 processJustificationAndFinalization 16.172 us/op 26.262 us/op 0.62
mainnet_e58758 - phase0 processRewardsAndPenalties 51.353 ms/op 76.641 ms/op 0.67
mainnet_e58758 - phase0 processRegistryUpdates 14.322 us/op 19.250 us/op 0.74
mainnet_e58758 - phase0 processSlashings 683.00 ns/op 1.1750 us/op 0.58
mainnet_e58758 - phase0 processEth1DataReset 550.00 ns/op 1.0880 us/op 0.51
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0958 ms/op 1.3471 ms/op 0.81
mainnet_e58758 - phase0 processSlashingsReset 6.4000 us/op 4.1880 us/op 1.53
mainnet_e58758 - phase0 processRandaoMixesReset 6.8630 us/op 8.4670 us/op 0.81
mainnet_e58758 - phase0 processHistoricalRootsUpdate 566.00 ns/op 1.1890 us/op 0.48
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.0750 us/op 6.8580 us/op 0.59
mainnet_e58758 - phase0 afterProcessEpoch 100.14 ms/op 105.50 ms/op 0.95
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.1896 ms/op 1.4776 ms/op 0.81
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.9387 ms/op 2.5412 ms/op 0.76
altair processInactivityUpdates - 250000 normalcase 23.748 ms/op 29.149 ms/op 0.81
altair processInactivityUpdates - 250000 worstcase 23.462 ms/op 30.327 ms/op 0.77
phase0 processRegistryUpdates - 250000 normalcase 8.3590 us/op 13.559 us/op 0.62
phase0 processRegistryUpdates - 250000 badcase_full_deposits 329.41 us/op 406.53 us/op 0.81
phase0 processRegistryUpdates - 250000 worstcase 0.5 129.55 ms/op 178.40 ms/op 0.73
altair processRewardsAndPenalties - 250000 normalcase 70.856 ms/op 73.486 ms/op 0.96
altair processRewardsAndPenalties - 250000 worstcase 70.350 ms/op 81.440 ms/op 0.86
phase0 getAttestationDeltas - 250000 normalcase 8.0794 ms/op 11.116 ms/op 0.73
phase0 getAttestationDeltas - 250000 worstcase 8.2460 ms/op 10.149 ms/op 0.81
phase0 processSlashings - 250000 worstcase 2.5456 ms/op 2.9312 ms/op 0.87
altair processSyncCommitteeUpdates - 250000 159.73 ms/op 174.32 ms/op 0.92
BeaconState.hashTreeRoot - No change 257.00 ns/op 297.00 ns/op 0.87
BeaconState.hashTreeRoot - 1 full validator 116.09 us/op 138.38 us/op 0.84
BeaconState.hashTreeRoot - 32 full validator 1.1854 ms/op 1.7009 ms/op 0.70
BeaconState.hashTreeRoot - 512 full validator 11.988 ms/op 17.540 ms/op 0.68
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 144.53 us/op 192.55 us/op 0.75
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.2658 ms/op 2.7178 ms/op 0.83
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 28.852 ms/op 27.405 ms/op 1.05
BeaconState.hashTreeRoot - 1 balances 133.23 us/op 130.01 us/op 1.02
BeaconState.hashTreeRoot - 32 balances 989.87 us/op 1.3231 ms/op 0.75
BeaconState.hashTreeRoot - 512 balances 12.149 ms/op 12.436 ms/op 0.98
BeaconState.hashTreeRoot - 250000 balances 191.10 ms/op 216.30 ms/op 0.88
aggregationBits - 2048 els - zipIndexesInBitList 15.105 us/op 17.693 us/op 0.85
regular array get 100000 times 32.685 us/op 44.646 us/op 0.73
wrappedArray get 100000 times 43.157 us/op 34.263 us/op 1.26
arrayWithProxy get 100000 times 15.538 ms/op 15.320 ms/op 1.01
ssz.Root.equals 222.00 ns/op 279.00 ns/op 0.80
byteArrayEquals 223.00 ns/op 236.00 ns/op 0.94
shuffle list - 16384 els 6.9829 ms/op 7.1814 ms/op 0.97
shuffle list - 250000 els 103.52 ms/op 105.45 ms/op 0.98
processSlot - 1 slots 16.321 us/op 17.832 us/op 0.92
processSlot - 32 slots 2.7396 ms/op 3.1419 ms/op 0.87
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 56.029 ms/op 56.083 ms/op 1.00
getCommitteeAssignments - req 1 vs - 250000 vc 2.5096 ms/op 2.5242 ms/op 0.99
getCommitteeAssignments - req 100 vs - 250000 vc 3.6862 ms/op 3.7134 ms/op 0.99
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0023 ms/op 4.0370 ms/op 0.99
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.3000 ns/op 4.3900 ns/op 0.98
state getBlockRootAtSlot - 250000 vs - 7PWei 787.80 ns/op 743.22 ns/op 1.06
computeProposers - vc 250000 9.0472 ms/op 8.3059 ms/op 1.09
computeEpochShuffling - vc 250000 102.93 ms/op 99.440 ms/op 1.04
getNextSyncCommittee - vc 250000 147.42 ms/op 139.37 ms/op 1.06
computeSigningRoot for AttestationData 25.868 us/op 23.195 us/op 1.12
hash AttestationData serialized data then Buffer.toString(base64) 2.2718 us/op 2.3081 us/op 0.98
toHexString serialized data 1.0758 us/op 1.0928 us/op 0.98
Buffer.toString(base64) 215.36 ns/op 221.63 ns/op 0.97

by benchmarkbot/action

@philknows philknows added this to the v1.12.0 milestone Oct 17, 2023
@g11tech g11tech enabled auto-merge (squash) October 19, 2023 05:15
@g11tech g11tech merged commit 4a25589 into unstable Oct 20, 2023
14 checks passed
@g11tech g11tech deleted the blbsse-event branch October 20, 2023 17:33
@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