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: fix search, redirects and broken links #6940

Merged
merged 1 commit into from
Jul 9, 2024
Merged

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jul 9, 2024

Motivation

Seems like since #6860 the search in our docs is broken due to updating docusaurus dependencies, pinning to lower version for now, I haven't looked into what's the actual issue.

Description

  • pin docusaurus packages to 3.2.0
  • use direkt links to github repo in md files that are rendered in docs
  • restore contribution/getting-started in sidebar
  • downgrading also fixed the redirects added previously

Closes #6885

@nflaig nflaig requested a review from a team as a code owner July 9, 2024 21:05
Copy link
Member Author

Choose a reason for hiding this comment

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

no idea what they did in the release from 3.2.0 to 3.4.0 but that's crazy... -1861 lines

Copy link

codecov bot commented Jul 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.51%. Comparing base (9b728ed) to head (f7a3e17).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #6940      +/-   ##
============================================
- Coverage     62.51%   62.51%   -0.01%     
============================================
  Files           575      575              
  Lines         61015    61015              
  Branches       2129     2126       -3     
============================================
- Hits          38143    38142       -1     
- Misses        22833    22834       +1     
  Partials         39       39              

@nflaig nflaig merged commit 514b605 into unstable Jul 9, 2024
21 checks passed
@nflaig nflaig deleted the nflaig/fix-docs branch July 9, 2024 21:31
Copy link
Contributor

