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: update documentation Oct 2024 #7178

Open
wants to merge 6 commits into
base: unstable
Choose a base branch
from

Conversation

philknows
Copy link
Member

Motivation

Our documentation has been undergoing incremental improvements to remove old content, update for relevance and add new content that hasn't been documented yet. This is one PR in a series of future PRs to improve docs for better user/developer experiences.

Related to #5961

Description

This PR addresses the following in our documentation:

  • Fixes footer and just links to pertinent communications/call to actions
  • Removes old .md files which were empty or otherwise, not being actively developed on
  • Removes Google site verification as we no longer use any Google type analytics
  • Spelling/grammar updates
  • Removes content relating to The Merge
  • Updates specification for hardware minimums/recommendations
  • Fixes broken links
  • Sidebar navigation updated to better arrange/detail information
  • Persist our quickstart custom setup guide into our documentation. Previously located at https://hackmd.io/@philknows/rJegZyH9q
  • Include proposer config documentation

More to come in future updates that were not included.

@philknows philknows requested a review from a team as a code owner October 19, 2024 06:07
Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.18%. Comparing base (de0d6ab) to head (affc183).
Report is 13 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #7178      +/-   ##
============================================
- Coverage     49.21%   49.18%   -0.03%     
============================================
  Files           598      598              
  Lines         39726    39770      +44     
  Branches       2092     2089       -3     
============================================
+ Hits          19550    19560      +10     
- Misses        20136    20170      +34     
  Partials         40       40              

Copy link
Contributor

