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

chore: merge stable to unstable #5920

Merged
merged 2 commits into from
Aug 29, 2023
Merged

chore: merge stable to unstable #5920

merged 2 commits into from
Aug 29, 2023

Conversation

wemeetagain
Copy link
Member

No description provided.

@wemeetagain wemeetagain requested a review from a team as a code owner August 29, 2023 16:36
@wemeetagain wemeetagain merged commit 55b3441 into unstable Aug 29, 2023
18 of 20 checks passed
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 40430cd Previous: a27992d Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 441.13 us/op 656.64 us/op 0.67
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 76.437 us/op 114.17 us/op 0.67
BLS verify - blst-native 1.3318 ms/op 1.3721 ms/op 0.97
BLS verifyMultipleSignatures 3 - blst-native 2.7411 ms/op 2.9211 ms/op 0.94
BLS verifyMultipleSignatures 8 - blst-native 6.0223 ms/op 6.6051 ms/op 0.91
BLS verifyMultipleSignatures 32 - blst-native 22.091 ms/op 23.310 ms/op 0.95
BLS verifyMultipleSignatures 64 - blst-native 43.541 ms/op 47.374 ms/op 0.92
BLS verifyMultipleSignatures 128 - blst-native 86.251 ms/op 95.123 ms/op 0.91
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3266 ms/op 1.5692 ms/op 0.85
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5039 ms/op 1.6216 ms/op 0.93
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2958 ms/op 2.4722 ms/op 0.93
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.3877 ms/op 3.6898 ms/op 0.92
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.4019 ms/op 6.8611 ms/op 0.93
BLS aggregatePubkeys 32 - blst-native 25.448 us/op 29.956 us/op 0.85
BLS aggregatePubkeys 128 - blst-native 100.13 us/op 107.53 us/op 0.93
getAttestationsForBlock 40.870 ms/op 56.173 ms/op 0.73
isKnown best case - 1 super set check 324.00 ns/op 631.00 ns/op 0.51
isKnown normal case - 2 super set checks 366.00 ns/op 605.00 ns/op 0.60
isKnown worse case - 16 super set checks 398.00 ns/op 641.00 ns/op 0.62
CheckpointStateCache - add get delete 5.8450 us/op 6.8420 us/op 0.85
validate api signedAggregateAndProof - struct 2.8318 ms/op 3.3037 ms/op 0.86
validate gossip signedAggregateAndProof - struct 2.8572 ms/op 3.1416 ms/op 0.91
validate gossip attestation - vc 640000 1.3879 ms/op 1.5294 ms/op 0.91
batch validate gossip attestation - vc 640000 - chunk 32 149.26 us/op 171.50 us/op 0.87
batch validate gossip attestation - vc 640000 - chunk 64 130.11 us/op 138.11 us/op 0.94
batch validate gossip attestation - vc 640000 - chunk 128 124.54 us/op 125.59 us/op 0.99
batch validate gossip attestation - vc 640000 - chunk 256 117.28 us/op 116.78 us/op 1.00
pickEth1Vote - no votes 1.1978 ms/op 1.2920 ms/op 0.93
pickEth1Vote - max votes 7.9412 ms/op 12.033 ms/op 0.66
pickEth1Vote - Eth1Data hashTreeRoot value x2048 8.6295 ms/op 9.0687 ms/op 0.95
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 12.785 ms/op 14.167 ms/op 0.90
pickEth1Vote - Eth1Data fastSerialize value x2048 572.11 us/op 569.15 us/op 1.01
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.0403 ms/op 5.3684 ms/op 0.94
bytes32 toHexString 465.00 ns/op 477.00 ns/op 0.97
bytes32 Buffer.toString(hex) 292.00 ns/op 288.00 ns/op 1.01
bytes32 Buffer.toString(hex) from Uint8Array 417.00 ns/op 433.00 ns/op 0.96
bytes32 Buffer.toString(hex) + 0x 284.00 ns/op 278.00 ns/op 1.02
Object access 1 prop 0.17100 ns/op 0.14600 ns/op 1.17
Map access 1 prop 0.15400 ns/op 0.13500 ns/op 1.14
Object get x1000 7.4390 ns/op 7.5420 ns/op 0.99
Map get x1000 0.64100 ns/op 0.61000 ns/op 1.05
Object set x1000 51.935 ns/op 50.104 ns/op 1.04
Map set x1000 40.313 ns/op 37.929 ns/op 1.06
Return object 10000 times 0.24410 ns/op 0.23670 ns/op 1.03
Throw Error 10000 times 3.8973 us/op 3.9896 us/op 0.98
fastMsgIdFn sha256 / 200 bytes 3.2900 us/op 3.4530 us/op 0.95
fastMsgIdFn h32 xxhash / 200 bytes 284.00 ns/op 271.00 ns/op 1.05
fastMsgIdFn h64 xxhash / 200 bytes 354.00 ns/op 349.00 ns/op 1.01
fastMsgIdFn sha256 / 1000 bytes 11.458 us/op 11.630 us/op 0.99
fastMsgIdFn h32 xxhash / 1000 bytes 432.00 ns/op 401.00 ns/op 1.08
fastMsgIdFn h64 xxhash / 1000 bytes 424.00 ns/op 408.00 ns/op 1.04
fastMsgIdFn sha256 / 10000 bytes 103.69 us/op 105.28 us/op 0.98
fastMsgIdFn h32 xxhash / 10000 bytes 1.9100 us/op 1.9830 us/op 0.96
fastMsgIdFn h64 xxhash / 10000 bytes 1.3330 us/op 1.3680 us/op 0.97
enrSubnets - fastDeserialize 64 bits 1.2290 us/op 1.3040 us/op 0.94
enrSubnets - ssz BitVector 64 bits 407.00 ns/op 497.00 ns/op 0.82
enrSubnets - fastDeserialize 4 bits 170.00 ns/op 193.00 ns/op 0.88
enrSubnets - ssz BitVector 4 bits 468.00 ns/op 504.00 ns/op 0.93
prioritizePeers score -10:0 att 32-0.1 sync 2-0 109.23 us/op 116.71 us/op 0.94
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 134.42 us/op 141.10 us/op 0.95
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 183.62 us/op 180.70 us/op 1.02
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 313.42 us/op 332.47 us/op 0.94
prioritizePeers score 0:0 att 64-1 sync 4-1 357.26 us/op 369.82 us/op 0.97
array of 16000 items push then shift 1.6667 us/op 1.7416 us/op 0.96
LinkedList of 16000 items push then shift 9.2090 ns/op 9.4150 ns/op 0.98
array of 16000 items push then pop 94.049 ns/op 94.030 ns/op 1.00
LinkedList of 16000 items push then pop 9.0140 ns/op 9.2500 ns/op 0.97
array of 24000 items push then shift 2.5799 us/op 2.4879 us/op 1.04
LinkedList of 24000 items push then shift 9.1480 ns/op 9.8150 ns/op 0.93
array of 24000 items push then pop 130.29 ns/op 139.45 ns/op 0.93
LinkedList of 24000 items push then pop 8.8620 ns/op 9.0060 ns/op 0.98
intersect bitArray bitLen 8 6.9530 ns/op 7.0570 ns/op 0.99
intersect array and set length 8 57.619 ns/op 55.774 ns/op 1.03
intersect bitArray bitLen 128 32.456 ns/op 32.518 ns/op 1.00
intersect array and set length 128 830.12 ns/op 787.52 ns/op 1.05
bitArray.getTrueBitIndexes() bitLen 128 1.5890 us/op 1.5080 us/op 1.05
bitArray.getTrueBitIndexes() bitLen 248 2.5890 us/op 2.7150 us/op 0.95
bitArray.getTrueBitIndexes() bitLen 512 5.7760 us/op 5.0350 us/op 1.15
Buffer.concat 32 items 1.0390 us/op 955.00 ns/op 1.09
Uint8Array.set 32 items 1.9960 us/op 2.2300 us/op 0.90
Set add up to 64 items then delete first 4.3646 us/op 4.3554 us/op 1.00
OrderedSet add up to 64 items then delete first 5.6935 us/op 5.6246 us/op 1.01
Set add up to 64 items then delete last 4.9135 us/op 4.7487 us/op 1.03
OrderedSet add up to 64 items then delete last 6.5036 us/op 6.6310 us/op 0.98
Set add up to 64 items then delete middle 5.1039 us/op 4.7493 us/op 1.07
OrderedSet add up to 64 items then delete middle 7.4130 us/op 7.6816 us/op 0.97
Set add up to 128 items then delete first 9.6388 us/op 9.3242 us/op 1.03
OrderedSet add up to 128 items then delete first 12.185 us/op 11.527 us/op 1.06
Set add up to 128 items then delete last 10.376 us/op 9.3719 us/op 1.11
OrderedSet add up to 128 items then delete last 12.518 us/op 12.314 us/op 1.02
Set add up to 128 items then delete middle 10.015 us/op 9.4822 us/op 1.06
OrderedSet add up to 128 items then delete middle 18.889 us/op 18.019 us/op 1.05
Set add up to 256 items then delete first 19.743 us/op 19.464 us/op 1.01
OrderedSet add up to 256 items then delete first 26.446 us/op 25.276 us/op 1.05
Set add up to 256 items then delete last 20.966 us/op 20.329 us/op 1.03
OrderedSet add up to 256 items then delete last 26.749 us/op 27.129 us/op 0.99
Set add up to 256 items then delete middle 20.758 us/op 19.727 us/op 1.05
OrderedSet add up to 256 items then delete middle 50.570 us/op 49.227 us/op 1.03
transfer serialized Status (84 B) 2.0720 us/op 1.8820 us/op 1.10
copy serialized Status (84 B) 1.7610 us/op 1.6010 us/op 1.10
transfer serialized SignedVoluntaryExit (112 B) 2.1370 us/op 2.0200 us/op 1.06
copy serialized SignedVoluntaryExit (112 B) 1.8220 us/op 1.6620 us/op 1.10
transfer serialized ProposerSlashing (416 B) 2.4460 us/op 2.2020 us/op 1.11
copy serialized ProposerSlashing (416 B) 2.1540 us/op 2.1360 us/op 1.01
transfer serialized Attestation (485 B) 2.5510 us/op 2.2490 us/op 1.13
copy serialized Attestation (485 B) 2.2190 us/op 2.1370 us/op 1.04
transfer serialized AttesterSlashing (33232 B) 2.4160 us/op 2.3920 us/op 1.01
copy serialized AttesterSlashing (33232 B) 6.9480 us/op 5.9800 us/op 1.16
transfer serialized Small SignedBeaconBlock (128000 B) 2.7060 us/op 3.1120 us/op 0.87
copy serialized Small SignedBeaconBlock (128000 B) 19.243 us/op 15.186 us/op 1.27
transfer serialized Avg SignedBeaconBlock (200000 B) 2.9340 us/op 3.3900 us/op 0.87
copy serialized Avg SignedBeaconBlock (200000 B) 22.686 us/op 19.738 us/op 1.15
transfer serialized BlobsSidecar (524380 B) 2.8080 us/op 3.0670 us/op 0.92
copy serialized BlobsSidecar (524380 B) 116.91 us/op 110.47 us/op 1.06
transfer serialized Big SignedBeaconBlock (1000000 B) 3.0590 us/op 3.1000 us/op 0.99
copy serialized Big SignedBeaconBlock (1000000 B) 170.87 us/op 346.22 us/op 0.49
pass gossip attestations to forkchoice per slot 3.8490 ms/op 3.9482 ms/op 0.97
forkChoice updateHead vc 100000 bc 64 eq 0 701.24 us/op 743.52 us/op 0.94
forkChoice updateHead vc 600000 bc 64 eq 0 4.6204 ms/op 5.7262 ms/op 0.81
forkChoice updateHead vc 1000000 bc 64 eq 0 7.4339 ms/op 7.2084 ms/op 1.03
forkChoice updateHead vc 600000 bc 320 eq 0 4.6857 ms/op 4.2562 ms/op 1.10
forkChoice updateHead vc 600000 bc 1200 eq 0 4.7770 ms/op 4.3677 ms/op 1.09
forkChoice updateHead vc 600000 bc 7200 eq 0 8.1371 ms/op 5.1870 ms/op 1.57
forkChoice updateHead vc 600000 bc 64 eq 1000 12.450 ms/op 11.579 ms/op 1.08
forkChoice updateHead vc 600000 bc 64 eq 10000 12.520 ms/op 12.395 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 300000 17.314 ms/op 16.990 ms/op 1.02
computeDeltas 500000 validators 300 proto nodes 6.4465 ms/op 6.6508 ms/op 0.97
computeDeltas 500000 validators 1200 proto nodes 6.5324 ms/op 6.4675 ms/op 1.01
computeDeltas 500000 validators 7200 proto nodes 6.6015 ms/op 6.2914 ms/op 1.05
computeDeltas 750000 validators 300 proto nodes 9.9585 ms/op 9.5131 ms/op 1.05
computeDeltas 750000 validators 1200 proto nodes 10.236 ms/op 9.5162 ms/op 1.08
computeDeltas 750000 validators 7200 proto nodes 10.044 ms/op 9.4404 ms/op 1.06
computeDeltas 1400000 validators 300 proto nodes 18.486 ms/op 18.098 ms/op 1.02
computeDeltas 1400000 validators 1200 proto nodes 18.355 ms/op 18.678 ms/op 0.98
computeDeltas 1400000 validators 7200 proto nodes 18.131 ms/op 17.994 ms/op 1.01
computeDeltas 2100000 validators 300 proto nodes 27.085 ms/op 26.889 ms/op 1.01
computeDeltas 2100000 validators 1200 proto nodes 28.069 ms/op 27.378 ms/op 1.03
computeDeltas 2100000 validators 7200 proto nodes 28.962 ms/op 27.492 ms/op 1.05
computeProposerBoostScoreFromBalances 500000 validators 3.3301 ms/op 3.3976 ms/op 0.98
computeProposerBoostScoreFromBalances 750000 validators 3.3310 ms/op 3.5672 ms/op 0.93
computeProposerBoostScoreFromBalances 1400000 validators 3.3491 ms/op 3.4767 ms/op 0.96
computeProposerBoostScoreFromBalances 2100000 validators 3.3371 ms/op 3.4640 ms/op 0.96
altair processAttestation - 250000 vs - 7PWei normalcase 3.5828 ms/op 3.2103 ms/op 1.12
altair processAttestation - 250000 vs - 7PWei worstcase 4.4369 ms/op 4.2297 ms/op 1.05
altair processAttestation - setStatus - 1/6 committees join 155.97 us/op 182.84 us/op 0.85
altair processAttestation - setStatus - 1/3 committees join 284.71 us/op 386.99 us/op 0.74
altair processAttestation - setStatus - 1/2 committees join 391.16 us/op 543.79 us/op 0.72
altair processAttestation - setStatus - 2/3 committees join 509.97 us/op 664.44 us/op 0.77
altair processAttestation - setStatus - 4/5 committees join 698.66 us/op 875.17 us/op 0.80
altair processAttestation - setStatus - 100% committees join 834.09 us/op 995.38 us/op 0.84
altair processBlock - 250000 vs - 7PWei normalcase 9.7013 ms/op 10.930 ms/op 0.89
altair processBlock - 250000 vs - 7PWei normalcase hashState 17.549 ms/op 19.961 ms/op 0.88
altair processBlock - 250000 vs - 7PWei worstcase 43.081 ms/op 50.036 ms/op 0.86
altair processBlock - 250000 vs - 7PWei worstcase hashState 60.928 ms/op 71.556 ms/op 0.85
phase0 processBlock - 250000 vs - 7PWei normalcase 2.6569 ms/op 3.7020 ms/op 0.72
phase0 processBlock - 250000 vs - 7PWei worstcase 32.147 ms/op 39.018 ms/op 0.82
altair processEth1Data - 250000 vs - 7PWei normalcase 569.85 us/op 841.75 us/op 0.68
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 12.350 us/op 16.863 us/op 0.73
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 83.693 us/op 88.221 us/op 0.95
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 21.430 us/op 35.185 us/op 0.61
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.942 us/op 22.341 us/op 0.67
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 195.78 us/op 209.79 us/op 0.93
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.6384 ms/op 1.5308 ms/op 1.07
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.9296 ms/op 2.2632 ms/op 0.85
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5608 ms/op 2.0685 ms/op 0.75
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.7571 ms/op 4.8957 ms/op 0.77
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2887 ms/op 3.2184 ms/op 0.71
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.3887 ms/op 5.8792 ms/op 0.92
Tree 40 250000 create 357.95 ms/op 455.28 ms/op 0.79
Tree 40 250000 get(125000) 204.07 ns/op 221.72 ns/op 0.92
Tree 40 250000 set(125000) 994.97 ns/op 1.8772 us/op 0.53
Tree 40 250000 toArray() 21.783 ms/op 24.091 ms/op 0.90
Tree 40 250000 iterate all - toArray() + loop 23.235 ms/op 23.427 ms/op 0.99
Tree 40 250000 iterate all - get(i) 77.165 ms/op 77.730 ms/op 0.99
MutableVector 250000 create 15.440 ms/op 14.332 ms/op 1.08
MutableVector 250000 get(125000) 6.8330 ns/op 6.9160 ns/op 0.99
MutableVector 250000 set(125000) 284.77 ns/op 273.32 ns/op 1.04
MutableVector 250000 toArray() 4.2955 ms/op 3.9229 ms/op 1.09
MutableVector 250000 iterate all - toArray() + loop 4.3972 ms/op 4.2157 ms/op 1.04
MutableVector 250000 iterate all - get(i) 1.6015 ms/op 1.6225 ms/op 0.99
Array 250000 create 3.6576 ms/op 3.8333 ms/op 0.95
Array 250000 clone - spread 1.3094 ms/op 1.2246 ms/op 1.07
Array 250000 get(125000) 0.62900 ns/op 0.63700 ns/op 0.99
Array 250000 set(125000) 0.70400 ns/op 0.70400 ns/op 1.00
Array 250000 iterate all - loop 85.333 us/op 92.127 us/op 0.93
effectiveBalanceIncrements clone Uint8Array 300000 57.371 us/op 45.545 us/op 1.26
effectiveBalanceIncrements clone MutableVector 300000 366.00 ns/op 336.00 ns/op 1.09
effectiveBalanceIncrements rw all Uint8Array 300000 180.99 us/op 185.48 us/op 0.98
effectiveBalanceIncrements rw all MutableVector 300000 101.82 ms/op 100.22 ms/op 1.02
phase0 afterProcessEpoch - 250000 vs - 7PWei 120.71 ms/op 121.92 ms/op 0.99
phase0 beforeProcessEpoch - 250000 vs - 7PWei 36.841 ms/op 44.051 ms/op 0.84
altair processEpoch - mainnet_e81889 357.00 ms/op 354.24 ms/op 1.01
mainnet_e81889 - altair beforeProcessEpoch 69.922 ms/op 64.733 ms/op 1.08
mainnet_e81889 - altair processJustificationAndFinalization 20.567 us/op 16.998 us/op 1.21
mainnet_e81889 - altair processInactivityUpdates 6.6338 ms/op 6.7582 ms/op 0.98
mainnet_e81889 - altair processRewardsAndPenalties 76.145 ms/op 58.189 ms/op 1.31
mainnet_e81889 - altair processRegistryUpdates 3.0800 us/op 2.8610 us/op 1.08
mainnet_e81889 - altair processSlashings 534.00 ns/op 539.00 ns/op 0.99
mainnet_e81889 - altair processEth1DataReset 655.00 ns/op 559.00 ns/op 1.17
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3851 ms/op 1.3775 ms/op 1.01
mainnet_e81889 - altair processSlashingsReset 4.3010 us/op 4.0770 us/op 1.05
mainnet_e81889 - altair processRandaoMixesReset 7.9480 us/op 6.3550 us/op 1.25
mainnet_e81889 - altair processHistoricalRootsUpdate 861.00 ns/op 1.3060 us/op 0.66
mainnet_e81889 - altair processParticipationFlagUpdates 2.8850 us/op 2.5980 us/op 1.11
mainnet_e81889 - altair processSyncCommitteeUpdates 810.00 ns/op 734.00 ns/op 1.10
mainnet_e81889 - altair afterProcessEpoch 131.16 ms/op 132.89 ms/op 0.99
capella processEpoch - mainnet_e217614 1.0935 s/op 1.0963 s/op 1.00
mainnet_e217614 - capella beforeProcessEpoch 264.26 ms/op 268.20 ms/op 0.99
mainnet_e217614 - capella processJustificationAndFinalization 16.198 us/op 20.162 us/op 0.80
mainnet_e217614 - capella processInactivityUpdates 17.652 ms/op 19.075 ms/op 0.93
mainnet_e217614 - capella processRewardsAndPenalties 301.64 ms/op 312.37 ms/op 0.97
mainnet_e217614 - capella processRegistryUpdates 25.394 us/op 26.919 us/op 0.94
mainnet_e217614 - capella processSlashings 505.00 ns/op 760.00 ns/op 0.66
mainnet_e217614 - capella processEth1DataReset 516.00 ns/op 645.00 ns/op 0.80
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.2023 ms/op 4.3365 ms/op 0.97
mainnet_e217614 - capella processSlashingsReset 3.0010 us/op 6.0860 us/op 0.49
mainnet_e217614 - capella processRandaoMixesReset 4.7060 us/op 8.8660 us/op 0.53
mainnet_e217614 - capella processHistoricalRootsUpdate 859.00 ns/op 1.3330 us/op 0.64
mainnet_e217614 - capella processParticipationFlagUpdates 2.0840 us/op 2.6740 us/op 0.78
mainnet_e217614 - capella afterProcessEpoch 308.19 ms/op 330.74 ms/op 0.93
phase0 processEpoch - mainnet_e58758 345.47 ms/op 362.12 ms/op 0.95
mainnet_e58758 - phase0 beforeProcessEpoch 135.27 ms/op 169.95 ms/op 0.80
mainnet_e58758 - phase0 processJustificationAndFinalization 17.188 us/op 24.055 us/op 0.71
mainnet_e58758 - phase0 processRewardsAndPenalties 46.681 ms/op 60.793 ms/op 0.77
mainnet_e58758 - phase0 processRegistryUpdates 13.586 us/op 18.614 us/op 0.73
mainnet_e58758 - phase0 processSlashings 581.00 ns/op 782.00 ns/op 0.74
mainnet_e58758 - phase0 processEth1DataReset 487.00 ns/op 476.00 ns/op 1.02
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0695 ms/op 1.0873 ms/op 0.98
mainnet_e58758 - phase0 processSlashingsReset 2.4590 us/op 8.5890 us/op 0.29
mainnet_e58758 - phase0 processRandaoMixesReset 5.4170 us/op 15.501 us/op 0.35
mainnet_e58758 - phase0 processHistoricalRootsUpdate 918.00 ns/op 1.5190 us/op 0.60
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.9960 us/op 6.5650 us/op 0.91
mainnet_e58758 - phase0 afterProcessEpoch 107.16 ms/op 120.84 ms/op 0.89
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2579 ms/op 1.7137 ms/op 0.73
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4590 ms/op 2.2151 ms/op 0.66
altair processInactivityUpdates - 250000 normalcase 30.228 ms/op 24.620 ms/op 1.23
altair processInactivityUpdates - 250000 worstcase 27.226 ms/op 26.107 ms/op 1.04
phase0 processRegistryUpdates - 250000 normalcase 13.634 us/op 13.791 us/op 0.99
phase0 processRegistryUpdates - 250000 badcase_full_deposits 403.38 us/op 520.34 us/op 0.78
phase0 processRegistryUpdates - 250000 worstcase 0.5 150.83 ms/op 163.24 ms/op 0.92
altair processRewardsAndPenalties - 250000 normalcase 77.254 ms/op 66.784 ms/op 1.16
altair processRewardsAndPenalties - 250000 worstcase 80.923 ms/op 64.005 ms/op 1.26
phase0 getAttestationDeltas - 250000 normalcase 10.666 ms/op 10.836 ms/op 0.98
phase0 getAttestationDeltas - 250000 worstcase 9.9017 ms/op 10.911 ms/op 0.91
phase0 processSlashings - 250000 worstcase 2.9710 ms/op 2.7172 ms/op 1.09
altair processSyncCommitteeUpdates - 250000 166.57 ms/op 170.86 ms/op 0.97
BeaconState.hashTreeRoot - No change 296.00 ns/op 293.00 ns/op 1.01
BeaconState.hashTreeRoot - 1 full validator 55.840 us/op 55.692 us/op 1.00
BeaconState.hashTreeRoot - 32 full validator 576.71 us/op 595.78 us/op 0.97
BeaconState.hashTreeRoot - 512 full validator 6.3438 ms/op 7.1689 ms/op 0.88
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 72.783 us/op 73.223 us/op 0.99
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 996.88 us/op 1.0759 ms/op 0.93
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 12.491 ms/op 14.836 ms/op 0.84
BeaconState.hashTreeRoot - 1 balances 52.212 us/op 55.666 us/op 0.94
BeaconState.hashTreeRoot - 32 balances 468.76 us/op 508.74 us/op 0.92
BeaconState.hashTreeRoot - 512 balances 4.3997 ms/op 4.9460 ms/op 0.89
BeaconState.hashTreeRoot - 250000 balances 83.005 ms/op 77.556 ms/op 1.07
aggregationBits - 2048 els - zipIndexesInBitList 17.566 us/op 30.007 us/op 0.59
regular array get 100000 times 35.418 us/op 46.951 us/op 0.75
wrappedArray get 100000 times 35.938 us/op 45.969 us/op 0.78
arrayWithProxy get 100000 times 15.082 ms/op 14.954 ms/op 1.01
ssz.Root.equals 267.00 ns/op 281.00 ns/op 0.95
byteArrayEquals 270.00 ns/op 292.00 ns/op 0.92
shuffle list - 16384 els 7.4640 ms/op 7.5871 ms/op 0.98
shuffle list - 250000 els 108.26 ms/op 110.43 ms/op 0.98
processSlot - 1 slots 9.2010 us/op 10.291 us/op 0.89
processSlot - 32 slots 1.5549 ms/op 1.5143 ms/op 1.03
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 61.797 ms/op 53.470 ms/op 1.16
getCommitteeAssignments - req 1 vs - 250000 vc 2.6002 ms/op 2.6728 ms/op 0.97
getCommitteeAssignments - req 100 vs - 250000 vc 3.7899 ms/op 3.8508 ms/op 0.98
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1311 ms/op 4.2301 ms/op 0.98
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.3200 ns/op 5.0400 ns/op 1.06
state getBlockRootAtSlot - 250000 vs - 7PWei 878.08 ns/op 581.58 ns/op 1.51
computeProposers - vc 250000 9.4840 ms/op 9.6278 ms/op 0.99
computeEpochShuffling - vc 250000 109.20 ms/op 113.96 ms/op 0.96
getNextSyncCommittee - vc 250000 165.37 ms/op 161.24 ms/op 1.03
computeSigningRoot for AttestationData 14.584 us/op 13.385 us/op 1.09
hash AttestationData serialized data then Buffer.toString(base64) 2.4013 us/op 2.4209 us/op 0.99
toHexString serialized data 1.3658 us/op 1.2551 us/op 1.09
Buffer.toString(base64) 261.53 ns/op 238.71 ns/op 1.10

by benchmarkbot/action

@wemeetagain
Copy link
Member Author

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

1 participant