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

docs: display rcConfig flag on CLI reference page #7270

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Dec 2, 2024

Motivation

Some users might be interested in providing the configuration via file instead of CLI flags, this already exists in Lodestar via --rcConfig flag but it's a hidden option but I feel like it would be good to document this flag on our CLI reference page, see #7234 for more context.

Description

Display --rcConfig flag on CLI reference page.

I added the flag to global options as it's available for all commands (beacon, validator, bootnode, etc.), this is for documentation purposes only, the behavior of the flag is unchanged.

@nflaig nflaig requested a review from a team as a code owner December 2, 2024 10:19
Copy link

codecov bot commented Dec 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.51%. Comparing base (8922d55) to head (1e99f2f).
Report is 2 commits behind head on unstable.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #7270   +/-   ##
=========================================
  Coverage     48.51%   48.51%           
=========================================
  Files           600      600           
  Lines         40138    40142    +4     
  Branches       2058     2058           
=========================================
+ Hits          19471    19475    +4     
  Misses        20629    20629           
  Partials         38       38           

Copy link
Contributor

github-actions bot commented Dec 2, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 7dee6e8 Previous: 8922d55 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.1942 ms/op 1.9879 ms/op 1.10
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 62.052 us/op 47.282 us/op 1.31
BLS verify - blst 914.72 us/op 1.1382 ms/op 0.80
BLS verifyMultipleSignatures 3 - blst 1.3704 ms/op 1.9902 ms/op 0.69
BLS verifyMultipleSignatures 8 - blst 2.0445 ms/op 2.4507 ms/op 0.83
BLS verifyMultipleSignatures 32 - blst 6.1477 ms/op 7.3454 ms/op 0.84
BLS verifyMultipleSignatures 64 - blst 11.409 ms/op 10.658 ms/op 1.07
BLS verifyMultipleSignatures 128 - blst 18.760 ms/op 17.381 ms/op 1.08
BLS deserializing 10000 signatures 750.52 ms/op 686.54 ms/op 1.09
BLS deserializing 100000 signatures 7.4614 s/op 6.9331 s/op 1.08
BLS verifyMultipleSignatures - same message - 3 - blst 1.1061 ms/op 1.4139 ms/op 0.78
BLS verifyMultipleSignatures - same message - 8 - blst 1.1479 ms/op 990.86 us/op 1.16
BLS verifyMultipleSignatures - same message - 32 - blst 1.7612 ms/op 1.6745 ms/op 1.05
BLS verifyMultipleSignatures - same message - 64 - blst 2.7854 ms/op 2.5716 ms/op 1.08
BLS verifyMultipleSignatures - same message - 128 - blst 4.8353 ms/op 4.3535 ms/op 1.11
BLS aggregatePubkeys 32 - blst 20.785 us/op 19.698 us/op 1.06
BLS aggregatePubkeys 128 - blst 75.613 us/op 70.078 us/op 1.08
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 76.524 ms/op 66.991 ms/op 1.14
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 66.147 ms/op 61.504 ms/op 1.08
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 55.761 ms/op 56.272 ms/op 0.99
getSlashingsAndExits - default max 204.05 us/op 91.204 us/op 2.24
getSlashingsAndExits - 2k 451.58 us/op 271.76 us/op 1.66
proposeBlockBody type=full, size=empty 8.5903 ms/op 5.8111 ms/op 1.48
isKnown best case - 1 super set check 693.00 ns/op 282.00 ns/op 2.46
isKnown normal case - 2 super set checks 746.00 ns/op 267.00 ns/op 2.79
isKnown worse case - 16 super set checks 746.00 ns/op 268.00 ns/op 2.78
InMemoryCheckpointStateCache - add get delete 4.2100 us/op 2.6260 us/op 1.60
validate api signedAggregateAndProof - struct 1.7993 ms/op 2.3817 ms/op 0.76
validate gossip signedAggregateAndProof - struct 1.8384 ms/op 2.5927 ms/op 0.71
batch validate gossip attestation - vc 640000 - chunk 32 161.75 us/op 138.33 us/op 1.17
batch validate gossip attestation - vc 640000 - chunk 64 128.09 us/op 120.73 us/op 1.06
batch validate gossip attestation - vc 640000 - chunk 128 123.59 us/op 108.25 us/op 1.14
batch validate gossip attestation - vc 640000 - chunk 256 119.52 us/op 106.81 us/op 1.12
pickEth1Vote - no votes 1.1872 ms/op 1.0888 ms/op 1.09
pickEth1Vote - max votes 9.0960 ms/op 7.8290 ms/op 1.16
pickEth1Vote - Eth1Data hashTreeRoot value x2048 15.485 ms/op 11.350 ms/op 1.36
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 18.904 ms/op 25.432 ms/op 0.74
pickEth1Vote - Eth1Data fastSerialize value x2048 517.58 us/op 455.66 us/op 1.14
pickEth1Vote - Eth1Data fastSerialize tree x2048 2.6017 ms/op 3.5912 ms/op 0.72
bytes32 toHexString 467.00 ns/op 426.00 ns/op 1.10
bytes32 Buffer.toString(hex) 263.00 ns/op 250.00 ns/op 1.05
bytes32 Buffer.toString(hex) from Uint8Array 395.00 ns/op 360.00 ns/op 1.10
bytes32 Buffer.toString(hex) + 0x 268.00 ns/op 250.00 ns/op 1.07
Object access 1 prop 0.14700 ns/op 0.13100 ns/op 1.12
Map access 1 prop 0.13700 ns/op 0.12900 ns/op 1.06
Object get x1000 6.2080 ns/op 5.6250 ns/op 1.10
Map get x1000 6.5550 ns/op 6.2220 ns/op 1.05
Object set x1000 38.989 ns/op 31.099 ns/op 1.25
Map set x1000 25.691 ns/op 21.333 ns/op 1.20
Return object 10000 times 0.30520 ns/op 0.28340 ns/op 1.08
Throw Error 10000 times 3.4520 us/op 3.2636 us/op 1.06
toHex 165.00 ns/op 145.43 ns/op 1.13
Buffer.from 140.70 ns/op 125.17 ns/op 1.12
shared Buffer 98.987 ns/op 85.733 ns/op 1.15
fastMsgIdFn sha256 / 200 bytes 2.3660 us/op 2.1780 us/op 1.09
fastMsgIdFn h32 xxhash / 200 bytes 276.00 ns/op 225.00 ns/op 1.23
fastMsgIdFn h64 xxhash / 200 bytes 280.00 ns/op 268.00 ns/op 1.04
fastMsgIdFn sha256 / 1000 bytes 7.6650 us/op 7.2860 us/op 1.05
fastMsgIdFn h32 xxhash / 1000 bytes 420.00 ns/op 355.00 ns/op 1.18
fastMsgIdFn h64 xxhash / 1000 bytes 361.00 ns/op 336.00 ns/op 1.07
fastMsgIdFn sha256 / 10000 bytes 67.364 us/op 64.701 us/op 1.04
fastMsgIdFn h32 xxhash / 10000 bytes 1.9360 us/op 1.8090 us/op 1.07
fastMsgIdFn h64 xxhash / 10000 bytes 1.2450 us/op 1.1940 us/op 1.04
send data - 1000 256B messages 15.135 ms/op 11.880 ms/op 1.27
send data - 1000 512B messages 20.437 ms/op 15.863 ms/op 1.29
send data - 1000 1024B messages 30.962 ms/op 28.189 ms/op 1.10
send data - 1000 1200B messages 28.601 ms/op 26.782 ms/op 1.07
send data - 1000 2048B messages 35.752 ms/op 32.769 ms/op 1.09
send data - 1000 4096B messages 36.763 ms/op 32.508 ms/op 1.13
send data - 1000 16384B messages 78.162 ms/op 74.542 ms/op 1.05
send data - 1000 65536B messages 210.00 ms/op 227.12 ms/op 0.92
enrSubnets - fastDeserialize 64 bits 1.1070 us/op 1.0960 us/op 1.01
enrSubnets - ssz BitVector 64 bits 382.00 ns/op 371.00 ns/op 1.03
enrSubnets - fastDeserialize 4 bits 174.00 ns/op 155.00 ns/op 1.12
enrSubnets - ssz BitVector 4 bits 394.00 ns/op 368.00 ns/op 1.07
prioritizePeers score -10:0 att 32-0.1 sync 2-0 187.13 us/op 139.02 us/op 1.35
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 211.05 us/op 160.75 us/op 1.31
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 410.37 us/op 297.77 us/op 1.38
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 501.86 us/op 475.05 us/op 1.06
prioritizePeers score 0:0 att 64-1 sync 4-1 949.35 us/op 904.50 us/op 1.05
array of 16000 items push then shift 1.7705 us/op 1.6149 us/op 1.10
LinkedList of 16000 items push then shift 8.2860 ns/op 7.0680 ns/op 1.17
array of 16000 items push then pop 149.06 ns/op 117.35 ns/op 1.27
LinkedList of 16000 items push then pop 7.7550 ns/op 7.5130 ns/op 1.03
array of 24000 items push then shift 2.5302 us/op 2.5497 us/op 0.99
LinkedList of 24000 items push then shift 8.0720 ns/op 7.4210 ns/op 1.09
array of 24000 items push then pop 193.48 ns/op 152.07 ns/op 1.27
LinkedList of 24000 items push then pop 7.7880 ns/op 7.3380 ns/op 1.06
intersect bitArray bitLen 8 6.7430 ns/op 6.7660 ns/op 1.00
intersect array and set length 8 53.753 ns/op 48.288 ns/op 1.11
intersect bitArray bitLen 128 31.412 ns/op 31.278 ns/op 1.00
intersect array and set length 128 788.87 ns/op 798.60 ns/op 0.99
bitArray.getTrueBitIndexes() bitLen 128 2.3800 us/op 2.5320 us/op 0.94
bitArray.getTrueBitIndexes() bitLen 248 4.5070 us/op 4.5730 us/op 0.99
bitArray.getTrueBitIndexes() bitLen 512 8.7240 us/op 9.2070 us/op 0.95
Buffer.concat 32 items 1.0420 us/op 998.00 ns/op 1.04
Uint8Array.set 32 items 2.3700 us/op 1.6130 us/op 1.47
Buffer.copy 2.7180 us/op 1.6900 us/op 1.61
Uint8Array.set - with subarray 3.4210 us/op 2.4610 us/op 1.39
Uint8Array.set - without subarray 1.6180 us/op 1.4830 us/op 1.09
getUint32 - dataview 275.00 ns/op 254.00 ns/op 1.08
getUint32 - manual 218.00 ns/op 172.00 ns/op 1.27
Set add up to 64 items then delete first 2.6531 us/op 2.4340 us/op 1.09
OrderedSet add up to 64 items then delete first 3.8890 us/op 3.9057 us/op 1.00
Set add up to 64 items then delete last 3.0285 us/op 2.7621 us/op 1.10
OrderedSet add up to 64 items then delete last 4.2274 us/op 4.0352 us/op 1.05
Set add up to 64 items then delete middle 3.1771 us/op 2.6707 us/op 1.19
OrderedSet add up to 64 items then delete middle 6.5640 us/op 5.5805 us/op 1.18
Set add up to 128 items then delete first 6.3070 us/op 5.2071 us/op 1.21
OrderedSet add up to 128 items then delete first 8.9600 us/op 8.7025 us/op 1.03
Set add up to 128 items then delete last 5.7382 us/op 5.6212 us/op 1.02
OrderedSet add up to 128 items then delete last 8.1366 us/op 8.5578 us/op 0.95
Set add up to 128 items then delete middle 5.6797 us/op 5.1186 us/op 1.11
OrderedSet add up to 128 items then delete middle 15.599 us/op 14.626 us/op 1.07
Set add up to 256 items then delete first 12.028 us/op 10.659 us/op 1.13
OrderedSet add up to 256 items then delete first 17.849 us/op 16.009 us/op 1.11
Set add up to 256 items then delete last 12.286 us/op 10.515 us/op 1.17
OrderedSet add up to 256 items then delete last 17.261 us/op 16.366 us/op 1.05
Set add up to 256 items then delete middle 12.698 us/op 9.9527 us/op 1.28
OrderedSet add up to 256 items then delete middle 48.143 us/op 42.422 us/op 1.13
transfer serialized Status (84 B) 1.4660 us/op 1.5470 us/op 0.95
copy serialized Status (84 B) 1.2890 us/op 1.3570 us/op 0.95
transfer serialized SignedVoluntaryExit (112 B) 1.5390 us/op 1.8030 us/op 0.85
copy serialized SignedVoluntaryExit (112 B) 1.3340 us/op 1.4800 us/op 0.90
transfer serialized ProposerSlashing (416 B) 1.9830 us/op 2.3800 us/op 0.83
copy serialized ProposerSlashing (416 B) 1.9280 us/op 2.2140 us/op 0.87
transfer serialized Attestation (485 B) 1.7550 us/op 1.9950 us/op 0.88
copy serialized Attestation (485 B) 1.7190 us/op 1.8700 us/op 0.92
transfer serialized AttesterSlashing (33232 B) 2.2090 us/op 2.6870 us/op 0.82
copy serialized AttesterSlashing (33232 B) 8.1250 us/op 5.8750 us/op 1.38
transfer serialized Small SignedBeaconBlock (128000 B) 3.9010 us/op 3.4510 us/op 1.13
copy serialized Small SignedBeaconBlock (128000 B) 25.716 us/op 16.448 us/op 1.56
transfer serialized Avg SignedBeaconBlock (200000 B) 4.0470 us/op 4.0500 us/op 1.00
copy serialized Avg SignedBeaconBlock (200000 B) 28.512 us/op 30.191 us/op 0.94
transfer serialized BlobsSidecar (524380 B) 4.1390 us/op 3.6060 us/op 1.15
copy serialized BlobsSidecar (524380 B) 114.61 us/op 85.267 us/op 1.34
transfer serialized Big SignedBeaconBlock (1000000 B) 3.8370 us/op 3.4340 us/op 1.12
copy serialized Big SignedBeaconBlock (1000000 B) 169.67 us/op 159.30 us/op 1.07
pass gossip attestations to forkchoice per slot 3.0116 ms/op 2.8754 ms/op 1.05
forkChoice updateHead vc 100000 bc 64 eq 0 475.68 us/op 459.71 us/op 1.03
forkChoice updateHead vc 600000 bc 64 eq 0 3.4546 ms/op 2.9067 ms/op 1.19
forkChoice updateHead vc 1000000 bc 64 eq 0 5.4332 ms/op 5.0038 ms/op 1.09
forkChoice updateHead vc 600000 bc 320 eq 0 3.1021 ms/op 2.9194 ms/op 1.06
forkChoice updateHead vc 600000 bc 1200 eq 0 3.1334 ms/op 2.9718 ms/op 1.05
forkChoice updateHead vc 600000 bc 7200 eq 0 3.8244 ms/op 3.6294 ms/op 1.05
forkChoice updateHead vc 600000 bc 64 eq 1000 10.899 ms/op 10.644 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 10000 10.828 ms/op 10.615 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 300000 14.135 ms/op 15.367 ms/op 0.92
computeDeltas 500000 validators 300 proto nodes 4.7529 ms/op 4.2461 ms/op 1.12
computeDeltas 500000 validators 1200 proto nodes 4.6808 ms/op 4.2564 ms/op 1.10
computeDeltas 500000 validators 7200 proto nodes 4.3013 ms/op 4.3433 ms/op 0.99
computeDeltas 750000 validators 300 proto nodes 6.2872 ms/op 6.3287 ms/op 0.99
computeDeltas 750000 validators 1200 proto nodes 6.2911 ms/op 6.2987 ms/op 1.00
computeDeltas 750000 validators 7200 proto nodes 6.5113 ms/op 6.4320 ms/op 1.01
computeDeltas 1400000 validators 300 proto nodes 11.967 ms/op 12.152 ms/op 0.98
computeDeltas 1400000 validators 1200 proto nodes 11.606 ms/op 12.663 ms/op 0.92
computeDeltas 1400000 validators 7200 proto nodes 12.419 ms/op 12.019 ms/op 1.03
computeDeltas 2100000 validators 300 proto nodes 18.501 ms/op 18.062 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 22.609 ms/op 17.908 ms/op 1.26
computeDeltas 2100000 validators 7200 proto nodes 20.636 ms/op 19.572 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei normalcase 2.5081 ms/op 2.6732 ms/op 0.94
altair processAttestation - 250000 vs - 7PWei worstcase 3.5495 ms/op 2.8867 ms/op 1.23
altair processAttestation - setStatus - 1/6 committees join 127.87 us/op 97.155 us/op 1.32
altair processAttestation - setStatus - 1/3 committees join 236.41 us/op 210.21 us/op 1.12
altair processAttestation - setStatus - 1/2 committees join 288.75 us/op 295.39 us/op 0.98
altair processAttestation - setStatus - 2/3 committees join 371.47 us/op 344.09 us/op 1.08
altair processAttestation - setStatus - 4/5 committees join 603.62 us/op 516.56 us/op 1.17
altair processAttestation - setStatus - 100% committees join 689.10 us/op 643.14 us/op 1.07
altair processBlock - 250000 vs - 7PWei normalcase 6.4209 ms/op 5.3289 ms/op 1.20
altair processBlock - 250000 vs - 7PWei normalcase hashState 39.682 ms/op 28.550 ms/op 1.39
altair processBlock - 250000 vs - 7PWei worstcase 43.134 ms/op 39.556 ms/op 1.09
altair processBlock - 250000 vs - 7PWei worstcase hashState 82.892 ms/op 76.212 ms/op 1.09
phase0 processBlock - 250000 vs - 7PWei normalcase 2.4455 ms/op 2.2500 ms/op 1.09
phase0 processBlock - 250000 vs - 7PWei worstcase 25.618 ms/op 25.422 ms/op 1.01
altair processEth1Data - 250000 vs - 7PWei normalcase 450.23 us/op 456.28 us/op 0.99
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 7.9140 us/op 5.4210 us/op 1.46
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 49.562 us/op 38.058 us/op 1.30
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 13.971 us/op 9.8910 us/op 1.41
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 8.7210 us/op 6.3850 us/op 1.37
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 194.62 us/op 175.31 us/op 1.11
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.5105 ms/op 1.4183 ms/op 1.06
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.0603 ms/op 1.8465 ms/op 1.12
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6897 ms/op 1.6260 ms/op 1.04
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.0093 ms/op 4.1212 ms/op 0.97
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2741 ms/op 1.6639 ms/op 1.37
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.2085 ms/op 4.1104 ms/op 1.02
Tree 40 250000 create 293.92 ms/op 254.05 ms/op 1.16
Tree 40 250000 get(125000) 173.45 ns/op 165.70 ns/op 1.05
Tree 40 250000 set(125000) 963.01 ns/op 778.54 ns/op 1.24
Tree 40 250000 toArray() 22.212 ms/op 22.711 ms/op 0.98
Tree 40 250000 iterate all - toArray() + loop 23.722 ms/op 23.729 ms/op 1.00
Tree 40 250000 iterate all - get(i) 68.950 ms/op 63.725 ms/op 1.08
Array 250000 create 4.8602 ms/op 3.7039 ms/op 1.31
Array 250000 clone - spread 2.2114 ms/op 1.5260 ms/op 1.45
Array 250000 get(125000) 0.47700 ns/op 0.44700 ns/op 1.07
Array 250000 set(125000) 0.49800 ns/op 0.44700 ns/op 1.11
Array 250000 iterate all - loop 112.47 us/op 107.17 us/op 1.05
phase0 afterProcessEpoch - 250000 vs - 7PWei 59.905 ms/op 55.006 ms/op 1.09
Array.fill - length 1000000 5.0671 ms/op 3.7505 ms/op 1.35
Array push - length 1000000 22.129 ms/op 20.014 ms/op 1.11
Array.get 0.31697 ns/op 0.30001 ns/op 1.06
Uint8Array.get 0.48406 ns/op 0.49007 ns/op 0.99
phase0 beforeProcessEpoch - 250000 vs - 7PWei 22.136 ms/op 19.040 ms/op 1.16
altair processEpoch - mainnet_e81889 415.44 ms/op 315.82 ms/op 1.32
mainnet_e81889 - altair beforeProcessEpoch 22.974 ms/op 19.498 ms/op 1.18
mainnet_e81889 - altair processJustificationAndFinalization 16.568 us/op 14.288 us/op 1.16
mainnet_e81889 - altair processInactivityUpdates 7.4934 ms/op 5.3545 ms/op 1.40
mainnet_e81889 - altair processRewardsAndPenalties 55.394 ms/op 42.435 ms/op 1.31
mainnet_e81889 - altair processRegistryUpdates 3.5840 us/op 1.6960 us/op 2.11
mainnet_e81889 - altair processSlashings 788.00 ns/op 589.00 ns/op 1.34
mainnet_e81889 - altair processEth1DataReset 398.00 ns/op 326.00 ns/op 1.22
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.5954 ms/op 1.9457 ms/op 1.33
mainnet_e81889 - altair processSlashingsReset 3.6800 us/op 2.4810 us/op 1.48
mainnet_e81889 - altair processRandaoMixesReset 8.2200 us/op 3.3590 us/op 2.45
mainnet_e81889 - altair processHistoricalRootsUpdate 767.00 ns/op 356.00 ns/op 2.15
mainnet_e81889 - altair processParticipationFlagUpdates 2.5090 us/op 3.5120 us/op 0.71
mainnet_e81889 - altair processSyncCommitteeUpdates 741.00 ns/op 724.00 ns/op 1.02
mainnet_e81889 - altair afterProcessEpoch 57.106 ms/op 51.416 ms/op 1.11
capella processEpoch - mainnet_e217614 1.1300 s/op 1.1504 s/op 0.98
mainnet_e217614 - capella beforeProcessEpoch 89.209 ms/op 80.524 ms/op 1.11
mainnet_e217614 - capella processJustificationAndFinalization 18.346 us/op 25.374 us/op 0.72
mainnet_e217614 - capella processInactivityUpdates 18.345 ms/op 17.481 ms/op 1.05
mainnet_e217614 - capella processRewardsAndPenalties 262.83 ms/op 279.40 ms/op 0.94
mainnet_e217614 - capella processRegistryUpdates 20.151 us/op 20.532 us/op 0.98
mainnet_e217614 - capella processSlashings 786.00 ns/op 681.00 ns/op 1.15
mainnet_e217614 - capella processEth1DataReset 437.00 ns/op 530.00 ns/op 0.82
mainnet_e217614 - capella processEffectiveBalanceUpdates 9.5924 ms/op 12.562 ms/op 0.76
mainnet_e217614 - capella processSlashingsReset 4.5530 us/op 5.3110 us/op 0.86
mainnet_e217614 - capella processRandaoMixesReset 6.7660 us/op 6.5760 us/op 1.03
mainnet_e217614 - capella processHistoricalRootsUpdate 714.00 ns/op 404.00 ns/op 1.77
mainnet_e217614 - capella processParticipationFlagUpdates 2.1160 us/op 2.4510 us/op 0.86
mainnet_e217614 - capella afterProcessEpoch 131.45 ms/op 126.13 ms/op 1.04
phase0 processEpoch - mainnet_e58758 350.31 ms/op 359.50 ms/op 0.97
mainnet_e58758 - phase0 beforeProcessEpoch 89.872 ms/op 91.600 ms/op 0.98
mainnet_e58758 - phase0 processJustificationAndFinalization 20.905 us/op 19.740 us/op 1.06
mainnet_e58758 - phase0 processRewardsAndPenalties 43.799 ms/op 41.074 ms/op 1.07
mainnet_e58758 - phase0 processRegistryUpdates 11.288 us/op 11.688 us/op 0.97
mainnet_e58758 - phase0 processSlashings 373.00 ns/op 599.00 ns/op 0.62
mainnet_e58758 - phase0 processEth1DataReset 485.00 ns/op 520.00 ns/op 0.93
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.9288 ms/op 2.1088 ms/op 1.39
mainnet_e58758 - phase0 processSlashingsReset 5.3960 us/op 6.7370 us/op 0.80
mainnet_e58758 - phase0 processRandaoMixesReset 6.6760 us/op 6.7010 us/op 1.00
mainnet_e58758 - phase0 processHistoricalRootsUpdate 499.00 ns/op 921.00 ns/op 0.54
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.4330 us/op 4.8540 us/op 0.91
mainnet_e58758 - phase0 afterProcessEpoch 43.717 ms/op 41.300 ms/op 1.06
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.7807 ms/op 1.3391 ms/op 1.33
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.1825 ms/op 2.5174 ms/op 0.87
altair processInactivityUpdates - 250000 normalcase 18.845 ms/op 19.748 ms/op 0.95
altair processInactivityUpdates - 250000 worstcase 19.913 ms/op 22.158 ms/op 0.90
phase0 processRegistryUpdates - 250000 normalcase 10.587 us/op 10.395 us/op 1.02
phase0 processRegistryUpdates - 250000 badcase_full_deposits 502.00 us/op 449.40 us/op 1.12
phase0 processRegistryUpdates - 250000 worstcase 0.5 137.74 ms/op 129.27 ms/op 1.07
altair processRewardsAndPenalties - 250000 normalcase 49.403 ms/op 41.337 ms/op 1.20
altair processRewardsAndPenalties - 250000 worstcase 44.304 ms/op 42.066 ms/op 1.05
phase0 getAttestationDeltas - 250000 normalcase 8.9004 ms/op 7.9835 ms/op 1.11
phase0 getAttestationDeltas - 250000 worstcase 8.0865 ms/op 7.8072 ms/op 1.04
phase0 processSlashings - 250000 worstcase 121.22 us/op 94.721 us/op 1.28
altair processSyncCommitteeUpdates - 250000 127.88 ms/op 121.24 ms/op 1.05
BeaconState.hashTreeRoot - No change 229.00 ns/op 233.00 ns/op 0.98
BeaconState.hashTreeRoot - 1 full validator 117.10 us/op 96.098 us/op 1.22
BeaconState.hashTreeRoot - 32 full validator 1.1233 ms/op 1.3881 ms/op 0.81
BeaconState.hashTreeRoot - 512 full validator 13.190 ms/op 12.282 ms/op 1.07
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 162.94 us/op 152.55 us/op 1.07
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.8088 ms/op 1.7658 ms/op 1.02
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.460 ms/op 27.362 ms/op 0.93
BeaconState.hashTreeRoot - 1 balances 109.33 us/op 126.53 us/op 0.86
BeaconState.hashTreeRoot - 32 balances 776.14 us/op 1.2297 ms/op 0.63
BeaconState.hashTreeRoot - 512 balances 7.7519 ms/op 8.1773 ms/op 0.95
BeaconState.hashTreeRoot - 250000 balances 187.96 ms/op 172.94 ms/op 1.09
aggregationBits - 2048 els - zipIndexesInBitList 26.076 us/op 25.323 us/op 1.03
byteArrayEquals 32 55.471 ns/op 54.413 ns/op 1.02
Buffer.compare 32 17.912 ns/op 18.016 ns/op 0.99
byteArrayEquals 1024 1.6426 us/op 1.6088 us/op 1.02
Buffer.compare 1024 25.500 ns/op 24.943 ns/op 1.02
byteArrayEquals 16384 26.324 us/op 25.510 us/op 1.03
Buffer.compare 16384 219.72 ns/op 204.62 ns/op 1.07
byteArrayEquals 123687377 204.21 ms/op 194.31 ms/op 1.05
Buffer.compare 123687377 8.5138 ms/op 7.0454 ms/op 1.21
byteArrayEquals 32 - diff last byte 56.652 ns/op 53.928 ns/op 1.05
Buffer.compare 32 - diff last byte 18.369 ns/op 17.338 ns/op 1.06
byteArrayEquals 1024 - diff last byte 1.6878 us/op 1.6056 us/op 1.05
Buffer.compare 1024 - diff last byte 28.649 ns/op 25.173 ns/op 1.14
byteArrayEquals 16384 - diff last byte 26.444 us/op 25.612 us/op 1.03
Buffer.compare 16384 - diff last byte 216.46 ns/op 212.23 ns/op 1.02
byteArrayEquals 123687377 - diff last byte 198.01 ms/op 195.83 ms/op 1.01
Buffer.compare 123687377 - diff last byte 7.9593 ms/op 9.7336 ms/op 0.82
byteArrayEquals 32 - random bytes 5.5530 ns/op 5.6320 ns/op 0.99
Buffer.compare 32 - random bytes 18.040 ns/op 18.417 ns/op 0.98
byteArrayEquals 1024 - random bytes 5.3970 ns/op 5.4840 ns/op 0.98
Buffer.compare 1024 - random bytes 18.099 ns/op 18.145 ns/op 1.00
byteArrayEquals 16384 - random bytes 5.4250 ns/op 5.4970 ns/op 0.99
Buffer.compare 16384 - random bytes 18.184 ns/op 18.097 ns/op 1.00
byteArrayEquals 123687377 - random bytes 6.9200 ns/op 7.0800 ns/op 0.98
Buffer.compare 123687377 - random bytes 19.630 ns/op 20.420 ns/op 0.96
regular array get 100000 times 39.328 us/op 34.951 us/op 1.13
wrappedArray get 100000 times 35.245 us/op 35.059 us/op 1.01
arrayWithProxy get 100000 times 14.292 ms/op 14.104 ms/op 1.01
ssz.Root.equals 50.282 ns/op 48.700 ns/op 1.03
byteArrayEquals 50.318 ns/op 48.359 ns/op 1.04
Buffer.compare 11.166 ns/op 10.955 ns/op 1.02
processSlot - 1 slots 14.141 us/op 21.920 us/op 0.65
processSlot - 32 slots 4.1748 ms/op 4.4545 ms/op 0.94
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 41.027 ms/op 41.989 ms/op 0.98
getCommitteeAssignments - req 1 vs - 250000 vc 2.2946 ms/op 2.2607 ms/op 1.02
getCommitteeAssignments - req 100 vs - 250000 vc 4.4776 ms/op 4.3883 ms/op 1.02
getCommitteeAssignments - req 1000 vs - 250000 vc 5.0920 ms/op 4.7451 ms/op 1.07
findModifiedValidators - 10000 modified validators 409.63 ms/op 294.89 ms/op 1.39
findModifiedValidators - 1000 modified validators 331.51 ms/op 213.70 ms/op 1.55
findModifiedValidators - 100 modified validators 296.70 ms/op 218.29 ms/op 1.36
findModifiedValidators - 10 modified validators 290.76 ms/op 199.23 ms/op 1.46
findModifiedValidators - 1 modified validators 244.78 ms/op 187.09 ms/op 1.31
findModifiedValidators - no difference 348.23 ms/op 199.79 ms/op 1.74
compare ViewDUs 5.3862 s/op 3.3272 s/op 1.62
compare each validator Uint8Array 2.5647 s/op 1.6694 s/op 1.54
compare ViewDU to Uint8Array 1.7843 s/op 980.33 ms/op 1.82
migrate state 1000000 validators, 24 modified, 0 new 992.35 ms/op 759.38 ms/op 1.31
migrate state 1000000 validators, 1700 modified, 1000 new 1.3584 s/op 1.0264 s/op 1.32
migrate state 1000000 validators, 3400 modified, 2000 new 1.4156 s/op 1.2349 s/op 1.15
migrate state 1500000 validators, 24 modified, 0 new 842.40 ms/op 776.39 ms/op 1.09
migrate state 1500000 validators, 1700 modified, 1000 new 1.0231 s/op 1.0286 s/op 0.99
migrate state 1500000 validators, 3400 modified, 2000 new 1.3394 s/op 1.2771 s/op 1.05
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.2700 ns/op 4.1900 ns/op 1.26
state getBlockRootAtSlot - 250000 vs - 7PWei 788.08 ns/op 701.60 ns/op 1.12
computeProposers - vc 250000 9.4123 ms/op 8.0638 ms/op 1.17
computeEpochShuffling - vc 250000 46.918 ms/op 41.727 ms/op 1.12
getNextSyncCommittee - vc 250000 168.97 ms/op 137.14 ms/op 1.23
computeSigningRoot for AttestationData 25.856 us/op 22.594 us/op 1.14
hash AttestationData serialized data then Buffer.toString(base64) 1.7594 us/op 1.5492 us/op 1.14
toHexString serialized data 1.3704 us/op 882.14 ns/op 1.55
Buffer.toString(base64) 228.28 ns/op 186.78 ns/op 1.22
nodejs block root to RootHex using toHex 191.65 ns/op 142.73 ns/op 1.34
nodejs block root to RootHex using toRootHex 111.66 ns/op 93.475 ns/op 1.19
browser block root to RootHex using the deprecated toHexString 310.28 ns/op 228.40 ns/op 1.36
browser block root to RootHex using toHex 244.92 ns/op 181.43 ns/op 1.35
browser block root to RootHex using toRootHex 187.72 ns/op 161.35 ns/op 1.16

by benchmarkbot/action

@nflaig nflaig merged commit 84e0699 into unstable Dec 3, 2024
20 checks passed
@nflaig nflaig deleted the nflaig/display-rc-config branch December 3, 2024 14:44
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.

2 participants