github-actions bot commented Oct 19, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 8f72cb2 Previous: b1b5623 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.0033 ms/op 1.7892 ms/op 1.12
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 47.810 us/op 38.001 us/op 1.26
BLS verify - blst 1.3786 ms/op 897.95 us/op 1.54
BLS verifyMultipleSignatures 3 - blst 2.2459 ms/op 1.3066 ms/op 1.72
BLS verifyMultipleSignatures 8 - blst 2.4937 ms/op 2.1210 ms/op 1.18
BLS verifyMultipleSignatures 32 - blst 7.0663 ms/op 4.4409 ms/op 1.59
BLS verifyMultipleSignatures 64 - blst 10.014 ms/op 8.4126 ms/op 1.19
BLS verifyMultipleSignatures 128 - blst 16.950 ms/op 16.018 ms/op 1.06
BLS deserializing 10000 signatures 674.56 ms/op 620.40 ms/op 1.09
BLS deserializing 100000 signatures 6.7507 s/op 6.1995 s/op 1.09
BLS verifyMultipleSignatures - same message - 3 - blst 873.23 us/op 954.87 us/op 0.91
BLS verifyMultipleSignatures - same message - 8 - blst 1.1631 ms/op 1.0434 ms/op 1.11
BLS verifyMultipleSignatures - same message - 32 - blst 1.7124 ms/op 1.6406 ms/op 1.04
BLS verifyMultipleSignatures - same message - 64 - blst 2.6206 ms/op 2.4460 ms/op 1.07
BLS verifyMultipleSignatures - same message - 128 - blst 4.2221 ms/op 3.9680 ms/op 1.06
BLS aggregatePubkeys 32 - blst 19.209 us/op 18.021 us/op 1.07
BLS aggregatePubkeys 128 - blst 68.082 us/op 63.128 us/op 1.08
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 89.729 ms/op 59.430 ms/op 1.51
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 61.822 ms/op 42.433 ms/op 1.46
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 49.880 ms/op 36.511 ms/op 1.37
getSlashingsAndExits - default max 87.559 us/op 71.069 us/op 1.23
getSlashingsAndExits - 2k 297.30 us/op 216.37 us/op 1.37
proposeBlockBody type=full, size=empty 5.4527 ms/op 4.8571 ms/op 1.12
isKnown best case - 1 super set check 258.00 ns/op 464.00 ns/op 0.56
isKnown normal case - 2 super set checks 257.00 ns/op 456.00 ns/op 0.56
isKnown worse case - 16 super set checks 257.00 ns/op 457.00 ns/op 0.56
InMemoryCheckpointStateCache - add get delete 2.3980 us/op 2.6540 us/op 0.90
updateUnfinalizedPubkeys - updating 10 pubkeys 920.52 us/op 671.34 us/op 1.37
updateUnfinalizedPubkeys - updating 100 pubkeys 4.0836 ms/op 2.8378 ms/op 1.44
updateUnfinalizedPubkeys - updating 1000 pubkeys 46.350 ms/op 41.781 ms/op 1.11
validate api signedAggregateAndProof - struct 1.6876 ms/op 1.9415 ms/op 0.87
validate gossip signedAggregateAndProof - struct 2.5871 ms/op 1.9275 ms/op 1.34
batch validate gossip attestation - vc 640000 - chunk 32 131.38 us/op 118.83 us/op 1.11
batch validate gossip attestation - vc 640000 - chunk 64 116.09 us/op 105.00 us/op 1.11
batch validate gossip attestation - vc 640000 - chunk 128 104.99 us/op 96.760 us/op 1.09
batch validate gossip attestation - vc 640000 - chunk 256 101.23 us/op 94.103 us/op 1.08
pickEth1Vote - no votes 1.0091 ms/op 897.98 us/op 1.12
pickEth1Vote - max votes 6.1847 ms/op 5.4872 ms/op 1.13
pickEth1Vote - Eth1Data hashTreeRoot value x2048 15.509 ms/op 13.959 ms/op 1.11
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 23.442 ms/op 19.537 ms/op 1.20
pickEth1Vote - Eth1Data fastSerialize value x2048 446.96 us/op 369.82 us/op 1.21
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.1068 ms/op 3.1327 ms/op 1.31
bytes32 toHexString 416.00 ns/op 596.00 ns/op 0.70
bytes32 Buffer.toString(hex) 243.00 ns/op 417.00 ns/op 0.58
bytes32 Buffer.toString(hex) from Uint8Array 372.00 ns/op 521.00 ns/op 0.71
bytes32 Buffer.toString(hex) + 0x 244.00 ns/op 415.00 ns/op 0.59
Object access 1 prop 0.12300 ns/op 0.31600 ns/op 0.39
Map access 1 prop 0.12000 ns/op 0.31000 ns/op 0.39
Object get x1000 5.8440 ns/op 5.1900 ns/op 1.13
Map get x1000 6.5230 ns/op 5.7190 ns/op 1.14
Object set x1000 31.287 ns/op 24.969 ns/op 1.25
Map set x1000 21.521 ns/op 18.655 ns/op 1.15
Return object 10000 times 0.28300 ns/op 0.29570 ns/op 0.96
Throw Error 10000 times 3.3273 us/op 2.7222 us/op 1.22
toHex 145.06 ns/op 112.36 ns/op 1.29
Buffer.from 129.14 ns/op 104.28 ns/op 1.24
shared Buffer 85.603 ns/op 70.093 ns/op 1.22
fastMsgIdFn sha256 / 200 bytes 2.2040 us/op 1.9870 us/op 1.11
fastMsgIdFn h32 xxhash / 200 bytes 215.00 ns/op 392.00 ns/op 0.55
fastMsgIdFn h64 xxhash / 200 bytes 258.00 ns/op 431.00 ns/op 0.60
fastMsgIdFn sha256 / 1000 bytes 7.2090 us/op 5.9840 us/op 1.20
fastMsgIdFn h32 xxhash / 1000 bytes 341.00 ns/op 510.00 ns/op 0.67
fastMsgIdFn h64 xxhash / 1000 bytes 327.00 ns/op 496.00 ns/op 0.66
fastMsgIdFn sha256 / 10000 bytes 63.578 us/op 49.702 us/op 1.28
fastMsgIdFn h32 xxhash / 10000 bytes 1.7690 us/op 1.8870 us/op 0.94
fastMsgIdFn h64 xxhash / 10000 bytes 1.1600 us/op 1.3210 us/op 0.88
send data - 1000 256B messages 11.567 ms/op 9.9779 ms/op 1.16
send data - 1000 512B messages 17.846 ms/op 12.941 ms/op 1.38
send data - 1000 1024B messages 27.004 ms/op 22.195 ms/op 1.22
send data - 1000 1200B messages 26.101 ms/op 23.191 ms/op 1.13
send data - 1000 2048B messages 31.921 ms/op 29.239 ms/op 1.09
send data - 1000 4096B messages 30.972 ms/op 26.728 ms/op 1.16
send data - 1000 16384B messages 70.663 ms/op 63.943 ms/op 1.11
send data - 1000 65536B messages 202.48 ms/op 242.63 ms/op 0.83
enrSubnets - fastDeserialize 64 bits 1.0830 us/op 1.1160 us/op 0.97
enrSubnets - ssz BitVector 64 bits 345.00 ns/op 502.00 ns/op 0.69
enrSubnets - fastDeserialize 4 bits 135.00 ns/op 320.00 ns/op 0.42
enrSubnets - ssz BitVector 4 bits 350.00 ns/op 504.00 ns/op 0.69
prioritizePeers score -10:0 att 32-0.1 sync 2-0 174.92 us/op 128.36 us/op 1.36
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 150.71 us/op 163.57 us/op 0.92
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 376.55 us/op 235.03 us/op 1.60
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 798.30 us/op 419.09 us/op 1.90
prioritizePeers score 0:0 att 64-1 sync 4-1 985.51 us/op 632.54 us/op 1.56
array of 16000 items push then shift 1.6291 us/op 1.2914 us/op 1.26
LinkedList of 16000 items push then shift 7.0200 ns/op 6.3210 ns/op 1.11
array of 16000 items push then pop 108.79 ns/op 78.839 ns/op 1.38
LinkedList of 16000 items push then pop 6.8440 ns/op 6.2430 ns/op 1.10
array of 24000 items push then shift 2.3444 us/op 1.8947 us/op 1.24
LinkedList of 24000 items push then shift 6.9290 ns/op 6.4570 ns/op 1.07
array of 24000 items push then pop 128.35 ns/op 109.00 ns/op 1.18
LinkedList of 24000 items push then pop 6.7950 ns/op 6.4130 ns/op 1.06
intersect bitArray bitLen 8 6.2790 ns/op 5.5110 ns/op 1.14
intersect array and set length 8 42.476 ns/op 40.070 ns/op 1.06
intersect bitArray bitLen 128 29.408 ns/op 26.518 ns/op 1.11
intersect array and set length 128 648.18 ns/op 591.45 ns/op 1.10
bitArray.getTrueBitIndexes() bitLen 128 2.2480 us/op 2.2770 us/op 0.99
bitArray.getTrueBitIndexes() bitLen 248 3.9920 us/op 4.0680 us/op 0.98
bitArray.getTrueBitIndexes() bitLen 512 10.784 us/op 6.6840 us/op 1.61
Buffer.concat 32 items 912.00 ns/op 998.00 ns/op 0.91
Uint8Array.set 32 items 1.6200 us/op 1.7230 us/op 0.94
Buffer.copy 1.8910 us/op 2.0950 us/op 0.90
Uint8Array.set - with subarray 2.6530 us/op 2.7110 us/op 0.98
Uint8Array.set - without subarray 1.5950 us/op 1.9500 us/op 0.82
getUint32 - dataview 226.00 ns/op 392.00 ns/op 0.58
getUint32 - manual 142.00 ns/op 336.00 ns/op 0.42
Set add up to 64 items then delete first 2.1750 us/op 1.8394 us/op 1.18
OrderedSet add up to 64 items then delete first 3.2200 us/op 2.8008 us/op 1.15
Set add up to 64 items then delete last 2.4861 us/op 2.0570 us/op 1.21
OrderedSet add up to 64 items then delete last 3.7811 us/op 3.0916 us/op 1.22
Set add up to 64 items then delete middle 2.6172 us/op 2.0469 us/op 1.28
OrderedSet add up to 64 items then delete middle 5.3371 us/op 4.4776 us/op 1.19
Set add up to 128 items then delete first 4.9701 us/op 4.0651 us/op 1.22
OrderedSet add up to 128 items then delete first 8.4568 us/op 6.3123 us/op 1.34
Set add up to 128 items then delete last 5.2315 us/op 3.9209 us/op 1.33
OrderedSet add up to 128 items then delete last 7.6279 us/op 5.9555 us/op 1.28
Set add up to 128 items then delete middle 4.8139 us/op 3.9158 us/op 1.23
OrderedSet add up to 128 items then delete middle 13.762 us/op 11.872 us/op 1.16
Set add up to 256 items then delete first 9.6167 us/op 7.9374 us/op 1.21
OrderedSet add up to 256 items then delete first 14.335 us/op 12.529 us/op 1.14
Set add up to 256 items then delete last 9.6907 us/op 7.7124 us/op 1.26
OrderedSet add up to 256 items then delete last 14.913 us/op 11.843 us/op 1.26
Set add up to 256 items then delete middle 9.3962 us/op 7.6752 us/op 1.22
OrderedSet add up to 256 items then delete middle 39.088 us/op 34.389 us/op 1.14
transfer serialized Status (84 B) 1.4560 us/op 1.4230 us/op 1.02
copy serialized Status (84 B) 1.1850 us/op 1.2080 us/op 0.98
transfer serialized SignedVoluntaryExit (112 B) 1.3970 us/op 1.6160 us/op 0.86
copy serialized SignedVoluntaryExit (112 B) 1.3200 us/op 1.3960 us/op 0.95
transfer serialized ProposerSlashing (416 B) 2.7100 us/op 2.5440 us/op 1.07
copy serialized ProposerSlashing (416 B) 2.7820 us/op 2.5270 us/op 1.10
transfer serialized Attestation (485 B) 2.8550 us/op 2.4570 us/op 1.16
copy serialized Attestation (485 B) 2.7900 us/op 1.9920 us/op 1.40
transfer serialized AttesterSlashing (33232 B) 2.7260 us/op 1.7470 us/op 1.56
copy serialized AttesterSlashing (33232 B) 6.3860 us/op 4.5030 us/op 1.42
transfer serialized Small SignedBeaconBlock (128000 B) 3.8660 us/op 2.4650 us/op 1.57
copy serialized Small SignedBeaconBlock (128000 B) 14.603 us/op 14.637 us/op 1.00
transfer serialized Avg SignedBeaconBlock (200000 B) 3.9210 us/op 2.2800 us/op 1.72
copy serialized Avg SignedBeaconBlock (200000 B) 21.167 us/op 12.804 us/op 1.65
transfer serialized BlobsSidecar (524380 B) 3.1700 us/op 2.2020 us/op 1.44
copy serialized BlobsSidecar (524380 B) 85.442 us/op 72.196 us/op 1.18
transfer serialized Big SignedBeaconBlock (1000000 B) 2.7650 us/op 2.9230 us/op 0.95
copy serialized Big SignedBeaconBlock (1000000 B) 146.25 us/op 141.16 us/op 1.04
pass gossip attestations to forkchoice per slot 2.7890 ms/op 2.4131 ms/op 1.16
forkChoice updateHead vc 100000 bc 64 eq 0 454.48 us/op 413.81 us/op 1.10
forkChoice updateHead vc 600000 bc 64 eq 0 2.9387 ms/op 2.4721 ms/op 1.19
forkChoice updateHead vc 1000000 bc 64 eq 0 5.2391 ms/op 3.9789 ms/op 1.32
forkChoice updateHead vc 600000 bc 320 eq 0 2.8425 ms/op 2.3967 ms/op 1.19
forkChoice updateHead vc 600000 bc 1200 eq 0 3.3341 ms/op 2.4955 ms/op 1.34
forkChoice updateHead vc 600000 bc 7200 eq 0 3.3014 ms/op 2.6407 ms/op 1.25
forkChoice updateHead vc 600000 bc 64 eq 1000 10.487 ms/op 9.3567 ms/op 1.12
forkChoice updateHead vc 600000 bc 64 eq 10000 10.273 ms/op 8.5536 ms/op 1.20
forkChoice updateHead vc 600000 bc 64 eq 300000 13.890 ms/op 11.244 ms/op 1.24
computeDeltas 500000 validators 300 proto nodes 3.9214 ms/op 3.1677 ms/op 1.24
computeDeltas 500000 validators 1200 proto nodes 3.9696 ms/op 3.1904 ms/op 1.24
computeDeltas 500000 validators 7200 proto nodes 3.9422 ms/op 3.2121 ms/op 1.23
computeDeltas 750000 validators 300 proto nodes 6.0303 ms/op 4.8394 ms/op 1.25
computeDeltas 750000 validators 1200 proto nodes 5.9622 ms/op 4.7684 ms/op 1.25
computeDeltas 750000 validators 7200 proto nodes 5.9119 ms/op 4.8081 ms/op 1.23
computeDeltas 1400000 validators 300 proto nodes 11.144 ms/op 8.9304 ms/op 1.25
computeDeltas 1400000 validators 1200 proto nodes 10.986 ms/op 8.8296 ms/op 1.24
computeDeltas 1400000 validators 7200 proto nodes 10.967 ms/op 8.8853 ms/op 1.23
computeDeltas 2100000 validators 300 proto nodes 16.643 ms/op 13.376 ms/op 1.24
computeDeltas 2100000 validators 1200 proto nodes 17.165 ms/op 13.754 ms/op 1.25
computeDeltas 2100000 validators 7200 proto nodes 16.893 ms/op 13.486 ms/op 1.25
altair processAttestation - 250000 vs - 7PWei normalcase 1.6567 ms/op 1.4000 ms/op 1.18
altair processAttestation - 250000 vs - 7PWei worstcase 2.5525 ms/op 2.1208 ms/op 1.20
altair processAttestation - setStatus - 1/6 committees join 87.489 us/op 65.442 us/op 1.34
altair processAttestation - setStatus - 1/3 committees join 168.89 us/op 124.12 us/op 1.36
altair processAttestation - setStatus - 1/2 committees join 260.30 us/op 187.76 us/op 1.39
altair processAttestation - setStatus - 2/3 committees join 320.01 us/op 259.04 us/op 1.24
altair processAttestation - setStatus - 4/5 committees join 467.18 us/op 374.88 us/op 1.25
altair processAttestation - setStatus - 100% committees join 559.55 us/op 447.16 us/op 1.25
altair processBlock - 250000 vs - 7PWei normalcase 5.4211 ms/op 4.5155 ms/op 1.20
altair processBlock - 250000 vs - 7PWei normalcase hashState 24.435 ms/op 24.202 ms/op 1.01
altair processBlock - 250000 vs - 7PWei worstcase 40.439 ms/op 35.969 ms/op 1.12
altair processBlock - 250000 vs - 7PWei worstcase hashState 82.223 ms/op 71.303 ms/op 1.15
phase0 processBlock - 250000 vs - 7PWei normalcase 2.2420 ms/op 1.7882 ms/op 1.25
phase0 processBlock - 250000 vs - 7PWei worstcase 25.364 ms/op 22.245 ms/op 1.14
altair processEth1Data - 250000 vs - 7PWei normalcase 317.54 us/op 255.19 us/op 1.24
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 8.3420 us/op 2.8770 us/op 2.90
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 45.668 us/op 34.094 us/op 1.34
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 10.938 us/op 8.5090 us/op 1.29
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 6.8890 us/op 7.4350 us/op 0.93
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 197.15 us/op 121.00 us/op 1.63
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 2.1144 ms/op 782.92 us/op 2.70
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.0033 ms/op 1.1485 ms/op 1.74
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.7848 ms/op 1.1325 ms/op 1.58
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.8463 ms/op 2.9111 ms/op 1.32
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.9401 ms/op 1.0950 ms/op 1.77
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.9113 ms/op 2.7518 ms/op 1.42
Tree 40 250000 create 260.36 ms/op 193.12 ms/op 1.35
Tree 40 250000 get(125000) 158.67 ns/op 106.02 ns/op 1.50
Tree 40 250000 set(125000) 783.52 ns/op 512.41 ns/op 1.53
Tree 40 250000 toArray() 20.202 ms/op 12.326 ms/op 1.64
Tree 40 250000 iterate all - toArray() + loop 17.203 ms/op 12.212 ms/op 1.41
Tree 40 250000 iterate all - get(i) 52.857 ms/op 39.589 ms/op 1.34
Array 250000 create 3.1222 ms/op 2.3432 ms/op 1.33
Array 250000 clone - spread 1.4159 ms/op 1.1788 ms/op 1.20
Array 250000 get(125000) 0.41700 ns/op 0.57100 ns/op 0.73
Array 250000 set(125000) 0.43500 ns/op 0.56700 ns/op 0.77
Array 250000 iterate all - loop 93.983 us/op 73.694 us/op 1.28
phase0 afterProcessEpoch - 250000 vs - 7PWei 50.918 ms/op 41.668 ms/op 1.22
Array.fill - length 1000000 3.4885 ms/op 2.4310 ms/op 1.44
Array push - length 1000000 16.840 ms/op 13.833 ms/op 1.22
Array.get 0.27501 ns/op 0.26495 ns/op 1.04
Uint8Array.get 0.44435 ns/op 0.34188 ns/op 1.30
phase0 beforeProcessEpoch - 250000 vs - 7PWei 17.872 ms/op 12.722 ms/op 1.40
altair processEpoch - mainnet_e81889 308.69 ms/op 250.36 ms/op 1.23
mainnet_e81889 - altair beforeProcessEpoch 18.495 ms/op 18.590 ms/op 0.99
mainnet_e81889 - altair processJustificationAndFinalization 19.869 us/op 10.911 us/op 1.82
mainnet_e81889 - altair processInactivityUpdates 5.1248 ms/op 4.2832 ms/op 1.20
mainnet_e81889 - altair processRewardsAndPenalties 47.857 ms/op 49.946 ms/op 0.96
mainnet_e81889 - altair processRegistryUpdates 2.3160 us/op 2.0480 us/op 1.13
mainnet_e81889 - altair processSlashings 442.00 ns/op 777.00 ns/op 0.57
mainnet_e81889 - altair processEth1DataReset 1.1280 us/op 683.00 ns/op 1.65
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.5575 ms/op 965.01 us/op 1.61
mainnet_e81889 - altair processSlashingsReset 3.8260 us/op 1.5170 us/op 2.52
mainnet_e81889 - altair processRandaoMixesReset 5.2390 us/op 3.2270 us/op 1.62
mainnet_e81889 - altair processHistoricalRootsUpdate 707.00 ns/op 707.00 ns/op 1.00
mainnet_e81889 - altair processParticipationFlagUpdates 2.7020 us/op 3.2010 us/op 0.84
mainnet_e81889 - altair processSyncCommitteeUpdates 418.00 ns/op 775.00 ns/op 0.54
mainnet_e81889 - altair afterProcessEpoch 50.983 ms/op 40.709 ms/op 1.25
capella processEpoch - mainnet_e217614 983.92 ms/op 1.0117 s/op 0.97
mainnet_e217614 - capella beforeProcessEpoch 68.557 ms/op 64.863 ms/op 1.06
mainnet_e217614 - capella processJustificationAndFinalization 18.373 us/op 13.019 us/op 1.41
mainnet_e217614 - capella processInactivityUpdates 18.408 ms/op 14.913 ms/op 1.23
mainnet_e217614 - capella processRewardsAndPenalties 242.40 ms/op 258.02 ms/op 0.94
mainnet_e217614 - capella processRegistryUpdates 13.717 us/op 12.298 us/op 1.12
mainnet_e217614 - capella processSlashings 371.00 ns/op 752.00 ns/op 0.49
mainnet_e217614 - capella processEth1DataReset 378.00 ns/op 715.00 ns/op 0.53
mainnet_e217614 - capella processEffectiveBalanceUpdates 13.798 ms/op 5.8999 ms/op 2.34
mainnet_e217614 - capella processSlashingsReset 2.9930 us/op 2.0570 us/op 1.46
mainnet_e217614 - capella processRandaoMixesReset 4.8820 us/op 3.3180 us/op 1.47
mainnet_e217614 - capella processHistoricalRootsUpdate 722.00 ns/op 702.00 ns/op 1.03
mainnet_e217614 - capella processParticipationFlagUpdates 2.1060 us/op 1.7520 us/op 1.20
mainnet_e217614 - capella afterProcessEpoch 124.44 ms/op 101.24 ms/op 1.23
phase0 processEpoch - mainnet_e58758 310.83 ms/op 295.35 ms/op 1.05
mainnet_e58758 - phase0 beforeProcessEpoch 82.524 ms/op 79.572 ms/op 1.04
mainnet_e58758 - phase0 processJustificationAndFinalization 18.204 us/op 11.225 us/op 1.62
mainnet_e58758 - phase0 processRewardsAndPenalties 30.442 ms/op 26.864 ms/op 1.13
mainnet_e58758 - phase0 processRegistryUpdates 10.662 us/op 3.6130 us/op 2.95
mainnet_e58758 - phase0 processSlashings 378.00 ns/op 722.00 ns/op 0.52
mainnet_e58758 - phase0 processEth1DataReset 530.00 ns/op 727.00 ns/op 0.73
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.9706 ms/op 1.9703 ms/op 1.51
mainnet_e58758 - phase0 processSlashingsReset 4.5370 us/op 2.9830 us/op 1.52
mainnet_e58758 - phase0 processRandaoMixesReset 5.1140 us/op 2.9400 us/op 1.74
mainnet_e58758 - phase0 processHistoricalRootsUpdate 530.00 ns/op 701.00 ns/op 0.76
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.2140 us/op 2.6000 us/op 1.24
mainnet_e58758 - phase0 afterProcessEpoch 43.272 ms/op 35.903 ms/op 1.21
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4555 ms/op 1.0369 ms/op 1.40
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.4642 ms/op 1.7230 ms/op 1.43
altair processInactivityUpdates - 250000 normalcase 20.330 ms/op 15.267 ms/op 1.33
altair processInactivityUpdates - 250000 worstcase 18.996 ms/op 17.056 ms/op 1.11
phase0 processRegistryUpdates - 250000 normalcase 10.541 us/op 3.2820 us/op 3.21
phase0 processRegistryUpdates - 250000 badcase_full_deposits 357.34 us/op 297.02 us/op 1.20
phase0 processRegistryUpdates - 250000 worstcase 0.5 137.44 ms/op 108.53 ms/op 1.27
altair processRewardsAndPenalties - 250000 normalcase 47.851 ms/op 31.691 ms/op 1.51
altair processRewardsAndPenalties - 250000 worstcase 41.010 ms/op 39.978 ms/op 1.03
phase0 getAttestationDeltas - 250000 normalcase 7.7854 ms/op 6.2172 ms/op 1.25
phase0 getAttestationDeltas - 250000 worstcase 7.6060 ms/op 5.8980 ms/op 1.29
phase0 processSlashings - 250000 worstcase 97.995 us/op 81.700 us/op 1.20
altair processSyncCommitteeUpdates - 250000 126.49 ms/op 97.478 ms/op 1.30
BeaconState.hashTreeRoot - No change 250.00 ns/op 430.00 ns/op 0.58
BeaconState.hashTreeRoot - 1 full validator 97.589 us/op 127.77 us/op 0.76
BeaconState.hashTreeRoot - 32 full validator 1.2178 ms/op 1.1153 ms/op 1.09
BeaconState.hashTreeRoot - 512 full validator 9.3352 ms/op 10.137 ms/op 0.92
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 132.32 us/op 155.14 us/op 0.85
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.9289 ms/op 1.9751 ms/op 0.98
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 20.129 ms/op 23.000 ms/op 0.88
BeaconState.hashTreeRoot - 1 balances 84.142 us/op 108.66 us/op 0.77
BeaconState.hashTreeRoot - 32 balances 773.70 us/op 943.98 us/op 0.82
BeaconState.hashTreeRoot - 512 balances 7.6312 ms/op 7.3682 ms/op 1.04
BeaconState.hashTreeRoot - 250000 balances 184.93 ms/op 185.91 ms/op 0.99
aggregationBits - 2048 els - zipIndexesInBitList 24.332 us/op 19.124 us/op 1.27
byteArrayEquals 32 53.477 ns/op 47.882 ns/op 1.12
Buffer.compare 32 17.137 ns/op 15.530 ns/op 1.10
byteArrayEquals 1024 1.6051 us/op 1.2700 us/op 1.26
Buffer.compare 1024 25.796 ns/op 24.139 ns/op 1.07
byteArrayEquals 16384 25.576 us/op 20.157 us/op 1.27
Buffer.compare 16384 209.97 ns/op 173.16 ns/op 1.21
byteArrayEquals 123687377 194.10 ms/op 151.83 ms/op 1.28
Buffer.compare 123687377 7.1535 ms/op 3.6907 ms/op 1.94
byteArrayEquals 32 - diff last byte 54.057 ns/op 47.473 ns/op 1.14
Buffer.compare 32 - diff last byte 17.892 ns/op 15.900 ns/op 1.13
byteArrayEquals 1024 - diff last byte 1.6219 us/op 1.2604 us/op 1.29
Buffer.compare 1024 - diff last byte 26.053 ns/op 24.398 ns/op 1.07
byteArrayEquals 16384 - diff last byte 25.951 us/op 20.010 us/op 1.30
Buffer.compare 16384 - diff last byte 209.02 ns/op 202.72 ns/op 1.03
byteArrayEquals 123687377 - diff last byte 195.55 ms/op 151.72 ms/op 1.29
Buffer.compare 123687377 - diff last byte 7.2321 ms/op 3.9692 ms/op 1.82
byteArrayEquals 32 - random bytes 5.2150 ns/op 4.9650 ns/op 1.05
Buffer.compare 32 - random bytes 17.604 ns/op 16.112 ns/op 1.09
byteArrayEquals 1024 - random bytes 5.2190 ns/op 4.8980 ns/op 1.07
Buffer.compare 1024 - random bytes 17.431 ns/op 15.993 ns/op 1.09
byteArrayEquals 16384 - random bytes 5.2270 ns/op 4.9160 ns/op 1.06
Buffer.compare 16384 - random bytes 17.622 ns/op 16.029 ns/op 1.10
byteArrayEquals 123687377 - random bytes 6.4700 ns/op 7.8400 ns/op 0.83
Buffer.compare 123687377 - random bytes 18.660 ns/op 19.510 ns/op 0.96
regular array get 100000 times 35.414 us/op 31.174 us/op 1.14
wrappedArray get 100000 times 34.436 us/op 31.155 us/op 1.11
arrayWithProxy get 100000 times 13.636 ms/op 11.095 ms/op 1.23
ssz.Root.equals 46.425 ns/op 48.185 ns/op 0.96
byteArrayEquals 45.596 ns/op 39.369 ns/op 1.16
Buffer.compare 10.665 ns/op 9.3560 ns/op 1.14
processSlot - 1 slots 16.210 us/op 12.915 us/op 1.26
processSlot - 32 slots 3.3003 ms/op 1.7861 ms/op 1.85
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 37.534 ms/op 37.476 ms/op 1.00
getCommitteeAssignments - req 1 vs - 250000 vc 2.2411 ms/op 1.7676 ms/op 1.27
getCommitteeAssignments - req 100 vs - 250000 vc 4.2189 ms/op 3.5007 ms/op 1.21
getCommitteeAssignments - req 1000 vs - 250000 vc 4.4751 ms/op 3.7226 ms/op 1.20
findModifiedValidators - 10000 modified validators 227.44 ms/op 237.91 ms/op 0.96
findModifiedValidators - 1000 modified validators 175.89 ms/op 157.89 ms/op 1.11
findModifiedValidators - 100 modified validators 165.72 ms/op 140.78 ms/op 1.18
findModifiedValidators - 10 modified validators 169.32 ms/op 141.70 ms/op 1.19
findModifiedValidators - 1 modified validators 154.97 ms/op 142.92 ms/op 1.08
findModifiedValidators - no difference 167.30 ms/op 132.64 ms/op 1.26
compare ViewDUs 3.4832 s/op 3.0401 s/op 1.15
compare each validator Uint8Array 1.9056 s/op 1.7336 s/op 1.10
compare ViewDU to Uint8Array 1.1823 s/op 702.13 ms/op 1.68
migrate state 1000000 validators, 24 modified, 0 new 784.17 ms/op 706.10 ms/op 1.11
migrate state 1000000 validators, 1700 modified, 1000 new 1.0139 s/op 965.47 ms/op 1.05
migrate state 1000000 validators, 3400 modified, 2000 new 1.2809 s/op 1.1850 s/op 1.08
migrate state 1500000 validators, 24 modified, 0 new 730.51 ms/op 746.29 ms/op 0.98
migrate state 1500000 validators, 1700 modified, 1000 new 934.76 ms/op 962.47 ms/op 0.97
migrate state 1500000 validators, 3400 modified, 2000 new 1.3286 s/op 1.1736 s/op 1.13
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.4700 ns/op 5.8100 ns/op 0.94
state getBlockRootAtSlot - 250000 vs - 7PWei 833.86 ns/op 1.0510 us/op 0.79
computeProposers - vc 250000 11.683 ms/op 6.6653 ms/op 1.75
computeEpochShuffling - vc 250000 46.638 ms/op 35.751 ms/op 1.30
getNextSyncCommittee - vc 250000 169.90 ms/op 116.53 ms/op 1.46
computeSigningRoot for AttestationData 26.447 us/op 30.032 us/op 0.88
hash AttestationData serialized data then Buffer.toString(base64) 1.7323 us/op 1.2067 us/op 1.44
toHexString serialized data 1.3306 us/op 793.75 ns/op 1.68
Buffer.toString(base64) 243.62 ns/op 145.47 ns/op 1.67
nodejs block root to RootHex using toHex 193.24 ns/op 120.73 ns/op 1.60
nodejs block root to RootHex using toRootHex 110.32 ns/op 80.469 ns/op 1.37
browser block root to RootHex using the deprecated toHexString 365.91 ns/op 205.33 ns/op 1.78
browser block root to RootHex using toHex 254.17 ns/op 167.44 ns/op 1.52
browser block root to RootHex using toRootHex 186.49 ns/op 145.14 ns/op 1.28

by benchmarkbot/action

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.

1 participant