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: update the website docs #6565

Merged
merged 1 commit into from
Mar 20, 2024
Merged

chore: update the website docs #6565

merged 1 commit into from
Mar 20, 2024

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented Mar 19, 2024

Motivation

Update the CONTRIBUTING guide to reflect recent migration to docusaurus.

@jeluard jeluard requested a review from a team as a code owner March 19, 2024 13:43
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 79bbac1 Previous: e840ea0 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 771.54 us/op 675.97 us/op 1.14
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 120.51 us/op 146.09 us/op 0.82
BLS verify - blst-native 1.3462 ms/op 1.4865 ms/op 0.91
BLS verifyMultipleSignatures 3 - blst-native 2.8746 ms/op 3.5509 ms/op 0.81
BLS verifyMultipleSignatures 8 - blst-native 6.4602 ms/op 7.0712 ms/op 0.91
BLS verifyMultipleSignatures 32 - blst-native 23.029 ms/op 27.119 ms/op 0.85
BLS verifyMultipleSignatures 64 - blst-native 45.610 ms/op 49.296 ms/op 0.93
BLS verifyMultipleSignatures 128 - blst-native 93.177 ms/op 119.99 ms/op 0.78
BLS deserializing 10000 signatures 1.0028 s/op 1.0595 s/op 0.95
BLS deserializing 100000 signatures 9.4136 s/op 9.9573 s/op 0.95
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3810 ms/op 1.5742 ms/op 0.88
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.6579 ms/op 1.7211 ms/op 0.96
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4227 ms/op 2.6327 ms/op 0.92
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6063 ms/op 3.8282 ms/op 0.94
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.9334 ms/op 6.5426 ms/op 0.91
BLS aggregatePubkeys 32 - blst-native 27.017 us/op 29.366 us/op 0.92
BLS aggregatePubkeys 128 - blst-native 107.67 us/op 110.89 us/op 0.97
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 78.022 ms/op 86.506 ms/op 0.90
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 66.757 ms/op 79.836 ms/op 0.84
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 54.752 ms/op 63.903 ms/op 0.86
getSlashingsAndExits - default max 206.56 us/op 336.44 us/op 0.61
getSlashingsAndExits - 2k 613.21 us/op 708.66 us/op 0.87
proposeBlockBody type=full, size=empty 7.0155 ms/op 8.0713 ms/op 0.87
isKnown best case - 1 super set check 514.00 ns/op 689.00 ns/op 0.75
isKnown normal case - 2 super set checks 404.00 ns/op 707.00 ns/op 0.57
isKnown worse case - 16 super set checks 391.00 ns/op 710.00 ns/op 0.55
CheckpointStateCache - add get delete 8.3400 us/op 8.2800 us/op 1.01
validate api signedAggregateAndProof - struct 2.8657 ms/op 3.0693 ms/op 0.93
validate gossip signedAggregateAndProof - struct 2.8560 ms/op 3.3025 ms/op 0.86
validate gossip attestation - vc 640000 1.4136 ms/op 1.5606 ms/op 0.91
batch validate gossip attestation - vc 640000 - chunk 32 178.80 us/op 210.31 us/op 0.85
batch validate gossip attestation - vc 640000 - chunk 64 164.92 us/op 186.19 us/op 0.89
batch validate gossip attestation - vc 640000 - chunk 128 164.68 us/op 168.63 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 256 155.16 us/op 148.94 us/op 1.04
pickEth1Vote - no votes 1.5670 ms/op 1.5482 ms/op 1.01
pickEth1Vote - max votes 12.706 ms/op 12.485 ms/op 1.02
pickEth1Vote - Eth1Data hashTreeRoot value x2048 22.049 ms/op 20.224 ms/op 1.09
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 33.951 ms/op 27.504 ms/op 1.23
pickEth1Vote - Eth1Data fastSerialize value x2048 772.27 us/op 775.46 us/op 1.00
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.1271 ms/op 5.3884 ms/op 1.14
bytes32 toHexString 861.00 ns/op 649.00 ns/op 1.33
bytes32 Buffer.toString(hex) 339.00 ns/op 340.00 ns/op 1.00
bytes32 Buffer.toString(hex) from Uint8Array 613.00 ns/op 558.00 ns/op 1.10
bytes32 Buffer.toString(hex) + 0x 360.00 ns/op 332.00 ns/op 1.08
Object access 1 prop 0.25500 ns/op 0.22500 ns/op 1.13
Map access 1 prop 0.17000 ns/op 0.16800 ns/op 1.01
Object get x1000 8.2240 ns/op 8.4450 ns/op 0.97
Map get x1000 0.91800 ns/op 0.94700 ns/op 0.97
Object set x1000 66.632 ns/op 74.935 ns/op 0.89
Map set x1000 56.718 ns/op 55.839 ns/op 1.02
Return object 10000 times 0.29190 ns/op 0.27380 ns/op 1.07
Throw Error 10000 times 4.4676 us/op 4.3656 us/op 1.02
fastMsgIdFn sha256 / 200 bytes 3.6860 us/op 3.8480 us/op 0.96
fastMsgIdFn h32 xxhash / 200 bytes 425.00 ns/op 373.00 ns/op 1.14
fastMsgIdFn h64 xxhash / 200 bytes 448.00 ns/op 422.00 ns/op 1.06
fastMsgIdFn sha256 / 1000 bytes 12.122 us/op 12.630 us/op 0.96
fastMsgIdFn h32 xxhash / 1000 bytes 517.00 ns/op 518.00 ns/op 1.00
fastMsgIdFn h64 xxhash / 1000 bytes 528.00 ns/op 519.00 ns/op 1.02
fastMsgIdFn sha256 / 10000 bytes 113.87 us/op 115.46 us/op 0.99
fastMsgIdFn h32 xxhash / 10000 bytes 2.1720 us/op 2.2540 us/op 0.96
fastMsgIdFn h64 xxhash / 10000 bytes 1.5060 us/op 1.4660 us/op 1.03
send data - 1000 256B messages 26.274 ms/op 24.311 ms/op 1.08
send data - 1000 512B messages 34.085 ms/op 26.947 ms/op 1.26
send data - 1000 1024B messages 47.189 ms/op 48.477 ms/op 0.97
send data - 1000 1200B messages 46.170 ms/op 45.135 ms/op 1.02
send data - 1000 2048B messages 69.026 ms/op 58.508 ms/op 1.18
send data - 1000 4096B messages 51.509 ms/op 50.055 ms/op 1.03
send data - 1000 16384B messages 140.17 ms/op 135.06 ms/op 1.04
send data - 1000 65536B messages 438.32 ms/op 511.16 ms/op 0.86
enrSubnets - fastDeserialize 64 bits 1.6170 us/op 1.6940 us/op 0.95
enrSubnets - ssz BitVector 64 bits 577.00 ns/op 617.00 ns/op 0.94
enrSubnets - fastDeserialize 4 bits 259.00 ns/op 277.00 ns/op 0.94
enrSubnets - ssz BitVector 4 bits 623.00 ns/op 661.00 ns/op 0.94
prioritizePeers score -10:0 att 32-0.1 sync 2-0 124.62 us/op 164.58 us/op 0.76
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 167.66 us/op 198.71 us/op 0.84
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 223.98 us/op 259.76 us/op 0.86
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 393.16 us/op 509.37 us/op 0.77
prioritizePeers score 0:0 att 64-1 sync 4-1 447.98 us/op 630.20 us/op 0.71
array of 16000 items push then shift 1.9056 us/op 1.9403 us/op 0.98
LinkedList of 16000 items push then shift 11.497 ns/op 13.833 ns/op 0.83
array of 16000 items push then pop 147.05 ns/op 181.76 ns/op 0.81
LinkedList of 16000 items push then pop 11.753 ns/op 13.879 ns/op 0.85
array of 24000 items push then shift 3.1120 us/op 3.3008 us/op 0.94
LinkedList of 24000 items push then shift 12.389 ns/op 16.600 ns/op 0.75
array of 24000 items push then pop 179.30 ns/op 252.01 ns/op 0.71
LinkedList of 24000 items push then pop 10.918 ns/op 11.585 ns/op 0.94
intersect bitArray bitLen 8 7.3930 ns/op 7.0190 ns/op 1.05
intersect array and set length 8 111.46 ns/op 124.97 ns/op 0.89
intersect bitArray bitLen 128 45.508 ns/op 69.506 ns/op 0.65
intersect array and set length 128 1.1946 us/op 1.3294 us/op 0.90
bitArray.getTrueBitIndexes() bitLen 128 2.1230 us/op 2.8340 us/op 0.75
bitArray.getTrueBitIndexes() bitLen 248 3.6180 us/op 4.9640 us/op 0.73
bitArray.getTrueBitIndexes() bitLen 512 7.4960 us/op 9.2270 us/op 0.81
Buffer.concat 32 items 1.2180 us/op 1.4180 us/op 0.86
Uint8Array.set 32 items 2.3260 us/op 2.8550 us/op 0.81
Set add up to 64 items then delete first 5.3218 us/op 6.1391 us/op 0.87
OrderedSet add up to 64 items then delete first 7.1857 us/op 8.6880 us/op 0.83
Set add up to 64 items then delete last 5.8731 us/op 7.0903 us/op 0.83
OrderedSet add up to 64 items then delete last 7.8206 us/op 8.8774 us/op 0.88
Set add up to 64 items then delete middle 5.9149 us/op 6.2942 us/op 0.94
OrderedSet add up to 64 items then delete middle 8.9535 us/op 9.6866 us/op 0.92
Set add up to 128 items then delete first 11.484 us/op 12.472 us/op 0.92
OrderedSet add up to 128 items then delete first 16.388 us/op 18.515 us/op 0.89
Set add up to 128 items then delete last 11.418 us/op 12.260 us/op 0.93
OrderedSet add up to 128 items then delete last 15.195 us/op 16.507 us/op 0.92
Set add up to 128 items then delete middle 11.161 us/op 12.029 us/op 0.93
OrderedSet add up to 128 items then delete middle 23.354 us/op 22.175 us/op 1.05
Set add up to 256 items then delete first 25.520 us/op 23.894 us/op 1.07
OrderedSet add up to 256 items then delete first 34.270 us/op 35.128 us/op 0.98
Set add up to 256 items then delete last 23.678 us/op 24.629 us/op 0.96
OrderedSet add up to 256 items then delete last 32.248 us/op 33.416 us/op 0.97
Set add up to 256 items then delete middle 24.043 us/op 26.034 us/op 0.92
OrderedSet add up to 256 items then delete middle 61.281 us/op 62.749 us/op 0.98
transfer serialized Status (84 B) 2.3090 us/op 2.4880 us/op 0.93
copy serialized Status (84 B) 1.9060 us/op 1.8060 us/op 1.06
transfer serialized SignedVoluntaryExit (112 B) 2.4600 us/op 2.6170 us/op 0.94
copy serialized SignedVoluntaryExit (112 B) 1.7260 us/op 1.7470 us/op 0.99
transfer serialized ProposerSlashing (416 B) 2.6920 us/op 3.2430 us/op 0.83
copy serialized ProposerSlashing (416 B) 3.4530 us/op 2.7550 us/op 1.25
transfer serialized Attestation (485 B) 4.3920 us/op 3.3640 us/op 1.31
copy serialized Attestation (485 B) 3.8760 us/op 3.0640 us/op 1.27
transfer serialized AttesterSlashing (33232 B) 4.1680 us/op 3.4270 us/op 1.22
copy serialized AttesterSlashing (33232 B) 12.537 us/op 8.5040 us/op 1.47
transfer serialized Small SignedBeaconBlock (128000 B) 5.3940 us/op 3.3250 us/op 1.62
copy serialized Small SignedBeaconBlock (128000 B) 41.613 us/op 22.564 us/op 1.84
transfer serialized Avg SignedBeaconBlock (200000 B) 6.1400 us/op 3.8560 us/op 1.59
copy serialized Avg SignedBeaconBlock (200000 B) 59.080 us/op 32.056 us/op 1.84
transfer serialized BlobsSidecar (524380 B) 7.2760 us/op 4.4950 us/op 1.62
copy serialized BlobsSidecar (524380 B) 185.51 us/op 237.91 us/op 0.78
transfer serialized Big SignedBeaconBlock (1000000 B) 6.0810 us/op 4.4520 us/op 1.37
copy serialized Big SignedBeaconBlock (1000000 B) 329.34 us/op 196.28 us/op 1.68
pass gossip attestations to forkchoice per slot 6.3458 ms/op 4.6734 ms/op 1.36
forkChoice updateHead vc 100000 bc 64 eq 0 840.49 us/op 900.39 us/op 0.93
forkChoice updateHead vc 600000 bc 64 eq 0 8.1629 ms/op 6.2111 ms/op 1.31
forkChoice updateHead vc 1000000 bc 64 eq 0 10.532 ms/op 8.6938 ms/op 1.21
forkChoice updateHead vc 600000 bc 320 eq 0 5.9933 ms/op 5.2938 ms/op 1.13
forkChoice updateHead vc 600000 bc 1200 eq 0 6.0040 ms/op 5.6730 ms/op 1.06
forkChoice updateHead vc 600000 bc 7200 eq 0 7.4888 ms/op 7.1034 ms/op 1.05
forkChoice updateHead vc 600000 bc 64 eq 1000 13.978 ms/op 13.504 ms/op 1.04
forkChoice updateHead vc 600000 bc 64 eq 10000 15.626 ms/op 17.151 ms/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 300000 22.996 ms/op 25.672 ms/op 0.90
computeDeltas 500000 validators 300 proto nodes 8.0467 ms/op 8.1426 ms/op 0.99
computeDeltas 500000 validators 1200 proto nodes 7.6384 ms/op 7.7912 ms/op 0.98
computeDeltas 500000 validators 7200 proto nodes 6.9365 ms/op 7.5976 ms/op 0.91
computeDeltas 750000 validators 300 proto nodes 10.384 ms/op 10.957 ms/op 0.95
computeDeltas 750000 validators 1200 proto nodes 10.915 ms/op 10.709 ms/op 1.02
computeDeltas 750000 validators 7200 proto nodes 11.438 ms/op 10.624 ms/op 1.08
computeDeltas 1400000 validators 300 proto nodes 21.144 ms/op 21.728 ms/op 0.97
computeDeltas 1400000 validators 1200 proto nodes 21.805 ms/op 20.579 ms/op 1.06
computeDeltas 1400000 validators 7200 proto nodes 21.080 ms/op 21.716 ms/op 0.97
computeDeltas 2100000 validators 300 proto nodes 32.273 ms/op 35.248 ms/op 0.92
computeDeltas 2100000 validators 1200 proto nodes 32.167 ms/op 35.516 ms/op 0.91
computeDeltas 2100000 validators 7200 proto nodes 30.080 ms/op 33.218 ms/op 0.91
altair processAttestation - 250000 vs - 7PWei normalcase 3.8864 ms/op 4.3262 ms/op 0.90
altair processAttestation - 250000 vs - 7PWei worstcase 5.5688 ms/op 5.6205 ms/op 0.99
altair processAttestation - setStatus - 1/6 committees join 205.65 us/op 191.56 us/op 1.07
altair processAttestation - setStatus - 1/3 committees join 371.27 us/op 362.49 us/op 1.02
altair processAttestation - setStatus - 1/2 committees join 425.95 us/op 546.28 us/op 0.78
altair processAttestation - setStatus - 2/3 committees join 579.77 us/op 673.77 us/op 0.86
altair processAttestation - setStatus - 4/5 committees join 915.59 us/op 792.34 us/op 1.16
altair processAttestation - setStatus - 100% committees join 933.37 us/op 935.73 us/op 1.00
altair processBlock - 250000 vs - 7PWei normalcase 12.345 ms/op 12.137 ms/op 1.02
altair processBlock - 250000 vs - 7PWei normalcase hashState 45.589 ms/op 52.822 ms/op 0.86
altair processBlock - 250000 vs - 7PWei worstcase 49.292 ms/op 50.475 ms/op 0.98
altair processBlock - 250000 vs - 7PWei worstcase hashState 119.54 ms/op 123.76 ms/op 0.97
phase0 processBlock - 250000 vs - 7PWei normalcase 3.9067 ms/op 3.4234 ms/op 1.14
phase0 processBlock - 250000 vs - 7PWei worstcase 37.346 ms/op 37.864 ms/op 0.99
altair processEth1Data - 250000 vs - 7PWei normalcase 1.0024 ms/op 866.83 us/op 1.16
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 24.111 us/op 18.346 us/op 1.31
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 103.35 us/op 88.727 us/op 1.16
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 55.410 us/op 50.103 us/op 1.11
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 33.723 us/op 29.524 us/op 1.14
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 236.95 us/op 286.83 us/op 0.83
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 2.1261 ms/op 2.0444 ms/op 1.04
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.5419 ms/op 2.7970 ms/op 0.91
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.4855 ms/op 2.7607 ms/op 0.90
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 6.0744 ms/op 7.8261 ms/op 0.78
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.3584 ms/op 4.6310 ms/op 0.73
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 9.5804 ms/op 12.293 ms/op 0.78
Tree 40 250000 create 1.0672 s/op 822.00 ms/op 1.30
Tree 40 250000 get(125000) 261.34 ns/op 252.47 ns/op 1.04
Tree 40 250000 set(125000) 2.4712 us/op 2.7069 us/op 0.91
Tree 40 250000 toArray() 30.657 ms/op 27.493 ms/op 1.12
Tree 40 250000 iterate all - toArray() + loop 31.020 ms/op 28.166 ms/op 1.10
Tree 40 250000 iterate all - get(i) 102.57 ms/op 95.570 ms/op 1.07
MutableVector 250000 create 22.257 ms/op 27.743 ms/op 0.80
MutableVector 250000 get(125000) 7.6310 ns/op 8.4040 ns/op 0.91
MutableVector 250000 set(125000) 812.58 ns/op 652.17 ns/op 1.25
MutableVector 250000 toArray() 5.9804 ms/op 5.5028 ms/op 1.09
MutableVector 250000 iterate all - toArray() + loop 6.9904 ms/op 5.4164 ms/op 1.29
MutableVector 250000 iterate all - get(i) 2.1929 ms/op 1.8226 ms/op 1.20
Array 250000 create 6.5893 ms/op 4.7460 ms/op 1.39
Array 250000 clone - spread 7.7902 ms/op 1.8015 ms/op 4.32
Array 250000 get(125000) 4.3440 ns/op 2.0090 ns/op 2.16
Array 250000 set(125000) 7.0230 ns/op 6.0780 ns/op 1.16
Array 250000 iterate all - loop 232.07 us/op 208.03 us/op 1.12
effectiveBalanceIncrements clone Uint8Array 300000 101.28 us/op 54.636 us/op 1.85
effectiveBalanceIncrements clone MutableVector 300000 2.5800 us/op 476.00 ns/op 5.42
effectiveBalanceIncrements rw all Uint8Array 300000 303.88 us/op 239.03 us/op 1.27
effectiveBalanceIncrements rw all MutableVector 300000 281.01 ms/op 192.15 ms/op 1.46
phase0 afterProcessEpoch - 250000 vs - 7PWei 167.97 ms/op 143.18 ms/op 1.17
phase0 beforeProcessEpoch - 250000 vs - 7PWei 108.78 ms/op 67.939 ms/op 1.60
altair processEpoch - mainnet_e81889 741.20 ms/op 635.29 ms/op 1.17
mainnet_e81889 - altair beforeProcessEpoch 121.04 ms/op 110.69 ms/op 1.09
mainnet_e81889 - altair processJustificationAndFinalization 36.272 us/op 34.186 us/op 1.06
mainnet_e81889 - altair processInactivityUpdates 11.859 ms/op 10.547 ms/op 1.12
mainnet_e81889 - altair processRewardsAndPenalties 79.012 ms/op 73.632 ms/op 1.07
mainnet_e81889 - altair processRegistryUpdates 7.5930 us/op 5.1120 us/op 1.49
mainnet_e81889 - altair processSlashings 1.7340 us/op 1.5400 us/op 1.13
mainnet_e81889 - altair processEth1DataReset 1.1350 us/op 1.7330 us/op 0.65
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.9536 ms/op 1.8448 ms/op 1.06
mainnet_e81889 - altair processSlashingsReset 6.9740 us/op 6.3520 us/op 1.10
mainnet_e81889 - altair processRandaoMixesReset 11.201 us/op 10.081 us/op 1.11
mainnet_e81889 - altair processHistoricalRootsUpdate 2.4100 us/op 1.6130 us/op 1.49
mainnet_e81889 - altair processParticipationFlagUpdates 6.2980 us/op 4.8620 us/op 1.30
mainnet_e81889 - altair processSyncCommitteeUpdates 2.2240 us/op 1.7260 us/op 1.29
mainnet_e81889 - altair afterProcessEpoch 147.40 ms/op 149.25 ms/op 0.99
capella processEpoch - mainnet_e217614 3.5584 s/op 2.8321 s/op 1.26
mainnet_e217614 - capella beforeProcessEpoch 784.08 ms/op 638.26 ms/op 1.23
mainnet_e217614 - capella processJustificationAndFinalization 36.065 us/op 22.169 us/op 1.63
mainnet_e217614 - capella processInactivityUpdates 33.353 ms/op 21.839 ms/op 1.53
mainnet_e217614 - capella processRewardsAndPenalties 739.87 ms/op 700.46 ms/op 1.06
mainnet_e217614 - capella processRegistryUpdates 44.712 us/op 50.972 us/op 0.88
mainnet_e217614 - capella processSlashings 1.8550 us/op 1.5250 us/op 1.22
mainnet_e217614 - capella processEth1DataReset 1.3980 us/op 1.1900 us/op 1.17
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.8570 ms/op 5.9209 ms/op 0.99
mainnet_e217614 - capella processSlashingsReset 7.4190 us/op 11.080 us/op 0.67
mainnet_e217614 - capella processRandaoMixesReset 10.004 us/op 14.687 us/op 0.68
mainnet_e217614 - capella processHistoricalRootsUpdate 1.0540 us/op 1.8280 us/op 0.58
mainnet_e217614 - capella processParticipationFlagUpdates 3.3750 us/op 5.4100 us/op 0.62
mainnet_e217614 - capella afterProcessEpoch 320.10 ms/op 445.12 ms/op 0.72
phase0 processEpoch - mainnet_e58758 490.50 ms/op 739.95 ms/op 0.66
mainnet_e58758 - phase0 beforeProcessEpoch 144.64 ms/op 223.10 ms/op 0.65
mainnet_e58758 - phase0 processJustificationAndFinalization 19.814 us/op 40.720 us/op 0.49
mainnet_e58758 - phase0 processRewardsAndPenalties 67.819 ms/op 80.374 ms/op 0.84
mainnet_e58758 - phase0 processRegistryUpdates 19.285 us/op 20.778 us/op 0.93
mainnet_e58758 - phase0 processSlashings 712.00 ns/op 946.00 ns/op 0.75
mainnet_e58758 - phase0 processEth1DataReset 751.00 ns/op 1.0050 us/op 0.75
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3505 ms/op 1.3492 ms/op 1.00
mainnet_e58758 - phase0 processSlashingsReset 9.3160 us/op 5.0740 us/op 1.84
mainnet_e58758 - phase0 processRandaoMixesReset 10.889 us/op 8.3000 us/op 1.31
mainnet_e58758 - phase0 processHistoricalRootsUpdate 972.00 ns/op 1.1060 us/op 0.88
mainnet_e58758 - phase0 processParticipationRecordUpdates 6.5560 us/op 6.8320 us/op 0.96
mainnet_e58758 - phase0 afterProcessEpoch 108.47 ms/op 109.92 ms/op 0.99
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.5689 ms/op 1.4782 ms/op 1.06
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.9698 ms/op 1.6087 ms/op 1.22
altair processInactivityUpdates - 250000 normalcase 33.779 ms/op 36.622 ms/op 0.92
altair processInactivityUpdates - 250000 worstcase 27.495 ms/op 34.098 ms/op 0.81
phase0 processRegistryUpdates - 250000 normalcase 14.363 us/op 15.344 us/op 0.94
phase0 processRegistryUpdates - 250000 badcase_full_deposits 499.56 us/op 513.92 us/op 0.97
phase0 processRegistryUpdates - 250000 worstcase 0.5 174.51 ms/op 196.31 ms/op 0.89
altair processRewardsAndPenalties - 250000 normalcase 70.152 ms/op 90.435 ms/op 0.78
altair processRewardsAndPenalties - 250000 worstcase 71.645 ms/op 87.568 ms/op 0.82
phase0 getAttestationDeltas - 250000 normalcase 14.291 ms/op 14.736 ms/op 0.97
phase0 getAttestationDeltas - 250000 worstcase 14.011 ms/op 13.891 ms/op 1.01
phase0 processSlashings - 250000 worstcase 152.16 us/op 113.20 us/op 1.34
altair processSyncCommitteeUpdates - 250000 177.62 ms/op 187.70 ms/op 0.95
BeaconState.hashTreeRoot - No change 281.00 ns/op 791.00 ns/op 0.36
BeaconState.hashTreeRoot - 1 full validator 167.29 us/op 179.65 us/op 0.93
BeaconState.hashTreeRoot - 32 full validator 1.5497 ms/op 1.6831 ms/op 0.92
BeaconState.hashTreeRoot - 512 full validator 20.150 ms/op 18.318 ms/op 1.10
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 200.31 us/op 195.42 us/op 1.03
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.5371 ms/op 2.7075 ms/op 0.94
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 32.747 ms/op 35.175 ms/op 0.93
BeaconState.hashTreeRoot - 1 balances 153.87 us/op 160.90 us/op 0.96
BeaconState.hashTreeRoot - 32 balances 1.3072 ms/op 1.4473 ms/op 0.90
BeaconState.hashTreeRoot - 512 balances 17.039 ms/op 17.441 ms/op 0.98
BeaconState.hashTreeRoot - 250000 balances 244.28 ms/op 279.63 ms/op 0.87
aggregationBits - 2048 els - zipIndexesInBitList 39.007 us/op 46.089 us/op 0.85
byteArrayEquals 32 81.892 ns/op 83.909 ns/op 0.98
Buffer.compare 32 57.928 ns/op 66.911 ns/op 0.87
byteArrayEquals 1024 2.2574 us/op 2.3734 us/op 0.95
Buffer.compare 1024 75.020 ns/op 82.054 ns/op 0.91
byteArrayEquals 16384 36.871 us/op 40.271 us/op 0.92
Buffer.compare 16384 263.38 ns/op 300.40 ns/op 0.88
byteArrayEquals 123687377 286.28 ms/op 291.71 ms/op 0.98
Buffer.compare 123687377 10.239 ms/op 9.8322 ms/op 1.04
byteArrayEquals 32 - diff last byte 79.616 ns/op 95.149 ns/op 0.84
Buffer.compare 32 - diff last byte 64.656 ns/op 73.416 ns/op 0.88
byteArrayEquals 1024 - diff last byte 2.2791 us/op 2.7092 us/op 0.84
Buffer.compare 1024 - diff last byte 79.847 ns/op 93.871 ns/op 0.85
byteArrayEquals 16384 - diff last byte 40.481 us/op 43.313 us/op 0.93
Buffer.compare 16384 - diff last byte 289.93 ns/op 319.60 ns/op 0.91
byteArrayEquals 123687377 - diff last byte 271.43 ms/op 307.11 ms/op 0.88
Buffer.compare 123687377 - diff last byte 8.7772 ms/op 11.712 ms/op 0.75
byteArrayEquals 32 - random bytes 5.9260 ns/op 7.3980 ns/op 0.80
Buffer.compare 32 - random bytes 64.924 ns/op 74.119 ns/op 0.88
byteArrayEquals 1024 - random bytes 6.0980 ns/op 7.2010 ns/op 0.85
Buffer.compare 1024 - random bytes 63.514 ns/op 72.346 ns/op 0.88
byteArrayEquals 16384 - random bytes 6.2730 ns/op 7.1070 ns/op 0.88
Buffer.compare 16384 - random bytes 63.185 ns/op 72.205 ns/op 0.88
byteArrayEquals 123687377 - random bytes 9.9000 ns/op 14.090 ns/op 0.70
Buffer.compare 123687377 - random bytes 84.990 ns/op 91.860 ns/op 0.93
regular array get 100000 times 48.232 us/op 54.212 us/op 0.89
wrappedArray get 100000 times 48.564 us/op 51.353 us/op 0.95
arrayWithProxy get 100000 times 16.398 ms/op 16.374 ms/op 1.00
ssz.Root.equals 58.182 ns/op 62.111 ns/op 0.94
byteArrayEquals 60.561 ns/op 60.900 ns/op 0.99
Buffer.compare 13.263 ns/op 13.583 ns/op 0.98
shuffle list - 16384 els 9.0466 ms/op 9.9780 ms/op 0.91
shuffle list - 250000 els 134.67 ms/op 139.27 ms/op 0.97
processSlot - 1 slots 19.221 us/op 20.455 us/op 0.94
processSlot - 32 slots 3.6329 ms/op 4.9322 ms/op 0.74
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 66.581 ms/op 72.525 ms/op 0.92
getCommitteeAssignments - req 1 vs - 250000 vc 2.8552 ms/op 3.0102 ms/op 0.95
getCommitteeAssignments - req 100 vs - 250000 vc 4.4034 ms/op 4.6477 ms/op 0.95
getCommitteeAssignments - req 1000 vs - 250000 vc 4.4558 ms/op 4.7810 ms/op 0.93
findModifiedValidators - 10000 modified validators 619.43 ms/op 669.72 ms/op 0.92
findModifiedValidators - 1000 modified validators 488.79 ms/op 511.92 ms/op 0.95
findModifiedValidators - 100 modified validators 498.82 ms/op 535.24 ms/op 0.93
findModifiedValidators - 10 modified validators 475.78 ms/op 522.53 ms/op 0.91
findModifiedValidators - 1 modified validators 445.54 ms/op 502.93 ms/op 0.89
findModifiedValidators - no difference 508.53 ms/op 522.25 ms/op 0.97
compare ViewDUs 5.1524 s/op 5.0615 s/op 1.02
compare each validator Uint8Array 1.7320 s/op 1.9853 s/op 0.87
compare ViewDU to Uint8Array 1.5546 s/op 1.5070 s/op 1.03
migrate state 1000000 validators, 24 modified, 0 new 951.52 ms/op 885.32 ms/op 1.07
migrate state 1000000 validators, 1700 modified, 1000 new 1.2663 s/op 1.2633 s/op 1.00
migrate state 1000000 validators, 3400 modified, 2000 new 1.6477 s/op 1.7837 s/op 0.92
migrate state 1500000 validators, 24 modified, 0 new 987.24 ms/op 1.1208 s/op 0.88
migrate state 1500000 validators, 1700 modified, 1000 new 1.3848 s/op 1.2467 s/op 1.11
migrate state 1500000 validators, 3400 modified, 2000 new 1.7000 s/op 1.4651 s/op 1.16
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.6200 ns/op 4.9300 ns/op 1.14
state getBlockRootAtSlot - 250000 vs - 7PWei 759.51 ns/op 706.42 ns/op 1.08
computeProposers - vc 250000 10.756 ms/op 10.377 ms/op 1.04
computeEpochShuffling - vc 250000 138.44 ms/op 135.73 ms/op 1.02
getNextSyncCommittee - vc 250000 206.80 ms/op 182.42 ms/op 1.13
computeSigningRoot for AttestationData 35.678 us/op 38.848 us/op 0.92
hash AttestationData serialized data then Buffer.toString(base64) 2.5384 us/op 3.2269 us/op 0.79
toHexString serialized data 1.6886 us/op 2.2591 us/op 0.75
Buffer.toString(base64) 279.23 ns/op 343.32 ns/op 0.81

