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 #5931

Merged
merged 3 commits into from
Sep 2, 2023
Merged

chore: merge stable to unstable #5931

merged 3 commits into from
Sep 2, 2023

Conversation

wemeetagain
Copy link
Member

No description provided.

@wemeetagain wemeetagain requested a review from a team as a code owner September 2, 2023 13:31
@wemeetagain wemeetagain merged commit 22d32d7 into unstable Sep 2, 2023
18 of 20 checks passed
@github-actions
Copy link
Contributor

github-actions bot commented Sep 2, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 121eeec Previous: acb787a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 467.36 us/op 710.33 us/op 0.66
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 77.789 us/op 79.150 us/op 0.98
BLS verify - blst-native 1.3016 ms/op 1.3167 ms/op 0.99
BLS verifyMultipleSignatures 3 - blst-native 2.7203 ms/op 2.7036 ms/op 1.01
BLS verifyMultipleSignatures 8 - blst-native 6.0244 ms/op 6.0642 ms/op 0.99
BLS verifyMultipleSignatures 32 - blst-native 21.877 ms/op 22.661 ms/op 0.97
BLS verifyMultipleSignatures 64 - blst-native 43.247 ms/op 44.767 ms/op 0.97
BLS verifyMultipleSignatures 128 - blst-native 85.802 ms/op 87.452 ms/op 0.98
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3239 ms/op 1.3466 ms/op 0.98
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4943 ms/op 1.5514 ms/op 0.96
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4521 ms/op 2.3436 ms/op 1.05
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4088 ms/op 3.3736 ms/op 1.01
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.5612 ms/op 5.4236 ms/op 1.03
BLS aggregatePubkeys 32 - blst-native 25.683 us/op 24.749 us/op 1.04
BLS aggregatePubkeys 128 - blst-native 99.995 us/op 97.200 us/op 1.03
getAttestationsForBlock 40.626 ms/op 41.479 ms/op 0.98
isKnown best case - 1 super set check 277.00 ns/op 266.00 ns/op 1.04
isKnown normal case - 2 super set checks 265.00 ns/op 267.00 ns/op 0.99
isKnown worse case - 16 super set checks 280.00 ns/op 259.00 ns/op 1.08
CheckpointStateCache - add get delete 5.0780 us/op 4.9580 us/op 1.02
validate api signedAggregateAndProof - struct 2.7457 ms/op 2.7579 ms/op 1.00
validate gossip signedAggregateAndProof - struct 2.7507 ms/op 2.7481 ms/op 1.00
validate gossip attestation - vc 640000 1.3342 ms/op 1.3060 ms/op 1.02
batch validate gossip attestation - vc 640000 - chunk 32 148.12 us/op 145.60 us/op 1.02
batch validate gossip attestation - vc 640000 - chunk 64 127.82 us/op 124.38 us/op 1.03
batch validate gossip attestation - vc 640000 - chunk 128 119.85 us/op 115.44 us/op 1.04
batch validate gossip attestation - vc 640000 - chunk 256 112.66 us/op 109.72 us/op 1.03
pickEth1Vote - no votes 1.2704 ms/op 1.0930 ms/op 1.16
pickEth1Vote - max votes 10.422 ms/op 12.180 ms/op 0.86
pickEth1Vote - Eth1Data hashTreeRoot value x2048 8.7548 ms/op 8.3945 ms/op 1.04
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 13.879 ms/op 15.634 ms/op 0.89
pickEth1Vote - Eth1Data fastSerialize value x2048 639.93 us/op 557.95 us/op 1.15
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.1821 ms/op 6.3601 ms/op 0.81
bytes32 toHexString 527.00 ns/op 459.00 ns/op 1.15
bytes32 Buffer.toString(hex) 276.00 ns/op 284.00 ns/op 0.97
bytes32 Buffer.toString(hex) from Uint8Array 409.00 ns/op 424.00 ns/op 0.96
bytes32 Buffer.toString(hex) + 0x 279.00 ns/op 277.00 ns/op 1.01
Object access 1 prop 0.14800 ns/op 0.15200 ns/op 0.97
Map access 1 prop 0.13900 ns/op 0.14100 ns/op 0.99
Object get x1000 7.0350 ns/op 6.8800 ns/op 1.02
Map get x1000 0.60900 ns/op 0.58200 ns/op 1.05
Object set x1000 49.193 ns/op 45.989 ns/op 1.07
Map set x1000 38.612 ns/op 35.779 ns/op 1.08
Return object 10000 times 0.24120 ns/op 0.24060 ns/op 1.00
Throw Error 10000 times 3.7961 us/op 3.7863 us/op 1.00
fastMsgIdFn sha256 / 200 bytes 3.2710 us/op 3.2160 us/op 1.02
fastMsgIdFn h32 xxhash / 200 bytes 264.00 ns/op 254.00 ns/op 1.04
fastMsgIdFn h64 xxhash / 200 bytes 332.00 ns/op 333.00 ns/op 1.00
fastMsgIdFn sha256 / 1000 bytes 11.404 us/op 11.140 us/op 1.02
fastMsgIdFn h32 xxhash / 1000 bytes 412.00 ns/op 386.00 ns/op 1.07
fastMsgIdFn h64 xxhash / 1000 bytes 412.00 ns/op 402.00 ns/op 1.02
fastMsgIdFn sha256 / 10000 bytes 101.84 us/op 101.83 us/op 1.00
fastMsgIdFn h32 xxhash / 10000 bytes 1.9250 us/op 1.8670 us/op 1.03
fastMsgIdFn h64 xxhash / 10000 bytes 1.3230 us/op 1.2660 us/op 1.05
enrSubnets - fastDeserialize 64 bits 1.2070 us/op 1.2290 us/op 0.98
enrSubnets - ssz BitVector 64 bits 425.00 ns/op 409.00 ns/op 1.04
enrSubnets - fastDeserialize 4 bits 157.00 ns/op 156.00 ns/op 1.01
enrSubnets - ssz BitVector 4 bits 425.00 ns/op 414.00 ns/op 1.03
prioritizePeers score -10:0 att 32-0.1 sync 2-0 103.22 us/op 99.927 us/op 1.03
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 126.75 us/op 119.56 us/op 1.06
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 168.43 us/op 157.74 us/op 1.07
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 294.35 us/op 294.26 us/op 1.00
prioritizePeers score 0:0 att 64-1 sync 4-1 345.18 us/op 330.58 us/op 1.04
array of 16000 items push then shift 1.6186 us/op 1.5742 us/op 1.03
LinkedList of 16000 items push then shift 8.8590 ns/op 8.8660 ns/op 1.00
array of 16000 items push then pop 73.752 ns/op 62.560 ns/op 1.18
LinkedList of 16000 items push then pop 8.5580 ns/op 8.2720 ns/op 1.03
array of 24000 items push then shift 2.3642 us/op 2.2809 us/op 1.04
LinkedList of 24000 items push then shift 8.7500 ns/op 8.5210 ns/op 1.03
array of 24000 items push then pop 98.424 ns/op 83.121 ns/op 1.18
LinkedList of 24000 items push then pop 8.3810 ns/op 8.4830 ns/op 0.99
intersect bitArray bitLen 8 6.6110 ns/op 6.6240 ns/op 1.00
intersect array and set length 8 53.344 ns/op 52.967 ns/op 1.01
intersect bitArray bitLen 128 30.866 ns/op 31.095 ns/op 0.99
intersect array and set length 128 745.32 ns/op 872.33 ns/op 0.85
bitArray.getTrueBitIndexes() bitLen 128 1.4410 us/op 1.4140 us/op 1.02
bitArray.getTrueBitIndexes() bitLen 248 2.6000 us/op 2.3470 us/op 1.11
bitArray.getTrueBitIndexes() bitLen 512 4.7390 us/op 4.4610 us/op 1.06
Buffer.concat 32 items 918.00 ns/op 933.00 ns/op 0.98
Uint8Array.set 32 items 1.6100 us/op 2.3910 us/op 0.67
Set add up to 64 items then delete first 4.3933 us/op 4.2148 us/op 1.04
OrderedSet add up to 64 items then delete first 5.3866 us/op 5.2714 us/op 1.02
Set add up to 64 items then delete last 4.5940 us/op 4.4761 us/op 1.03
OrderedSet add up to 64 items then delete last 6.0627 us/op 5.5994 us/op 1.08
Set add up to 64 items then delete middle 4.7981 us/op 4.4586 us/op 1.08
OrderedSet add up to 64 items then delete middle 7.6037 us/op 6.8288 us/op 1.11
Set add up to 128 items then delete first 9.8185 us/op 9.2035 us/op 1.07
OrderedSet add up to 128 items then delete first 12.111 us/op 11.884 us/op 1.02
Set add up to 128 items then delete last 9.7032 us/op 8.9794 us/op 1.08
OrderedSet add up to 128 items then delete last 12.587 us/op 11.314 us/op 1.11
Set add up to 128 items then delete middle 9.4942 us/op 8.9221 us/op 1.06
OrderedSet add up to 128 items then delete middle 17.857 us/op 16.525 us/op 1.08
Set add up to 256 items then delete first 19.686 us/op 17.917 us/op 1.10
OrderedSet add up to 256 items then delete first 25.204 us/op 23.905 us/op 1.05
Set add up to 256 items then delete last 19.531 us/op 17.352 us/op 1.13
OrderedSet add up to 256 items then delete last 26.048 us/op 22.188 us/op 1.17
Set add up to 256 items then delete middle 19.422 us/op 17.437 us/op 1.11
OrderedSet add up to 256 items then delete middle 46.991 us/op 43.304 us/op 1.09
transfer serialized Status (84 B) 1.7790 us/op 1.7100 us/op 1.04
copy serialized Status (84 B) 1.5330 us/op 1.6310 us/op 0.94
transfer serialized SignedVoluntaryExit (112 B) 1.9110 us/op 2.1860 us/op 0.87
copy serialized SignedVoluntaryExit (112 B) 1.6630 us/op 1.8210 us/op 0.91
transfer serialized ProposerSlashing (416 B) 2.1640 us/op 2.6360 us/op 0.82
copy serialized ProposerSlashing (416 B) 2.1470 us/op 2.1390 us/op 1.00
transfer serialized Attestation (485 B) 2.2620 us/op 2.2640 us/op 1.00
copy serialized Attestation (485 B) 2.0390 us/op 2.1130 us/op 0.96
transfer serialized AttesterSlashing (33232 B) 2.1250 us/op 2.3050 us/op 0.92
copy serialized AttesterSlashing (33232 B) 5.4920 us/op 5.8950 us/op 0.93
transfer serialized Small SignedBeaconBlock (128000 B) 2.4180 us/op 2.9580 us/op 0.82
copy serialized Small SignedBeaconBlock (128000 B) 14.347 us/op 13.272 us/op 1.08
transfer serialized Avg SignedBeaconBlock (200000 B) 2.7490 us/op 3.6460 us/op 0.75
copy serialized Avg SignedBeaconBlock (200000 B) 19.393 us/op 18.853 us/op 1.03
transfer serialized BlobsSidecar (524380 B) 2.7610 us/op 3.2650 us/op 0.85
copy serialized BlobsSidecar (524380 B) 89.686 us/op 127.68 us/op 0.70
transfer serialized Big SignedBeaconBlock (1000000 B) 3.1380 us/op 3.1640 us/op 0.99
copy serialized Big SignedBeaconBlock (1000000 B) 163.96 us/op 154.11 us/op 1.06
pass gossip attestations to forkchoice per slot 3.8769 ms/op 3.7505 ms/op 1.03
forkChoice updateHead vc 100000 bc 64 eq 0 676.18 us/op 666.66 us/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 0 4.4144 ms/op 5.0106 ms/op 0.88
forkChoice updateHead vc 1000000 bc 64 eq 0 7.6958 ms/op 6.9467 ms/op 1.11
forkChoice updateHead vc 600000 bc 320 eq 0 4.1952 ms/op 4.1790 ms/op 1.00
forkChoice updateHead vc 600000 bc 1200 eq 0 4.3045 ms/op 4.2750 ms/op 1.01
forkChoice updateHead vc 600000 bc 7200 eq 0 5.3552 ms/op 5.3176 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 1000 11.458 ms/op 11.197 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 10000 12.358 ms/op 12.158 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 300000 15.866 ms/op 16.482 ms/op 0.96
computeDeltas 500000 validators 300 proto nodes 6.2990 ms/op 6.2881 ms/op 1.00
computeDeltas 500000 validators 1200 proto nodes 6.2064 ms/op 6.2555 ms/op 0.99
computeDeltas 500000 validators 7200 proto nodes 6.2111 ms/op 6.2582 ms/op 0.99
computeDeltas 750000 validators 300 proto nodes 9.4367 ms/op 9.6110 ms/op 0.98
computeDeltas 750000 validators 1200 proto nodes 9.5168 ms/op 9.5266 ms/op 1.00
computeDeltas 750000 validators 7200 proto nodes 9.5086 ms/op 9.3493 ms/op 1.02
computeDeltas 1400000 validators 300 proto nodes 17.905 ms/op 17.720 ms/op 1.01
computeDeltas 1400000 validators 1200 proto nodes 18.093 ms/op 18.008 ms/op 1.00
computeDeltas 1400000 validators 7200 proto nodes 17.896 ms/op 17.813 ms/op 1.00
computeDeltas 2100000 validators 300 proto nodes 26.833 ms/op 27.275 ms/op 0.98
computeDeltas 2100000 validators 1200 proto nodes 26.796 ms/op 27.521 ms/op 0.97
computeDeltas 2100000 validators 7200 proto nodes 27.265 ms/op 27.154 ms/op 1.00
computeProposerBoostScoreFromBalances 500000 validators 3.2019 ms/op 3.2582 ms/op 0.98
computeProposerBoostScoreFromBalances 750000 validators 3.1768 ms/op 3.2512 ms/op 0.98
computeProposerBoostScoreFromBalances 1400000 validators 3.1781 ms/op 3.2860 ms/op 0.97
computeProposerBoostScoreFromBalances 2100000 validators 3.2083 ms/op 3.2910 ms/op 0.97
altair processAttestation - 250000 vs - 7PWei normalcase 2.0485 ms/op 2.1233 ms/op 0.96
altair processAttestation - 250000 vs - 7PWei worstcase 3.1586 ms/op 3.5579 ms/op 0.89
altair processAttestation - setStatus - 1/6 committees join 143.54 us/op 146.95 us/op 0.98
altair processAttestation - setStatus - 1/3 committees join 283.71 us/op 272.66 us/op 1.04
altair processAttestation - setStatus - 1/2 committees join 381.68 us/op 380.73 us/op 1.00
altair processAttestation - setStatus - 2/3 committees join 488.78 us/op 477.17 us/op 1.02
altair processAttestation - setStatus - 4/5 committees join 653.25 us/op 668.23 us/op 0.98
altair processAttestation - setStatus - 100% committees join 786.07 us/op 779.81 us/op 1.01
altair processBlock - 250000 vs - 7PWei normalcase 9.0851 ms/op 10.322 ms/op 0.88
altair processBlock - 250000 vs - 7PWei normalcase hashState 15.995 ms/op 17.648 ms/op 0.91
altair processBlock - 250000 vs - 7PWei worstcase 37.003 ms/op 40.180 ms/op 0.92
altair processBlock - 250000 vs - 7PWei worstcase hashState 57.350 ms/op 58.595 ms/op 0.98
phase0 processBlock - 250000 vs - 7PWei normalcase 2.8553 ms/op 3.4908 ms/op 0.82
phase0 processBlock - 250000 vs - 7PWei worstcase 29.821 ms/op 29.247 ms/op 1.02
altair processEth1Data - 250000 vs - 7PWei normalcase 468.44 us/op 583.35 us/op 0.80
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 11.905 us/op 16.456 us/op 0.72
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 62.116 us/op 100.03 us/op 0.62
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 18.455 us/op 29.554 us/op 0.62
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 10.210 us/op 8.3350 us/op 1.22
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 134.64 us/op 280.93 us/op 0.48
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3482 ms/op 2.0731 ms/op 0.65
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.4910 ms/op 2.8243 ms/op 0.53
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5352 ms/op 2.5745 ms/op 0.60
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.1883 ms/op 3.0981 ms/op 1.03
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.5090 ms/op 2.1612 ms/op 1.16
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.0176 ms/op 4.3511 ms/op 1.15
Tree 40 250000 create 317.73 ms/op 335.75 ms/op 0.95
Tree 40 250000 get(125000) 192.00 ns/op 194.42 ns/op 0.99
Tree 40 250000 set(125000) 897.65 ns/op 942.09 ns/op 0.95
Tree 40 250000 toArray() 17.713 ms/op 17.165 ms/op 1.03
Tree 40 250000 iterate all - toArray() + loop 19.951 ms/op 17.469 ms/op 1.14
Tree 40 250000 iterate all - get(i) 67.986 ms/op 66.166 ms/op 1.03
MutableVector 250000 create 12.702 ms/op 17.349 ms/op 0.73
MutableVector 250000 get(125000) 6.3860 ns/op 6.4440 ns/op 0.99
MutableVector 250000 set(125000) 239.01 ns/op 236.50 ns/op 1.01
MutableVector 250000 toArray() 2.6510 ms/op 2.8912 ms/op 0.92
MutableVector 250000 iterate all - toArray() + loop 3.0652 ms/op 3.0062 ms/op 1.02
MutableVector 250000 iterate all - get(i) 1.5121 ms/op 1.6006 ms/op 0.94
Array 250000 create 2.6326 ms/op 2.6766 ms/op 0.98
Array 250000 clone - spread 1.0461 ms/op 1.0438 ms/op 1.00
Array 250000 get(125000) 0.51000 ns/op 0.52500 ns/op 0.97
Array 250000 set(125000) 0.58100 ns/op 0.59700 ns/op 0.97
Array 250000 iterate all - loop 81.999 us/op 81.852 us/op 1.00
effectiveBalanceIncrements clone Uint8Array 300000 22.930 us/op 22.977 us/op 1.00
effectiveBalanceIncrements clone MutableVector 300000 282.00 ns/op 290.00 ns/op 0.97
effectiveBalanceIncrements rw all Uint8Array 300000 175.35 us/op 177.18 us/op 0.99
effectiveBalanceIncrements rw all MutableVector 300000 77.022 ms/op 77.489 ms/op 0.99
phase0 afterProcessEpoch - 250000 vs - 7PWei 116.15 ms/op 113.21 ms/op 1.03
phase0 beforeProcessEpoch - 250000 vs - 7PWei 37.640 ms/op 44.469 ms/op 0.85
altair processEpoch - mainnet_e81889 314.96 ms/op 350.67 ms/op 0.90
mainnet_e81889 - altair beforeProcessEpoch 61.094 ms/op 62.558 ms/op 0.98
mainnet_e81889 - altair processJustificationAndFinalization 14.924 us/op 23.344 us/op 0.64
mainnet_e81889 - altair processInactivityUpdates 5.6166 ms/op 5.8379 ms/op 0.96
mainnet_e81889 - altair processRewardsAndPenalties 66.122 ms/op 79.566 ms/op 0.83
mainnet_e81889 - altair processRegistryUpdates 2.7150 us/op 4.2670 us/op 0.64
mainnet_e81889 - altair processSlashings 429.00 ns/op 706.00 ns/op 0.61
mainnet_e81889 - altair processEth1DataReset 530.00 ns/op 886.00 ns/op 0.60
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2556 ms/op 2.3907 ms/op 0.53
mainnet_e81889 - altair processSlashingsReset 3.3690 us/op 3.7890 us/op 0.89
mainnet_e81889 - altair processRandaoMixesReset 7.3990 us/op 6.6530 us/op 1.11
mainnet_e81889 - altair processHistoricalRootsUpdate 701.00 ns/op 689.00 ns/op 1.02
mainnet_e81889 - altair processParticipationFlagUpdates 2.3310 us/op 2.4840 us/op 0.94
mainnet_e81889 - altair processSyncCommitteeUpdates 529.00 ns/op 1.1120 us/op 0.48
mainnet_e81889 - altair afterProcessEpoch 124.64 ms/op 125.10 ms/op 1.00
capella processEpoch - mainnet_e217614 1.0193 s/op 1.0763 s/op 0.95
mainnet_e217614 - capella beforeProcessEpoch 260.03 ms/op 232.62 ms/op 1.12
mainnet_e217614 - capella processJustificationAndFinalization 16.774 us/op 22.487 us/op 0.75
mainnet_e217614 - capella processInactivityUpdates 20.073 ms/op 18.076 ms/op 1.11
mainnet_e217614 - capella processRewardsAndPenalties 290.84 ms/op 351.96 ms/op 0.83
mainnet_e217614 - capella processRegistryUpdates 18.107 us/op 26.374 us/op 0.69
mainnet_e217614 - capella processSlashings 492.00 ns/op 870.00 ns/op 0.57
mainnet_e217614 - capella processEth1DataReset 521.00 ns/op 759.00 ns/op 0.69
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.0443 ms/op 3.9414 ms/op 1.03
mainnet_e217614 - capella processSlashingsReset 2.9180 us/op 3.5920 us/op 0.81
mainnet_e217614 - capella processRandaoMixesReset 4.1240 us/op 6.1610 us/op 0.67
mainnet_e217614 - capella processHistoricalRootsUpdate 599.00 ns/op 961.00 ns/op 0.62
mainnet_e217614 - capella processParticipationFlagUpdates 2.4720 us/op 2.3960 us/op 1.03
mainnet_e217614 - capella afterProcessEpoch 299.67 ms/op 311.72 ms/op 0.96
phase0 processEpoch - mainnet_e58758 328.27 ms/op 382.52 ms/op 0.86
mainnet_e58758 - phase0 beforeProcessEpoch 114.71 ms/op 132.50 ms/op 0.87
mainnet_e58758 - phase0 processJustificationAndFinalization 15.402 us/op 22.488 us/op 0.68
mainnet_e58758 - phase0 processRewardsAndPenalties 50.622 ms/op 68.808 ms/op 0.74
mainnet_e58758 - phase0 processRegistryUpdates 8.9410 us/op 16.154 us/op 0.55
mainnet_e58758 - phase0 processSlashings 508.00 ns/op 821.00 ns/op 0.62
mainnet_e58758 - phase0 processEth1DataReset 399.00 ns/op 748.00 ns/op 0.53
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0233 ms/op 1.9495 ms/op 0.52
mainnet_e58758 - phase0 processSlashingsReset 2.2190 us/op 3.7450 us/op 0.59
mainnet_e58758 - phase0 processRandaoMixesReset 4.2490 us/op 6.3200 us/op 0.67
mainnet_e58758 - phase0 processHistoricalRootsUpdate 451.00 ns/op 734.00 ns/op 0.61
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.6490 us/op 6.1690 us/op 0.59
mainnet_e58758 - phase0 afterProcessEpoch 97.323 ms/op 93.230 ms/op 1.04
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2165 ms/op 1.7405 ms/op 0.70
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4402 ms/op 1.3380 ms/op 1.08
altair processInactivityUpdates - 250000 normalcase 19.651 ms/op 26.108 ms/op 0.75
altair processInactivityUpdates - 250000 worstcase 19.172 ms/op 26.925 ms/op 0.71
phase0 processRegistryUpdates - 250000 normalcase 9.5230 us/op 11.814 us/op 0.81
phase0 processRegistryUpdates - 250000 badcase_full_deposits 340.53 us/op 617.25 us/op 0.55
phase0 processRegistryUpdates - 250000 worstcase 0.5 118.54 ms/op 125.57 ms/op 0.94
altair processRewardsAndPenalties - 250000 normalcase 54.956 ms/op 71.598 ms/op 0.77
altair processRewardsAndPenalties - 250000 worstcase 54.423 ms/op 73.607 ms/op 0.74
phase0 getAttestationDeltas - 250000 normalcase 7.6256 ms/op 6.8041 ms/op 1.12
phase0 getAttestationDeltas - 250000 worstcase 7.6166 ms/op 6.7196 ms/op 1.13
phase0 processSlashings - 250000 worstcase 2.1095 ms/op 2.1800 ms/op 0.97
altair processSyncCommitteeUpdates - 250000 147.88 ms/op 144.54 ms/op 1.02
BeaconState.hashTreeRoot - No change 259.00 ns/op 257.00 ns/op 1.01
BeaconState.hashTreeRoot - 1 full validator 49.623 us/op 66.280 us/op 0.75
BeaconState.hashTreeRoot - 32 full validator 502.08 us/op 580.06 us/op 0.87
BeaconState.hashTreeRoot - 512 full validator 5.0753 ms/op 6.3962 ms/op 0.79
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 61.269 us/op 75.470 us/op 0.81
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 839.82 us/op 878.70 us/op 0.96
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 11.144 ms/op 12.665 ms/op 0.88
BeaconState.hashTreeRoot - 1 balances 49.222 us/op 57.990 us/op 0.85
BeaconState.hashTreeRoot - 32 balances 443.37 us/op 576.55 us/op 0.77
BeaconState.hashTreeRoot - 512 balances 4.2610 ms/op 4.6680 ms/op 0.91
BeaconState.hashTreeRoot - 250000 balances 71.804 ms/op 94.852 ms/op 0.76
aggregationBits - 2048 els - zipIndexesInBitList 15.425 us/op 16.567 us/op 0.93
regular array get 100000 times 32.767 us/op 31.237 us/op 1.05
wrappedArray get 100000 times 32.810 us/op 31.320 us/op 1.05
arrayWithProxy get 100000 times 14.277 ms/op 14.349 ms/op 0.99
ssz.Root.equals 212.00 ns/op 206.00 ns/op 1.03
byteArrayEquals 215.00 ns/op 199.00 ns/op 1.08
shuffle list - 16384 els 6.7905 ms/op 6.6329 ms/op 1.02
shuffle list - 250000 els 100.40 ms/op 97.232 ms/op 1.03
processSlot - 1 slots 8.7710 us/op 8.5630 us/op 1.02
processSlot - 32 slots 1.3623 ms/op 1.2761 ms/op 1.07
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 46.637 ms/op 53.592 ms/op 0.87
getCommitteeAssignments - req 1 vs - 250000 vc 2.4501 ms/op 2.4942 ms/op 0.98
getCommitteeAssignments - req 100 vs - 250000 vc 3.6112 ms/op 3.6759 ms/op 0.98
getCommitteeAssignments - req 1000 vs - 250000 vc 3.9456 ms/op 4.0186 ms/op 0.98
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5500 ns/op 4.6900 ns/op 0.97
state getBlockRootAtSlot - 250000 vs - 7PWei 608.53 ns/op 1.0307 us/op 0.59
computeProposers - vc 250000 8.8712 ms/op 9.2188 ms/op 0.96
computeEpochShuffling - vc 250000 103.90 ms/op 103.12 ms/op 1.01
getNextSyncCommittee - vc 250000 157.47 ms/op 161.03 ms/op 0.98
computeSigningRoot for AttestationData 13.375 us/op 13.305 us/op 1.01
hash AttestationData serialized data then Buffer.toString(base64) 2.3253 us/op 2.2393 us/op 1.04
toHexString serialized data 1.0625 us/op 1.0294 us/op 1.03
Buffer.toString(base64) 210.26 ns/op 213.48 ns/op 0.98

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.

2 participants