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.16.0 stable back to unstable #6472

Merged
merged 2 commits into from
Feb 22, 2024
Merged

chore: merge v1.16.0 stable back to unstable #6472

merged 2 commits into from
Feb 22, 2024

Conversation

philknows
Copy link
Member

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

@philknows philknows requested a review from a team as a code owner February 22, 2024 13:26
@philknows philknows merged commit eedfaa1 into unstable Feb 22, 2024
13 of 15 checks passed
Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 113e497 Previous: 53f8f99 Ratio
Set add up to 256 items then delete first 7.9189 us/op 24.800 us/op 0.32
Set add up to 256 items then delete last 7.6617 us/op 24.877 us/op 0.31
Set add up to 256 items then delete middle 7.6999 us/op 25.161 us/op 0.31
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.653 us/op 43.046 us/op 0.27
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 9.1280 us/op 30.935 us/op 0.30
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 744.66 us/op 2.2769 ms/op 0.33
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 844.68 us/op 3.3185 ms/op 0.25
Full benchmark results
Benchmark suite Current: 113e497 Previous: 53f8f99 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 560.87 us/op 688.59 us/op 0.81
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 59.775 us/op 115.21 us/op 0.52
BLS verify - blst-native 1.1576 ms/op 1.4655 ms/op 0.79
BLS verifyMultipleSignatures 3 - blst-native 2.5868 ms/op 3.1562 ms/op 0.82
BLS verifyMultipleSignatures 8 - blst-native 5.4797 ms/op 6.1628 ms/op 0.89
BLS verifyMultipleSignatures 32 - blst-native 20.522 ms/op 25.022 ms/op 0.82
BLS verifyMultipleSignatures 64 - blst-native 38.139 ms/op 47.853 ms/op 0.80
BLS verifyMultipleSignatures 128 - blst-native 75.662 ms/op 92.856 ms/op 0.81
BLS deserializing 10000 signatures 842.12 ms/op 1.0055 s/op 0.84
BLS deserializing 100000 signatures 8.5166 s/op 9.7152 s/op 0.88
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.1151 ms/op 1.4797 ms/op 0.75
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.2650 ms/op 1.7701 ms/op 0.71
BLS verifyMultipleSignatures - same message - 32 - blst-native 1.9722 ms/op 2.6747 ms/op 0.74
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.9770 ms/op 4.1978 ms/op 0.95
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.6165 ms/op 6.4479 ms/op 1.03
BLS aggregatePubkeys 32 - blst-native 25.086 us/op 30.295 us/op 0.83
BLS aggregatePubkeys 128 - blst-native 91.416 us/op 115.77 us/op 0.79
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 43.386 ms/op 69.609 ms/op 0.62
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 47.290 ms/op 68.238 ms/op 0.69
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 25.476 ms/op 54.899 ms/op 0.46
getSlashingsAndExits - default max 192.29 us/op 237.12 us/op 0.81
getSlashingsAndExits - 2k 356.44 us/op 927.37 us/op 0.38
proposeBlockBody type=full, size=empty 3.8563 ms/op 7.3259 ms/op 0.53
isKnown best case - 1 super set check 392.00 ns/op 743.00 ns/op 0.53
isKnown normal case - 2 super set checks 340.00 ns/op 916.00 ns/op 0.37
isKnown worse case - 16 super set checks 344.00 ns/op 837.00 ns/op 0.41
CheckpointStateCache - add get delete 4.4780 us/op 8.4690 us/op 0.53
validate api signedAggregateAndProof - struct 2.4427 ms/op 3.2351 ms/op 0.76
validate gossip signedAggregateAndProof - struct 2.6026 ms/op 3.1390 ms/op 0.83
validate gossip attestation - vc 640000 1.2136 ms/op 1.5341 ms/op 0.79
batch validate gossip attestation - vc 640000 - chunk 32 154.47 us/op 197.10 us/op 0.78
batch validate gossip attestation - vc 640000 - chunk 64 141.43 us/op 172.48 us/op 0.82
batch validate gossip attestation - vc 640000 - chunk 128 136.07 us/op 166.50 us/op 0.82
batch validate gossip attestation - vc 640000 - chunk 256 130.41 us/op 165.38 us/op 0.79
pickEth1Vote - no votes 1.0110 ms/op 1.5331 ms/op 0.66
pickEth1Vote - max votes 7.3912 ms/op 16.000 ms/op 0.46
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.294 ms/op 26.465 ms/op 0.46
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 25.494 ms/op 55.562 ms/op 0.46
pickEth1Vote - Eth1Data fastSerialize value x2048 506.97 us/op 801.01 us/op 0.63
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.4457 ms/op 5.4711 ms/op 0.63
bytes32 toHexString 492.00 ns/op 603.00 ns/op 0.82
bytes32 Buffer.toString(hex) 375.00 ns/op 370.00 ns/op 1.01
bytes32 Buffer.toString(hex) from Uint8Array 620.00 ns/op 537.00 ns/op 1.15
bytes32 Buffer.toString(hex) + 0x 400.00 ns/op 336.00 ns/op 1.19
Object access 1 prop 0.25900 ns/op 0.21600 ns/op 1.20
Map access 1 prop 0.21200 ns/op 0.17600 ns/op 1.20
Object get x1000 5.3550 ns/op 7.9890 ns/op 0.67
Map get x1000 0.89400 ns/op 0.93500 ns/op 0.96
Object set x1000 36.788 ns/op 81.651 ns/op 0.45
Map set x1000 30.621 ns/op 52.517 ns/op 0.58
Return object 10000 times 0.25110 ns/op 0.26130 ns/op 0.96
Throw Error 10000 times 2.8953 us/op 4.2046 us/op 0.69
fastMsgIdFn sha256 / 200 bytes 2.1770 us/op 3.5510 us/op 0.61
fastMsgIdFn h32 xxhash / 200 bytes 411.00 ns/op 355.00 ns/op 1.16
fastMsgIdFn h64 xxhash / 200 bytes 446.00 ns/op 420.00 ns/op 1.06
fastMsgIdFn sha256 / 1000 bytes 6.7740 us/op 11.762 us/op 0.58
fastMsgIdFn h32 xxhash / 1000 bytes 535.00 ns/op 492.00 ns/op 1.09
fastMsgIdFn h64 xxhash / 1000 bytes 519.00 ns/op 480.00 ns/op 1.08
fastMsgIdFn sha256 / 10000 bytes 55.879 us/op 107.03 us/op 0.52
fastMsgIdFn h32 xxhash / 10000 bytes 2.0140 us/op 2.0180 us/op 1.00
fastMsgIdFn h64 xxhash / 10000 bytes 1.3780 us/op 1.4350 us/op 0.96
send data - 1000 256B messages 15.731 ms/op 22.933 ms/op 0.69
send data - 1000 512B messages 18.804 ms/op 35.104 ms/op 0.54
send data - 1000 1024B messages 31.785 ms/op 48.159 ms/op 0.66
send data - 1000 1200B messages 30.679 ms/op 42.243 ms/op 0.73
send data - 1000 2048B messages 43.890 ms/op 60.770 ms/op 0.72
send data - 1000 4096B messages 37.955 ms/op 55.088 ms/op 0.69
send data - 1000 16384B messages 103.27 ms/op 153.21 ms/op 0.67
send data - 1000 65536B messages 471.34 ms/op 555.06 ms/op 0.85
enrSubnets - fastDeserialize 64 bits 1.4850 us/op 1.6470 us/op 0.90
enrSubnets - ssz BitVector 64 bits 677.00 ns/op 604.00 ns/op 1.12
enrSubnets - fastDeserialize 4 bits 287.00 ns/op 274.00 ns/op 1.05
enrSubnets - ssz BitVector 4 bits 534.00 ns/op 634.00 ns/op 0.84
prioritizePeers score -10:0 att 32-0.1 sync 2-0 89.906 us/op 147.20 us/op 0.61
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 105.24 us/op 173.07 us/op 0.61
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 146.78 us/op 221.93 us/op 0.66
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 250.19 us/op 420.19 us/op 0.60
prioritizePeers score 0:0 att 64-1 sync 4-1 306.92 us/op 455.49 us/op 0.67
array of 16000 items push then shift 1.4428 us/op 1.9032 us/op 0.76
LinkedList of 16000 items push then shift 8.4720 ns/op 12.769 ns/op 0.66
array of 16000 items push then pop 128.02 ns/op 145.34 ns/op 0.88
LinkedList of 16000 items push then pop 6.0980 ns/op 11.438 ns/op 0.53
array of 24000 items push then shift 2.1239 us/op 2.8314 us/op 0.75
LinkedList of 24000 items push then shift 8.8630 ns/op 10.792 ns/op 0.82
array of 24000 items push then pop 174.25 ns/op 188.29 ns/op 0.93
LinkedList of 24000 items push then pop 6.5090 ns/op 10.130 ns/op 0.64
intersect bitArray bitLen 8 5.1610 ns/op 6.6060 ns/op 0.78
intersect array and set length 8 80.083 ns/op 93.199 ns/op 0.86
intersect bitArray bitLen 128 29.671 ns/op 40.360 ns/op 0.74
intersect array and set length 128 916.42 ns/op 1.2468 us/op 0.74
bitArray.getTrueBitIndexes() bitLen 128 1.6880 us/op 2.1610 us/op 0.78
bitArray.getTrueBitIndexes() bitLen 248 2.9550 us/op 3.6880 us/op 0.80
bitArray.getTrueBitIndexes() bitLen 512 6.1740 us/op 7.8090 us/op 0.79
Buffer.concat 32 items 950.00 ns/op 1.1590 us/op 0.82
Uint8Array.set 32 items 1.8020 us/op 2.0250 us/op 0.89
Set add up to 64 items then delete first 2.3448 us/op 5.8289 us/op 0.40
OrderedSet add up to 64 items then delete first 3.4192 us/op 7.7910 us/op 0.44
Set add up to 64 items then delete last 2.1314 us/op 6.1213 us/op 0.35
OrderedSet add up to 64 items then delete last 3.0751 us/op 7.9404 us/op 0.39
Set add up to 64 items then delete middle 2.1152 us/op 6.2409 us/op 0.34
OrderedSet add up to 64 items then delete middle 5.7566 us/op 9.8269 us/op 0.59
Set add up to 128 items then delete first 5.7803 us/op 12.325 us/op 0.47
OrderedSet add up to 128 items then delete first 6.8200 us/op 16.295 us/op 0.42
Set add up to 128 items then delete last 3.9411 us/op 11.701 us/op 0.34
OrderedSet add up to 128 items then delete last 5.8857 us/op 15.429 us/op 0.38
Set add up to 128 items then delete middle 3.8551 us/op 11.463 us/op 0.34
OrderedSet add up to 128 items then delete middle 11.220 us/op 21.927 us/op 0.51
Set add up to 256 items then delete first 7.9189 us/op 24.800 us/op 0.32
OrderedSet add up to 256 items then delete first 12.889 us/op 33.589 us/op 0.38
Set add up to 256 items then delete last 7.6617 us/op 24.877 us/op 0.31
OrderedSet add up to 256 items then delete last 11.900 us/op 33.465 us/op 0.36
Set add up to 256 items then delete middle 7.6999 us/op 25.161 us/op 0.31
OrderedSet add up to 256 items then delete middle 33.677 us/op 57.909 us/op 0.58
transfer serialized Status (84 B) 1.6920 us/op 2.2050 us/op 0.77
copy serialized Status (84 B) 1.3740 us/op 1.6960 us/op 0.81
transfer serialized SignedVoluntaryExit (112 B) 1.7540 us/op 2.1140 us/op 0.83
copy serialized SignedVoluntaryExit (112 B) 1.4050 us/op 1.5910 us/op 0.88
transfer serialized ProposerSlashing (416 B) 2.6650 us/op 3.2190 us/op 0.83
copy serialized ProposerSlashing (416 B) 2.1740 us/op 2.5480 us/op 0.85
transfer serialized Attestation (485 B) 1.7550 us/op 2.6520 us/op 0.66
copy serialized Attestation (485 B) 1.6800 us/op 3.4990 us/op 0.48
transfer serialized AttesterSlashing (33232 B) 1.6830 us/op 3.4930 us/op 0.48
copy serialized AttesterSlashing (33232 B) 4.1830 us/op 10.220 us/op 0.41
transfer serialized Small SignedBeaconBlock (128000 B) 1.8490 us/op 3.5360 us/op 0.52
copy serialized Small SignedBeaconBlock (128000 B) 8.6510 us/op 31.452 us/op 0.28
transfer serialized Avg SignedBeaconBlock (200000 B) 2.1630 us/op 4.1330 us/op 0.52
copy serialized Avg SignedBeaconBlock (200000 B) 13.771 us/op 42.764 us/op 0.32
transfer serialized BlobsSidecar (524380 B) 2.6240 us/op 4.1760 us/op 0.63
copy serialized BlobsSidecar (524380 B) 80.144 us/op 131.97 us/op 0.61
transfer serialized Big SignedBeaconBlock (1000000 B) 3.3020 us/op 5.9850 us/op 0.55
copy serialized Big SignedBeaconBlock (1000000 B) 142.97 us/op 261.24 us/op 0.55
pass gossip attestations to forkchoice per slot 2.8967 ms/op 4.4491 ms/op 0.65
forkChoice updateHead vc 100000 bc 64 eq 0 468.79 us/op 785.00 us/op 0.60
forkChoice updateHead vc 600000 bc 64 eq 0 3.0275 ms/op 4.8686 ms/op 0.62
forkChoice updateHead vc 1000000 bc 64 eq 0 4.7769 ms/op 9.2844 ms/op 0.51
forkChoice updateHead vc 600000 bc 320 eq 0 2.6860 ms/op 5.1787 ms/op 0.52
forkChoice updateHead vc 600000 bc 1200 eq 0 2.9656 ms/op 5.7253 ms/op 0.52
forkChoice updateHead vc 600000 bc 7200 eq 0 3.9877 ms/op 6.6276 ms/op 0.60
forkChoice updateHead vc 600000 bc 64 eq 1000 10.332 ms/op 13.289 ms/op 0.78
forkChoice updateHead vc 600000 bc 64 eq 10000 10.482 ms/op 15.870 ms/op 0.66
forkChoice updateHead vc 600000 bc 64 eq 300000 15.442 ms/op 40.851 ms/op 0.38
computeDeltas 500000 validators 300 proto nodes 3.3474 ms/op 7.3342 ms/op 0.46
computeDeltas 500000 validators 1200 proto nodes 3.2073 ms/op 7.6225 ms/op 0.42
computeDeltas 500000 validators 7200 proto nodes 3.3222 ms/op 7.0726 ms/op 0.47
computeDeltas 750000 validators 300 proto nodes 5.0051 ms/op 10.470 ms/op 0.48
computeDeltas 750000 validators 1200 proto nodes 4.7072 ms/op 10.821 ms/op 0.44
computeDeltas 750000 validators 7200 proto nodes 4.8014 ms/op 11.397 ms/op 0.42
computeDeltas 1400000 validators 300 proto nodes 9.1301 ms/op 21.476 ms/op 0.43
computeDeltas 1400000 validators 1200 proto nodes 9.2034 ms/op 21.532 ms/op 0.43
computeDeltas 1400000 validators 7200 proto nodes 9.3465 ms/op 22.233 ms/op 0.42
computeDeltas 2100000 validators 300 proto nodes 14.265 ms/op 33.216 ms/op 0.43
computeDeltas 2100000 validators 1200 proto nodes 13.937 ms/op 34.139 ms/op 0.41
computeDeltas 2100000 validators 7200 proto nodes 15.187 ms/op 33.194 ms/op 0.46
altair processAttestation - 250000 vs - 7PWei normalcase 2.5147 ms/op 3.7464 ms/op 0.67
altair processAttestation - 250000 vs - 7PWei worstcase 3.5203 ms/op 5.3926 ms/op 0.65
altair processAttestation - setStatus - 1/6 committees join 91.146 us/op 204.79 us/op 0.45
altair processAttestation - setStatus - 1/3 committees join 159.19 us/op 397.84 us/op 0.40
altair processAttestation - setStatus - 1/2 committees join 215.96 us/op 493.57 us/op 0.44
altair processAttestation - setStatus - 2/3 committees join 315.66 us/op 611.89 us/op 0.52
altair processAttestation - setStatus - 4/5 committees join 406.24 us/op 879.12 us/op 0.46
altair processAttestation - setStatus - 100% committees join 492.74 us/op 1.1404 ms/op 0.43
altair processBlock - 250000 vs - 7PWei normalcase 6.9008 ms/op 13.362 ms/op 0.52
altair processBlock - 250000 vs - 7PWei normalcase hashState 23.589 ms/op 49.896 ms/op 0.47
altair processBlock - 250000 vs - 7PWei worstcase 37.885 ms/op 53.837 ms/op 0.70
altair processBlock - 250000 vs - 7PWei worstcase hashState 85.405 ms/op 112.75 ms/op 0.76
phase0 processBlock - 250000 vs - 7PWei normalcase 2.7001 ms/op 3.8228 ms/op 0.71
phase0 processBlock - 250000 vs - 7PWei worstcase 26.218 ms/op 40.072 ms/op 0.65
altair processEth1Data - 250000 vs - 7PWei normalcase 464.81 us/op 1.1017 ms/op 0.42
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 12.695 us/op 23.996 us/op 0.53
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 61.014 us/op 88.486 us/op 0.69
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.653 us/op 43.046 us/op 0.27
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 9.1280 us/op 30.935 us/op 0.30
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 153.02 us/op 271.08 us/op 0.56
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 744.66 us/op 2.2769 ms/op 0.33
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 844.68 us/op 3.3185 ms/op 0.25
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 975.05 us/op 2.4594 ms/op 0.40
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.7286 ms/op 6.0820 ms/op 0.45
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.8742 ms/op 3.7066 ms/op 0.51
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.0725 ms/op 10.810 ms/op 0.47
Tree 40 250000 create 244.99 ms/op 800.78 ms/op 0.31
Tree 40 250000 get(125000) 112.32 ns/op 249.67 ns/op 0.45
Tree 40 250000 set(125000) 718.55 ns/op 2.5852 us/op 0.28
Tree 40 250000 toArray() 12.044 ms/op 30.349 ms/op 0.40
Tree 40 250000 iterate all - toArray() + loop 9.4468 ms/op 28.616 ms/op 0.33
Tree 40 250000 iterate all - get(i) 44.009 ms/op 87.675 ms/op 0.50
MutableVector 250000 create 10.271 ms/op 21.133 ms/op 0.49
MutableVector 250000 get(125000) 5.8830 ns/op 7.3370 ns/op 0.80
MutableVector 250000 set(125000) 217.56 ns/op 675.30 ns/op 0.32
MutableVector 250000 toArray() 2.8566 ms/op 5.0373 ms/op 0.57
MutableVector 250000 iterate all - toArray() + loop 2.5364 ms/op 5.0474 ms/op 0.50
MutableVector 250000 iterate all - get(i) 1.3859 ms/op 1.8627 ms/op 0.74
Array 250000 create 2.1318 ms/op 4.5063 ms/op 0.47
Array 250000 clone - spread 1.1334 ms/op 1.8837 ms/op 0.60
Array 250000 get(125000) 1.0560 ns/op 2.0770 ns/op 0.51
Array 250000 set(125000) 1.2720 ns/op 6.1580 ns/op 0.21
Array 250000 iterate all - loop 158.98 us/op 194.09 us/op 0.82
effectiveBalanceIncrements clone Uint8Array 300000 14.759 us/op 62.515 us/op 0.24
effectiveBalanceIncrements clone MutableVector 300000 444.00 ns/op 574.00 ns/op 0.77
effectiveBalanceIncrements rw all Uint8Array 300000 187.93 us/op 223.79 us/op 0.84
effectiveBalanceIncrements rw all MutableVector 300000 72.238 ms/op 156.02 ms/op 0.46
phase0 afterProcessEpoch - 250000 vs - 7PWei 76.045 ms/op 134.89 ms/op 0.56
phase0 beforeProcessEpoch - 250000 vs - 7PWei 45.230 ms/op 64.225 ms/op 0.70
altair processEpoch - mainnet_e81889 383.86 ms/op 587.72 ms/op 0.65
mainnet_e81889 - altair beforeProcessEpoch 70.014 ms/op 96.075 ms/op 0.73
mainnet_e81889 - altair processJustificationAndFinalization 9.1380 us/op 15.791 us/op 0.58
mainnet_e81889 - altair processInactivityUpdates 4.8512 ms/op 7.4364 ms/op 0.65
mainnet_e81889 - altair processRewardsAndPenalties 58.264 ms/op 67.156 ms/op 0.87
mainnet_e81889 - altair processRegistryUpdates 1.0590 us/op 3.2860 us/op 0.32
mainnet_e81889 - altair processSlashings 554.00 ns/op 429.00 ns/op 1.29
mainnet_e81889 - altair processEth1DataReset 567.00 ns/op 1.1180 us/op 0.51
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.0842 ms/op 1.8424 ms/op 0.59
mainnet_e81889 - altair processSlashingsReset 2.3800 us/op 5.1250 us/op 0.46
mainnet_e81889 - altair processRandaoMixesReset 3.1500 us/op 7.2520 us/op 0.43
mainnet_e81889 - altair processHistoricalRootsUpdate 703.00 ns/op 1.1180 us/op 0.63
mainnet_e81889 - altair processParticipationFlagUpdates 2.3260 us/op 2.2290 us/op 1.04
mainnet_e81889 - altair processSyncCommitteeUpdates 695.00 ns/op 675.00 ns/op 1.03
mainnet_e81889 - altair afterProcessEpoch 78.944 ms/op 127.83 ms/op 0.62
capella processEpoch - mainnet_e217614 1.8215 s/op 2.2671 s/op 0.80
mainnet_e217614 - capella beforeProcessEpoch 467.96 ms/op 466.14 ms/op 1.00
mainnet_e217614 - capella processJustificationAndFinalization 19.451 us/op 14.404 us/op 1.35
mainnet_e217614 - capella processInactivityUpdates 19.276 ms/op 19.486 ms/op 0.99
mainnet_e217614 - capella processRewardsAndPenalties 391.50 ms/op 401.61 ms/op 0.97
mainnet_e217614 - capella processRegistryUpdates 20.015 us/op 20.000 us/op 1.00
mainnet_e217614 - capella processSlashings 797.00 ns/op 594.00 ns/op 1.34
mainnet_e217614 - capella processEth1DataReset 577.00 ns/op 416.00 ns/op 1.39
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.8142 ms/op 4.4598 ms/op 0.86
mainnet_e217614 - capella processSlashingsReset 2.8030 us/op 3.5340 us/op 0.79
mainnet_e217614 - capella processRandaoMixesReset 3.0400 us/op 3.7500 us/op 0.81
mainnet_e217614 - capella processHistoricalRootsUpdate 687.00 ns/op 572.00 ns/op 1.20
mainnet_e217614 - capella processParticipationFlagUpdates 1.5500 us/op 1.6030 us/op 0.97
mainnet_e217614 - capella afterProcessEpoch 241.17 ms/op 333.19 ms/op 0.72
phase0 processEpoch - mainnet_e58758 349.97 ms/op 480.43 ms/op 0.73
mainnet_e58758 - phase0 beforeProcessEpoch 131.26 ms/op 147.61 ms/op 0.89
mainnet_e58758 - phase0 processJustificationAndFinalization 14.275 us/op 15.797 us/op 0.90
mainnet_e58758 - phase0 processRewardsAndPenalties 43.190 ms/op 55.519 ms/op 0.78
mainnet_e58758 - phase0 processRegistryUpdates 10.907 us/op 9.9400 us/op 1.10
mainnet_e58758 - phase0 processSlashings 890.00 ns/op 601.00 ns/op 1.48
mainnet_e58758 - phase0 processEth1DataReset 731.00 ns/op 489.00 ns/op 1.49
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 915.76 us/op 1.1637 ms/op 0.79
mainnet_e58758 - phase0 processSlashingsReset 3.6790 us/op 2.6810 us/op 1.37
mainnet_e58758 - phase0 processRandaoMixesReset 7.3430 us/op 4.0220 us/op 1.83
mainnet_e58758 - phase0 processHistoricalRootsUpdate 977.00 ns/op 658.00 ns/op 1.48
mainnet_e58758 - phase0 processParticipationRecordUpdates 7.4820 us/op 3.6420 us/op 2.05
mainnet_e58758 - phase0 afterProcessEpoch 66.949 ms/op 104.31 ms/op 0.64
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0904 ms/op 1.4450 ms/op 0.75
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.3458 ms/op 1.8016 ms/op 0.75
altair processInactivityUpdates - 250000 normalcase 28.068 ms/op 34.428 ms/op 0.82
altair processInactivityUpdates - 250000 worstcase 27.793 ms/op 32.515 ms/op 0.85
phase0 processRegistryUpdates - 250000 normalcase 14.599 us/op 9.1250 us/op 1.60
phase0 processRegistryUpdates - 250000 badcase_full_deposits 561.18 us/op 443.12 us/op 1.27
phase0 processRegistryUpdates - 250000 worstcase 0.5 130.15 ms/op 147.50 ms/op 0.88
altair processRewardsAndPenalties - 250000 normalcase 60.406 ms/op 68.467 ms/op 0.88
altair processRewardsAndPenalties - 250000 worstcase 53.007 ms/op 64.356 ms/op 0.82
phase0 getAttestationDeltas - 250000 normalcase 10.645 ms/op 10.622 ms/op 1.00
phase0 getAttestationDeltas - 250000 worstcase 10.655 ms/op 9.4588 ms/op 1.13
phase0 processSlashings - 250000 worstcase 93.903 us/op 95.085 us/op 0.99
altair processSyncCommitteeUpdates - 250000 124.18 ms/op 167.53 ms/op 0.74
BeaconState.hashTreeRoot - No change 615.00 ns/op 392.00 ns/op 1.57
BeaconState.hashTreeRoot - 1 full validator 113.79 us/op 130.47 us/op 0.87
BeaconState.hashTreeRoot - 32 full validator 1.0847 ms/op 1.8883 ms/op 0.57
BeaconState.hashTreeRoot - 512 full validator 13.007 ms/op 21.241 ms/op 0.61
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 143.83 us/op 211.39 us/op 0.68
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.8626 ms/op 2.9063 ms/op 0.64
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 41.192 ms/op 36.968 ms/op 1.11
BeaconState.hashTreeRoot - 1 balances 145.37 us/op 168.47 us/op 0.86
BeaconState.hashTreeRoot - 32 balances 1.1581 ms/op 1.7335 ms/op 0.67
BeaconState.hashTreeRoot - 512 balances 11.248 ms/op 16.361 ms/op 0.69
BeaconState.hashTreeRoot - 250000 balances 188.39 ms/op 238.57 ms/op 0.79
aggregationBits - 2048 els - zipIndexesInBitList 13.320 us/op 23.156 us/op 0.58
byteArrayEquals 32 66.927 ns/op 75.970 ns/op 0.88
Buffer.compare 32 38.310 ns/op 58.022 ns/op 0.66
byteArrayEquals 1024 1.8251 us/op 2.1076 us/op 0.87
Buffer.compare 1024 44.440 ns/op 73.351 ns/op 0.61
byteArrayEquals 16384 29.193 us/op 33.478 us/op 0.87
Buffer.compare 16384 240.65 ns/op 280.66 ns/op 0.86
byteArrayEquals 123687377 212.38 ms/op 260.76 ms/op 0.81
Buffer.compare 123687377 6.8071 ms/op 7.8148 ms/op 0.87
byteArrayEquals 32 - diff last byte 63.297 ns/op 75.579 ns/op 0.84
Buffer.compare 32 - diff last byte 39.407 ns/op 58.565 ns/op 0.67
byteArrayEquals 1024 - diff last byte 1.8298 us/op 2.0856 us/op 0.88
Buffer.compare 1024 - diff last byte 44.232 ns/op 75.657 ns/op 0.58
byteArrayEquals 16384 - diff last byte 28.948 us/op 33.998 us/op 0.85
Buffer.compare 16384 - diff last byte 204.00 ns/op 254.61 ns/op 0.80
byteArrayEquals 123687377 - diff last byte 218.44 ms/op 258.94 ms/op 0.84
Buffer.compare 123687377 - diff last byte 6.8925 ms/op 8.4061 ms/op 0.82
byteArrayEquals 32 - random bytes 5.1530 ns/op 5.6000 ns/op 0.92
Buffer.compare 32 - random bytes 40.667 ns/op 62.271 ns/op 0.65
byteArrayEquals 1024 - random bytes 4.7480 ns/op 5.9520 ns/op 0.80
Buffer.compare 1024 - random bytes 39.591 ns/op 66.204 ns/op 0.60
byteArrayEquals 16384 - random bytes 4.7380 ns/op 5.6230 ns/op 0.84
Buffer.compare 16384 - random bytes 39.787 ns/op 69.117 ns/op 0.58
byteArrayEquals 123687377 - random bytes 8.2500 ns/op 9.0600 ns/op 0.91
Buffer.compare 123687377 - random bytes 42.200 ns/op 78.300 ns/op 0.54
regular array get 100000 times 43.537 us/op 48.015 us/op 0.91
wrappedArray get 100000 times 43.822 us/op 49.640 us/op 0.88
arrayWithProxy get 100000 times 10.212 ms/op 14.509 ms/op 0.70
ssz.Root.equals 58.609 ns/op 57.853 ns/op 1.01
byteArrayEquals 56.951 ns/op 58.140 ns/op 0.98
Buffer.compare 10.268 ns/op 11.569 ns/op 0.89
shuffle list - 16384 els 4.8883 ms/op 7.1868 ms/op 0.68
shuffle list - 250000 els 75.329 ms/op 106.34 ms/op 0.71
processSlot - 1 slots 17.709 us/op 16.854 us/op 1.05
processSlot - 32 slots 2.5594 ms/op 3.3946 ms/op 0.75
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 52.203 ms/op 60.381 ms/op 0.86
getCommitteeAssignments - req 1 vs - 250000 vc 2.3429 ms/op 2.6825 ms/op 0.87
getCommitteeAssignments - req 100 vs - 250000 vc 3.6639 ms/op 3.8977 ms/op 0.94
getCommitteeAssignments - req 1000 vs - 250000 vc 3.9427 ms/op 4.3067 ms/op 0.92
findModifiedValidators - 10000 modified validators 503.89 ms/op 576.50 ms/op 0.87
findModifiedValidators - 1000 modified validators 395.83 ms/op 464.94 ms/op 0.85
findModifiedValidators - 100 modified validators 349.93 ms/op 469.87 ms/op 0.74
findModifiedValidators - 10 modified validators 352.29 ms/op 498.14 ms/op 0.71
findModifiedValidators - 1 modified validators 330.05 ms/op 444.46 ms/op 0.74
findModifiedValidators - no difference 334.87 ms/op 471.36 ms/op 0.71
compare ViewDUs 4.4718 s/op 5.4867 s/op 0.82
compare each validator Uint8Array 1.6500 s/op 2.2965 s/op 0.72
compare ViewDU to Uint8Array 1.3401 s/op 1.5671 s/op 0.86
migrate state 1000000 validators, 24 modified, 0 new 748.20 ms/op 930.89 ms/op 0.80
migrate state 1000000 validators, 1700 modified, 1000 new 990.87 ms/op 1.1415 s/op 0.87
migrate state 1000000 validators, 3400 modified, 2000 new 1.1197 s/op 1.4727 s/op 0.76
migrate state 1500000 validators, 24 modified, 0 new 659.25 ms/op 949.26 ms/op 0.69
migrate state 1500000 validators, 1700 modified, 1000 new 1.1168 s/op 1.4166 s/op 0.79
migrate state 1500000 validators, 3400 modified, 2000 new 1.1888 s/op 1.7594 s/op 0.68
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5000 ns/op 5.6100 ns/op 0.80
state getBlockRootAtSlot - 250000 vs - 7PWei 859.22 ns/op 785.74 ns/op 1.09
computeProposers - vc 250000 6.4204 ms/op 13.419 ms/op 0.48
computeEpochShuffling - vc 250000 67.287 ms/op 137.72 ms/op 0.49
getNextSyncCommittee - vc 250000 111.99 ms/op 182.59 ms/op 0.61
computeSigningRoot for AttestationData 23.112 us/op 35.831 us/op 0.65
hash AttestationData serialized data then Buffer.toString(base64) 1.2885 us/op 2.7717 us/op 0.46
toHexString serialized data 1.0064 us/op 1.3643 us/op 0.74
Buffer.toString(base64) 157.80 ns/op 292.11 ns/op 0.54

by benchmarkbot/action

@wemeetagain
Copy link
Member

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