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: remove reference to sharding #5975

Merged
merged 1 commit into from
Sep 21, 2023
Merged

Conversation

wemeetagain
Copy link
Member

Motivation

Description

  • remove stale reference to sharding

@wemeetagain wemeetagain requested a review from a team as a code owner September 20, 2023 15:44
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 974d33a Previous: f77b774 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 764.25 us/op 908.02 us/op 0.84
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 81.996 us/op 86.306 us/op 0.95
BLS verify - blst-native 1.2822 ms/op 1.3130 ms/op 0.98
BLS verifyMultipleSignatures 3 - blst-native 2.7088 ms/op 2.7845 ms/op 0.97
BLS verifyMultipleSignatures 8 - blst-native 5.9482 ms/op 6.1223 ms/op 0.97
BLS verifyMultipleSignatures 32 - blst-native 21.352 ms/op 23.103 ms/op 0.92
BLS verifyMultipleSignatures 64 - blst-native 43.158 ms/op 45.957 ms/op 0.94
BLS verifyMultipleSignatures 128 - blst-native 86.335 ms/op 91.259 ms/op 0.95
BLS deserializing 10000 signatures 885.84 ms/op 963.06 ms/op 0.92
BLS deserializing 100000 signatures 8.9908 s/op 9.5611 s/op 0.94
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3362 ms/op 1.5070 ms/op 0.89
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5455 ms/op 1.5976 ms/op 0.97
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3448 ms/op 2.5190 ms/op 0.93
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.7597 ms/op 3.6500 ms/op 1.03
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.6559 ms/op 6.0151 ms/op 0.94
BLS aggregatePubkeys 32 - blst-native 25.661 us/op 27.376 us/op 0.94
BLS aggregatePubkeys 128 - blst-native 100.90 us/op 105.35 us/op 0.96
getAttestationsForBlock 37.269 ms/op 46.889 ms/op 0.79
isKnown best case - 1 super set check 306.00 ns/op 452.00 ns/op 0.68
isKnown normal case - 2 super set checks 288.00 ns/op 399.00 ns/op 0.72
isKnown worse case - 16 super set checks 281.00 ns/op 412.00 ns/op 0.68
CheckpointStateCache - add get delete 5.2760 us/op 5.7720 us/op 0.91
validate api signedAggregateAndProof - struct 2.7880 ms/op 2.8896 ms/op 0.96
validate gossip signedAggregateAndProof - struct 2.8036 ms/op 2.9352 ms/op 0.96
validate gossip attestation - vc 640000 1.3796 ms/op 1.4570 ms/op 0.95
batch validate gossip attestation - vc 640000 - chunk 32 170.47 us/op 188.50 us/op 0.90
batch validate gossip attestation - vc 640000 - chunk 64 155.41 us/op 171.03 us/op 0.91
batch validate gossip attestation - vc 640000 - chunk 128 137.62 us/op 153.27 us/op 0.90
batch validate gossip attestation - vc 640000 - chunk 256 131.68 us/op 148.56 us/op 0.89
pickEth1Vote - no votes 1.2292 ms/op 1.2864 ms/op 0.96
pickEth1Vote - max votes 9.5390 ms/op 11.382 ms/op 0.84
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.913 ms/op 21.899 ms/op 0.82
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.090 ms/op 27.729 ms/op 0.76
pickEth1Vote - Eth1Data fastSerialize value x2048 628.64 us/op 681.86 us/op 0.92
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.1129 ms/op 5.6529 ms/op 0.73
bytes32 toHexString 464.00 ns/op 608.00 ns/op 0.76
bytes32 Buffer.toString(hex) 279.00 ns/op 314.00 ns/op 0.89
bytes32 Buffer.toString(hex) from Uint8Array 437.00 ns/op 465.00 ns/op 0.94
bytes32 Buffer.toString(hex) + 0x 283.00 ns/op 303.00 ns/op 0.93
Object access 1 prop 0.17100 ns/op 0.18100 ns/op 0.94
Map access 1 prop 0.14800 ns/op 0.15800 ns/op 0.94
Object get x1000 7.8250 ns/op 7.1680 ns/op 1.09
Map get x1000 0.53400 ns/op 0.66400 ns/op 0.80
Object set x1000 51.670 ns/op 59.662 ns/op 0.87
Map set x1000 43.930 ns/op 45.399 ns/op 0.97
Return object 10000 times 0.24370 ns/op 0.25770 ns/op 0.95
Throw Error 10000 times 3.8059 us/op 4.3166 us/op 0.88
fastMsgIdFn sha256 / 200 bytes 3.3150 us/op 3.5370 us/op 0.94
fastMsgIdFn h32 xxhash / 200 bytes 283.00 ns/op 309.00 ns/op 0.92
fastMsgIdFn h64 xxhash / 200 bytes 349.00 ns/op 377.00 ns/op 0.93
fastMsgIdFn sha256 / 1000 bytes 11.513 us/op 12.420 us/op 0.93
fastMsgIdFn h32 xxhash / 1000 bytes 427.00 ns/op 454.00 ns/op 0.94
fastMsgIdFn h64 xxhash / 1000 bytes 425.00 ns/op 450.00 ns/op 0.94
fastMsgIdFn sha256 / 10000 bytes 104.13 us/op 108.89 us/op 0.96
fastMsgIdFn h32 xxhash / 10000 bytes 1.9730 us/op 2.0180 us/op 0.98
fastMsgIdFn h64 xxhash / 10000 bytes 1.3680 us/op 1.3800 us/op 0.99
send data - 1000 256B messages 18.918 ms/op 20.630 ms/op 0.92
send data - 1000 512B messages 25.585 ms/op 29.641 ms/op 0.86
send data - 1000 1024B messages 41.161 ms/op 43.271 ms/op 0.95
send data - 1000 1200B messages 21.161 ms/op 33.387 ms/op 0.63
send data - 1000 2048B messages 31.655 ms/op 37.627 ms/op 0.84
send data - 1000 4096B messages 33.756 ms/op 32.153 ms/op 1.05
send data - 1000 16384B messages 76.085 ms/op 86.327 ms/op 0.88
send data - 1000 65536B messages 277.70 ms/op 296.51 ms/op 0.94
enrSubnets - fastDeserialize 64 bits 1.2520 us/op 1.3660 us/op 0.92
enrSubnets - ssz BitVector 64 bits 412.00 ns/op 495.00 ns/op 0.83
enrSubnets - fastDeserialize 4 bits 159.00 ns/op 192.00 ns/op 0.83
enrSubnets - ssz BitVector 4 bits 488.00 ns/op 492.00 ns/op 0.99
prioritizePeers score -10:0 att 32-0.1 sync 2-0 99.184 us/op 114.01 us/op 0.87
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 125.85 us/op 138.56 us/op 0.91
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 161.96 us/op 177.00 us/op 0.91
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 295.05 us/op 332.07 us/op 0.89
prioritizePeers score 0:0 att 64-1 sync 4-1 346.19 us/op 393.65 us/op 0.88
array of 16000 items push then shift 1.6436 us/op 1.7670 us/op 0.93
LinkedList of 16000 items push then shift 9.1100 ns/op 9.7610 ns/op 0.93
array of 16000 items push then pop 68.869 ns/op 107.20 ns/op 0.64
LinkedList of 16000 items push then pop 8.7360 ns/op 9.9090 ns/op 0.88
array of 24000 items push then shift 2.3868 us/op 2.7703 us/op 0.86
LinkedList of 24000 items push then shift 8.9360 ns/op 10.688 ns/op 0.84
array of 24000 items push then pop 107.40 ns/op 140.09 ns/op 0.77
LinkedList of 24000 items push then pop 8.7820 ns/op 10.050 ns/op 0.87
intersect bitArray bitLen 8 6.9150 ns/op 7.7980 ns/op 0.89
intersect array and set length 8 53.914 ns/op 67.459 ns/op 0.80
intersect bitArray bitLen 128 32.155 ns/op 36.270 ns/op 0.89
intersect array and set length 128 777.87 ns/op 978.08 ns/op 0.80
bitArray.getTrueBitIndexes() bitLen 128 1.4450 us/op 1.8030 us/op 0.80
bitArray.getTrueBitIndexes() bitLen 248 2.3660 us/op 3.3500 us/op 0.71
bitArray.getTrueBitIndexes() bitLen 512 4.8140 us/op 6.4850 us/op 0.74
Buffer.concat 32 items 944.00 ns/op 1.0780 us/op 0.88
Uint8Array.set 32 items 1.5640 us/op 2.7830 us/op 0.56
Set add up to 64 items then delete first 4.4657 us/op 5.0564 us/op 0.88
OrderedSet add up to 64 items then delete first 5.3328 us/op 6.7646 us/op 0.79
Set add up to 64 items then delete last 4.8450 us/op 5.3705 us/op 0.90
OrderedSet add up to 64 items then delete last 5.7534 us/op 7.4448 us/op 0.77
Set add up to 64 items then delete middle 4.7108 us/op 5.5173 us/op 0.85
OrderedSet add up to 64 items then delete middle 6.9904 us/op 8.5099 us/op 0.82
Set add up to 128 items then delete first 9.3732 us/op 10.496 us/op 0.89
OrderedSet add up to 128 items then delete first 12.217 us/op 13.854 us/op 0.88
Set add up to 128 items then delete last 9.1330 us/op 10.550 us/op 0.87
OrderedSet add up to 128 items then delete last 11.024 us/op 13.933 us/op 0.79
Set add up to 128 items then delete middle 8.8648 us/op 11.203 us/op 0.79
OrderedSet add up to 128 items then delete middle 16.918 us/op 21.469 us/op 0.79
Set add up to 256 items then delete first 18.771 us/op 21.888 us/op 0.86
OrderedSet add up to 256 items then delete first 24.870 us/op 27.129 us/op 0.92
Set add up to 256 items then delete last 17.848 us/op 19.845 us/op 0.90
OrderedSet add up to 256 items then delete last 22.811 us/op 29.294 us/op 0.78
Set add up to 256 items then delete middle 17.291 us/op 21.593 us/op 0.80
OrderedSet add up to 256 items then delete middle 43.319 us/op 51.875 us/op 0.84
transfer serialized Status (84 B) 1.8040 us/op 2.0170 us/op 0.89
copy serialized Status (84 B) 1.4940 us/op 1.7350 us/op 0.86
transfer serialized SignedVoluntaryExit (112 B) 1.9490 us/op 2.1500 us/op 0.91
copy serialized SignedVoluntaryExit (112 B) 1.5550 us/op 1.8490 us/op 0.84
transfer serialized ProposerSlashing (416 B) 1.9670 us/op 2.9660 us/op 0.66
copy serialized ProposerSlashing (416 B) 1.7640 us/op 2.7680 us/op 0.64
transfer serialized Attestation (485 B) 2.1050 us/op 2.6040 us/op 0.81
copy serialized Attestation (485 B) 1.8610 us/op 2.5540 us/op 0.73
transfer serialized AttesterSlashing (33232 B) 2.2900 us/op 3.4030 us/op 0.67
copy serialized AttesterSlashing (33232 B) 6.6990 us/op 9.2910 us/op 0.72
transfer serialized Small SignedBeaconBlock (128000 B) 3.1710 us/op 4.8520 us/op 0.65
copy serialized Small SignedBeaconBlock (128000 B) 12.621 us/op 25.736 us/op 0.49
transfer serialized Avg SignedBeaconBlock (200000 B) 3.3740 us/op 4.5100 us/op 0.75
copy serialized Avg SignedBeaconBlock (200000 B) 20.753 us/op 35.554 us/op 0.58
transfer serialized BlobsSidecar (524380 B) 2.9580 us/op 6.0070 us/op 0.49
copy serialized BlobsSidecar (524380 B) 116.00 us/op 122.28 us/op 0.95
transfer serialized Big SignedBeaconBlock (1000000 B) 4.1230 us/op 5.4770 us/op 0.75
copy serialized Big SignedBeaconBlock (1000000 B) 310.36 us/op 201.11 us/op 1.54
pass gossip attestations to forkchoice per slot 3.8070 ms/op 4.6451 ms/op 0.82
forkChoice updateHead vc 100000 bc 64 eq 0 674.64 us/op 751.49 us/op 0.90
forkChoice updateHead vc 600000 bc 64 eq 0 4.7110 ms/op 6.9037 ms/op 0.68
forkChoice updateHead vc 1000000 bc 64 eq 0 7.5787 ms/op 9.1919 ms/op 0.82
forkChoice updateHead vc 600000 bc 320 eq 0 4.3308 ms/op 5.1041 ms/op 0.85
forkChoice updateHead vc 600000 bc 1200 eq 0 4.5032 ms/op 4.9466 ms/op 0.91
forkChoice updateHead vc 600000 bc 7200 eq 0 5.6216 ms/op 6.4371 ms/op 0.87
forkChoice updateHead vc 600000 bc 64 eq 1000 11.534 ms/op 12.466 ms/op 0.93
forkChoice updateHead vc 600000 bc 64 eq 10000 12.390 ms/op 13.669 ms/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 300000 17.039 ms/op 28.990 ms/op 0.59
computeDeltas 500000 validators 300 proto nodes 6.4355 ms/op 7.1279 ms/op 0.90
computeDeltas 500000 validators 1200 proto nodes 6.3858 ms/op 7.1795 ms/op 0.89
computeDeltas 500000 validators 7200 proto nodes 6.4568 ms/op 7.2662 ms/op 0.89
computeDeltas 750000 validators 300 proto nodes 9.6678 ms/op 11.076 ms/op 0.87
computeDeltas 750000 validators 1200 proto nodes 9.7498 ms/op 11.478 ms/op 0.85
computeDeltas 750000 validators 7200 proto nodes 9.8083 ms/op 11.448 ms/op 0.86
computeDeltas 1400000 validators 300 proto nodes 18.618 ms/op 21.673 ms/op 0.86
computeDeltas 1400000 validators 1200 proto nodes 18.156 ms/op 21.383 ms/op 0.85
computeDeltas 1400000 validators 7200 proto nodes 18.621 ms/op 21.475 ms/op 0.87
computeDeltas 2100000 validators 300 proto nodes 27.456 ms/op 32.092 ms/op 0.86
computeDeltas 2100000 validators 1200 proto nodes 27.306 ms/op 33.334 ms/op 0.82
computeDeltas 2100000 validators 7200 proto nodes 27.744 ms/op 32.426 ms/op 0.86
computeProposerBoostScoreFromBalances 500000 validators 3.4007 ms/op 4.4186 ms/op 0.77
computeProposerBoostScoreFromBalances 750000 validators 3.4822 ms/op 4.0999 ms/op 0.85
computeProposerBoostScoreFromBalances 1400000 validators 3.4005 ms/op 3.9990 ms/op 0.85
computeProposerBoostScoreFromBalances 2100000 validators 3.4163 ms/op 4.2078 ms/op 0.81
altair processAttestation - 250000 vs - 7PWei normalcase 3.5399 ms/op 5.0696 ms/op 0.70
altair processAttestation - 250000 vs - 7PWei worstcase 4.4371 ms/op 5.8200 ms/op 0.76
altair processAttestation - setStatus - 1/6 committees join 176.72 us/op 289.13 us/op 0.61
altair processAttestation - setStatus - 1/3 committees join 347.51 us/op 529.93 us/op 0.66
altair processAttestation - setStatus - 1/2 committees join 511.28 us/op 693.72 us/op 0.74
altair processAttestation - setStatus - 2/3 committees join 632.81 us/op 895.05 us/op 0.71
altair processAttestation - setStatus - 4/5 committees join 932.77 us/op 1.0477 ms/op 0.89
altair processAttestation - setStatus - 100% committees join 1.0733 ms/op 1.2545 ms/op 0.86
altair processBlock - 250000 vs - 7PWei normalcase 8.6884 ms/op 11.037 ms/op 0.79
altair processBlock - 250000 vs - 7PWei normalcase hashState 31.153 ms/op 46.842 ms/op 0.67
altair processBlock - 250000 vs - 7PWei worstcase 41.557 ms/op 59.301 ms/op 0.70
altair processBlock - 250000 vs - 7PWei worstcase hashState 112.22 ms/op 116.62 ms/op 0.96
phase0 processBlock - 250000 vs - 7PWei normalcase 4.2614 ms/op 4.0318 ms/op 1.06
phase0 processBlock - 250000 vs - 7PWei worstcase 39.710 ms/op 47.771 ms/op 0.83
altair processEth1Data - 250000 vs - 7PWei normalcase 737.72 us/op 1.0221 ms/op 0.72
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 19.178 us/op 20.637 us/op 0.93
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 106.18 us/op 116.99 us/op 0.91
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 37.130 us/op 43.564 us/op 0.85
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 15.393 us/op 28.222 us/op 0.55
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 199.54 us/op 219.24 us/op 0.91
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3212 ms/op 2.3601 ms/op 0.56
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8638 ms/op 2.1682 ms/op 0.86
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.9020 ms/op 1.8771 ms/op 1.01
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.9587 ms/op 5.9975 ms/op 0.83
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.8105 ms/op 3.0061 ms/op 0.93
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 6.2965 ms/op 8.4144 ms/op 0.75
Tree 40 250000 create 1.0060 s/op 635.25 ms/op 1.58
Tree 40 250000 get(125000) 228.28 ns/op 245.01 ns/op 0.93
Tree 40 250000 set(125000) 3.5579 us/op 1.3226 us/op 2.69
Tree 40 250000 toArray() 41.351 ms/op 29.238 ms/op 1.41
Tree 40 250000 iterate all - toArray() + loop 42.734 ms/op 29.558 ms/op 1.45
Tree 40 250000 iterate all - get(i) 122.12 ms/op 94.294 ms/op 1.30
MutableVector 250000 create 25.910 ms/op 21.723 ms/op 1.19
MutableVector 250000 get(125000) 9.0250 ns/op 9.4070 ns/op 0.96
MutableVector 250000 set(125000) 887.00 ns/op 496.25 ns/op 1.79
MutableVector 250000 toArray() 6.7379 ms/op 4.5112 ms/op 1.49
MutableVector 250000 iterate all - toArray() + loop 4.9914 ms/op 4.6593 ms/op 1.07
MutableVector 250000 iterate all - get(i) 1.5913 ms/op 1.7402 ms/op 0.91
Array 250000 create 4.5099 ms/op 4.3840 ms/op 1.03
Array 250000 clone - spread 1.1637 ms/op 1.4606 ms/op 0.80
Array 250000 get(125000) 0.50400 ns/op 0.96500 ns/op 0.52
Array 250000 set(125000) 0.57800 ns/op 1.3130 ns/op 0.44
Array 250000 iterate all - loop 86.411 us/op 97.594 us/op 0.89
effectiveBalanceIncrements clone Uint8Array 300000 36.067 us/op 63.388 us/op 0.57
effectiveBalanceIncrements clone MutableVector 300000 264.00 ns/op 332.00 ns/op 0.80
effectiveBalanceIncrements rw all Uint8Array 300000 181.41 us/op 253.68 us/op 0.72
effectiveBalanceIncrements rw all MutableVector 300000 89.264 ms/op 195.46 ms/op 0.46
phase0 afterProcessEpoch - 250000 vs - 7PWei 117.73 ms/op 145.33 ms/op 0.81
phase0 beforeProcessEpoch - 250000 vs - 7PWei 39.029 ms/op 54.283 ms/op 0.72
altair processEpoch - mainnet_e81889 486.70 ms/op 738.58 ms/op 0.66
mainnet_e81889 - altair beforeProcessEpoch 79.906 ms/op 96.863 ms/op 0.82
mainnet_e81889 - altair processJustificationAndFinalization 18.508 us/op 34.307 us/op 0.54
mainnet_e81889 - altair processInactivityUpdates 8.3279 ms/op 11.884 ms/op 0.70
mainnet_e81889 - altair processRewardsAndPenalties 69.005 ms/op 89.231 ms/op 0.77
mainnet_e81889 - altair processRegistryUpdates 4.9920 us/op 8.6510 us/op 0.58
mainnet_e81889 - altair processSlashings 797.00 ns/op 1.9360 us/op 0.41
mainnet_e81889 - altair processEth1DataReset 719.00 ns/op 1.5100 us/op 0.48
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2916 ms/op 1.8606 ms/op 0.69
mainnet_e81889 - altair processSlashingsReset 5.6150 us/op 9.2610 us/op 0.61
mainnet_e81889 - altair processRandaoMixesReset 10.032 us/op 14.490 us/op 0.69
mainnet_e81889 - altair processHistoricalRootsUpdate 1.2870 us/op 1.6890 us/op 0.76
mainnet_e81889 - altair processParticipationFlagUpdates 3.5170 us/op 6.5070 us/op 0.54
mainnet_e81889 - altair processSyncCommitteeUpdates 861.00 ns/op 1.6500 us/op 0.52
mainnet_e81889 - altair afterProcessEpoch 131.15 ms/op 155.33 ms/op 0.84
capella processEpoch - mainnet_e217614 1.6763 s/op 1.8781 s/op 0.89
mainnet_e217614 - capella beforeProcessEpoch 280.35 ms/op 296.89 ms/op 0.94
mainnet_e217614 - capella processJustificationAndFinalization 18.118 us/op 23.251 us/op 0.78
mainnet_e217614 - capella processInactivityUpdates 25.248 ms/op 25.944 ms/op 0.97
mainnet_e217614 - capella processRewardsAndPenalties 288.35 ms/op 326.62 ms/op 0.88
mainnet_e217614 - capella processRegistryUpdates 30.345 us/op 26.907 us/op 1.13
mainnet_e217614 - capella processSlashings 1.0160 us/op 859.00 ns/op 1.18
mainnet_e217614 - capella processEth1DataReset 1.0900 us/op 687.00 ns/op 1.59
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.3584 ms/op 4.9328 ms/op 0.88
mainnet_e217614 - capella processSlashingsReset 5.0810 us/op 6.3660 us/op 0.80
mainnet_e217614 - capella processRandaoMixesReset 7.4320 us/op 11.587 us/op 0.64
mainnet_e217614 - capella processHistoricalRootsUpdate 797.00 ns/op 1.4260 us/op 0.56
mainnet_e217614 - capella processParticipationFlagUpdates 2.0550 us/op 3.5420 us/op 0.58
mainnet_e217614 - capella afterProcessEpoch 324.99 ms/op 362.02 ms/op 0.90
phase0 processEpoch - mainnet_e58758 429.64 ms/op 543.32 ms/op 0.79
mainnet_e58758 - phase0 beforeProcessEpoch 109.78 ms/op 145.94 ms/op 0.75
mainnet_e58758 - phase0 processJustificationAndFinalization 18.316 us/op 20.852 us/op 0.88
mainnet_e58758 - phase0 processRewardsAndPenalties 52.696 ms/op 59.038 ms/op 0.89
mainnet_e58758 - phase0 processRegistryUpdates 17.340 us/op 15.742 us/op 1.10
mainnet_e58758 - phase0 processSlashings 670.00 ns/op 737.00 ns/op 0.91
mainnet_e58758 - phase0 processEth1DataReset 635.00 ns/op 536.00 ns/op 1.18
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3251 ms/op 1.7306 ms/op 0.77
mainnet_e58758 - phase0 processSlashingsReset 5.2760 us/op 4.2360 us/op 1.25
mainnet_e58758 - phase0 processRandaoMixesReset 9.3070 us/op 5.6800 us/op 1.64
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.2310 us/op 972.00 ns/op 1.27
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.7880 us/op 6.7140 us/op 0.86
mainnet_e58758 - phase0 afterProcessEpoch 109.38 ms/op 113.56 ms/op 0.96
phase0 processEffectiveBalanceUpdates - 250000 normalcase 2.3266 ms/op 1.7289 ms/op 1.35
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.2948 ms/op 1.6240 ms/op 1.41
altair processInactivityUpdates - 250000 normalcase 29.974 ms/op 29.574 ms/op 1.01
altair processInactivityUpdates - 250000 worstcase 23.382 ms/op 27.130 ms/op 0.86
phase0 processRegistryUpdates - 250000 normalcase 16.892 us/op 20.124 us/op 0.84
phase0 processRegistryUpdates - 250000 badcase_full_deposits 424.56 us/op 506.42 us/op 0.84
phase0 processRegistryUpdates - 250000 worstcase 0.5 148.69 ms/op 155.76 ms/op 0.95
altair processRewardsAndPenalties - 250000 normalcase 57.766 ms/op 73.135 ms/op 0.79
altair processRewardsAndPenalties - 250000 worstcase 62.195 ms/op 72.703 ms/op 0.86
phase0 getAttestationDeltas - 250000 normalcase 11.148 ms/op 11.983 ms/op 0.93
phase0 getAttestationDeltas - 250000 worstcase 9.5422 ms/op 12.051 ms/op 0.79
phase0 processSlashings - 250000 worstcase 2.7684 ms/op 2.6326 ms/op 1.05
altair processSyncCommitteeUpdates - 250000 164.42 ms/op 185.17 ms/op 0.89
BeaconState.hashTreeRoot - No change 338.00 ns/op 427.00 ns/op 0.79
BeaconState.hashTreeRoot - 1 full validator 129.49 us/op 181.13 us/op 0.71
BeaconState.hashTreeRoot - 32 full validator 1.6449 ms/op 2.6654 ms/op 0.62
BeaconState.hashTreeRoot - 512 full validator 15.138 ms/op 21.635 ms/op 0.70
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 167.35 us/op 219.61 us/op 0.76
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.2335 ms/op 2.8630 ms/op 0.78
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 32.446 ms/op 29.070 ms/op 1.12
BeaconState.hashTreeRoot - 1 balances 160.37 us/op 163.18 us/op 0.98
BeaconState.hashTreeRoot - 32 balances 1.3343 ms/op 1.4099 ms/op 0.95
BeaconState.hashTreeRoot - 512 balances 11.032 ms/op 14.713 ms/op 0.75
BeaconState.hashTreeRoot - 250000 balances 206.30 ms/op 249.40 ms/op 0.83
aggregationBits - 2048 els - zipIndexesInBitList 23.601 us/op 21.054 us/op 1.12
regular array get 100000 times 43.482 us/op 48.509 us/op 0.90
wrappedArray get 100000 times 34.014 us/op 52.523 us/op 0.65
arrayWithProxy get 100000 times 14.662 ms/op 18.309 ms/op 0.80
ssz.Root.equals 275.00 ns/op 272.00 ns/op 1.01
byteArrayEquals 285.00 ns/op 265.00 ns/op 1.08
shuffle list - 16384 els 7.2444 ms/op 7.6805 ms/op 0.94
shuffle list - 250000 els 107.20 ms/op 113.19 ms/op 0.95
processSlot - 1 slots 18.416 us/op 21.077 us/op 0.87
processSlot - 32 slots 3.2212 ms/op 4.3765 ms/op 0.74
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 51.842 ms/op 59.972 ms/op 0.86
getCommitteeAssignments - req 1 vs - 250000 vc 2.5332 ms/op 2.7521 ms/op 0.92
getCommitteeAssignments - req 100 vs - 250000 vc 3.7732 ms/op 3.9706 ms/op 0.95
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1870 ms/op 4.4404 ms/op 0.94
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.6700 ns/op 5.2100 ns/op 1.09
state getBlockRootAtSlot - 250000 vs - 7PWei 612.23 ns/op 770.49 ns/op 0.79
computeProposers - vc 250000 9.3993 ms/op 9.7030 ms/op 0.97
computeEpochShuffling - vc 250000 109.02 ms/op 115.44 ms/op 0.94
getNextSyncCommittee - vc 250000 155.61 ms/op 175.20 ms/op 0.89
computeSigningRoot for AttestationData 28.361 us/op 28.073 us/op 1.01
hash AttestationData serialized data then Buffer.toString(base64) 2.4492 us/op 2.4968 us/op 0.98
toHexString serialized data 1.5245 us/op 1.4911 us/op 1.02
Buffer.toString(base64) 263.94 ns/op 255.49 ns/op 1.03

by benchmarkbot/action

@twoeths twoeths enabled auto-merge (squash) September 21, 2023 01:35
@twoeths twoeths merged commit 900f6a7 into unstable Sep 21, 2023
12 checks passed
@twoeths twoeths deleted the cayman/remove-sharding branch September 21, 2023 09:19
@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.

None yet

4 participants