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.15 stable back to unstable #6372

Merged
merged 2 commits into from
Jan 29, 2024
Merged

chore: merge v1.15 stable back to unstable #6372

merged 2 commits into from
Jan 29, 2024

Conversation

philknows
Copy link
Member

Motivation

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

@philknows philknows marked this pull request as ready for review January 29, 2024 14:46
@philknows philknows requested a review from a team as a code owner January 29, 2024 14:46
@philknows philknows changed the title chore: merge v1.15 unstable back to stable chore: merge v1.15 stable back to unstable Jan 29, 2024
@philknows philknows merged commit d6a7a39 into unstable Jan 29, 2024
20 of 22 checks passed
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: e9f0318 Previous: cbf349c Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 526.00 us/op 830.48 us/op 0.63
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 51.475 us/op 50.516 us/op 1.02
BLS verify - blst-native 1.0987 ms/op 1.0679 ms/op 1.03
BLS verifyMultipleSignatures 3 - blst-native 2.3487 ms/op 2.2662 ms/op 1.04
BLS verifyMultipleSignatures 8 - blst-native 5.1924 ms/op 5.0148 ms/op 1.04
BLS verifyMultipleSignatures 32 - blst-native 19.065 ms/op 18.421 ms/op 1.03
BLS verifyMultipleSignatures 64 - blst-native 37.572 ms/op 36.267 ms/op 1.04
BLS verifyMultipleSignatures 128 - blst-native 74.596 ms/op 72.007 ms/op 1.04
BLS deserializing 10000 signatures 824.52 ms/op 814.39 ms/op 1.01
BLS deserializing 100000 signatures 8.3536 s/op 8.2448 s/op 1.01
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.1369 ms/op 1.1338 ms/op 1.00
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4552 ms/op 1.4334 ms/op 1.02
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5835 ms/op 2.0306 ms/op 1.27
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.7508 ms/op 3.0247 ms/op 1.24
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.9614 ms/op 6.8777 ms/op 1.01
BLS aggregatePubkeys 32 - blst-native 22.449 us/op 23.506 us/op 0.96
BLS aggregatePubkeys 128 - blst-native 87.307 us/op 88.348 us/op 0.99
getAttestationsForBlock 38.455 ms/op 38.627 ms/op 1.00
getSlashingsAndExits - default max 98.367 us/op 111.36 us/op 0.88
getSlashingsAndExits - 2k 343.99 us/op 265.37 us/op 1.30
proposeBlockBody type=full, size=empty 3.7998 ms/op 3.7746 ms/op 1.01
isKnown best case - 1 super set check 331.00 ns/op 311.00 ns/op 1.06
isKnown normal case - 2 super set checks 310.00 ns/op 312.00 ns/op 0.99
isKnown worse case - 16 super set checks 312.00 ns/op 302.00 ns/op 1.03
CheckpointStateCache - add get delete 3.5310 us/op 3.4960 us/op 1.01
validate api signedAggregateAndProof - struct 2.4230 ms/op 2.4083 ms/op 1.01
validate gossip signedAggregateAndProof - struct 2.3090 ms/op 2.4115 ms/op 0.96
validate gossip attestation - vc 640000 1.1395 ms/op 1.1485 ms/op 0.99
batch validate gossip attestation - vc 640000 - chunk 32 137.49 us/op 137.63 us/op 1.00
batch validate gossip attestation - vc 640000 - chunk 64 121.03 us/op 119.85 us/op 1.01
batch validate gossip attestation - vc 640000 - chunk 128 123.89 us/op 112.68 us/op 1.10
batch validate gossip attestation - vc 640000 - chunk 256 126.68 us/op 112.47 us/op 1.13
pickEth1Vote - no votes 1.1051 ms/op 911.15 us/op 1.21
pickEth1Vote - max votes 10.818 ms/op 8.7854 ms/op 1.23
pickEth1Vote - Eth1Data hashTreeRoot value x2048 21.611 ms/op 16.306 ms/op 1.33
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 25.786 ms/op 29.064 ms/op 0.89
pickEth1Vote - Eth1Data fastSerialize value x2048 562.17 us/op 409.02 us/op 1.37
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.7365 ms/op 8.2567 ms/op 0.57
bytes32 toHexString 796.00 ns/op 434.00 ns/op 1.83
bytes32 Buffer.toString(hex) 402.00 ns/op 298.00 ns/op 1.35
bytes32 Buffer.toString(hex) from Uint8Array 571.00 ns/op 420.00 ns/op 1.36
bytes32 Buffer.toString(hex) + 0x 371.00 ns/op 291.00 ns/op 1.27
Object access 1 prop 0.23900 ns/op 0.18800 ns/op 1.27
Map access 1 prop 0.21300 ns/op 0.18500 ns/op 1.15
Object get x1000 4.8800 ns/op 4.8070 ns/op 1.02
Map get x1000 0.77900 ns/op 0.69300 ns/op 1.12
Object set x1000 28.876 ns/op 27.215 ns/op 1.06
Map set x1000 19.926 ns/op 17.073 ns/op 1.17
Return object 10000 times 0.24270 ns/op 0.21300 ns/op 1.14
Throw Error 10000 times 2.8559 us/op 2.6263 us/op 1.09
fastMsgIdFn sha256 / 200 bytes 2.0780 us/op 1.8390 us/op 1.13
fastMsgIdFn h32 xxhash / 200 bytes 365.00 ns/op 276.00 ns/op 1.32
fastMsgIdFn h64 xxhash / 200 bytes 380.00 ns/op 322.00 ns/op 1.18
fastMsgIdFn sha256 / 1000 bytes 6.7010 us/op 5.8600 us/op 1.14
fastMsgIdFn h32 xxhash / 1000 bytes 517.00 ns/op 394.00 ns/op 1.31
fastMsgIdFn h64 xxhash / 1000 bytes 515.00 ns/op 391.00 ns/op 1.32
fastMsgIdFn sha256 / 10000 bytes 57.569 us/op 50.220 us/op 1.15
fastMsgIdFn h32 xxhash / 10000 bytes 2.0850 us/op 1.7090 us/op 1.22
fastMsgIdFn h64 xxhash / 10000 bytes 1.3320 us/op 1.1550 us/op 1.15
send data - 1000 256B messages 15.766 ms/op 11.773 ms/op 1.34
send data - 1000 512B messages 20.368 ms/op 15.168 ms/op 1.34
send data - 1000 1024B messages 30.053 ms/op 24.885 ms/op 1.21
send data - 1000 1200B messages 20.054 ms/op 28.013 ms/op 0.72
send data - 1000 2048B messages 42.190 ms/op 36.755 ms/op 1.15
send data - 1000 4096B messages 32.897 ms/op 33.584 ms/op 0.98
send data - 1000 16384B messages 100.56 ms/op 92.353 ms/op 1.09
send data - 1000 65536B messages 409.47 ms/op 363.13 ms/op 1.13
enrSubnets - fastDeserialize 64 bits 981.00 ns/op 1.0020 us/op 0.98
enrSubnets - ssz BitVector 64 bits 450.00 ns/op 419.00 ns/op 1.07
enrSubnets - fastDeserialize 4 bits 213.00 ns/op 200.00 ns/op 1.06
enrSubnets - ssz BitVector 4 bits 446.00 ns/op 417.00 ns/op 1.07
prioritizePeers score -10:0 att 32-0.1 sync 2-0 69.155 us/op 68.853 us/op 1.00
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 91.726 us/op 82.126 us/op 1.12
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 112.31 us/op 118.28 us/op 0.95
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 180.24 us/op 186.97 us/op 0.96
prioritizePeers score 0:0 att 64-1 sync 4-1 204.02 us/op 210.40 us/op 0.97
array of 16000 items push then shift 1.3085 us/op 1.2397 us/op 1.06
LinkedList of 16000 items push then shift 6.1510 ns/op 6.6990 ns/op 0.92
array of 16000 items push then pop 64.835 ns/op 80.371 ns/op 0.81
LinkedList of 16000 items push then pop 5.9720 ns/op 5.4930 ns/op 1.09
array of 24000 items push then shift 1.9209 us/op 1.7684 us/op 1.09
LinkedList of 24000 items push then shift 5.8440 ns/op 6.2820 ns/op 0.93
array of 24000 items push then pop 120.11 ns/op 114.30 ns/op 1.05
LinkedList of 24000 items push then pop 6.0350 ns/op 5.6300 ns/op 1.07
intersect bitArray bitLen 8 5.4750 ns/op 5.0030 ns/op 1.09
intersect array and set length 8 52.715 ns/op 51.008 ns/op 1.03
intersect bitArray bitLen 128 28.048 ns/op 27.759 ns/op 1.01
intersect array and set length 128 685.30 ns/op 680.80 ns/op 1.01
bitArray.getTrueBitIndexes() bitLen 128 1.1860 us/op 1.1090 us/op 1.07
bitArray.getTrueBitIndexes() bitLen 248 1.9460 us/op 1.8240 us/op 1.07
bitArray.getTrueBitIndexes() bitLen 512 5.5160 us/op 3.4210 us/op 1.61
Buffer.concat 32 items 1.0170 us/op 848.00 ns/op 1.20
Uint8Array.set 32 items 1.8120 us/op 1.7960 us/op 1.01
Set add up to 64 items then delete first 1.7871 us/op 1.7820 us/op 1.00
OrderedSet add up to 64 items then delete first 3.5646 us/op 2.6894 us/op 1.33
Set add up to 64 items then delete last 2.5663 us/op 2.0133 us/op 1.27
OrderedSet add up to 64 items then delete last 4.2025 us/op 2.9800 us/op 1.41
Set add up to 64 items then delete middle 2.5046 us/op 2.0218 us/op 1.24
OrderedSet add up to 64 items then delete middle 5.5527 us/op 4.2851 us/op 1.30
Set add up to 128 items then delete first 4.5807 us/op 3.9704 us/op 1.15
OrderedSet add up to 128 items then delete first 8.3032 us/op 6.1982 us/op 1.34
Set add up to 128 items then delete last 5.2518 us/op 3.8391 us/op 1.37
OrderedSet add up to 128 items then delete last 8.1337 us/op 5.7310 us/op 1.42
Set add up to 128 items then delete middle 5.4753 us/op 3.8740 us/op 1.41
OrderedSet add up to 128 items then delete middle 13.290 us/op 10.524 us/op 1.26
Set add up to 256 items then delete first 10.649 us/op 7.6493 us/op 1.39
OrderedSet add up to 256 items then delete first 17.711 us/op 12.113 us/op 1.46
Set add up to 256 items then delete last 12.159 us/op 7.5926 us/op 1.60
OrderedSet add up to 256 items then delete last 18.153 us/op 11.354 us/op 1.60
Set add up to 256 items then delete middle 9.4439 us/op 7.5130 us/op 1.26
OrderedSet add up to 256 items then delete middle 44.443 us/op 30.840 us/op 1.44
transfer serialized Status (84 B) 2.0120 us/op 1.5650 us/op 1.29
copy serialized Status (84 B) 1.4050 us/op 1.1320 us/op 1.24
transfer serialized SignedVoluntaryExit (112 B) 2.0310 us/op 1.6200 us/op 1.25
copy serialized SignedVoluntaryExit (112 B) 1.7010 us/op 1.2580 us/op 1.35
transfer serialized ProposerSlashing (416 B) 3.0040 us/op 2.0870 us/op 1.44
copy serialized ProposerSlashing (416 B) 2.7460 us/op 1.3640 us/op 2.01
transfer serialized Attestation (485 B) 3.2500 us/op 1.5200 us/op 2.14
copy serialized Attestation (485 B) 3.0780 us/op 1.2870 us/op 2.39
transfer serialized AttesterSlashing (33232 B) 3.0380 us/op 1.6200 us/op 1.88
copy serialized AttesterSlashing (33232 B) 7.1100 us/op 3.2690 us/op 2.17
transfer serialized Small SignedBeaconBlock (128000 B) 3.3210 us/op 1.5940 us/op 2.08
copy serialized Small SignedBeaconBlock (128000 B) 16.771 us/op 8.2420 us/op 2.03
transfer serialized Avg SignedBeaconBlock (200000 B) 3.1560 us/op 1.7070 us/op 1.85
copy serialized Avg SignedBeaconBlock (200000 B) 30.516 us/op 11.968 us/op 2.55
transfer serialized BlobsSidecar (524380 B) 2.8210 us/op 2.7990 us/op 1.01
copy serialized BlobsSidecar (524380 B) 103.64 us/op 76.113 us/op 1.36
transfer serialized Big SignedBeaconBlock (1000000 B) 3.7960 us/op 2.2900 us/op 1.66
copy serialized Big SignedBeaconBlock (1000000 B) 179.88 us/op 127.14 us/op 1.41
pass gossip attestations to forkchoice per slot 3.1151 ms/op 2.7174 ms/op 1.15
forkChoice updateHead vc 100000 bc 64 eq 0 450.99 us/op 485.24 us/op 0.93
forkChoice updateHead vc 600000 bc 64 eq 0 4.3948 ms/op 2.7117 ms/op 1.62
forkChoice updateHead vc 1000000 bc 64 eq 0 6.0497 ms/op 4.5517 ms/op 1.33
forkChoice updateHead vc 600000 bc 320 eq 0 3.4935 ms/op 2.6801 ms/op 1.30
forkChoice updateHead vc 600000 bc 1200 eq 0 3.2151 ms/op 2.7748 ms/op 1.16
forkChoice updateHead vc 600000 bc 7200 eq 0 4.5907 ms/op 3.4175 ms/op 1.34
forkChoice updateHead vc 600000 bc 64 eq 1000 10.710 ms/op 9.8842 ms/op 1.08
forkChoice updateHead vc 600000 bc 64 eq 10000 10.464 ms/op 9.7338 ms/op 1.08
forkChoice updateHead vc 600000 bc 64 eq 300000 16.726 ms/op 12.128 ms/op 1.38
computeDeltas 500000 validators 300 proto nodes 3.3130 ms/op 3.5189 ms/op 0.94
computeDeltas 500000 validators 1200 proto nodes 3.1699 ms/op 3.0503 ms/op 1.04
computeDeltas 500000 validators 7200 proto nodes 2.9193 ms/op 3.0194 ms/op 0.97
computeDeltas 750000 validators 300 proto nodes 4.5904 ms/op 4.8680 ms/op 0.94
computeDeltas 750000 validators 1200 proto nodes 4.5890 ms/op 5.0960 ms/op 0.90
computeDeltas 750000 validators 7200 proto nodes 4.7321 ms/op 4.9072 ms/op 0.96
computeDeltas 1400000 validators 300 proto nodes 8.7020 ms/op 10.471 ms/op 0.83
computeDeltas 1400000 validators 1200 proto nodes 9.1135 ms/op 9.5143 ms/op 0.96
computeDeltas 1400000 validators 7200 proto nodes 8.8948 ms/op 10.569 ms/op 0.84
computeDeltas 2100000 validators 300 proto nodes 13.675 ms/op 13.596 ms/op 1.01
computeDeltas 2100000 validators 1200 proto nodes 13.733 ms/op 13.481 ms/op 1.02
computeDeltas 2100000 validators 7200 proto nodes 13.633 ms/op 13.671 ms/op 1.00
altair processAttestation - 250000 vs - 7PWei normalcase 1.4811 ms/op 1.4047 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei worstcase 2.1658 ms/op 2.1711 ms/op 1.00
altair processAttestation - setStatus - 1/6 committees join 77.077 us/op 70.756 us/op 1.09
altair processAttestation - setStatus - 1/3 committees join 164.86 us/op 149.76 us/op 1.10
altair processAttestation - setStatus - 1/2 committees join 233.89 us/op 205.02 us/op 1.14
altair processAttestation - setStatus - 2/3 committees join 302.63 us/op 274.65 us/op 1.10
altair processAttestation - setStatus - 4/5 committees join 399.76 us/op 400.70 us/op 1.00
altair processAttestation - setStatus - 100% committees join 493.89 us/op 479.03 us/op 1.03
altair processBlock - 250000 vs - 7PWei normalcase 8.6607 ms/op 7.6210 ms/op 1.14
altair processBlock - 250000 vs - 7PWei normalcase hashState 25.504 ms/op 33.440 ms/op 0.76
altair processBlock - 250000 vs - 7PWei worstcase 33.592 ms/op 30.093 ms/op 1.12
altair processBlock - 250000 vs - 7PWei worstcase hashState 78.686 ms/op 79.042 ms/op 1.00
phase0 processBlock - 250000 vs - 7PWei normalcase 2.2230 ms/op 2.1647 ms/op 1.03
phase0 processBlock - 250000 vs - 7PWei worstcase 28.144 ms/op 24.217 ms/op 1.16
altair processEth1Data - 250000 vs - 7PWei normalcase 426.43 us/op 292.28 us/op 1.46
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 11.884 us/op 9.2750 us/op 1.28
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 51.087 us/op 58.950 us/op 0.87
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 18.953 us/op 16.278 us/op 1.16
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.739 us/op 10.821 us/op 1.08
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 145.57 us/op 131.88 us/op 1.10
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 941.03 us/op 1.1135 ms/op 0.85
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.3923 ms/op 905.92 us/op 1.54
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.2268 ms/op 1.4605 ms/op 0.84
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.7762 ms/op 2.2105 ms/op 1.26
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.6278 ms/op 1.5298 ms/op 1.06
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.3141 ms/op 3.5708 ms/op 1.21
Tree 40 250000 create 281.36 ms/op 249.69 ms/op 1.13
Tree 40 250000 get(125000) 116.51 ns/op 117.78 ns/op 0.99
Tree 40 250000 set(125000) 820.91 ns/op 735.94 ns/op 1.12
Tree 40 250000 toArray() 19.604 ms/op 9.4664 ms/op 2.07
Tree 40 250000 iterate all - toArray() + loop 27.150 ms/op 9.6540 ms/op 2.81
Tree 40 250000 iterate all - get(i) 55.450 ms/op 39.951 ms/op 1.39
MutableVector 250000 create 12.564 ms/op 12.311 ms/op 1.02
MutableVector 250000 get(125000) 5.8850 ns/op 5.5090 ns/op 1.07
MutableVector 250000 set(125000) 386.60 ns/op 201.52 ns/op 1.92
MutableVector 250000 toArray() 3.4672 ms/op 2.4265 ms/op 1.43
MutableVector 250000 iterate all - toArray() + loop 4.1311 ms/op 2.3223 ms/op 1.78
MutableVector 250000 iterate all - get(i) 1.4240 ms/op 1.3451 ms/op 1.06
Array 250000 create 3.3056 ms/op 2.4554 ms/op 1.35
Array 250000 clone - spread 1.2101 ms/op 1.0933 ms/op 1.11
Array 250000 get(125000) 1.0650 ns/op 0.99700 ns/op 1.07
Array 250000 set(125000) 1.2390 ns/op 1.1950 ns/op 1.04
Array 250000 iterate all - loop 162.12 us/op 146.85 us/op 1.10
effectiveBalanceIncrements clone Uint8Array 300000 15.068 us/op 19.900 us/op 0.76
effectiveBalanceIncrements clone MutableVector 300000 458.00 ns/op 404.00 ns/op 1.13
effectiveBalanceIncrements rw all Uint8Array 300000 200.09 us/op 175.82 us/op 1.14
effectiveBalanceIncrements rw all MutableVector 300000 71.605 ms/op 65.730 ms/op 1.09
phase0 afterProcessEpoch - 250000 vs - 7PWei 83.523 ms/op 74.016 ms/op 1.13
phase0 beforeProcessEpoch - 250000 vs - 7PWei 57.732 ms/op 43.655 ms/op 1.32
altair processEpoch - mainnet_e81889 539.13 ms/op 443.68 ms/op 1.22
mainnet_e81889 - altair beforeProcessEpoch 78.677 ms/op 68.143 ms/op 1.15
mainnet_e81889 - altair processJustificationAndFinalization 16.928 us/op 10.291 us/op 1.64
mainnet_e81889 - altair processInactivityUpdates 5.8579 ms/op 4.8177 ms/op 1.22
mainnet_e81889 - altair processRewardsAndPenalties 56.087 ms/op 63.311 ms/op 0.89
mainnet_e81889 - altair processRegistryUpdates 2.8970 us/op 1.9370 us/op 1.50
mainnet_e81889 - altair processSlashings 868.00 ns/op 537.00 ns/op 1.62
mainnet_e81889 - altair processEth1DataReset 849.00 ns/op 652.00 ns/op 1.30
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.6841 ms/op 1.7317 ms/op 0.97
mainnet_e81889 - altair processSlashingsReset 5.6010 us/op 2.3630 us/op 2.37
mainnet_e81889 - altair processRandaoMixesReset 8.4930 us/op 2.6010 us/op 3.27
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1910 us/op 757.00 ns/op 1.57
mainnet_e81889 - altair processParticipationFlagUpdates 2.7850 us/op 1.6680 us/op 1.67
mainnet_e81889 - altair processSyncCommitteeUpdates 1.3520 us/op 621.00 ns/op 2.18
mainnet_e81889 - altair afterProcessEpoch 86.397 ms/op 75.317 ms/op 1.15
capella processEpoch - mainnet_e217614 2.0657 s/op 1.6421 s/op 1.26
mainnet_e217614 - capella beforeProcessEpoch 446.05 ms/op 430.69 ms/op 1.04
mainnet_e217614 - capella processJustificationAndFinalization 11.343 us/op 11.335 us/op 1.00
mainnet_e217614 - capella processInactivityUpdates 18.597 ms/op 13.271 ms/op 1.40
mainnet_e217614 - capella processRewardsAndPenalties 371.54 ms/op 384.47 ms/op 0.97
mainnet_e217614 - capella processRegistryUpdates 15.928 us/op 7.9330 us/op 2.01
mainnet_e217614 - capella processSlashings 668.00 ns/op 360.00 ns/op 1.86
mainnet_e217614 - capella processEth1DataReset 637.00 ns/op 324.00 ns/op 1.97
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9361 ms/op 3.6989 ms/op 1.06
mainnet_e217614 - capella processSlashingsReset 3.2920 us/op 1.8310 us/op 1.80
mainnet_e217614 - capella processRandaoMixesReset 5.8060 us/op 2.3760 us/op 2.44
mainnet_e217614 - capella processHistoricalRootsUpdate 651.00 ns/op 614.00 ns/op 1.06
mainnet_e217614 - capella processParticipationFlagUpdates 2.0890 us/op 1.8050 us/op 1.16
mainnet_e217614 - capella afterProcessEpoch 209.67 ms/op 197.06 ms/op 1.06
phase0 processEpoch - mainnet_e58758 404.65 ms/op 385.81 ms/op 1.05
mainnet_e58758 - phase0 beforeProcessEpoch 109.69 ms/op 125.25 ms/op 0.88
mainnet_e58758 - phase0 processJustificationAndFinalization 14.502 us/op 11.906 us/op 1.22
mainnet_e58758 - phase0 processRewardsAndPenalties 51.204 ms/op 40.359 ms/op 1.27
mainnet_e58758 - phase0 processRegistryUpdates 7.6950 us/op 12.047 us/op 0.64
mainnet_e58758 - phase0 processSlashings 710.00 ns/op 808.00 ns/op 0.88
mainnet_e58758 - phase0 processEth1DataReset 716.00 ns/op 635.00 ns/op 1.13
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 849.15 us/op 855.68 us/op 0.99
mainnet_e58758 - phase0 processSlashingsReset 3.0350 us/op 3.5070 us/op 0.87
mainnet_e58758 - phase0 processRandaoMixesReset 3.3750 us/op 2.6660 us/op 1.27
mainnet_e58758 - phase0 processHistoricalRootsUpdate 685.00 ns/op 807.00 ns/op 0.85
mainnet_e58758 - phase0 processParticipationRecordUpdates 7.5360 us/op 3.2590 us/op 2.31
mainnet_e58758 - phase0 afterProcessEpoch 63.544 ms/op 68.575 ms/op 0.93
phase0 processEffectiveBalanceUpdates - 250000 normalcase 997.99 us/op 1.0926 ms/op 0.91
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.1166 ms/op 1.0888 ms/op 1.03
altair processInactivityUpdates - 250000 normalcase 22.939 ms/op 20.110 ms/op 1.14
altair processInactivityUpdates - 250000 worstcase 24.684 ms/op 17.988 ms/op 1.37
phase0 processRegistryUpdates - 250000 normalcase 6.0110 us/op 9.8250 us/op 0.61
phase0 processRegistryUpdates - 250000 badcase_full_deposits 409.95 us/op 364.14 us/op 1.13
phase0 processRegistryUpdates - 250000 worstcase 0.5 124.50 ms/op 104.19 ms/op 1.19
altair processRewardsAndPenalties - 250000 normalcase 54.579 ms/op 51.961 ms/op 1.05
altair processRewardsAndPenalties - 250000 worstcase 53.887 ms/op 51.741 ms/op 1.04
phase0 getAttestationDeltas - 250000 normalcase 5.7453 ms/op 5.9135 ms/op 0.97
phase0 getAttestationDeltas - 250000 worstcase 7.3229 ms/op 5.7975 ms/op 1.26
phase0 processSlashings - 250000 worstcase 86.723 us/op 94.233 us/op 0.92
altair processSyncCommitteeUpdates - 250000 111.61 ms/op 99.467 ms/op 1.12
BeaconState.hashTreeRoot - No change 512.00 ns/op 424.00 ns/op 1.21
BeaconState.hashTreeRoot - 1 full validator 163.93 us/op 98.670 us/op 1.66
BeaconState.hashTreeRoot - 32 full validator 1.3209 ms/op 979.48 us/op 1.35
BeaconState.hashTreeRoot - 512 full validator 15.668 ms/op 12.299 ms/op 1.27
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 144.97 us/op 107.35 us/op 1.35
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.6296 ms/op 1.7334 ms/op 0.94
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 21.640 ms/op 21.740 ms/op 1.00
BeaconState.hashTreeRoot - 1 balances 97.173 us/op 134.67 us/op 0.72
BeaconState.hashTreeRoot - 32 balances 737.79 us/op 1.2190 ms/op 0.61
BeaconState.hashTreeRoot - 512 balances 9.8826 ms/op 12.524 ms/op 0.79
BeaconState.hashTreeRoot - 250000 balances 161.21 ms/op 205.31 ms/op 0.79
aggregationBits - 2048 els - zipIndexesInBitList 12.343 us/op 14.718 us/op 0.84
byteArrayEquals 32 64.859 ns/op 62.536 ns/op 1.04
Buffer.compare 32 38.008 ns/op 37.623 ns/op 1.01
byteArrayEquals 1024 1.7675 us/op 1.6696 us/op 1.06
Buffer.compare 1024 46.322 ns/op 47.830 ns/op 0.97
byteArrayEquals 16384 28.204 us/op 26.475 us/op 1.07
Buffer.compare 16384 234.07 ns/op 199.72 ns/op 1.17
byteArrayEquals 123687377 212.49 ms/op 213.70 ms/op 0.99
Buffer.compare 123687377 6.3622 ms/op 5.6689 ms/op 1.12
byteArrayEquals 32 - diff last byte 60.171 ns/op 63.097 ns/op 0.95
Buffer.compare 32 - diff last byte 36.979 ns/op 42.020 ns/op 0.88
byteArrayEquals 1024 - diff last byte 1.8067 us/op 1.7763 us/op 1.02
Buffer.compare 1024 - diff last byte 44.952 ns/op 49.567 ns/op 0.91
byteArrayEquals 16384 - diff last byte 26.629 us/op 28.378 us/op 0.94
Buffer.compare 16384 - diff last byte 223.26 ns/op 227.51 ns/op 0.98
byteArrayEquals 123687377 - diff last byte 205.40 ms/op 203.56 ms/op 1.01
Buffer.compare 123687377 - diff last byte 7.0823 ms/op 3.7140 ms/op 1.91
byteArrayEquals 32 - random bytes 5.9870 ns/op 4.2550 ns/op 1.41
Buffer.compare 32 - random bytes 39.463 ns/op 35.819 ns/op 1.10
byteArrayEquals 1024 - random bytes 5.7310 ns/op 4.0880 ns/op 1.40
Buffer.compare 1024 - random bytes 37.073 ns/op 34.898 ns/op 1.06
byteArrayEquals 16384 - random bytes 5.7460 ns/op 4.0880 ns/op 1.41
Buffer.compare 16384 - random bytes 37.084 ns/op 34.800 ns/op 1.07
byteArrayEquals 123687377 - random bytes 8.5400 ns/op 7.2600 ns/op 1.18
Buffer.compare 123687377 - random bytes 49.620 ns/op 37.930 ns/op 1.31
regular array get 100000 times 43.298 us/op 37.676 us/op 1.15
wrappedArray get 100000 times 43.305 us/op 37.864 us/op 1.14
arrayWithProxy get 100000 times 10.838 ms/op 10.520 ms/op 1.03
ssz.Root.equals 59.839 ns/op 51.269 ns/op 1.17
byteArrayEquals 58.643 ns/op 49.799 ns/op 1.18
Buffer.compare 10.325 ns/op 8.6800 ns/op 1.19
shuffle list - 16384 els 4.8472 ms/op 4.2443 ms/op 1.14
shuffle list - 250000 els 70.847 ms/op 65.764 ms/op 1.08
processSlot - 1 slots 14.358 us/op 14.766 us/op 0.97
processSlot - 32 slots 2.3146 ms/op 3.0840 ms/op 0.75
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 47.916 ms/op 50.917 ms/op 0.94
getCommitteeAssignments - req 1 vs - 250000 vc 2.2825 ms/op 2.1771 ms/op 1.05
getCommitteeAssignments - req 100 vs - 250000 vc 3.4859 ms/op 3.3633 ms/op 1.04
getCommitteeAssignments - req 1000 vs - 250000 vc 3.6763 ms/op 3.6360 ms/op 1.01
findModifiedValidators - 10000 modified validators 438.21 ms/op 424.94 ms/op 1.03
findModifiedValidators - 1000 modified validators 313.82 ms/op 321.71 ms/op 0.98
findModifiedValidators - 100 modified validators 323.01 ms/op 296.55 ms/op 1.09
findModifiedValidators - 10 modified validators 326.62 ms/op 318.87 ms/op 1.02
findModifiedValidators - 1 modified validators 328.89 ms/op 314.95 ms/op 1.04
findModifiedValidators - no difference 299.25 ms/op 318.06 ms/op 0.94
compare ViewDUs 4.1057 s/op 3.7586 s/op 1.09
compare each validator Uint8Array 1.6419 s/op 1.5713 s/op 1.04
compare ViewDU to Uint8Array 993.95 ms/op 791.60 ms/op 1.26
migrate state 1000000 validators, 24 modified, 0 new 860.37 ms/op 702.11 ms/op 1.23
migrate state 1000000 validators, 1700 modified, 1000 new 965.99 ms/op 1.0125 s/op 0.95
migrate state 1000000 validators, 3400 modified, 2000 new 1.4640 s/op 1.2159 s/op 1.20
migrate state 1500000 validators, 24 modified, 0 new 1.0829 s/op 696.07 ms/op 1.56
migrate state 1500000 validators, 1700 modified, 1000 new 1.4600 s/op 1.0164 s/op 1.44
migrate state 1500000 validators, 3400 modified, 2000 new 1.5086 s/op 1.2313 s/op 1.23
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.5600 ns/op 4.3800 ns/op 1.27
state getBlockRootAtSlot - 250000 vs - 7PWei 1.2179 us/op 734.36 ns/op 1.66
computeProposers - vc 250000 6.7117 ms/op 6.2227 ms/op 1.08
computeEpochShuffling - vc 250000 72.681 ms/op 64.868 ms/op 1.12
getNextSyncCommittee - vc 250000 124.48 ms/op 108.95 ms/op 1.14
computeSigningRoot for AttestationData 34.557 us/op 23.812 us/op 1.45
hash AttestationData serialized data then Buffer.toString(base64) 1.4904 us/op 1.2310 us/op 1.21
toHexString serialized data 972.90 ns/op 796.66 ns/op 1.22
Buffer.toString(base64) 248.61 ns/op 171.99 ns/op 1.45

by benchmarkbot/action

@wemeetagain
Copy link
Member

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