by benchmarkbot/action

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

Merging #6565 (0122e33) into unstable (e840ea0) will not change coverage.
Report is 1 commits behind head on unstable.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6565   +/-   ##
=========================================
  Coverage     61.46%   61.46%           
=========================================
  Files           556      556           
  Lines         58850    58850           
  Branches       1850     1850           
=========================================
  Hits          36171    36171           
  Misses        22638    22638           
  Partials         41       41           

@jeluard jeluard merged commit 556e5ec into unstable Mar 20, 2024
19 of 20 checks passed
@jeluard jeluard deleted the jeluard/fix-documentation branch March 20, 2024 07:24
@@ -250,15 +250,9 @@ node scripts/download_dashboards.mjs

## Contributing to Documentation

When submitting PRs for documentation updates, build and run the documentation locally to ensure functionality before submission. For first time documentation contributors, install the python dependencies with `yarn docs:install`. Build the documentation locally with `yarn docs:build` and serve with `yarn docs:serve`
When submitting PRs for documentation updates, build and run the documentation locally to ensure functionality before submission. First generate the CLI documentation with `yarn docs:build`. Then in the `docs` folder, build the documentation locally with `yarn install` and serve with `yarn start`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be possible to have all commands executed from root as we had previously?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure! See #6571

@wemeetagain
Copy link
Member

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

4 participants