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.14 stable back to unstable #6303

Merged
merged 2 commits into from
Jan 16, 2024
Merged

chore: merge v1.14 stable back to unstable #6303

merged 2 commits into from
Jan 16, 2024

Conversation

philknows
Copy link
Member

As part of release.md, we must merge stable back into unstable.

@philknows philknows requested a review from a team as a code owner January 16, 2024 03:55
@philknows philknows merged commit 4ff2911 into unstable Jan 16, 2024
23 of 27 checks passed
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: bafbc9d Previous: fc95bf6 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 532.58 us/op 838.14 us/op 0.64
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 94.369 us/op 51.339 us/op 1.84
BLS verify - blst-native 1.3303 ms/op 1.0711 ms/op 1.24
BLS verifyMultipleSignatures 3 - blst-native 2.7925 ms/op 2.2733 ms/op 1.23
BLS verifyMultipleSignatures 8 - blst-native 6.1961 ms/op 5.0332 ms/op 1.23
BLS verifyMultipleSignatures 32 - blst-native 22.673 ms/op 18.490 ms/op 1.23
BLS verifyMultipleSignatures 64 - blst-native 45.093 ms/op 36.433 ms/op 1.24
BLS verifyMultipleSignatures 128 - blst-native 88.641 ms/op 72.350 ms/op 1.23
BLS deserializing 10000 signatures 945.46 ms/op 773.70 ms/op 1.22
BLS deserializing 100000 signatures 9.6661 s/op 8.1474 s/op 1.19
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.5280 ms/op 1.1239 ms/op 1.36
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5573 ms/op 1.2269 ms/op 1.27
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.8251 ms/op 2.4531 ms/op 1.15
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.4351 ms/op 3.6760 ms/op 1.21
BLS verifyMultipleSignatures - same message - 128 - blst-native 8.1238 ms/op 4.7627 ms/op 1.71
BLS aggregatePubkeys 32 - blst-native 27.053 us/op 21.351 us/op 1.27
BLS aggregatePubkeys 128 - blst-native 105.00 us/op 83.718 us/op 1.25
getAttestationsForBlock 49.267 ms/op 36.693 ms/op 1.34
getSlashingsAndExits - default max 139.55 us/op 133.49 us/op 1.05
getSlashingsAndExits - 2k 424.36 us/op 301.45 us/op 1.41
proposeBlockBody type=full, size=empty 5.2407 ms/op 3.7975 ms/op 1.38
isKnown best case - 1 super set check 330.00 ns/op 312.00 ns/op 1.06
isKnown normal case - 2 super set checks 336.00 ns/op 308.00 ns/op 1.09
isKnown worse case - 16 super set checks 326.00 ns/op 299.00 ns/op 1.09
CheckpointStateCache - add get delete 5.3820 us/op 3.4760 us/op 1.55
validate api signedAggregateAndProof - struct 2.8839 ms/op 2.3039 ms/op 1.25
validate gossip signedAggregateAndProof - struct 2.8748 ms/op 2.2964 ms/op 1.25
validate gossip attestation - vc 640000 1.3994 ms/op 1.0957 ms/op 1.28
batch validate gossip attestation - vc 640000 - chunk 32 174.66 us/op 134.05 us/op 1.30
batch validate gossip attestation - vc 640000 - chunk 64 155.33 us/op 116.74 us/op 1.33
batch validate gossip attestation - vc 640000 - chunk 128 144.10 us/op 110.96 us/op 1.30
batch validate gossip attestation - vc 640000 - chunk 256 145.04 us/op 109.33 us/op 1.33
pickEth1Vote - no votes 1.2980 ms/op 858.97 us/op 1.51
pickEth1Vote - max votes 12.239 ms/op 11.033 ms/op 1.11
pickEth1Vote - Eth1Data hashTreeRoot value x2048 23.855 ms/op 20.194 ms/op 1.18
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 30.042 ms/op 22.432 ms/op 1.34
pickEth1Vote - Eth1Data fastSerialize value x2048 627.16 us/op 405.32 us/op 1.55
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.7763 ms/op 6.6646 ms/op 1.17
bytes32 toHexString 546.00 ns/op 453.00 ns/op 1.21
bytes32 Buffer.toString(hex) 296.00 ns/op 313.00 ns/op 0.95
bytes32 Buffer.toString(hex) from Uint8Array 451.00 ns/op 417.00 ns/op 1.08
bytes32 Buffer.toString(hex) + 0x 299.00 ns/op 312.00 ns/op 0.96
Object access 1 prop 0.17400 ns/op 0.19400 ns/op 0.90
Map access 1 prop 0.14600 ns/op 0.19000 ns/op 0.77
Object get x1000 7.4460 ns/op 5.6530 ns/op 1.32
Map get x1000 0.82300 ns/op 0.71900 ns/op 1.14
Object set x1000 57.424 ns/op 24.865 ns/op 2.31
Map set x1000 43.722 ns/op 17.139 ns/op 2.55
Return object 10000 times 0.25450 ns/op 0.22550 ns/op 1.13
Throw Error 10000 times 4.0294 us/op 2.6955 us/op 1.49
fastMsgIdFn sha256 / 200 bytes 3.4540 us/op 1.8980 us/op 1.82
fastMsgIdFn h32 xxhash / 200 bytes 318.00 ns/op 290.00 ns/op 1.10
fastMsgIdFn h64 xxhash / 200 bytes 372.00 ns/op 346.00 ns/op 1.08
fastMsgIdFn sha256 / 1000 bytes 11.928 us/op 6.0650 us/op 1.97
fastMsgIdFn h32 xxhash / 1000 bytes 464.00 ns/op 403.00 ns/op 1.15
fastMsgIdFn h64 xxhash / 1000 bytes 446.00 ns/op 409.00 ns/op 1.09
fastMsgIdFn sha256 / 10000 bytes 106.95 us/op 52.478 us/op 2.04
fastMsgIdFn h32 xxhash / 10000 bytes 2.2420 us/op 1.7750 us/op 1.26
fastMsgIdFn h64 xxhash / 10000 bytes 1.4190 us/op 1.2220 us/op 1.16
send data - 1000 256B messages 20.781 ms/op 11.614 ms/op 1.79
send data - 1000 512B messages 28.560 ms/op 17.270 ms/op 1.65
send data - 1000 1024B messages 43.975 ms/op 22.068 ms/op 1.99
send data - 1000 1200B messages 25.050 ms/op 28.516 ms/op 0.88
send data - 1000 2048B messages 45.462 ms/op 31.014 ms/op 1.47
send data - 1000 4096B messages 45.388 ms/op 32.116 ms/op 1.41
send data - 1000 16384B messages 112.77 ms/op 89.739 ms/op 1.26
send data - 1000 65536B messages 447.23 ms/op 414.35 ms/op 1.08
enrSubnets - fastDeserialize 64 bits 1.3010 us/op 917.00 ns/op 1.42
enrSubnets - ssz BitVector 64 bits 496.00 ns/op 412.00 ns/op 1.20
enrSubnets - fastDeserialize 4 bits 192.00 ns/op 202.00 ns/op 0.95
enrSubnets - ssz BitVector 4 bits 524.00 ns/op 411.00 ns/op 1.27
prioritizePeers score -10:0 att 32-0.1 sync 2-0 110.50 us/op 66.765 us/op 1.66
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 137.21 us/op 80.198 us/op 1.71
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 188.42 us/op 107.57 us/op 1.75
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 339.41 us/op 186.64 us/op 1.82
prioritizePeers score 0:0 att 64-1 sync 4-1 377.20 us/op 204.53 us/op 1.84
array of 16000 items push then shift 1.6961 us/op 1.2768 us/op 1.33
LinkedList of 16000 items push then shift 9.2280 ns/op 5.8880 ns/op 1.57
array of 16000 items push then pop 104.16 ns/op 60.367 ns/op 1.73
LinkedList of 16000 items push then pop 8.9620 ns/op 5.7090 ns/op 1.57
array of 24000 items push then shift 2.5839 us/op 1.8882 us/op 1.37
LinkedList of 24000 items push then shift 8.9950 ns/op 5.8910 ns/op 1.53
array of 24000 items push then pop 117.89 ns/op 94.962 ns/op 1.24
LinkedList of 24000 items push then pop 8.8150 ns/op 5.4140 ns/op 1.63
intersect bitArray bitLen 8 6.5910 ns/op 4.6320 ns/op 1.42
intersect array and set length 8 64.380 ns/op 45.613 ns/op 1.41
intersect bitArray bitLen 128 34.246 ns/op 26.574 ns/op 1.29
intersect array and set length 128 897.00 ns/op 642.40 ns/op 1.40
bitArray.getTrueBitIndexes() bitLen 128 1.4200 us/op 1.2040 us/op 1.18
bitArray.getTrueBitIndexes() bitLen 248 2.3640 us/op 1.8470 us/op 1.28
bitArray.getTrueBitIndexes() bitLen 512 4.6880 us/op 3.4680 us/op 1.35
Buffer.concat 32 items 931.00 ns/op 895.00 ns/op 1.04
Uint8Array.set 32 items 1.7360 us/op 1.6340 us/op 1.06
Set add up to 64 items then delete first 4.3035 us/op 1.6145 us/op 2.67
OrderedSet add up to 64 items then delete first 5.4222 us/op 2.4597 us/op 2.20
Set add up to 64 items then delete last 4.7523 us/op 1.8372 us/op 2.59
OrderedSet add up to 64 items then delete last 5.7532 us/op 2.8889 us/op 1.99
Set add up to 64 items then delete middle 4.5554 us/op 1.8547 us/op 2.46
OrderedSet add up to 64 items then delete middle 6.9574 us/op 3.9856 us/op 1.75
Set add up to 128 items then delete first 9.2492 us/op 3.5535 us/op 2.60
OrderedSet add up to 128 items then delete first 12.340 us/op 5.3570 us/op 2.30
Set add up to 128 items then delete last 9.1179 us/op 3.5353 us/op 2.58
OrderedSet add up to 128 items then delete last 11.522 us/op 5.5552 us/op 2.07
Set add up to 128 items then delete middle 9.0602 us/op 3.5202 us/op 2.57
OrderedSet add up to 128 items then delete middle 16.741 us/op 10.090 us/op 1.66
Set add up to 256 items then delete first 18.516 us/op 6.9882 us/op 2.65
OrderedSet add up to 256 items then delete first 25.219 us/op 10.766 us/op 2.34
Set add up to 256 items then delete last 18.124 us/op 6.9869 us/op 2.59
OrderedSet add up to 256 items then delete last 23.445 us/op 11.198 us/op 2.09
Set add up to 256 items then delete middle 18.123 us/op 6.9302 us/op 2.62
OrderedSet add up to 256 items then delete middle 44.748 us/op 28.842 us/op 1.55
transfer serialized Status (84 B) 1.7280 us/op 1.3280 us/op 1.30
copy serialized Status (84 B) 1.4500 us/op 1.1910 us/op 1.22
transfer serialized SignedVoluntaryExit (112 B) 1.8780 us/op 1.5450 us/op 1.22
copy serialized SignedVoluntaryExit (112 B) 1.5110 us/op 1.3350 us/op 1.13
transfer serialized ProposerSlashing (416 B) 2.1660 us/op 2.6590 us/op 0.81
copy serialized ProposerSlashing (416 B) 1.9790 us/op 1.7970 us/op 1.10
transfer serialized Attestation (485 B) 2.3250 us/op 1.8600 us/op 1.25
copy serialized Attestation (485 B) 1.9820 us/op 2.1470 us/op 0.92
transfer serialized AttesterSlashing (33232 B) 2.3340 us/op 2.1000 us/op 1.11
copy serialized AttesterSlashing (33232 B) 5.3780 us/op 4.2850 us/op 1.26
transfer serialized Small SignedBeaconBlock (128000 B) 2.7570 us/op 3.0030 us/op 0.92
copy serialized Small SignedBeaconBlock (128000 B) 14.452 us/op 9.5940 us/op 1.51
transfer serialized Avg SignedBeaconBlock (200000 B) 3.2230 us/op 2.9110 us/op 1.11
copy serialized Avg SignedBeaconBlock (200000 B) 20.865 us/op 13.333 us/op 1.56
transfer serialized BlobsSidecar (524380 B) 3.1560 us/op 2.8070 us/op 1.12
copy serialized BlobsSidecar (524380 B) 85.247 us/op 78.321 us/op 1.09
transfer serialized Big SignedBeaconBlock (1000000 B) 3.4390 us/op 3.3760 us/op 1.02
copy serialized Big SignedBeaconBlock (1000000 B) 277.07 us/op 189.83 us/op 1.46
pass gossip attestations to forkchoice per slot 3.8281 ms/op 2.6519 ms/op 1.44
forkChoice updateHead vc 100000 bc 64 eq 0 710.31 us/op 454.73 us/op 1.56
forkChoice updateHead vc 600000 bc 64 eq 0 4.2195 ms/op 2.8930 ms/op 1.46
forkChoice updateHead vc 1000000 bc 64 eq 0 8.1280 ms/op 4.3002 ms/op 1.89
forkChoice updateHead vc 600000 bc 320 eq 0 4.1720 ms/op 2.6043 ms/op 1.60
forkChoice updateHead vc 600000 bc 1200 eq 0 4.3315 ms/op 2.6797 ms/op 1.62
forkChoice updateHead vc 600000 bc 7200 eq 0 5.2666 ms/op 3.2344 ms/op 1.63
forkChoice updateHead vc 600000 bc 64 eq 1000 11.246 ms/op 9.4617 ms/op 1.19
forkChoice updateHead vc 600000 bc 64 eq 10000 11.846 ms/op 9.5058 ms/op 1.25
forkChoice updateHead vc 600000 bc 64 eq 300000 15.632 ms/op 11.880 ms/op 1.32
computeDeltas 500000 validators 300 proto nodes 6.6718 ms/op 3.0381 ms/op 2.20
computeDeltas 500000 validators 1200 proto nodes 6.6944 ms/op 2.9285 ms/op 2.29
computeDeltas 500000 validators 7200 proto nodes 6.5680 ms/op 2.9065 ms/op 2.26
computeDeltas 750000 validators 300 proto nodes 9.8675 ms/op 4.4748 ms/op 2.21
computeDeltas 750000 validators 1200 proto nodes 9.9207 ms/op 4.4528 ms/op 2.23
computeDeltas 750000 validators 7200 proto nodes 9.9366 ms/op 4.3481 ms/op 2.29
computeDeltas 1400000 validators 300 proto nodes 19.220 ms/op 8.5338 ms/op 2.25
computeDeltas 1400000 validators 1200 proto nodes 19.100 ms/op 8.8369 ms/op 2.16
computeDeltas 1400000 validators 7200 proto nodes 19.082 ms/op 8.8356 ms/op 2.16
computeDeltas 2100000 validators 300 proto nodes 28.643 ms/op 13.130 ms/op 2.18
computeDeltas 2100000 validators 1200 proto nodes 28.433 ms/op 12.823 ms/op 2.22
computeDeltas 2100000 validators 7200 proto nodes 29.306 ms/op 12.773 ms/op 2.29
computeProposerBoostScoreFromBalances 500000 validators 3.7866 ms/op 3.1643 ms/op 1.20
computeProposerBoostScoreFromBalances 750000 validators 3.8126 ms/op 3.2575 ms/op 1.17
computeProposerBoostScoreFromBalances 1400000 validators 3.7617 ms/op 3.2377 ms/op 1.16
computeProposerBoostScoreFromBalances 2100000 validators 3.7819 ms/op 2.9803 ms/op 1.27
altair processAttestation - 250000 vs - 7PWei normalcase 2.3312 ms/op 1.4671 ms/op 1.59
altair processAttestation - 250000 vs - 7PWei worstcase 3.8087 ms/op 2.1907 ms/op 1.74
altair processAttestation - setStatus - 1/6 committees join 187.32 us/op 75.055 us/op 2.50
altair processAttestation - setStatus - 1/3 committees join 363.12 us/op 138.52 us/op 2.62
altair processAttestation - setStatus - 1/2 committees join 478.17 us/op 198.26 us/op 2.41
altair processAttestation - setStatus - 2/3 committees join 593.14 us/op 262.96 us/op 2.26
altair processAttestation - setStatus - 4/5 committees join 817.37 us/op 379.51 us/op 2.15
altair processAttestation - setStatus - 100% committees join 977.34 us/op 469.21 us/op 2.08
altair processBlock - 250000 vs - 7PWei normalcase 10.692 ms/op 8.4547 ms/op 1.26
altair processBlock - 250000 vs - 7PWei normalcase hashState 43.026 ms/op 27.364 ms/op 1.57
altair processBlock - 250000 vs - 7PWei worstcase 41.163 ms/op 29.823 ms/op 1.38
altair processBlock - 250000 vs - 7PWei worstcase hashState 103.33 ms/op 83.610 ms/op 1.24
phase0 processBlock - 250000 vs - 7PWei normalcase 2.7978 ms/op 2.2361 ms/op 1.25
phase0 processBlock - 250000 vs - 7PWei worstcase 41.977 ms/op 25.036 ms/op 1.68
altair processEth1Data - 250000 vs - 7PWei normalcase 571.20 us/op 353.11 us/op 1.62
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 13.872 us/op 6.2950 us/op 2.20
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 53.668 us/op 25.012 us/op 2.15
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 14.034 us/op 7.8650 us/op 1.78
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.253 us/op 10.817 us/op 1.32
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 183.80 us/op 157.31 us/op 1.17
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3961 ms/op 1.1269 ms/op 1.24
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8470 ms/op 966.40 us/op 1.91
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.7692 ms/op 1.2631 ms/op 1.40
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.5496 ms/op 2.6616 ms/op 1.33
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.1738 ms/op 1.5098 ms/op 2.10
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.5804 ms/op 3.8354 ms/op 1.45
Tree 40 250000 create 371.18 ms/op 273.84 ms/op 1.36
Tree 40 250000 get(125000) 200.80 ns/op 102.88 ns/op 1.95
Tree 40 250000 set(125000) 1.0117 us/op 743.72 ns/op 1.36
Tree 40 250000 toArray() 20.531 ms/op 14.300 ms/op 1.44
Tree 40 250000 iterate all - toArray() + loop 21.287 ms/op 14.461 ms/op 1.47
Tree 40 250000 iterate all - get(i) 72.529 ms/op 40.779 ms/op 1.78
MutableVector 250000 create 13.028 ms/op 11.857 ms/op 1.10
MutableVector 250000 get(125000) 6.8340 ns/op 5.6670 ns/op 1.21
MutableVector 250000 set(125000) 293.08 ns/op 203.63 ns/op 1.44
MutableVector 250000 toArray() 3.0812 ms/op 2.2479 ms/op 1.37
MutableVector 250000 iterate all - toArray() + loop 5.6364 ms/op 2.5890 ms/op 2.18
MutableVector 250000 iterate all - get(i) 1.6060 ms/op 1.2834 ms/op 1.25
Array 250000 create 3.2273 ms/op 2.1543 ms/op 1.50
Array 250000 clone - spread 1.3391 ms/op 1.1619 ms/op 1.15
Array 250000 get(125000) 1.0970 ns/op 1.0370 ns/op 1.06
Array 250000 set(125000) 4.3850 ns/op 1.2370 ns/op 3.54
Array 250000 iterate all - loop 174.22 us/op 150.09 us/op 1.16
effectiveBalanceIncrements clone Uint8Array 300000 33.213 us/op 23.581 us/op 1.41
effectiveBalanceIncrements clone MutableVector 300000 385.00 ns/op 430.00 ns/op 0.90
effectiveBalanceIncrements rw all Uint8Array 300000 210.46 us/op 182.29 us/op 1.15
effectiveBalanceIncrements rw all MutableVector 300000 86.795 ms/op 68.770 ms/op 1.26
phase0 afterProcessEpoch - 250000 vs - 7PWei 118.76 ms/op 71.465 ms/op 1.66
phase0 beforeProcessEpoch - 250000 vs - 7PWei 53.118 ms/op 42.214 ms/op 1.26
altair processEpoch - mainnet_e81889 519.91 ms/op 427.24 ms/op 1.22
mainnet_e81889 - altair beforeProcessEpoch 89.114 ms/op 67.050 ms/op 1.33
mainnet_e81889 - altair processJustificationAndFinalization 17.378 us/op 8.1420 us/op 2.13
mainnet_e81889 - altair processInactivityUpdates 6.6359 ms/op 4.8086 ms/op 1.38
mainnet_e81889 - altair processRewardsAndPenalties 65.862 ms/op 62.378 ms/op 1.06
mainnet_e81889 - altair processRegistryUpdates 2.9070 us/op 1.2330 us/op 2.36
mainnet_e81889 - altair processSlashings 513.00 ns/op 578.00 ns/op 0.89
mainnet_e81889 - altair processEth1DataReset 478.00 ns/op 607.00 ns/op 0.79
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4521 ms/op 1.7506 ms/op 0.83
mainnet_e81889 - altair processSlashingsReset 3.8040 us/op 2.1180 us/op 1.80
mainnet_e81889 - altair processRandaoMixesReset 5.7300 us/op 2.6410 us/op 2.17
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0150 us/op 422.00 ns/op 2.41
mainnet_e81889 - altair processParticipationFlagUpdates 1.9930 us/op 1.1960 us/op 1.67
mainnet_e81889 - altair processSyncCommitteeUpdates 755.00 ns/op 642.00 ns/op 1.18
mainnet_e81889 - altair afterProcessEpoch 122.82 ms/op 74.598 ms/op 1.65
capella processEpoch - mainnet_e217614 2.4989 s/op 1.7524 s/op 1.43
mainnet_e217614 - capella beforeProcessEpoch 508.37 ms/op 418.42 ms/op 1.21
mainnet_e217614 - capella processJustificationAndFinalization 14.737 us/op 10.068 us/op 1.46
mainnet_e217614 - capella processInactivityUpdates 21.426 ms/op 18.037 ms/op 1.19
mainnet_e217614 - capella processRewardsAndPenalties 405.80 ms/op 359.35 ms/op 1.13
mainnet_e217614 - capella processRegistryUpdates 20.102 us/op 11.929 us/op 1.69
mainnet_e217614 - capella processSlashings 602.00 ns/op 607.00 ns/op 0.99
mainnet_e217614 - capella processEth1DataReset 399.00 ns/op 600.00 ns/op 0.67
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.8668 ms/op 3.7006 ms/op 1.32
mainnet_e217614 - capella processSlashingsReset 3.1520 us/op 3.7240 us/op 0.85
mainnet_e217614 - capella processRandaoMixesReset 4.8110 us/op 2.8000 us/op 1.72
mainnet_e217614 - capella processHistoricalRootsUpdate 777.00 ns/op 632.00 ns/op 1.23
mainnet_e217614 - capella processParticipationFlagUpdates 2.4790 us/op 1.6220 us/op 1.53
mainnet_e217614 - capella afterProcessEpoch 313.37 ms/op 196.61 ms/op 1.59
phase0 processEpoch - mainnet_e58758 464.65 ms/op 398.23 ms/op 1.17
mainnet_e58758 - phase0 beforeProcessEpoch 131.39 ms/op 121.67 ms/op 1.08
mainnet_e58758 - phase0 processJustificationAndFinalization 19.453 us/op 11.484 us/op 1.69
mainnet_e58758 - phase0 processRewardsAndPenalties 54.847 ms/op 47.899 ms/op 1.15
mainnet_e58758 - phase0 processRegistryUpdates 14.735 us/op 7.6470 us/op 1.93
mainnet_e58758 - phase0 processSlashings 651.00 ns/op 555.00 ns/op 1.17
mainnet_e58758 - phase0 processEth1DataReset 445.00 ns/op 427.00 ns/op 1.04
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1840 ms/op 1.0877 ms/op 1.09
mainnet_e58758 - phase0 processSlashingsReset 2.9070 us/op 2.8200 us/op 1.03
mainnet_e58758 - phase0 processRandaoMixesReset 5.2000 us/op 2.9430 us/op 1.77
mainnet_e58758 - phase0 processHistoricalRootsUpdate 401.00 ns/op 512.00 ns/op 0.78
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.9240 us/op 3.2610 us/op 1.20
mainnet_e58758 - phase0 afterProcessEpoch 98.995 ms/op 65.252 ms/op 1.52
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4284 ms/op 1.7409 ms/op 0.82
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5253 ms/op 1.1264 ms/op 1.35
altair processInactivityUpdates - 250000 normalcase 23.037 ms/op 26.325 ms/op 0.88
altair processInactivityUpdates - 250000 worstcase 28.530 ms/op 27.149 ms/op 1.05
phase0 processRegistryUpdates - 250000 normalcase 9.7570 us/op 3.4090 us/op 2.86
phase0 processRegistryUpdates - 250000 badcase_full_deposits 401.46 us/op 337.23 us/op 1.19
phase0 processRegistryUpdates - 250000 worstcase 0.5 126.67 ms/op 123.53 ms/op 1.03
altair processRewardsAndPenalties - 250000 normalcase 58.143 ms/op 59.906 ms/op 0.97
altair processRewardsAndPenalties - 250000 worstcase 44.970 ms/op 39.969 ms/op 1.13
phase0 getAttestationDeltas - 250000 normalcase 9.1172 ms/op 5.4194 ms/op 1.68
phase0 getAttestationDeltas - 250000 worstcase 11.754 ms/op 5.2020 ms/op 2.26
phase0 processSlashings - 250000 worstcase 97.875 us/op 76.420 us/op 1.28
altair processSyncCommitteeUpdates - 250000 158.87 ms/op 103.09 ms/op 1.54
BeaconState.hashTreeRoot - No change 255.00 ns/op 353.00 ns/op 0.72
BeaconState.hashTreeRoot - 1 full validator 129.31 us/op 91.393 us/op 1.41
BeaconState.hashTreeRoot - 32 full validator 1.3712 ms/op 1.6285 ms/op 0.84
BeaconState.hashTreeRoot - 512 full validator 14.076 ms/op 14.332 ms/op 0.98
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 162.56 us/op 164.05 us/op 0.99
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.0394 ms/op 1.8583 ms/op 1.64
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 33.468 ms/op 23.015 ms/op 1.45
BeaconState.hashTreeRoot - 1 balances 149.11 us/op 141.94 us/op 1.05
BeaconState.hashTreeRoot - 32 balances 1.5391 ms/op 1.0978 ms/op 1.40
BeaconState.hashTreeRoot - 512 balances 15.342 ms/op 11.689 ms/op 1.31
BeaconState.hashTreeRoot - 250000 balances 248.19 ms/op 200.55 ms/op 1.24
aggregationBits - 2048 els - zipIndexesInBitList 22.959 us/op 11.823 us/op 1.94
byteArrayEquals 32 77.326 ns/op 60.199 ns/op 1.28
Buffer.compare 32 57.358 ns/op 34.352 ns/op 1.67
byteArrayEquals 1024 2.1141 us/op 1.6381 us/op 1.29
Buffer.compare 1024 72.529 ns/op 41.586 ns/op 1.74
byteArrayEquals 16384 33.554 us/op 25.533 us/op 1.31
Buffer.compare 16384 257.89 ns/op 191.63 ns/op 1.35
byteArrayEquals 123687377 253.19 ms/op 195.26 ms/op 1.30
Buffer.compare 123687377 8.2818 ms/op 5.2920 ms/op 1.56
byteArrayEquals 32 - diff last byte 74.172 ns/op 58.778 ns/op 1.26
Buffer.compare 32 - diff last byte 58.091 ns/op 36.022 ns/op 1.61
byteArrayEquals 1024 - diff last byte 2.1003 us/op 1.6836 us/op 1.25
Buffer.compare 1024 - diff last byte 73.187 ns/op 43.554 ns/op 1.68
byteArrayEquals 16384 - diff last byte 33.468 us/op 26.781 us/op 1.25
Buffer.compare 16384 - diff last byte 267.94 ns/op 222.83 ns/op 1.20
byteArrayEquals 123687377 - diff last byte 253.26 ms/op 208.55 ms/op 1.21
Buffer.compare 123687377 - diff last byte 8.3438 ms/op 4.0266 ms/op 2.07
byteArrayEquals 32 - random bytes 5.6320 ns/op 4.4640 ns/op 1.26
Buffer.compare 32 - random bytes 65.351 ns/op 39.167 ns/op 1.67
byteArrayEquals 1024 - random bytes 5.5460 ns/op 4.3880 ns/op 1.26
Buffer.compare 1024 - random bytes 62.031 ns/op 37.276 ns/op 1.66
byteArrayEquals 16384 - random bytes 5.4090 ns/op 4.4020 ns/op 1.23
Buffer.compare 16384 - random bytes 61.803 ns/op 37.278 ns/op 1.66
byteArrayEquals 123687377 - random bytes 8.9700 ns/op 7.7700 ns/op 1.15
Buffer.compare 123687377 - random bytes 65.810 ns/op 41.100 ns/op 1.60
regular array get 100000 times 45.948 us/op 40.727 us/op 1.13
wrappedArray get 100000 times 45.988 us/op 40.728 us/op 1.13
arrayWithProxy get 100000 times 14.542 ms/op 9.9437 ms/op 1.46
ssz.Root.equals 55.687 ns/op 53.833 ns/op 1.03
byteArrayEquals 54.908 ns/op 53.051 ns/op 1.04
Buffer.compare 11.168 ns/op 9.7760 ns/op 1.14
shuffle list - 16384 els 7.1681 ms/op 4.4992 ms/op 1.59
shuffle list - 250000 els 106.17 ms/op 66.998 ms/op 1.58
processSlot - 1 slots 20.839 us/op 15.266 us/op 1.37
processSlot - 32 slots 3.9981 ms/op 3.3817 ms/op 1.18
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 58.153 ms/op 57.595 ms/op 1.01
getCommitteeAssignments - req 1 vs - 250000 vc 2.5684 ms/op 2.2501 ms/op 1.14
getCommitteeAssignments - req 100 vs - 250000 vc 3.8199 ms/op 3.4056 ms/op 1.12
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1544 ms/op 3.6601 ms/op 1.14
findModifiedValidators - 10000 modified validators 584.78 ms/op 398.51 ms/op 1.47
findModifiedValidators - 1000 modified validators 473.42 ms/op 310.12 ms/op 1.53
findModifiedValidators - 100 modified validators 465.53 ms/op 309.52 ms/op 1.50
findModifiedValidators - 10 modified validators 428.51 ms/op 287.59 ms/op 1.49
findModifiedValidators - 1 modified validators 380.57 ms/op 290.11 ms/op 1.31
findModifiedValidators - no difference 402.44 ms/op 288.19 ms/op 1.40
compare ViewDUs 4.5250 s/op 3.9704 s/op 1.14
compare each validator Uint8Array 1.7409 s/op 1.6650 s/op 1.05
compare ViewDU to Uint8Array 1.1277 s/op 820.87 ms/op 1.37
migrate state 1000000 validators, 24 modified, 0 new 733.61 ms/op 751.80 ms/op 0.98
migrate state 1000000 validators, 1700 modified, 1000 new 1.0148 s/op 1.0107 s/op 1.00
migrate state 1000000 validators, 3400 modified, 2000 new 1.1926 s/op 1.2491 s/op 0.95
migrate state 1500000 validators, 24 modified, 0 new 741.35 ms/op 744.48 ms/op 1.00
migrate state 1500000 validators, 1700 modified, 1000 new 1.0165 s/op 1.0178 s/op 1.00
migrate state 1500000 validators, 3400 modified, 2000 new 1.3063 s/op 1.2295 s/op 1.06
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.2200 ns/op 4.3800 ns/op 0.96
state getBlockRootAtSlot - 250000 vs - 7PWei 842.75 ns/op 1.0221 us/op 0.82
computeProposers - vc 250000 8.8677 ms/op 7.1250 ms/op 1.24
computeEpochShuffling - vc 250000 104.00 ms/op 67.912 ms/op 1.53
getNextSyncCommittee - vc 250000 149.59 ms/op 113.63 ms/op 1.32
computeSigningRoot for AttestationData 23.927 us/op 27.645 us/op 0.87
hash AttestationData serialized data then Buffer.toString(base64) 2.3153 us/op 1.2736 us/op 1.82
toHexString serialized data 1.0643 us/op 843.55 ns/op 1.26
Buffer.toString(base64) 221.58 ns/op 144.63 ns/op 1.53

by benchmarkbot/action

@wemeetagain
Copy link
Member

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