github-actions bot commented Jul 9, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4a6e663 Previous: 9b728ed Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 522.94 us/op 729.94 us/op 0.72
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 47.029 us/op 67.023 us/op 0.70
BLS verify - blst-native 1.2582 ms/op 1.5139 ms/op 0.83
BLS verifyMultipleSignatures 3 - blst-native 2.6658 ms/op 3.0901 ms/op 0.86
BLS verifyMultipleSignatures 8 - blst-native 5.8926 ms/op 6.8292 ms/op 0.86
BLS verifyMultipleSignatures 32 - blst-native 21.651 ms/op 25.547 ms/op 0.85
BLS verifyMultipleSignatures 64 - blst-native 42.137 ms/op 51.391 ms/op 0.82
BLS verifyMultipleSignatures 128 - blst-native 82.947 ms/op 99.681 ms/op 0.83
BLS deserializing 10000 signatures 861.52 ms/op 1.1904 s/op 0.72
BLS deserializing 100000 signatures 8.7791 s/op 10.083 s/op 0.87
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2575 ms/op 1.4347 ms/op 0.88
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4259 ms/op 1.5382 ms/op 0.93
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2824 ms/op 2.3959 ms/op 0.95
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6519 ms/op 3.5889 ms/op 1.02
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.5789 ms/op 6.0643 ms/op 0.92
BLS aggregatePubkeys 32 - blst-native 25.824 us/op 27.935 us/op 0.92
BLS aggregatePubkeys 128 - blst-native 99.754 us/op 110.76 us/op 0.90
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 77.942 ms/op 69.604 ms/op 1.12
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 58.442 ms/op 62.863 ms/op 0.93
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 40.253 ms/op 37.559 ms/op 1.07
getSlashingsAndExits - default max 102.66 us/op 101.07 us/op 1.02
getSlashingsAndExits - 2k 287.54 us/op 314.34 us/op 0.91
proposeBlockBody type=full, size=empty 5.7292 ms/op 6.3006 ms/op 0.91
isKnown best case - 1 super set check 295.00 ns/op 341.00 ns/op 0.87
isKnown normal case - 2 super set checks 289.00 ns/op 354.00 ns/op 0.82
isKnown worse case - 16 super set checks 286.00 ns/op 338.00 ns/op 0.85
InMemoryCheckpointStateCache - add get delete 4.9190 us/op 4.6850 us/op 1.05
validate api signedAggregateAndProof - struct 2.7149 ms/op 2.7182 ms/op 1.00
validate gossip signedAggregateAndProof - struct 2.6677 ms/op 2.6971 ms/op 0.99
validate gossip attestation - vc 640000 1.2867 ms/op 1.3256 ms/op 0.97
batch validate gossip attestation - vc 640000 - chunk 32 151.98 us/op 162.48 us/op 0.94
batch validate gossip attestation - vc 640000 - chunk 64 130.56 us/op 139.12 us/op 0.94
batch validate gossip attestation - vc 640000 - chunk 128 125.64 us/op 135.55 us/op 0.93
batch validate gossip attestation - vc 640000 - chunk 256 119.72 us/op 146.66 us/op 0.82
pickEth1Vote - no votes 1.0457 ms/op 1.3410 ms/op 0.78
pickEth1Vote - max votes 7.2709 ms/op 11.703 ms/op 0.62
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.142 ms/op 17.681 ms/op 0.69
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.302 ms/op 31.789 ms/op 0.61
pickEth1Vote - Eth1Data fastSerialize value x2048 507.93 us/op 881.14 us/op 0.58
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.6958 ms/op 6.2467 ms/op 0.59
bytes32 toHexString 433.00 ns/op 814.00 ns/op 0.53
bytes32 Buffer.toString(hex) 258.00 ns/op 400.00 ns/op 0.65
bytes32 Buffer.toString(hex) from Uint8Array 367.00 ns/op 598.00 ns/op 0.61
bytes32 Buffer.toString(hex) + 0x 264.00 ns/op 526.00 ns/op 0.50
Object access 1 prop 0.13200 ns/op 0.23200 ns/op 0.57
Map access 1 prop 0.14100 ns/op 0.22900 ns/op 0.62
Object get x1000 5.9290 ns/op 8.8220 ns/op 0.67
Map get x1000 6.3480 ns/op 9.4730 ns/op 0.67
Object set x1000 32.794 ns/op 69.399 ns/op 0.47
Map set x1000 22.132 ns/op 47.099 ns/op 0.47
Return object 10000 times 0.28880 ns/op 0.48360 ns/op 0.60
Throw Error 10000 times 3.3456 us/op 5.1126 us/op 0.65
fastMsgIdFn sha256 / 200 bytes 2.1800 us/op 3.2580 us/op 0.67
fastMsgIdFn h32 xxhash / 200 bytes 229.00 ns/op 388.00 ns/op 0.59
fastMsgIdFn h64 xxhash / 200 bytes 277.00 ns/op 361.00 ns/op 0.77
fastMsgIdFn sha256 / 1000 bytes 7.1970 us/op 9.6430 us/op 0.75
fastMsgIdFn h32 xxhash / 1000 bytes 360.00 ns/op 591.00 ns/op 0.61
fastMsgIdFn h64 xxhash / 1000 bytes 354.00 ns/op 524.00 ns/op 0.68
fastMsgIdFn sha256 / 10000 bytes 63.604 us/op 89.566 us/op 0.71
fastMsgIdFn h32 xxhash / 10000 bytes 1.8320 us/op 3.0660 us/op 0.60
fastMsgIdFn h64 xxhash / 10000 bytes 1.2000 us/op 2.3880 us/op 0.50
send data - 1000 256B messages 11.911 ms/op 20.026 ms/op 0.59
send data - 1000 512B messages 16.822 ms/op 24.535 ms/op 0.69
send data - 1000 1024B messages 29.322 ms/op 34.148 ms/op 0.86
send data - 1000 1200B messages 26.349 ms/op 33.860 ms/op 0.78
send data - 1000 2048B messages 31.887 ms/op 42.269 ms/op 0.75
send data - 1000 4096B messages 30.141 ms/op 36.199 ms/op 0.83
send data - 1000 16384B messages 74.845 ms/op 81.247 ms/op 0.92
send data - 1000 65536B messages 213.47 ms/op 232.72 ms/op 0.92
enrSubnets - fastDeserialize 64 bits 1.0550 us/op 1.3240 us/op 0.80
enrSubnets - ssz BitVector 64 bits 359.00 ns/op 479.00 ns/op 0.75
enrSubnets - fastDeserialize 4 bits 145.00 ns/op 208.00 ns/op 0.70
enrSubnets - ssz BitVector 4 bits 375.00 ns/op 456.00 ns/op 0.82
prioritizePeers score -10:0 att 32-0.1 sync 2-0 151.02 us/op 209.85 us/op 0.72
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 187.60 us/op 239.82 us/op 0.78
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 274.82 us/op 463.05 us/op 0.59
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 663.33 us/op 634.67 us/op 1.05
prioritizePeers score 0:0 att 64-1 sync 4-1 812.65 us/op 1.2186 ms/op 0.67
array of 16000 items push then shift 1.6632 us/op 2.1878 us/op 0.76
LinkedList of 16000 items push then shift 7.5640 ns/op 11.169 ns/op 0.68
array of 16000 items push then pop 116.75 ns/op 169.04 ns/op 0.69
LinkedList of 16000 items push then pop 7.4450 ns/op 10.183 ns/op 0.73
array of 24000 items push then shift 2.4477 us/op 3.3070 us/op 0.74
LinkedList of 24000 items push then shift 7.4960 ns/op 9.7680 ns/op 0.77
array of 24000 items push then pop 138.99 ns/op 213.56 ns/op 0.65
LinkedList of 24000 items push then pop 7.5500 ns/op 10.160 ns/op 0.74
intersect bitArray bitLen 8 6.4040 ns/op 8.8910 ns/op 0.72
intersect array and set length 8 48.120 ns/op 68.306 ns/op 0.70
intersect bitArray bitLen 128 29.837 ns/op 42.062 ns/op 0.71
intersect array and set length 128 682.08 ns/op 1.0042 us/op 0.68
bitArray.getTrueBitIndexes() bitLen 128 2.4530 us/op 2.4970 us/op 0.98
bitArray.getTrueBitIndexes() bitLen 248 3.3410 us/op 4.9310 us/op 0.68
bitArray.getTrueBitIndexes() bitLen 512 7.8110 us/op 9.7270 us/op 0.80
Buffer.concat 32 items 958.00 ns/op 1.0940 us/op 0.88
Uint8Array.set 32 items 1.8790 us/op 2.1450 us/op 0.88
Buffer.copy 2.2040 us/op 2.7210 us/op 0.81
Uint8Array.set - with subarray 3.1050 us/op 2.9180 us/op 1.06
Uint8Array.set - without subarray 1.9250 us/op 1.9730 us/op 0.98
Set add up to 64 items then delete first 2.8580 us/op 2.5050 us/op 1.14
OrderedSet add up to 64 items then delete first 4.1695 us/op 3.7735 us/op 1.10
Set add up to 64 items then delete last 3.0720 us/op 2.9259 us/op 1.05
OrderedSet add up to 64 items then delete last 4.1282 us/op 4.6646 us/op 0.89
Set add up to 64 items then delete middle 2.5721 us/op 3.0974 us/op 0.83
OrderedSet add up to 64 items then delete middle 5.4325 us/op 6.5648 us/op 0.83
Set add up to 128 items then delete first 5.3500 us/op 6.3380 us/op 0.84
OrderedSet add up to 128 items then delete first 7.6741 us/op 10.181 us/op 0.75
Set add up to 128 items then delete last 5.1775 us/op 6.7887 us/op 0.76
OrderedSet add up to 128 items then delete last 8.6962 us/op 10.296 us/op 0.84
Set add up to 128 items then delete middle 5.2078 us/op 6.3699 us/op 0.82
OrderedSet add up to 128 items then delete middle 13.928 us/op 17.484 us/op 0.80
Set add up to 256 items then delete first 10.431 us/op 12.737 us/op 0.82
OrderedSet add up to 256 items then delete first 16.585 us/op 19.476 us/op 0.85
Set add up to 256 items then delete last 11.077 us/op 12.302 us/op 0.90
OrderedSet add up to 256 items then delete last 16.629 us/op 18.608 us/op 0.89
Set add up to 256 items then delete middle 10.260 us/op 13.577 us/op 0.76
OrderedSet add up to 256 items then delete middle 41.210 us/op 51.803 us/op 0.80
transfer serialized Status (84 B) 1.3510 us/op 1.5620 us/op 0.86
copy serialized Status (84 B) 1.1440 us/op 1.3330 us/op 0.86
transfer serialized SignedVoluntaryExit (112 B) 1.6580 us/op 1.7720 us/op 0.94
copy serialized SignedVoluntaryExit (112 B) 1.3890 us/op 1.4890 us/op 0.93
transfer serialized ProposerSlashing (416 B) 2.6280 us/op 2.5870 us/op 1.02
copy serialized ProposerSlashing (416 B) 1.8590 us/op 2.7170 us/op 0.68
transfer serialized Attestation (485 B) 1.8420 us/op 2.6430 us/op 0.70
copy serialized Attestation (485 B) 1.8530 us/op 2.9180 us/op 0.64
transfer serialized AttesterSlashing (33232 B) 2.1410 us/op 2.8360 us/op 0.75
copy serialized AttesterSlashing (33232 B) 6.3250 us/op 8.1930 us/op 0.77
transfer serialized Small SignedBeaconBlock (128000 B) 2.8270 us/op 2.3440 us/op 1.21
copy serialized Small SignedBeaconBlock (128000 B) 19.594 us/op 16.923 us/op 1.16
transfer serialized Avg SignedBeaconBlock (200000 B) 3.3660 us/op 2.6750 us/op 1.26
copy serialized Avg SignedBeaconBlock (200000 B) 26.800 us/op 25.251 us/op 1.06
transfer serialized BlobsSidecar (524380 B) 3.4650 us/op 3.1650 us/op 1.09
copy serialized BlobsSidecar (524380 B) 88.300 us/op 135.95 us/op 0.65
transfer serialized Big SignedBeaconBlock (1000000 B) 3.5340 us/op 3.2190 us/op 1.10
copy serialized Big SignedBeaconBlock (1000000 B) 155.79 us/op 168.23 us/op 0.93
pass gossip attestations to forkchoice per slot 3.1146 ms/op 3.2773 ms/op 0.95
forkChoice updateHead vc 100000 bc 64 eq 0 497.57 us/op 536.00 us/op 0.93
forkChoice updateHead vc 600000 bc 64 eq 0 3.4236 ms/op 3.8473 ms/op 0.89
forkChoice updateHead vc 1000000 bc 64 eq 0 5.4292 ms/op 5.8690 ms/op 0.93
forkChoice updateHead vc 600000 bc 320 eq 0 3.1337 ms/op 3.3799 ms/op 0.93
forkChoice updateHead vc 600000 bc 1200 eq 0 3.1884 ms/op 4.6243 ms/op 0.69
forkChoice updateHead vc 600000 bc 7200 eq 0 4.0358 ms/op 4.1914 ms/op 0.96
forkChoice updateHead vc 600000 bc 64 eq 1000 11.086 ms/op 12.599 ms/op 0.88
forkChoice updateHead vc 600000 bc 64 eq 10000 11.337 ms/op 11.391 ms/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 300000 14.393 ms/op 15.344 ms/op 0.94
computeDeltas 500000 validators 300 proto nodes 3.6744 ms/op 4.0967 ms/op 0.90
computeDeltas 500000 validators 1200 proto nodes 3.6397 ms/op 4.1173 ms/op 0.88
computeDeltas 500000 validators 7200 proto nodes 3.6862 ms/op 4.1092 ms/op 0.90
computeDeltas 750000 validators 300 proto nodes 5.5555 ms/op 5.8928 ms/op 0.94
computeDeltas 750000 validators 1200 proto nodes 5.5385 ms/op 5.7157 ms/op 0.97
computeDeltas 750000 validators 7200 proto nodes 5.7130 ms/op 5.8439 ms/op 0.98
computeDeltas 1400000 validators 300 proto nodes 10.246 ms/op 10.954 ms/op 0.94
computeDeltas 1400000 validators 1200 proto nodes 10.096 ms/op 12.364 ms/op 0.82
computeDeltas 1400000 validators 7200 proto nodes 9.9749 ms/op 12.631 ms/op 0.79
computeDeltas 2100000 validators 300 proto nodes 15.211 ms/op 17.184 ms/op 0.89
computeDeltas 2100000 validators 1200 proto nodes 15.381 ms/op 17.032 ms/op 0.90
computeDeltas 2100000 validators 7200 proto nodes 15.181 ms/op 16.858 ms/op 0.90
altair processAttestation - 250000 vs - 7PWei normalcase 1.6962 ms/op 1.9709 ms/op 0.86
altair processAttestation - 250000 vs - 7PWei worstcase 2.4898 ms/op 2.5575 ms/op 0.97
altair processAttestation - setStatus - 1/6 committees join 136.33 us/op 98.961 us/op 1.38
altair processAttestation - setStatus - 1/3 committees join 279.64 us/op 188.30 us/op 1.49
altair processAttestation - setStatus - 1/2 committees join 359.10 us/op 272.15 us/op 1.32
altair processAttestation - setStatus - 2/3 committees join 455.71 us/op 350.93 us/op 1.30
altair processAttestation - setStatus - 4/5 committees join 621.75 us/op 525.14 us/op 1.18
altair processAttestation - setStatus - 100% committees join 729.20 us/op 590.78 us/op 1.23
altair processBlock - 250000 vs - 7PWei normalcase 5.4394 ms/op 5.5304 ms/op 0.98
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.112 ms/op 30.085 ms/op 0.90
altair processBlock - 250000 vs - 7PWei worstcase 42.156 ms/op 45.365 ms/op 0.93
altair processBlock - 250000 vs - 7PWei worstcase hashState 91.137 ms/op 103.19 ms/op 0.88
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3755 ms/op 2.5568 ms/op 0.93
phase0 processBlock - 250000 vs - 7PWei worstcase 30.174 ms/op 31.671 ms/op 0.95
altair processEth1Data - 250000 vs - 7PWei normalcase 318.70 us/op 409.78 us/op 0.78
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 6.2950 us/op 8.1150 us/op 0.78
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 23.072 us/op 28.343 us/op 0.81
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.424 us/op 10.413 us/op 1.10
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 8.0330 us/op 7.1550 us/op 1.12
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 132.49 us/op 102.60 us/op 1.29
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 902.20 us/op 970.17 us/op 0.93
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.1521 ms/op 1.1210 ms/op 1.03
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.2216 ms/op 1.2084 ms/op 1.01
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.0063 ms/op 2.9133 ms/op 1.03
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.6550 ms/op 1.9082 ms/op 0.87
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.9481 ms/op 4.5166 ms/op 0.87
Tree 40 250000 create 240.58 ms/op 295.87 ms/op 0.81
Tree 40 250000 get(125000) 164.35 ns/op 177.72 ns/op 0.92
Tree 40 250000 set(125000) 751.43 ns/op 818.28 ns/op 0.92
Tree 40 250000 toArray() 20.108 ms/op 22.007 ms/op 0.91
Tree 40 250000 iterate all - toArray() + loop 18.634 ms/op 22.522 ms/op 0.83
Tree 40 250000 iterate all - get(i) 60.988 ms/op 70.133 ms/op 0.87
MutableVector 250000 create 9.4829 ms/op 16.054 ms/op 0.59
MutableVector 250000 get(125000) 6.5390 ns/op 8.1400 ns/op 0.80
MutableVector 250000 set(125000) 207.64 ns/op 226.44 ns/op 0.92
MutableVector 250000 toArray() 3.9252 ms/op 5.6868 ms/op 0.69
MutableVector 250000 iterate all - toArray() + loop 4.4001 ms/op 5.2225 ms/op 0.84
MutableVector 250000 iterate all - get(i) 1.6288 ms/op 2.1139 ms/op 0.77
Array 250000 create 3.5716 ms/op 4.5738 ms/op 0.78
Array 250000 clone - spread 1.4509 ms/op 1.6951 ms/op 0.86
Array 250000 get(125000) 0.43300 ns/op 0.48200 ns/op 0.90
Array 250000 set(125000) 0.45900 ns/op 0.48700 ns/op 0.94
Array 250000 iterate all - loop 85.320 us/op 118.64 us/op 0.72
effectiveBalanceIncrements clone Uint8Array 300000 34.746 us/op 46.690 us/op 0.74
effectiveBalanceIncrements clone MutableVector 300000 133.00 ns/op 131.00 ns/op 1.02
effectiveBalanceIncrements rw all Uint8Array 300000 206.68 us/op 226.49 us/op 0.91
effectiveBalanceIncrements rw all MutableVector 300000 65.395 ms/op 82.519 ms/op 0.79
phase0 afterProcessEpoch - 250000 vs - 7PWei 88.476 ms/op 117.30 ms/op 0.75
phase0 beforeProcessEpoch - 250000 vs - 7PWei 48.796 ms/op 53.944 ms/op 0.90
altair processEpoch - mainnet_e81889 484.22 ms/op 480.70 ms/op 1.01
mainnet_e81889 - altair beforeProcessEpoch 89.171 ms/op 85.936 ms/op 1.04
mainnet_e81889 - altair processJustificationAndFinalization 16.024 us/op 24.131 us/op 0.66
mainnet_e81889 - altair processInactivityUpdates 6.9604 ms/op 7.9692 ms/op 0.87
mainnet_e81889 - altair processRewardsAndPenalties 50.606 ms/op 55.583 ms/op 0.91
mainnet_e81889 - altair processRegistryUpdates 2.9720 us/op 4.3520 us/op 0.68
mainnet_e81889 - altair processSlashings 613.00 ns/op 603.00 ns/op 1.02
mainnet_e81889 - altair processEth1DataReset 596.00 ns/op 551.00 ns/op 1.08
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4937 ms/op 1.4890 ms/op 1.00
mainnet_e81889 - altair processSlashingsReset 4.7170 us/op 6.9880 us/op 0.68
mainnet_e81889 - altair processRandaoMixesReset 7.2140 us/op 6.1870 us/op 1.17
mainnet_e81889 - altair processHistoricalRootsUpdate 677.00 ns/op 698.00 ns/op 0.97
mainnet_e81889 - altair processParticipationFlagUpdates 3.5120 us/op 2.8590 us/op 1.23
mainnet_e81889 - altair processSyncCommitteeUpdates 578.00 ns/op 578.00 ns/op 1.00
mainnet_e81889 - altair afterProcessEpoch 104.77 ms/op 112.81 ms/op 0.93
capella processEpoch - mainnet_e217614 1.5592 s/op 1.8626 s/op 0.84
mainnet_e217614 - capella beforeProcessEpoch 318.54 ms/op 357.62 ms/op 0.89
mainnet_e217614 - capella processJustificationAndFinalization 21.719 us/op 24.892 us/op 0.87
mainnet_e217614 - capella processInactivityUpdates 21.888 ms/op 23.235 ms/op 0.94
mainnet_e217614 - capella processRewardsAndPenalties 268.14 ms/op 304.40 ms/op 0.88
mainnet_e217614 - capella processRegistryUpdates 16.015 us/op 25.647 us/op 0.62
mainnet_e217614 - capella processSlashings 674.00 ns/op 656.00 ns/op 1.03
mainnet_e217614 - capella processEth1DataReset 395.00 ns/op 893.00 ns/op 0.44
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.3701 ms/op 6.0504 ms/op 0.89
mainnet_e217614 - capella processSlashingsReset 7.6760 us/op 8.1210 us/op 0.95
mainnet_e217614 - capella processRandaoMixesReset 7.6260 us/op 8.2110 us/op 0.93
mainnet_e217614 - capella processHistoricalRootsUpdate 1.0750 us/op 1.3850 us/op 0.78
mainnet_e217614 - capella processParticipationFlagUpdates 3.1610 us/op 5.6510 us/op 0.56
mainnet_e217614 - capella afterProcessEpoch 308.76 ms/op 372.90 ms/op 0.83
phase0 processEpoch - mainnet_e58758 413.71 ms/op 492.24 ms/op 0.84
mainnet_e58758 - phase0 beforeProcessEpoch 117.32 ms/op 192.41 ms/op 0.61
mainnet_e58758 - phase0 processJustificationAndFinalization 21.429 us/op 32.902 us/op 0.65
mainnet_e58758 - phase0 processRewardsAndPenalties 38.409 ms/op 37.734 ms/op 1.02
mainnet_e58758 - phase0 processRegistryUpdates 8.7740 us/op 10.879 us/op 0.81
mainnet_e58758 - phase0 processSlashings 446.00 ns/op 557.00 ns/op 0.80
mainnet_e58758 - phase0 processEth1DataReset 460.00 ns/op 711.00 ns/op 0.65
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1662 ms/op 1.2349 ms/op 0.94
mainnet_e58758 - phase0 processSlashingsReset 3.2040 us/op 6.2840 us/op 0.51
mainnet_e58758 - phase0 processRandaoMixesReset 5.7630 us/op 9.1020 us/op 0.63
mainnet_e58758 - phase0 processHistoricalRootsUpdate 433.00 ns/op 717.00 ns/op 0.60
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.9130 us/op 3.7860 us/op 1.03
mainnet_e58758 - phase0 afterProcessEpoch 84.518 ms/op 93.642 ms/op 0.90
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4639 ms/op 1.7095 ms/op 0.86
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.3142 ms/op 3.4464 ms/op 0.67
altair processInactivityUpdates - 250000 normalcase 22.172 ms/op 28.702 ms/op 0.77
altair processInactivityUpdates - 250000 worstcase 22.098 ms/op 29.337 ms/op 0.75
phase0 processRegistryUpdates - 250000 normalcase 7.4680 us/op 14.298 us/op 0.52
phase0 processRegistryUpdates - 250000 badcase_full_deposits 336.39 us/op 459.52 us/op 0.73
phase0 processRegistryUpdates - 250000 worstcase 0.5 132.90 ms/op 203.47 ms/op 0.65
altair processRewardsAndPenalties - 250000 normalcase 36.962 ms/op 74.738 ms/op 0.49
altair processRewardsAndPenalties - 250000 worstcase 51.057 ms/op 73.835 ms/op 0.69
phase0 getAttestationDeltas - 250000 normalcase 7.6371 ms/op 16.634 ms/op 0.46
phase0 getAttestationDeltas - 250000 worstcase 8.0553 ms/op 15.464 ms/op 0.52
phase0 processSlashings - 250000 worstcase 104.55 us/op 120.31 us/op 0.87
altair processSyncCommitteeUpdates - 250000 154.56 ms/op 193.80 ms/op 0.80
BeaconState.hashTreeRoot - No change 367.00 ns/op 613.00 ns/op 0.60
BeaconState.hashTreeRoot - 1 full validator 140.70 us/op 174.84 us/op 0.80
BeaconState.hashTreeRoot - 32 full validator 1.6585 ms/op 1.6596 ms/op 1.00
BeaconState.hashTreeRoot - 512 full validator 17.854 ms/op 18.178 ms/op 0.98
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 183.05 us/op 229.66 us/op 0.80
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.0660 ms/op 3.3560 ms/op 0.62
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 23.143 ms/op 38.607 ms/op 0.60
BeaconState.hashTreeRoot - 1 balances 119.83 us/op 164.33 us/op 0.73
BeaconState.hashTreeRoot - 32 balances 1.0916 ms/op 1.4719 ms/op 0.74
BeaconState.hashTreeRoot - 512 balances 14.195 ms/op 17.105 ms/op 0.83
BeaconState.hashTreeRoot - 250000 balances 193.89 ms/op 271.55 ms/op 0.71
aggregationBits - 2048 els - zipIndexesInBitList 30.272 us/op 46.319 us/op 0.65
byteArrayEquals 32 57.472 ns/op 70.638 ns/op 0.81
Buffer.compare 32 19.211 ns/op 23.729 ns/op 0.81
byteArrayEquals 1024 1.7570 us/op 2.0493 us/op 0.86
Buffer.compare 1024 31.476 ns/op 34.729 ns/op 0.91
byteArrayEquals 16384 27.548 us/op 33.311 us/op 0.83
Buffer.compare 16384 211.06 ns/op 248.73 ns/op 0.85
byteArrayEquals 123687377 202.45 ms/op 264.84 ms/op 0.76
Buffer.compare 123687377 8.6628 ms/op 13.327 ms/op 0.65
byteArrayEquals 32 - diff last byte 55.144 ns/op 72.660 ns/op 0.76
Buffer.compare 32 - diff last byte 18.802 ns/op 24.650 ns/op 0.76
byteArrayEquals 1024 - diff last byte 1.6513 us/op 1.9557 us/op 0.84
Buffer.compare 1024 - diff last byte 30.113 ns/op 30.383 ns/op 0.99
byteArrayEquals 16384 - diff last byte 26.299 us/op 29.052 us/op 0.91
Buffer.compare 16384 - diff last byte 218.06 ns/op 263.15 ns/op 0.83
byteArrayEquals 123687377 - diff last byte 197.59 ms/op 252.87 ms/op 0.78
Buffer.compare 123687377 - diff last byte 6.5525 ms/op 9.7394 ms/op 0.67
byteArrayEquals 32 - random bytes 5.2570 ns/op 6.1240 ns/op 0.86
Buffer.compare 32 - random bytes 17.537 ns/op 22.996 ns/op 0.76
byteArrayEquals 1024 - random bytes 5.2110 ns/op 6.2540 ns/op 0.83
Buffer.compare 1024 - random bytes 17.467 ns/op 20.874 ns/op 0.84
byteArrayEquals 16384 - random bytes 5.2450 ns/op 5.8500 ns/op 0.90
Buffer.compare 16384 - random bytes 17.400 ns/op 19.645 ns/op 0.89
byteArrayEquals 123687377 - random bytes 6.6300 ns/op 7.3500 ns/op 0.90
Buffer.compare 123687377 - random bytes 18.680 ns/op 21.360 ns/op 0.87
regular array get 100000 times 42.896 us/op 43.163 us/op 0.99
wrappedArray get 100000 times 33.587 us/op 44.135 us/op 0.76
arrayWithProxy get 100000 times 13.593 ms/op 15.093 ms/op 0.90
ssz.Root.equals 46.713 ns/op 52.061 ns/op 0.90
byteArrayEquals 45.963 ns/op 52.203 ns/op 0.88
Buffer.compare 10.525 ns/op 12.013 ns/op 0.88
shuffle list - 16384 els 6.3989 ms/op 7.2358 ms/op 0.88
shuffle list - 250000 els 95.138 ms/op 106.80 ms/op 0.89
processSlot - 1 slots 15.075 us/op 17.573 us/op 0.86
processSlot - 32 slots 2.2331 ms/op 3.7465 ms/op 0.60
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 39.116 ms/op 40.325 ms/op 0.97
getCommitteeAssignments - req 1 vs - 250000 vc 2.1859 ms/op 2.2853 ms/op 0.96
getCommitteeAssignments - req 100 vs - 250000 vc 4.3188 ms/op 4.5295 ms/op 0.95
getCommitteeAssignments - req 1000 vs - 250000 vc 4.6660 ms/op 4.9447 ms/op 0.94
findModifiedValidators - 10000 modified validators 272.24 ms/op 304.39 ms/op 0.89
findModifiedValidators - 1000 modified validators 197.49 ms/op 292.35 ms/op 0.68
findModifiedValidators - 100 modified validators 160.53 ms/op 276.43 ms/op 0.58
findModifiedValidators - 10 modified validators 174.98 ms/op 238.73 ms/op 0.73
findModifiedValidators - 1 modified validators 165.37 ms/op 245.99 ms/op 0.67
findModifiedValidators - no difference 166.81 ms/op 233.67 ms/op 0.71
compare ViewDUs 3.2131 s/op 3.8971 s/op 0.82
compare each validator Uint8Array 1.0908 s/op 1.7573 s/op 0.62
compare ViewDU to Uint8Array 1.0749 s/op 1.7299 s/op 0.62
migrate state 1000000 validators, 24 modified, 0 new 572.82 ms/op 923.20 ms/op 0.62
migrate state 1000000 validators, 1700 modified, 1000 new 817.38 ms/op 1.1270 s/op 0.73
migrate state 1000000 validators, 3400 modified, 2000 new 960.77 ms/op 1.3815 s/op 0.70
migrate state 1500000 validators, 24 modified, 0 new 572.46 ms/op 798.31 ms/op 0.72
migrate state 1500000 validators, 1700 modified, 1000 new 851.21 ms/op 1.3431 s/op 0.63
migrate state 1500000 validators, 3400 modified, 2000 new 1.0357 s/op 1.9358 s/op 0.54
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.0800 ns/op 6.2400 ns/op 0.81
state getBlockRootAtSlot - 250000 vs - 7PWei 516.21 ns/op 997.92 ns/op 0.52
computeProposers - vc 250000 7.6022 ms/op 11.167 ms/op 0.68
computeEpochShuffling - vc 250000 95.726 ms/op 126.02 ms/op 0.76
getNextSyncCommittee - vc 250000 124.52 ms/op 225.16 ms/op 0.55
computeSigningRoot for AttestationData 25.376 us/op 33.973 us/op 0.75
hash AttestationData serialized data then Buffer.toString(base64) 1.6273 us/op 1.7382 us/op 0.94
toHexString serialized data 1.1775 us/op 1.3014 us/op 0.90
Buffer.toString(base64) 218.70 ns/op 287.93 ns/op 0.76

by benchmarkbot/action

@wemeetagain
Copy link
Member

🎉 This PR is included in v1.20.0 🎉

Copy link

@Mikhai56 Mikhai56 left a comment

Choose a reason for hiding this comment

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

OK

@wemeetagain
Copy link
Member

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

Redirects to new docs pages do not work
3 participants