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 v1.13 stable back to unstable #6218

Merged
merged 2 commits into from
Dec 21, 2023
Merged

chore: merge v1.13 stable back to unstable #6218

merged 2 commits into from
Dec 21, 2023

Conversation

philknows
Copy link
Member

Merge stable back to unstable as part of release procedures.

@philknows philknows requested a review from a team as a code owner December 21, 2023 01:46
@philknows philknows merged commit 88c3ee3 into unstable Dec 21, 2023
24 of 28 checks passed
Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 85e99ea Previous: 6d1dc61 Ratio
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.5177 ms/op 15.054 ms/op 0.30
Full benchmark results
Benchmark suite Current: 85e99ea Previous: 6d1dc61 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 670.23 us/op 477.06 us/op 1.40
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 119.41 us/op 85.441 us/op 1.40
BLS verify - blst-native 1.3136 ms/op 1.3061 ms/op 1.01
BLS verifyMultipleSignatures 3 - blst-native 2.7760 ms/op 2.7523 ms/op 1.01
BLS verifyMultipleSignatures 8 - blst-native 6.0244 ms/op 6.1292 ms/op 0.98
BLS verifyMultipleSignatures 32 - blst-native 22.065 ms/op 22.356 ms/op 0.99
BLS verifyMultipleSignatures 64 - blst-native 43.796 ms/op 44.101 ms/op 0.99
BLS verifyMultipleSignatures 128 - blst-native 86.725 ms/op 86.021 ms/op 1.01
BLS deserializing 10000 signatures 933.21 ms/op 942.18 ms/op 0.99
BLS deserializing 100000 signatures 9.2243 s/op 9.4869 s/op 0.97
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.4595 ms/op 1.3654 ms/op 1.07
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5352 ms/op 1.5460 ms/op 0.99
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.9090 ms/op 3.4229 ms/op 0.85
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.0533 ms/op 3.6201 ms/op 1.12
BLS verifyMultipleSignatures - same message - 128 - blst-native 7.3483 ms/op 8.2203 ms/op 0.89
BLS aggregatePubkeys 32 - blst-native 26.939 us/op 28.839 us/op 0.93
BLS aggregatePubkeys 128 - blst-native 97.561 us/op 106.33 us/op 0.92
getAttestationsForBlock 40.396 ms/op 63.800 ms/op 0.63
getSlashingsAndExits - default max 124.60 us/op 184.97 us/op 0.67
getSlashingsAndExits - 2k 337.92 us/op 609.71 us/op 0.55
proposeBlockBody type=full, size=empty 5.4115 ms/op 5.1596 ms/op 1.05
isKnown best case - 1 super set check 378.00 ns/op 322.00 ns/op 1.17
isKnown normal case - 2 super set checks 567.00 ns/op 320.00 ns/op 1.77
isKnown worse case - 16 super set checks 430.00 ns/op 314.00 ns/op 1.37
CheckpointStateCache - add get delete 5.3670 us/op 6.2910 us/op 0.85
validate api signedAggregateAndProof - struct 2.7983 ms/op 2.8432 ms/op 0.98
validate gossip signedAggregateAndProof - struct 2.8048 ms/op 2.8490 ms/op 0.98
validate gossip attestation - vc 640000 1.3409 ms/op 1.4318 ms/op 0.94
batch validate gossip attestation - vc 640000 - chunk 32 163.11 us/op 174.64 us/op 0.93
batch validate gossip attestation - vc 640000 - chunk 64 145.86 us/op 187.19 us/op 0.78
batch validate gossip attestation - vc 640000 - chunk 128 135.67 us/op 163.44 us/op 0.83
batch validate gossip attestation - vc 640000 - chunk 256 140.21 us/op 142.80 us/op 0.98
pickEth1Vote - no votes 1.3263 ms/op 1.3629 ms/op 0.97
pickEth1Vote - max votes 10.489 ms/op 12.663 ms/op 0.83
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.924 ms/op 22.618 ms/op 0.79
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 22.039 ms/op 28.098 ms/op 0.78
pickEth1Vote - Eth1Data fastSerialize value x2048 634.97 us/op 773.62 us/op 0.82
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.2018 ms/op 5.1535 ms/op 1.01
bytes32 toHexString 667.00 ns/op 622.00 ns/op 1.07
bytes32 Buffer.toString(hex) 285.00 ns/op 308.00 ns/op 0.93
bytes32 Buffer.toString(hex) from Uint8Array 513.00 ns/op 537.00 ns/op 0.96
bytes32 Buffer.toString(hex) + 0x 305.00 ns/op 323.00 ns/op 0.94
Object access 1 prop 0.18700 ns/op 0.19200 ns/op 0.97
Map access 1 prop 0.14500 ns/op 0.14600 ns/op 0.99
Object get x1000 7.6380 ns/op 7.0620 ns/op 1.08
Map get x1000 0.86800 ns/op 0.83900 ns/op 1.03
Object set x1000 62.619 ns/op 61.327 ns/op 1.02
Map set x1000 57.688 ns/op 50.037 ns/op 1.15
Return object 10000 times 0.35100 ns/op 0.24570 ns/op 1.43
Throw Error 10000 times 4.0052 us/op 4.1298 us/op 0.97
fastMsgIdFn sha256 / 200 bytes 3.4800 us/op 3.4300 us/op 1.01
fastMsgIdFn h32 xxhash / 200 bytes 392.00 ns/op 341.00 ns/op 1.15
fastMsgIdFn h64 xxhash / 200 bytes 447.00 ns/op 384.00 ns/op 1.16
fastMsgIdFn sha256 / 1000 bytes 12.066 us/op 11.927 us/op 1.01
fastMsgIdFn h32 xxhash / 1000 bytes 499.00 ns/op 475.00 ns/op 1.05
fastMsgIdFn h64 xxhash / 1000 bytes 445.00 ns/op 468.00 ns/op 0.95
fastMsgIdFn sha256 / 10000 bytes 109.98 us/op 105.40 us/op 1.04
fastMsgIdFn h32 xxhash / 10000 bytes 2.0270 us/op 1.9800 us/op 1.02
fastMsgIdFn h64 xxhash / 10000 bytes 1.3970 us/op 1.3670 us/op 1.02
send data - 1000 256B messages 20.814 ms/op 20.883 ms/op 1.00
send data - 1000 512B messages 26.984 ms/op 28.669 ms/op 0.94
send data - 1000 1024B messages 43.020 ms/op 43.133 ms/op 1.00
send data - 1000 1200B messages 35.956 ms/op 39.017 ms/op 0.92
send data - 1000 2048B messages 43.126 ms/op 46.233 ms/op 0.93
send data - 1000 4096B messages 45.143 ms/op 42.571 ms/op 1.06
send data - 1000 16384B messages 123.72 ms/op 125.18 ms/op 0.99
send data - 1000 65536B messages 507.54 ms/op 471.39 ms/op 1.08
enrSubnets - fastDeserialize 64 bits 2.0190 us/op 1.2250 us/op 1.65
enrSubnets - ssz BitVector 64 bits 670.00 ns/op 406.00 ns/op 1.65
enrSubnets - fastDeserialize 4 bits 264.00 ns/op 161.00 ns/op 1.64
enrSubnets - ssz BitVector 4 bits 572.00 ns/op 409.00 ns/op 1.40
prioritizePeers score -10:0 att 32-0.1 sync 2-0 106.37 us/op 101.50 us/op 1.05
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 138.00 us/op 126.45 us/op 1.09
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 179.19 us/op 164.05 us/op 1.09
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 370.36 us/op 301.89 us/op 1.23
prioritizePeers score 0:0 att 64-1 sync 4-1 367.49 us/op 374.16 us/op 0.98
array of 16000 items push then shift 1.6164 us/op 1.6712 us/op 0.97
LinkedList of 16000 items push then shift 9.4420 ns/op 8.9480 ns/op 1.06
array of 16000 items push then pop 121.94 ns/op 102.48 ns/op 1.19
LinkedList of 16000 items push then pop 8.9990 ns/op 9.0580 ns/op 0.99
array of 24000 items push then shift 2.6750 us/op 2.4286 us/op 1.10
LinkedList of 24000 items push then shift 9.4180 ns/op 9.1320 ns/op 1.03
array of 24000 items push then pop 157.59 ns/op 139.60 ns/op 1.13
LinkedList of 24000 items push then pop 8.8750 ns/op 8.8290 ns/op 1.01
intersect bitArray bitLen 8 6.5580 ns/op 6.7790 ns/op 0.97
intersect array and set length 8 81.219 ns/op 65.353 ns/op 1.24
intersect bitArray bitLen 128 35.397 ns/op 35.439 ns/op 1.00
intersect array and set length 128 899.79 ns/op 876.97 ns/op 1.03
bitArray.getTrueBitIndexes() bitLen 128 1.3980 us/op 1.4800 us/op 0.94
bitArray.getTrueBitIndexes() bitLen 248 2.5360 us/op 2.6880 us/op 0.94
bitArray.getTrueBitIndexes() bitLen 512 4.8630 us/op 4.9400 us/op 0.98
Buffer.concat 32 items 947.00 ns/op 958.00 ns/op 0.99
Uint8Array.set 32 items 1.6630 us/op 1.7480 us/op 0.95
Set add up to 64 items then delete first 4.3177 us/op 4.3900 us/op 0.98
OrderedSet add up to 64 items then delete first 6.2527 us/op 5.4993 us/op 1.14
Set add up to 64 items then delete last 5.1480 us/op 4.6051 us/op 1.12
OrderedSet add up to 64 items then delete last 6.5231 us/op 5.7723 us/op 1.13
Set add up to 64 items then delete middle 4.6646 us/op 4.6056 us/op 1.01
OrderedSet add up to 64 items then delete middle 7.0784 us/op 7.6316 us/op 0.93
Set add up to 128 items then delete first 9.2703 us/op 9.3975 us/op 0.99
OrderedSet add up to 128 items then delete first 12.472 us/op 12.052 us/op 1.03
Set add up to 128 items then delete last 10.064 us/op 9.0872 us/op 1.11
OrderedSet add up to 128 items then delete last 13.385 us/op 11.612 us/op 1.15
Set add up to 128 items then delete middle 9.2831 us/op 9.0175 us/op 1.03
OrderedSet add up to 128 items then delete middle 16.698 us/op 17.378 us/op 0.96
Set add up to 256 items then delete first 19.905 us/op 18.308 us/op 1.09
OrderedSet add up to 256 items then delete first 26.078 us/op 25.208 us/op 1.03
Set add up to 256 items then delete last 19.196 us/op 18.327 us/op 1.05
OrderedSet add up to 256 items then delete last 24.062 us/op 24.033 us/op 1.00
Set add up to 256 items then delete middle 19.356 us/op 18.729 us/op 1.03
OrderedSet add up to 256 items then delete middle 48.327 us/op 46.639 us/op 1.04
transfer serialized Status (84 B) 1.7480 us/op 1.8300 us/op 0.96
copy serialized Status (84 B) 1.5550 us/op 1.5300 us/op 1.02
transfer serialized SignedVoluntaryExit (112 B) 1.8260 us/op 1.8290 us/op 1.00
copy serialized SignedVoluntaryExit (112 B) 1.6200 us/op 1.4770 us/op 1.10
transfer serialized ProposerSlashing (416 B) 2.4290 us/op 1.9540 us/op 1.24
copy serialized ProposerSlashing (416 B) 2.5270 us/op 1.8490 us/op 1.37
transfer serialized Attestation (485 B) 2.5150 us/op 2.7240 us/op 0.92
copy serialized Attestation (485 B) 2.2900 us/op 1.9560 us/op 1.17
transfer serialized AttesterSlashing (33232 B) 2.5790 us/op 2.2170 us/op 1.16
copy serialized AttesterSlashing (33232 B) 13.899 us/op 5.6350 us/op 2.47
transfer serialized Small SignedBeaconBlock (128000 B) 3.3010 us/op 2.5720 us/op 1.28
copy serialized Small SignedBeaconBlock (128000 B) 13.861 us/op 17.332 us/op 0.80
transfer serialized Avg SignedBeaconBlock (200000 B) 3.7530 us/op 2.9370 us/op 1.28
copy serialized Avg SignedBeaconBlock (200000 B) 18.928 us/op 22.174 us/op 0.85
transfer serialized BlobsSidecar (524380 B) 3.4990 us/op 2.9330 us/op 1.19
copy serialized BlobsSidecar (524380 B) 128.60 us/op 98.144 us/op 1.31
transfer serialized Big SignedBeaconBlock (1000000 B) 3.5480 us/op 3.6200 us/op 0.98
copy serialized Big SignedBeaconBlock (1000000 B) 153.67 us/op 166.44 us/op 0.92
pass gossip attestations to forkchoice per slot 4.1679 ms/op 4.5102 ms/op 0.92
forkChoice updateHead vc 100000 bc 64 eq 0 713.15 us/op 729.77 us/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 0 4.9323 ms/op 5.1815 ms/op 0.95
forkChoice updateHead vc 1000000 bc 64 eq 0 7.0444 ms/op 7.1304 ms/op 0.99
forkChoice updateHead vc 600000 bc 320 eq 0 4.1440 ms/op 4.3376 ms/op 0.96
forkChoice updateHead vc 600000 bc 1200 eq 0 4.3848 ms/op 4.4175 ms/op 0.99
forkChoice updateHead vc 600000 bc 7200 eq 0 5.3393 ms/op 5.2179 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 1000 11.206 ms/op 11.418 ms/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 10000 11.886 ms/op 12.130 ms/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 300000 16.067 ms/op 15.993 ms/op 1.00
computeDeltas 500000 validators 300 proto nodes 6.4441 ms/op 6.8080 ms/op 0.95
computeDeltas 500000 validators 1200 proto nodes 6.3923 ms/op 6.7258 ms/op 0.95
computeDeltas 500000 validators 7200 proto nodes 6.3517 ms/op 6.6348 ms/op 0.96
computeDeltas 750000 validators 300 proto nodes 9.4596 ms/op 10.297 ms/op 0.92
computeDeltas 750000 validators 1200 proto nodes 9.5033 ms/op 10.017 ms/op 0.95
computeDeltas 750000 validators 7200 proto nodes 9.5666 ms/op 10.345 ms/op 0.92
computeDeltas 1400000 validators 300 proto nodes 18.937 ms/op 25.738 ms/op 0.74
computeDeltas 1400000 validators 1200 proto nodes 18.218 ms/op 19.752 ms/op 0.92
computeDeltas 1400000 validators 7200 proto nodes 17.780 ms/op 20.283 ms/op 0.88
computeDeltas 2100000 validators 300 proto nodes 27.366 ms/op 29.409 ms/op 0.93
computeDeltas 2100000 validators 1200 proto nodes 27.464 ms/op 29.607 ms/op 0.93
computeDeltas 2100000 validators 7200 proto nodes 26.967 ms/op 30.475 ms/op 0.88
computeProposerBoostScoreFromBalances 500000 validators 3.6782 ms/op 4.1322 ms/op 0.89
computeProposerBoostScoreFromBalances 750000 validators 3.6812 ms/op 3.9190 ms/op 0.94
computeProposerBoostScoreFromBalances 1400000 validators 3.6521 ms/op 3.8170 ms/op 0.96
computeProposerBoostScoreFromBalances 2100000 validators 3.5884 ms/op 3.9122 ms/op 0.92
altair processAttestation - 250000 vs - 7PWei normalcase 2.0879 ms/op 3.9577 ms/op 0.53
altair processAttestation - 250000 vs - 7PWei worstcase 3.1095 ms/op 5.1160 ms/op 0.61
altair processAttestation - setStatus - 1/6 committees join 138.97 us/op 219.97 us/op 0.63
altair processAttestation - setStatus - 1/3 committees join 270.43 us/op 390.65 us/op 0.69
altair processAttestation - setStatus - 1/2 committees join 371.54 us/op 548.78 us/op 0.68
altair processAttestation - setStatus - 2/3 committees join 462.58 us/op 696.29 us/op 0.66
altair processAttestation - setStatus - 4/5 committees join 640.79 us/op 863.14 us/op 0.74
altair processAttestation - setStatus - 100% committees join 758.90 us/op 1.1470 ms/op 0.66
altair processBlock - 250000 vs - 7PWei normalcase 10.258 ms/op 11.988 ms/op 0.86
altair processBlock - 250000 vs - 7PWei normalcase hashState 38.045 ms/op 44.336 ms/op 0.86
altair processBlock - 250000 vs - 7PWei worstcase 39.170 ms/op 41.404 ms/op 0.95
altair processBlock - 250000 vs - 7PWei worstcase hashState 83.372 ms/op 105.32 ms/op 0.79
phase0 processBlock - 250000 vs - 7PWei normalcase 2.4023 ms/op 3.0582 ms/op 0.79
phase0 processBlock - 250000 vs - 7PWei worstcase 29.419 ms/op 33.862 ms/op 0.87
altair processEth1Data - 250000 vs - 7PWei normalcase 497.92 us/op 777.41 us/op 0.64
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.879 us/op 12.498 us/op 0.87
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 47.399 us/op 91.770 us/op 0.52
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 15.642 us/op 24.942 us/op 0.63
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 13.689 us/op 17.359 us/op 0.79
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 154.51 us/op 274.59 us/op 0.56
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3860 ms/op 2.6342 ms/op 0.53
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.6511 ms/op 3.6711 ms/op 0.45
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5302 ms/op 2.9309 ms/op 0.52
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.9510 ms/op 8.1992 ms/op 0.36
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2671 ms/op 4.1331 ms/op 0.55
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.5177 ms/op 15.054 ms/op 0.30
Tree 40 250000 create 326.92 ms/op 995.28 ms/op 0.33
Tree 40 250000 get(125000) 190.14 ns/op 309.45 ns/op 0.61
Tree 40 250000 set(125000) 949.97 ns/op 1.3746 us/op 0.69
Tree 40 250000 toArray() 18.483 ms/op 25.730 ms/op 0.72
Tree 40 250000 iterate all - toArray() + loop 18.351 ms/op 28.900 ms/op 0.63
Tree 40 250000 iterate all - get(i) 64.684 ms/op 81.290 ms/op 0.80
MutableVector 250000 create 10.827 ms/op 15.328 ms/op 0.71
MutableVector 250000 get(125000) 6.4950 ns/op 6.9470 ns/op 0.93
MutableVector 250000 set(125000) 273.27 ns/op 360.51 ns/op 0.76
MutableVector 250000 toArray() 3.1566 ms/op 4.4648 ms/op 0.71
MutableVector 250000 iterate all - toArray() + loop 3.1196 ms/op 4.9187 ms/op 0.63
MutableVector 250000 iterate all - get(i) 1.5155 ms/op 1.5712 ms/op 0.96
Array 250000 create 3.0452 ms/op 4.3060 ms/op 0.71
Array 250000 clone - spread 1.1771 ms/op 1.4250 ms/op 0.83
Array 250000 get(125000) 0.95800 ns/op 1.2840 ns/op 0.75
Array 250000 set(125000) 3.9080 ns/op 5.4580 ns/op 0.72
Array 250000 iterate all - loop 158.01 us/op 179.22 us/op 0.88
effectiveBalanceIncrements clone Uint8Array 300000 26.401 us/op 60.477 us/op 0.44
effectiveBalanceIncrements clone MutableVector 300000 319.00 ns/op 476.00 ns/op 0.67
effectiveBalanceIncrements rw all Uint8Array 300000 190.96 us/op 202.56 us/op 0.94
effectiveBalanceIncrements rw all MutableVector 300000 76.835 ms/op 113.56 ms/op 0.68
phase0 afterProcessEpoch - 250000 vs - 7PWei 107.31 ms/op 118.56 ms/op 0.91
phase0 beforeProcessEpoch - 250000 vs - 7PWei 52.053 ms/op 42.520 ms/op 1.22
altair processEpoch - mainnet_e81889 473.59 ms/op 558.74 ms/op 0.85
mainnet_e81889 - altair beforeProcessEpoch 81.385 ms/op 103.09 ms/op 0.79
mainnet_e81889 - altair processJustificationAndFinalization 15.183 us/op 22.220 us/op 0.68
mainnet_e81889 - altair processInactivityUpdates 5.8281 ms/op 6.3538 ms/op 0.92
mainnet_e81889 - altair processRewardsAndPenalties 65.168 ms/op 71.975 ms/op 0.91
mainnet_e81889 - altair processRegistryUpdates 2.4540 us/op 4.2240 us/op 0.58
mainnet_e81889 - altair processSlashings 486.00 ns/op 834.00 ns/op 0.58
mainnet_e81889 - altair processEth1DataReset 452.00 ns/op 1.0800 us/op 0.42
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4179 ms/op 1.4898 ms/op 0.95
mainnet_e81889 - altair processSlashingsReset 3.7790 us/op 4.7620 us/op 0.79
mainnet_e81889 - altair processRandaoMixesReset 3.9440 us/op 6.6130 us/op 0.60
mainnet_e81889 - altair processHistoricalRootsUpdate 951.00 ns/op 960.00 ns/op 0.99
mainnet_e81889 - altair processParticipationFlagUpdates 2.1260 us/op 2.9530 us/op 0.72
mainnet_e81889 - altair processSyncCommitteeUpdates 530.00 ns/op 1.0280 us/op 0.52
mainnet_e81889 - altair afterProcessEpoch 114.60 ms/op 125.94 ms/op 0.91
capella processEpoch - mainnet_e217614 2.0993 s/op 2.8289 s/op 0.74
mainnet_e217614 - capella beforeProcessEpoch 510.37 ms/op 582.69 ms/op 0.88
mainnet_e217614 - capella processJustificationAndFinalization 19.935 us/op 23.099 us/op 0.86
mainnet_e217614 - capella processInactivityUpdates 16.854 ms/op 26.894 ms/op 0.63
mainnet_e217614 - capella processRewardsAndPenalties 426.90 ms/op 497.18 ms/op 0.86
mainnet_e217614 - capella processRegistryUpdates 17.769 us/op 44.724 us/op 0.40
mainnet_e217614 - capella processSlashings 575.00 ns/op 1.1020 us/op 0.52
mainnet_e217614 - capella processEth1DataReset 673.00 ns/op 1.2310 us/op 0.55
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.5348 ms/op 7.7432 ms/op 0.59
mainnet_e217614 - capella processSlashingsReset 4.2920 us/op 8.4870 us/op 0.51
mainnet_e217614 - capella processRandaoMixesReset 5.0250 us/op 10.168 us/op 0.49
mainnet_e217614 - capella processHistoricalRootsUpdate 707.00 ns/op 1.5930 us/op 0.44
mainnet_e217614 - capella processParticipationFlagUpdates 1.6250 us/op 4.2690 us/op 0.38
mainnet_e217614 - capella afterProcessEpoch 327.25 ms/op 371.10 ms/op 0.88
phase0 processEpoch - mainnet_e58758 486.64 ms/op 667.97 ms/op 0.73
mainnet_e58758 - phase0 beforeProcessEpoch 114.33 ms/op 235.66 ms/op 0.49
mainnet_e58758 - phase0 processJustificationAndFinalization 23.675 us/op 35.726 us/op 0.66
mainnet_e58758 - phase0 processRewardsAndPenalties 43.702 ms/op 73.694 ms/op 0.59
mainnet_e58758 - phase0 processRegistryUpdates 10.305 us/op 28.223 us/op 0.37
mainnet_e58758 - phase0 processSlashings 547.00 ns/op 1.4660 us/op 0.37
mainnet_e58758 - phase0 processEth1DataReset 687.00 ns/op 1.0360 us/op 0.66
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.4708 ms/op 1.5936 ms/op 0.92
mainnet_e58758 - phase0 processSlashingsReset 3.1460 us/op 6.6120 us/op 0.48
mainnet_e58758 - phase0 processRandaoMixesReset 4.7450 us/op 7.7460 us/op 0.61
mainnet_e58758 - phase0 processHistoricalRootsUpdate 639.00 ns/op 1.2040 us/op 0.53
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.5600 us/op 7.1980 us/op 0.49
mainnet_e58758 - phase0 afterProcessEpoch 98.913 ms/op 101.39 ms/op 0.98
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3877 ms/op 1.4472 ms/op 0.96
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.9818 ms/op 1.6279 ms/op 1.22
altair processInactivityUpdates - 250000 normalcase 29.657 ms/op 23.822 ms/op 1.24
altair processInactivityUpdates - 250000 worstcase 29.158 ms/op 29.260 ms/op 1.00
phase0 processRegistryUpdates - 250000 normalcase 11.193 us/op 14.071 us/op 0.80
phase0 processRegistryUpdates - 250000 badcase_full_deposits 403.61 us/op 488.15 us/op 0.83
phase0 processRegistryUpdates - 250000 worstcase 0.5 131.45 ms/op 173.78 ms/op 0.76
altair processRewardsAndPenalties - 250000 normalcase 57.219 ms/op 63.537 ms/op 0.90
altair processRewardsAndPenalties - 250000 worstcase 55.640 ms/op 46.339 ms/op 1.20
phase0 getAttestationDeltas - 250000 normalcase 8.7748 ms/op 8.8429 ms/op 0.99
phase0 getAttestationDeltas - 250000 worstcase 9.4230 ms/op 12.863 ms/op 0.73
phase0 processSlashings - 250000 worstcase 107.11 us/op 138.36 us/op 0.77
altair processSyncCommitteeUpdates - 250000 158.70 ms/op 192.19 ms/op 0.83
BeaconState.hashTreeRoot - No change 258.00 ns/op 321.00 ns/op 0.80
BeaconState.hashTreeRoot - 1 full validator 128.12 us/op 178.86 us/op 0.72
BeaconState.hashTreeRoot - 32 full validator 1.4111 ms/op 2.3780 ms/op 0.59
BeaconState.hashTreeRoot - 512 full validator 20.278 ms/op 22.237 ms/op 0.91
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 197.50 us/op 219.61 us/op 0.90
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.6186 ms/op 2.7165 ms/op 0.96
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 33.537 ms/op 37.704 ms/op 0.89
BeaconState.hashTreeRoot - 1 balances 174.81 us/op 181.68 us/op 0.96
BeaconState.hashTreeRoot - 32 balances 1.2523 ms/op 1.6211 ms/op 0.77
BeaconState.hashTreeRoot - 512 balances 13.952 ms/op 18.226 ms/op 0.77
BeaconState.hashTreeRoot - 250000 balances 208.54 ms/op 267.26 ms/op 0.78
aggregationBits - 2048 els - zipIndexesInBitList 17.758 us/op 35.996 us/op 0.49
byteArrayEquals 32 74.312 ns/op 96.030 ns/op 0.77
Buffer.compare 32 55.319 ns/op 59.988 ns/op 0.92
byteArrayEquals 1024 2.0286 us/op 2.2495 us/op 0.90
Buffer.compare 1024 70.222 ns/op 76.409 ns/op 0.92
byteArrayEquals 16384 32.215 us/op 35.053 us/op 0.92
Buffer.compare 16384 275.22 ns/op 300.11 ns/op 0.92
byteArrayEquals 123687377 245.64 ms/op 293.76 ms/op 0.84
Buffer.compare 123687377 6.8993 ms/op 12.497 ms/op 0.55
byteArrayEquals 32 - diff last byte 70.011 ns/op 93.576 ns/op 0.75
Buffer.compare 32 - diff last byte 55.896 ns/op 65.595 ns/op 0.85
byteArrayEquals 1024 - diff last byte 2.0147 us/op 2.5168 us/op 0.80
Buffer.compare 1024 - diff last byte 72.086 ns/op 84.889 ns/op 0.85
byteArrayEquals 16384 - diff last byte 32.516 us/op 36.875 us/op 0.88
Buffer.compare 16384 - diff last byte 258.95 ns/op 290.18 ns/op 0.89
byteArrayEquals 123687377 - diff last byte 243.08 ms/op 298.64 ms/op 0.81
Buffer.compare 123687377 - diff last byte 6.6595 ms/op 8.4752 ms/op 0.79
byteArrayEquals 32 - random bytes 5.4150 ns/op 7.0780 ns/op 0.77
Buffer.compare 32 - random bytes 60.300 ns/op 69.703 ns/op 0.87
byteArrayEquals 1024 - random bytes 5.1990 ns/op 6.3340 ns/op 0.82
Buffer.compare 1024 - random bytes 60.644 ns/op 66.205 ns/op 0.92
byteArrayEquals 16384 - random bytes 5.3560 ns/op 6.3840 ns/op 0.84
Buffer.compare 16384 - random bytes 60.508 ns/op 66.744 ns/op 0.91
byteArrayEquals 123687377 - random bytes 8.6100 ns/op 9.7400 ns/op 0.88
Buffer.compare 123687377 - random bytes 64.770 ns/op 78.030 ns/op 0.83
regular array get 100000 times 43.950 us/op 47.955 us/op 0.92
wrappedArray get 100000 times 43.945 us/op 47.620 us/op 0.92
arrayWithProxy get 100000 times 13.999 ms/op 14.973 ms/op 0.93
ssz.Root.equals 53.820 ns/op 59.232 ns/op 0.91
byteArrayEquals 52.641 ns/op 57.182 ns/op 0.92
Buffer.compare 10.750 ns/op 13.645 ns/op 0.79
shuffle list - 16384 els 6.9106 ms/op 7.5244 ms/op 0.92
shuffle list - 250000 els 100.45 ms/op 109.35 ms/op 0.92
processSlot - 1 slots 18.221 us/op 21.271 us/op 0.86
processSlot - 32 slots 3.5160 ms/op 3.8978 ms/op 0.90
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 58.182 ms/op 64.092 ms/op 0.91
getCommitteeAssignments - req 1 vs - 250000 vc 2.4162 ms/op 2.8730 ms/op 0.84
getCommitteeAssignments - req 100 vs - 250000 vc 3.5385 ms/op 4.1820 ms/op 0.85
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0504 ms/op 4.5294 ms/op 0.89
findModifiedValidators - 10000 modified validators 561.15 ms/op 724.79 ms/op 0.77
findModifiedValidators - 1000 modified validators 400.55 ms/op 582.17 ms/op 0.69
findModifiedValidators - 100 modified validators 409.68 ms/op 641.92 ms/op 0.64
findModifiedValidators - 10 modified validators 421.05 ms/op 610.73 ms/op 0.69
findModifiedValidators - 1 modified validators 380.90 ms/op 604.92 ms/op 0.63
findModifiedValidators - no difference 379.58 ms/op 572.41 ms/op 0.66
compare ViewDUs 4.3696 s/op 5.5454 s/op 0.79
compare each validator Uint8Array 1.6491 s/op 2.2423 s/op 0.74
compare ViewDU to Uint8Array 1.1289 s/op 1.5191 s/op 0.74
migrate state 1000000 validators, 24 modified, 0 new 778.01 ms/op 1.0276 s/op 0.76
migrate state 1000000 validators, 1700 modified, 1000 new 1.0809 s/op 1.3630 s/op 0.79
migrate state 1000000 validators, 3400 modified, 2000 new 1.3159 s/op 1.7555 s/op 0.75
migrate state 1500000 validators, 24 modified, 0 new 783.06 ms/op 999.44 ms/op 0.78
migrate state 1500000 validators, 1700 modified, 1000 new 1.0759 s/op 1.4079 s/op 0.76
migrate state 1500000 validators, 3400 modified, 2000 new 1.3071 s/op 1.7825 s/op 0.73
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 3.9300 ns/op 6.4000 ns/op 0.61
state getBlockRootAtSlot - 250000 vs - 7PWei 774.60 ns/op 877.00 ns/op 0.88
computeProposers - vc 250000 9.7085 ms/op 11.522 ms/op 0.84
computeEpochShuffling - vc 250000 100.28 ms/op 116.55 ms/op 0.86
getNextSyncCommittee - vc 250000 160.31 ms/op 194.93 ms/op 0.82
computeSigningRoot for AttestationData 28.209 us/op 35.178 us/op 0.80
hash AttestationData serialized data then Buffer.toString(base64) 2.2485 us/op 2.5995 us/op 0.86
toHexString serialized data 1.0306 us/op 1.8692 us/op 0.55
Buffer.toString(base64) 207.44 ns/op 298.21 ns/op 0.70

by benchmarkbot/action

@wemeetagain
Copy link
Member

🎉 This PR is included in v1.14.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