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: pin dependencies, update icons, and formatting fixes #6425

Merged
merged 8 commits into from
Feb 14, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Feb 13, 2024

Motivation

Improve docs

Description

  • Pin version of docs dependencies to make builds deterministic
  • Update icons of socials, the current github logo looks very old
  • Fix formatting of array default values by removing duplicate brackets
  • Fix syntax highlighting of code blocks / CLI examples
  • Revive dev CLI command reference

@nflaig nflaig requested a review from a team as a code owner February 13, 2024 11:09
Copy link

codecov bot commented Feb 13, 2024

Codecov Report

Merging #6425 (d7524ce) into unstable (da0bcc8) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6425   +/-   ##
=========================================
  Coverage     61.72%   61.72%           
=========================================
  Files           553      553           
  Lines         57856    57856           
  Branches       1829     1829           
=========================================
  Hits          35711    35711           
  Misses        22108    22108           
  Partials         37       37           

Copy link
Contributor

github-actions bot commented Feb 13, 2024

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 2235ada Previous: da0bcc8 Ratio
forkChoice updateHead vc 600000 bc 64 eq 300000 16.138 ms/op 59.814 ms/op 0.27
Full benchmark results
Benchmark suite Current: 2235ada Previous: da0bcc8 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 460.56 us/op 584.31 us/op 0.79
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 91.436 us/op 103.46 us/op 0.88
BLS verify - blst-native 1.3231 ms/op 1.3286 ms/op 1.00
BLS verifyMultipleSignatures 3 - blst-native 2.7804 ms/op 2.7982 ms/op 0.99
BLS verifyMultipleSignatures 8 - blst-native 6.1342 ms/op 6.4121 ms/op 0.96
BLS verifyMultipleSignatures 32 - blst-native 22.131 ms/op 22.588 ms/op 0.98
BLS verifyMultipleSignatures 64 - blst-native 43.590 ms/op 44.555 ms/op 0.98
BLS verifyMultipleSignatures 128 - blst-native 87.660 ms/op 88.253 ms/op 0.99
BLS deserializing 10000 signatures 958.06 ms/op 953.60 ms/op 1.00
BLS deserializing 100000 signatures 9.7780 s/op 9.1787 s/op 1.07
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.5034 ms/op 1.3956 ms/op 1.08
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5585 ms/op 1.5960 ms/op 0.98
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5432 ms/op 2.3926 ms/op 1.06
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6440 ms/op 3.5314 ms/op 1.03
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.0721 ms/op 5.9130 ms/op 1.03
BLS aggregatePubkeys 32 - blst-native 27.411 us/op 27.189 us/op 1.01
BLS aggregatePubkeys 128 - blst-native 106.64 us/op 104.69 us/op 1.02
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 65.170 ms/op 74.780 ms/op 0.87
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 70.069 ms/op 77.285 ms/op 0.91
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 97.404 ms/op 61.405 ms/op 1.59
getSlashingsAndExits - default max 629.99 us/op 413.90 us/op 1.52
getSlashingsAndExits - 2k 1.7322 ms/op 601.99 us/op 2.88
proposeBlockBody type=full, size=empty 9.3361 ms/op 7.3645 ms/op 1.27
isKnown best case - 1 super set check 1.0960 us/op 603.00 ns/op 1.82
isKnown normal case - 2 super set checks 927.00 ns/op 638.00 ns/op 1.45
isKnown worse case - 16 super set checks 1.0100 us/op 600.00 ns/op 1.68
CheckpointStateCache - add get delete 8.6590 us/op 6.6010 us/op 1.31
validate api signedAggregateAndProof - struct 2.9718 ms/op 2.8612 ms/op 1.04
validate gossip signedAggregateAndProof - struct 2.9815 ms/op 2.8658 ms/op 1.04
validate gossip attestation - vc 640000 1.5652 ms/op 1.5069 ms/op 1.04
batch validate gossip attestation - vc 640000 - chunk 32 243.90 us/op 178.65 us/op 1.37
batch validate gossip attestation - vc 640000 - chunk 64 166.93 us/op 166.95 us/op 1.00
batch validate gossip attestation - vc 640000 - chunk 128 139.63 us/op 174.67 us/op 0.80
batch validate gossip attestation - vc 640000 - chunk 256 128.06 us/op 149.41 us/op 0.86
pickEth1Vote - no votes 1.1383 ms/op 1.3603 ms/op 0.84
pickEth1Vote - max votes 11.283 ms/op 10.938 ms/op 1.03
pickEth1Vote - Eth1Data hashTreeRoot value x2048 18.893 ms/op 21.652 ms/op 0.87
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 29.003 ms/op 32.850 ms/op 0.88
pickEth1Vote - Eth1Data fastSerialize value x2048 587.80 us/op 780.24 us/op 0.75
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.8487 ms/op 7.3537 ms/op 0.93
bytes32 toHexString 467.00 ns/op 788.00 ns/op 0.59
bytes32 Buffer.toString(hex) 285.00 ns/op 336.00 ns/op 0.85
bytes32 Buffer.toString(hex) from Uint8Array 411.00 ns/op 603.00 ns/op 0.68
bytes32 Buffer.toString(hex) + 0x 276.00 ns/op 353.00 ns/op 0.78
Object access 1 prop 0.15700 ns/op 0.26000 ns/op 0.60
Map access 1 prop 0.14100 ns/op 0.16100 ns/op 0.88
Object get x1000 7.4010 ns/op 11.084 ns/op 0.67
Map get x1000 0.73100 ns/op 0.95400 ns/op 0.77
Object set x1000 48.760 ns/op 82.526 ns/op 0.59
Map set x1000 37.996 ns/op 58.246 ns/op 0.65
Return object 10000 times 0.23150 ns/op 0.35470 ns/op 0.65
Throw Error 10000 times 3.7462 us/op 4.2510 us/op 0.88
fastMsgIdFn sha256 / 200 bytes 3.2060 us/op 3.5150 us/op 0.91
fastMsgIdFn h32 xxhash / 200 bytes 262.00 ns/op 373.00 ns/op 0.70
fastMsgIdFn h64 xxhash / 200 bytes 328.00 ns/op 424.00 ns/op 0.77
fastMsgIdFn sha256 / 1000 bytes 11.175 us/op 12.307 us/op 0.91
fastMsgIdFn h32 xxhash / 1000 bytes 392.00 ns/op 536.00 ns/op 0.73
fastMsgIdFn h64 xxhash / 1000 bytes 407.00 ns/op 520.00 ns/op 0.78
fastMsgIdFn sha256 / 10000 bytes 101.63 us/op 110.36 us/op 0.92
fastMsgIdFn h32 xxhash / 10000 bytes 1.8790 us/op 2.1120 us/op 0.89
fastMsgIdFn h64 xxhash / 10000 bytes 1.3020 us/op 1.5040 us/op 0.87
send data - 1000 256B messages 17.717 ms/op 28.096 ms/op 0.63
send data - 1000 512B messages 23.380 ms/op 30.978 ms/op 0.75
send data - 1000 1024B messages 40.682 ms/op 59.815 ms/op 0.68
send data - 1000 1200B messages 36.583 ms/op 50.763 ms/op 0.72
send data - 1000 2048B messages 46.417 ms/op 56.103 ms/op 0.83
send data - 1000 4096B messages 27.808 ms/op 55.215 ms/op 0.50
send data - 1000 16384B messages 116.56 ms/op 138.40 ms/op 0.84
send data - 1000 65536B messages 426.89 ms/op 569.69 ms/op 0.75
enrSubnets - fastDeserialize 64 bits 1.2450 us/op 1.9070 us/op 0.65
enrSubnets - ssz BitVector 64 bits 423.00 ns/op 599.00 ns/op 0.71
enrSubnets - fastDeserialize 4 bits 166.00 ns/op 236.00 ns/op 0.70
enrSubnets - ssz BitVector 4 bits 414.00 ns/op 629.00 ns/op 0.66
prioritizePeers score -10:0 att 32-0.1 sync 2-0 103.10 us/op 133.11 us/op 0.77
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 129.98 us/op 169.56 us/op 0.77
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 167.79 us/op 216.55 us/op 0.77
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 298.38 us/op 418.85 us/op 0.71
prioritizePeers score 0:0 att 64-1 sync 4-1 344.12 us/op 438.79 us/op 0.78
array of 16000 items push then shift 1.6781 us/op 1.9359 us/op 0.87
LinkedList of 16000 items push then shift 9.1420 ns/op 11.645 ns/op 0.79
array of 16000 items push then pop 96.653 ns/op 134.67 ns/op 0.72
LinkedList of 16000 items push then pop 8.7680 ns/op 16.601 ns/op 0.53
array of 24000 items push then shift 2.4702 us/op 3.1907 us/op 0.77
LinkedList of 24000 items push then shift 8.9190 ns/op 11.260 ns/op 0.79
array of 24000 items push then pop 119.26 ns/op 171.94 ns/op 0.69
LinkedList of 24000 items push then pop 8.5340 ns/op 10.373 ns/op 0.82
intersect bitArray bitLen 8 5.8750 ns/op 8.4990 ns/op 0.69
intersect array and set length 8 64.099 ns/op 128.21 ns/op 0.50
intersect bitArray bitLen 128 36.013 ns/op 47.090 ns/op 0.76
intersect array and set length 128 887.60 ns/op 1.2481 us/op 0.71
bitArray.getTrueBitIndexes() bitLen 128 1.4920 us/op 2.0650 us/op 0.72
bitArray.getTrueBitIndexes() bitLen 248 3.1630 us/op 3.5730 us/op 0.89
bitArray.getTrueBitIndexes() bitLen 512 5.9770 us/op 8.3480 us/op 0.72
Buffer.concat 32 items 1.0800 us/op 1.2530 us/op 0.86
Uint8Array.set 32 items 1.5950 us/op 3.3210 us/op 0.48
Set add up to 64 items then delete first 4.3939 us/op 6.0273 us/op 0.73
OrderedSet add up to 64 items then delete first 5.5343 us/op 8.1330 us/op 0.68
Set add up to 64 items then delete last 4.6676 us/op 6.7598 us/op 0.69
OrderedSet add up to 64 items then delete last 5.8565 us/op 8.0896 us/op 0.72
Set add up to 64 items then delete middle 5.2405 us/op 6.2399 us/op 0.84
OrderedSet add up to 64 items then delete middle 7.8834 us/op 10.031 us/op 0.79
Set add up to 128 items then delete first 9.5427 us/op 12.475 us/op 0.76
OrderedSet add up to 128 items then delete first 13.571 us/op 16.317 us/op 0.83
Set add up to 128 items then delete last 9.9564 us/op 12.098 us/op 0.82
OrderedSet add up to 128 items then delete last 12.863 us/op 16.019 us/op 0.80
Set add up to 128 items then delete middle 9.8447 us/op 12.104 us/op 0.81
OrderedSet add up to 128 items then delete middle 19.918 us/op 25.909 us/op 0.77
Set add up to 256 items then delete first 22.244 us/op 24.704 us/op 0.90
OrderedSet add up to 256 items then delete first 30.704 us/op 35.228 us/op 0.87
Set add up to 256 items then delete last 21.371 us/op 23.556 us/op 0.91
OrderedSet add up to 256 items then delete last 27.736 us/op 34.129 us/op 0.81
Set add up to 256 items then delete middle 21.123 us/op 23.349 us/op 0.90
OrderedSet add up to 256 items then delete middle 49.907 us/op 64.899 us/op 0.77
transfer serialized Status (84 B) 1.8370 us/op 2.2370 us/op 0.82
copy serialized Status (84 B) 1.4870 us/op 1.8340 us/op 0.81
transfer serialized SignedVoluntaryExit (112 B) 2.0890 us/op 2.6600 us/op 0.79
copy serialized SignedVoluntaryExit (112 B) 1.4990 us/op 1.6820 us/op 0.89
transfer serialized ProposerSlashing (416 B) 2.9020 us/op 3.1880 us/op 0.91
copy serialized ProposerSlashing (416 B) 2.1150 us/op 2.5990 us/op 0.81
transfer serialized Attestation (485 B) 3.3330 us/op 2.8750 us/op 1.16
copy serialized Attestation (485 B) 2.3930 us/op 3.1800 us/op 0.75
transfer serialized AttesterSlashing (33232 B) 2.6570 us/op 3.5950 us/op 0.74
copy serialized AttesterSlashing (33232 B) 6.8030 us/op 10.526 us/op 0.65
transfer serialized Small SignedBeaconBlock (128000 B) 2.7870 us/op 4.3980 us/op 0.63
copy serialized Small SignedBeaconBlock (128000 B) 14.922 us/op 32.857 us/op 0.45
transfer serialized Avg SignedBeaconBlock (200000 B) 2.9080 us/op 5.5130 us/op 0.53
copy serialized Avg SignedBeaconBlock (200000 B) 21.518 us/op 50.285 us/op 0.43
transfer serialized BlobsSidecar (524380 B) 2.7150 us/op 6.7480 us/op 0.40
copy serialized BlobsSidecar (524380 B) 85.792 us/op 161.23 us/op 0.53
transfer serialized Big SignedBeaconBlock (1000000 B) 2.9760 us/op 6.1200 us/op 0.49
copy serialized Big SignedBeaconBlock (1000000 B) 158.06 us/op 274.53 us/op 0.58
pass gossip attestations to forkchoice per slot 4.4226 ms/op 4.7416 ms/op 0.93
forkChoice updateHead vc 100000 bc 64 eq 0 692.23 us/op 788.12 us/op 0.88
forkChoice updateHead vc 600000 bc 64 eq 0 8.5016 ms/op 5.5718 ms/op 1.53
forkChoice updateHead vc 1000000 bc 64 eq 0 7.7551 ms/op 8.6122 ms/op 0.90
forkChoice updateHead vc 600000 bc 320 eq 0 4.5714 ms/op 5.4914 ms/op 0.83
forkChoice updateHead vc 600000 bc 1200 eq 0 4.7438 ms/op 5.6945 ms/op 0.83
forkChoice updateHead vc 600000 bc 7200 eq 0 5.8126 ms/op 9.9126 ms/op 0.59
forkChoice updateHead vc 600000 bc 64 eq 1000 11.370 ms/op 12.572 ms/op 0.90
forkChoice updateHead vc 600000 bc 64 eq 10000 12.188 ms/op 14.893 ms/op 0.82
forkChoice updateHead vc 600000 bc 64 eq 300000 16.138 ms/op 59.814 ms/op 0.27
computeDeltas 500000 validators 300 proto nodes 6.4965 ms/op 8.2483 ms/op 0.79
computeDeltas 500000 validators 1200 proto nodes 6.3348 ms/op 7.6901 ms/op 0.82
computeDeltas 500000 validators 7200 proto nodes 6.3292 ms/op 6.9251 ms/op 0.91
computeDeltas 750000 validators 300 proto nodes 9.3764 ms/op 9.9810 ms/op 0.94
computeDeltas 750000 validators 1200 proto nodes 9.8099 ms/op 10.451 ms/op 0.94
computeDeltas 750000 validators 7200 proto nodes 9.4264 ms/op 10.065 ms/op 0.94
computeDeltas 1400000 validators 300 proto nodes 18.535 ms/op 20.570 ms/op 0.90
computeDeltas 1400000 validators 1200 proto nodes 18.152 ms/op 19.252 ms/op 0.94
computeDeltas 1400000 validators 7200 proto nodes 19.033 ms/op 19.751 ms/op 0.96
computeDeltas 2100000 validators 300 proto nodes 27.922 ms/op 31.508 ms/op 0.89
computeDeltas 2100000 validators 1200 proto nodes 28.596 ms/op 32.215 ms/op 0.89
computeDeltas 2100000 validators 7200 proto nodes 28.255 ms/op 30.927 ms/op 0.91
altair processAttestation - 250000 vs - 7PWei normalcase 2.2233 ms/op 2.5199 ms/op 0.88
altair processAttestation - 250000 vs - 7PWei worstcase 3.2277 ms/op 4.2263 ms/op 0.76
altair processAttestation - setStatus - 1/6 committees join 184.30 us/op 207.75 us/op 0.89
altair processAttestation - setStatus - 1/3 committees join 349.43 us/op 401.95 us/op 0.87
altair processAttestation - setStatus - 1/2 committees join 484.02 us/op 503.53 us/op 0.96
altair processAttestation - setStatus - 2/3 committees join 605.98 us/op 673.96 us/op 0.90
altair processAttestation - setStatus - 4/5 committees join 843.41 us/op 858.02 us/op 0.98
altair processAttestation - setStatus - 100% committees join 998.86 us/op 970.11 us/op 1.03
altair processBlock - 250000 vs - 7PWei normalcase 10.892 ms/op 11.390 ms/op 0.96
altair processBlock - 250000 vs - 7PWei normalcase hashState 34.957 ms/op 45.452 ms/op 0.77
altair processBlock - 250000 vs - 7PWei worstcase 43.712 ms/op 42.842 ms/op 1.02
altair processBlock - 250000 vs - 7PWei worstcase hashState 94.429 ms/op 119.45 ms/op 0.79
phase0 processBlock - 250000 vs - 7PWei normalcase 2.8381 ms/op 4.0276 ms/op 0.70
phase0 processBlock - 250000 vs - 7PWei worstcase 31.752 ms/op 32.873 ms/op 0.97
altair processEth1Data - 250000 vs - 7PWei normalcase 735.39 us/op 761.56 us/op 0.97
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 14.955 us/op 19.608 us/op 0.76
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 70.122 us/op 97.580 us/op 0.72
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 21.623 us/op 37.925 us/op 0.57
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.418 us/op 24.529 us/op 0.59
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 211.05 us/op 287.11 us/op 0.74
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3701 ms/op 1.6573 ms/op 0.83
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.0833 ms/op 2.5652 ms/op 0.81
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.0870 ms/op 1.9100 ms/op 1.09
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.1031 ms/op 4.9796 ms/op 0.82
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.6070 ms/op 3.1763 ms/op 0.82
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 6.0197 ms/op 6.3513 ms/op 0.95
Tree 40 250000 create 442.30 ms/op 521.59 ms/op 0.85
Tree 40 250000 get(125000) 220.51 ns/op 222.92 ns/op 0.99
Tree 40 250000 set(125000) 1.1012 us/op 1.4545 us/op 0.76
Tree 40 250000 toArray() 22.476 ms/op 29.102 ms/op 0.77
Tree 40 250000 iterate all - toArray() + loop 22.841 ms/op 26.292 ms/op 0.87
Tree 40 250000 iterate all - get(i) 74.315 ms/op 75.958 ms/op 0.98
MutableVector 250000 create 15.081 ms/op 13.347 ms/op 1.13
MutableVector 250000 get(125000) 6.5860 ns/op 6.6420 ns/op 0.99
MutableVector 250000 set(125000) 283.54 ns/op 495.86 ns/op 0.57
MutableVector 250000 toArray() 3.6727 ms/op 4.5560 ms/op 0.81
MutableVector 250000 iterate all - toArray() + loop 3.5267 ms/op 4.5750 ms/op 0.77
MutableVector 250000 iterate all - get(i) 1.5394 ms/op 1.5613 ms/op 0.99
Array 250000 create 3.1545 ms/op 3.3906 ms/op 0.93
Array 250000 clone - spread 1.3372 ms/op 1.3892 ms/op 0.96
Array 250000 get(125000) 1.1340 ns/op 1.1310 ns/op 1.00
Array 250000 set(125000) 4.3000 ns/op 4.4160 ns/op 0.97
Array 250000 iterate all - loop 169.47 us/op 170.57 us/op 0.99
effectiveBalanceIncrements clone Uint8Array 300000 35.479 us/op 44.535 us/op 0.80
effectiveBalanceIncrements clone MutableVector 300000 395.00 ns/op 405.00 ns/op 0.98
effectiveBalanceIncrements rw all Uint8Array 300000 209.19 us/op 204.05 us/op 1.03
effectiveBalanceIncrements rw all MutableVector 300000 91.100 ms/op 94.994 ms/op 0.96
phase0 afterProcessEpoch - 250000 vs - 7PWei 116.13 ms/op 114.60 ms/op 1.01
phase0 beforeProcessEpoch - 250000 vs - 7PWei 58.785 ms/op 50.392 ms/op 1.17
altair processEpoch - mainnet_e81889 522.32 ms/op 587.64 ms/op 0.89
mainnet_e81889 - altair beforeProcessEpoch 96.766 ms/op 87.200 ms/op 1.11
mainnet_e81889 - altair processJustificationAndFinalization 23.138 us/op 20.800 us/op 1.11
mainnet_e81889 - altair processInactivityUpdates 8.7878 ms/op 6.8303 ms/op 1.29
mainnet_e81889 - altair processRewardsAndPenalties 46.254 ms/op 76.364 ms/op 0.61
mainnet_e81889 - altair processRegistryUpdates 3.1110 us/op 2.5830 us/op 1.20
mainnet_e81889 - altair processSlashings 669.00 ns/op 896.00 ns/op 0.75
mainnet_e81889 - altair processEth1DataReset 929.00 ns/op 1.1670 us/op 0.80
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.6737 ms/op 2.7135 ms/op 0.62
mainnet_e81889 - altair processSlashingsReset 4.8180 us/op 9.9090 us/op 0.49
mainnet_e81889 - altair processRandaoMixesReset 8.6960 us/op 8.4300 us/op 1.03
mainnet_e81889 - altair processHistoricalRootsUpdate 861.00 ns/op 1.0360 us/op 0.83
mainnet_e81889 - altair processParticipationFlagUpdates 4.4560 us/op 2.8150 us/op 1.58
mainnet_e81889 - altair processSyncCommitteeUpdates 921.00 ns/op 883.00 ns/op 1.04
mainnet_e81889 - altair afterProcessEpoch 124.23 ms/op 124.13 ms/op 1.00
capella processEpoch - mainnet_e217614 2.7191 s/op 3.0721 s/op 0.89
mainnet_e217614 - capella beforeProcessEpoch 610.83 ms/op 646.41 ms/op 0.94
mainnet_e217614 - capella processJustificationAndFinalization 41.951 us/op 25.497 us/op 1.65
mainnet_e217614 - capella processInactivityUpdates 37.948 ms/op 26.025 ms/op 1.46
mainnet_e217614 - capella processRewardsAndPenalties 508.08 ms/op 441.35 ms/op 1.15
mainnet_e217614 - capella processRegistryUpdates 49.871 us/op 27.680 us/op 1.80
mainnet_e217614 - capella processSlashings 1.0890 us/op 922.00 ns/op 1.18
mainnet_e217614 - capella processEth1DataReset 1.2050 us/op 529.00 ns/op 2.28
mainnet_e217614 - capella processEffectiveBalanceUpdates 19.751 ms/op 4.5719 ms/op 4.32
mainnet_e217614 - capella processSlashingsReset 7.8870 us/op 3.6690 us/op 2.15
mainnet_e217614 - capella processRandaoMixesReset 10.561 us/op 5.2020 us/op 2.03
mainnet_e217614 - capella processHistoricalRootsUpdate 1.4720 us/op 811.00 ns/op 1.82
mainnet_e217614 - capella processParticipationFlagUpdates 3.5220 us/op 3.3180 us/op 1.06
mainnet_e217614 - capella afterProcessEpoch 388.20 ms/op 325.16 ms/op 1.19
phase0 processEpoch - mainnet_e58758 694.54 ms/op 517.88 ms/op 1.34
mainnet_e58758 - phase0 beforeProcessEpoch 229.02 ms/op 147.65 ms/op 1.55
mainnet_e58758 - phase0 processJustificationAndFinalization 39.802 us/op 15.962 us/op 2.49
mainnet_e58758 - phase0 processRewardsAndPenalties 81.391 ms/op 41.414 ms/op 1.97
mainnet_e58758 - phase0 processRegistryUpdates 29.384 us/op 10.715 us/op 2.74
mainnet_e58758 - phase0 processSlashings 1.3880 us/op 695.00 ns/op 2.00
mainnet_e58758 - phase0 processEth1DataReset 1.3930 us/op 502.00 ns/op 2.77
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.5955 ms/op 1.2391 ms/op 2.09
mainnet_e58758 - phase0 processSlashingsReset 7.6550 us/op 8.6120 us/op 0.89
mainnet_e58758 - phase0 processRandaoMixesReset 11.780 us/op 7.9720 us/op 1.48
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.2940 us/op 920.00 ns/op 1.41
mainnet_e58758 - phase0 processParticipationRecordUpdates 8.9180 us/op 5.9000 us/op 1.51
mainnet_e58758 - phase0 afterProcessEpoch 108.02 ms/op 101.52 ms/op 1.06
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.9998 ms/op 1.6733 ms/op 1.20
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.0962 ms/op 1.9521 ms/op 1.07
altair processInactivityUpdates - 250000 normalcase 34.933 ms/op 29.944 ms/op 1.17
altair processInactivityUpdates - 250000 worstcase 32.848 ms/op 28.211 ms/op 1.16
phase0 processRegistryUpdates - 250000 normalcase 21.826 us/op 14.414 us/op 1.51
phase0 processRegistryUpdates - 250000 badcase_full_deposits 529.67 us/op 572.92 us/op 0.92
phase0 processRegistryUpdates - 250000 worstcase 0.5 160.45 ms/op 139.71 ms/op 1.15
altair processRewardsAndPenalties - 250000 normalcase 71.103 ms/op 61.519 ms/op 1.16
altair processRewardsAndPenalties - 250000 worstcase 72.525 ms/op 61.884 ms/op 1.17
phase0 getAttestationDeltas - 250000 normalcase 14.430 ms/op 9.0644 ms/op 1.59
phase0 getAttestationDeltas - 250000 worstcase 14.641 ms/op 8.8604 ms/op 1.65
phase0 processSlashings - 250000 worstcase 138.66 us/op 130.14 us/op 1.07
altair processSyncCommitteeUpdates - 250000 183.92 ms/op 151.58 ms/op 1.21
BeaconState.hashTreeRoot - No change 892.00 ns/op 380.00 ns/op 2.35
BeaconState.hashTreeRoot - 1 full validator 196.08 us/op 126.93 us/op 1.54
BeaconState.hashTreeRoot - 32 full validator 1.7574 ms/op 1.2962 ms/op 1.36
BeaconState.hashTreeRoot - 512 full validator 21.182 ms/op 12.976 ms/op 1.63
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 200.93 us/op 139.83 us/op 1.44
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.6878 ms/op 1.8468 ms/op 1.46
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 37.109 ms/op 23.910 ms/op 1.55
BeaconState.hashTreeRoot - 1 balances 161.56 us/op 108.18 us/op 1.49
BeaconState.hashTreeRoot - 32 balances 1.6651 ms/op 990.52 us/op 1.68
BeaconState.hashTreeRoot - 512 balances 17.353 ms/op 10.556 ms/op 1.64
BeaconState.hashTreeRoot - 250000 balances 266.23 ms/op 216.91 ms/op 1.23
aggregationBits - 2048 els - zipIndexesInBitList 32.887 us/op 18.685 us/op 1.76
byteArrayEquals 32 95.046 ns/op 76.711 ns/op 1.24
Buffer.compare 32 62.995 ns/op 56.504 ns/op 1.11
byteArrayEquals 1024 2.7483 us/op 2.0921 us/op 1.31
Buffer.compare 1024 77.666 ns/op 71.583 ns/op 1.08
byteArrayEquals 16384 40.731 us/op 33.282 us/op 1.22
Buffer.compare 16384 308.53 ns/op 253.95 ns/op 1.21
byteArrayEquals 123687377 274.42 ms/op 262.41 ms/op 1.05
Buffer.compare 123687377 9.8561 ms/op 8.5577 ms/op 1.15
byteArrayEquals 32 - diff last byte 105.64 ns/op 85.578 ns/op 1.23
Buffer.compare 32 - diff last byte 63.304 ns/op 60.581 ns/op 1.04
byteArrayEquals 1024 - diff last byte 2.1230 us/op 2.3409 us/op 0.91
Buffer.compare 1024 - diff last byte 75.664 ns/op 74.334 ns/op 1.02
byteArrayEquals 16384 - diff last byte 34.208 us/op 34.824 us/op 0.98
Buffer.compare 16384 - diff last byte 271.27 ns/op 294.52 ns/op 0.92
byteArrayEquals 123687377 - diff last byte 317.16 ms/op 268.06 ms/op 1.18
Buffer.compare 123687377 - diff last byte 13.924 ms/op 8.3847 ms/op 1.66
byteArrayEquals 32 - random bytes 7.2620 ns/op 5.4650 ns/op 1.33
Buffer.compare 32 - random bytes 76.185 ns/op 63.591 ns/op 1.20
byteArrayEquals 1024 - random bytes 7.7530 ns/op 5.7690 ns/op 1.34
Buffer.compare 1024 - random bytes 73.275 ns/op 62.113 ns/op 1.18
byteArrayEquals 16384 - random bytes 7.9460 ns/op 5.7090 ns/op 1.39
Buffer.compare 16384 - random bytes 65.995 ns/op 62.721 ns/op 1.05
byteArrayEquals 123687377 - random bytes 19.440 ns/op 9.0500 ns/op 2.15
Buffer.compare 123687377 - random bytes 89.530 ns/op 73.230 ns/op 1.22
regular array get 100000 times 52.379 us/op 46.242 us/op 1.13
wrappedArray get 100000 times 53.790 us/op 46.529 us/op 1.16
arrayWithProxy get 100000 times 18.725 ms/op 14.781 ms/op 1.27
ssz.Root.equals 61.193 ns/op 55.281 ns/op 1.11
byteArrayEquals 57.122 ns/op 55.507 ns/op 1.03
Buffer.compare 13.083 ns/op 12.055 ns/op 1.09
shuffle list - 16384 els 7.7894 ms/op 7.1632 ms/op 1.09
shuffle list - 250000 els 114.26 ms/op 105.93 ms/op 1.08
processSlot - 1 slots 22.391 us/op 20.794 us/op 1.08
processSlot - 32 slots 3.8823 ms/op 4.4451 ms/op 0.87
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 65.852 ms/op 63.881 ms/op 1.03
getCommitteeAssignments - req 1 vs - 250000 vc 2.7197 ms/op 2.5847 ms/op 1.05
getCommitteeAssignments - req 100 vs - 250000 vc 3.9735 ms/op 3.8028 ms/op 1.04
getCommitteeAssignments - req 1000 vs - 250000 vc 4.3632 ms/op 4.2971 ms/op 1.02
findModifiedValidators - 10000 modified validators 648.20 ms/op 591.52 ms/op 1.10
findModifiedValidators - 1000 modified validators 525.99 ms/op 515.23 ms/op 1.02
findModifiedValidators - 100 modified validators 535.56 ms/op 578.79 ms/op 0.93
findModifiedValidators - 10 modified validators 520.58 ms/op 621.71 ms/op 0.84
findModifiedValidators - 1 modified validators 508.84 ms/op 563.91 ms/op 0.90
findModifiedValidators - no difference 480.37 ms/op 569.46 ms/op 0.84
compare ViewDUs 5.5396 s/op 7.0146 s/op 0.79
compare each validator Uint8Array 1.9379 s/op 2.8349 s/op 0.68
compare ViewDU to Uint8Array 1.5502 s/op 1.8915 s/op 0.82
migrate state 1000000 validators, 24 modified, 0 new 1.0062 s/op 1.1145 s/op 0.90
migrate state 1000000 validators, 1700 modified, 1000 new 1.3310 s/op 1.2479 s/op 1.07
migrate state 1000000 validators, 3400 modified, 2000 new 1.4886 s/op 1.5435 s/op 0.96
migrate state 1500000 validators, 24 modified, 0 new 956.02 ms/op 934.39 ms/op 1.02
migrate state 1500000 validators, 1700 modified, 1000 new 1.3191 s/op 1.4982 s/op 0.88
migrate state 1500000 validators, 3400 modified, 2000 new 1.5869 s/op 1.8684 s/op 0.85
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.1500 ns/op 5.8100 ns/op 0.89
state getBlockRootAtSlot - 250000 vs - 7PWei 696.92 ns/op 821.08 ns/op 0.85
computeProposers - vc 250000 10.362 ms/op 13.372 ms/op 0.77
computeEpochShuffling - vc 250000 109.19 ms/op 126.25 ms/op 0.86
getNextSyncCommittee - vc 250000 183.79 ms/op 202.42 ms/op 0.91
computeSigningRoot for AttestationData 32.503 us/op 35.716 us/op 0.91
hash AttestationData serialized data then Buffer.toString(base64) 2.4452 us/op 2.6142 us/op 0.94
toHexString serialized data 1.2757 us/op 1.7479 us/op 0.73
Buffer.toString(base64) 253.09 ns/op 284.84 ns/op 0.89

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 0087c8a into unstable Feb 14, 2024
14 of 16 checks passed
@wemeetagain wemeetagain deleted the nflaig/docs-updates branch February 14, 2024 16:27
@wemeetagain
Copy link
Member

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

2 participants