Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: upgrade docusaurus #6623

Merged
merged 1 commit into from
Apr 3, 2024
Merged

chore: upgrade docusaurus #6623

merged 1 commit into from
Apr 3, 2024

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented Apr 3, 2024

Motivation

Keep docusaurus uptodate.

@jeluard jeluard requested a review from a team as a code owner April 3, 2024 11:02
Copy link

codecov bot commented Apr 3, 2024

Codecov Report

Merging #6623 (89652ac) into unstable (b284962) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6623   +/-   ##
=========================================
  Coverage     61.70%   61.70%           
=========================================
  Files           556      556           
  Lines         58799    58799           
  Branches       1886     1886           
=========================================
  Hits          36283    36283           
  Misses        22475    22475           
  Partials         41       41           

Copy link
Contributor

github-actions bot commented Apr 3, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 5b7809c Previous: b284962 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 751.66 us/op 784.17 us/op 0.96
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 88.536 us/op 138.44 us/op 0.64
BLS verify - blst-native 1.3217 ms/op 1.4049 ms/op 0.94
BLS verifyMultipleSignatures 3 - blst-native 2.7724 ms/op 2.9396 ms/op 0.94
BLS verifyMultipleSignatures 8 - blst-native 6.0506 ms/op 6.3221 ms/op 0.96
BLS verifyMultipleSignatures 32 - blst-native 22.149 ms/op 24.328 ms/op 0.91
BLS verifyMultipleSignatures 64 - blst-native 44.363 ms/op 48.555 ms/op 0.91
BLS verifyMultipleSignatures 128 - blst-native 86.962 ms/op 94.784 ms/op 0.92
BLS deserializing 10000 signatures 958.53 ms/op 966.63 ms/op 0.99
BLS deserializing 100000 signatures 9.2744 s/op 9.8012 s/op 0.95
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3910 ms/op 1.5466 ms/op 0.90
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.6674 ms/op 1.6268 ms/op 1.02
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4286 ms/op 2.6123 ms/op 0.93
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.5303 ms/op 3.9292 ms/op 0.90
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.7957 ms/op 6.4399 ms/op 0.90
BLS aggregatePubkeys 32 - blst-native 26.627 us/op 29.952 us/op 0.89
BLS aggregatePubkeys 128 - blst-native 103.87 us/op 113.81 us/op 0.91
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 77.629 ms/op 78.573 ms/op 0.99
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 80.528 ms/op 76.255 ms/op 1.06
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 46.631 ms/op 54.092 ms/op 0.86
getSlashingsAndExits - default max 163.38 us/op 194.66 us/op 0.84
getSlashingsAndExits - 2k 486.10 us/op 502.90 us/op 0.97
proposeBlockBody type=full, size=empty 7.1306 ms/op 6.9001 ms/op 1.03
isKnown best case - 1 super set check 547.00 ns/op 598.00 ns/op 0.91
isKnown normal case - 2 super set checks 382.00 ns/op 499.00 ns/op 0.77
isKnown worse case - 16 super set checks 436.00 ns/op 484.00 ns/op 0.90
InMemoryCheckpointStateCache - add get delete 8.3360 us/op 7.3380 us/op 1.14
validate api signedAggregateAndProof - struct 2.8454 ms/op 2.8738 ms/op 0.99
validate gossip signedAggregateAndProof - struct 2.9245 ms/op 2.9061 ms/op 1.01
validate gossip attestation - vc 640000 1.4322 ms/op 1.4355 ms/op 1.00
batch validate gossip attestation - vc 640000 - chunk 32 166.85 us/op 182.40 us/op 0.91
batch validate gossip attestation - vc 640000 - chunk 64 148.68 us/op 155.53 us/op 0.96
batch validate gossip attestation - vc 640000 - chunk 128 136.46 us/op 148.31 us/op 0.92
batch validate gossip attestation - vc 640000 - chunk 256 131.46 us/op 140.20 us/op 0.94
pickEth1Vote - no votes 1.3635 ms/op 1.3797 ms/op 0.99
pickEth1Vote - max votes 10.727 ms/op 12.227 ms/op 0.88
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.354 ms/op 24.321 ms/op 0.71
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 22.514 ms/op 30.938 ms/op 0.73
pickEth1Vote - Eth1Data fastSerialize value x2048 587.68 us/op 796.47 us/op 0.74
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.4949 ms/op 5.5373 ms/op 0.81
bytes32 toHexString 521.00 ns/op 681.00 ns/op 0.77
bytes32 Buffer.toString(hex) 297.00 ns/op 344.00 ns/op 0.86
bytes32 Buffer.toString(hex) from Uint8Array 433.00 ns/op 527.00 ns/op 0.82
bytes32 Buffer.toString(hex) + 0x 294.00 ns/op 317.00 ns/op 0.93
Object access 1 prop 0.16400 ns/op 0.23200 ns/op 0.71
Map access 1 prop 0.15000 ns/op 0.16200 ns/op 0.93
Object get x1000 7.3530 ns/op 7.5480 ns/op 0.97
Map get x1000 0.74800 ns/op 0.86700 ns/op 0.86
Object set x1000 50.447 ns/op 66.153 ns/op 0.76
Map set x1000 39.209 ns/op 51.198 ns/op 0.77
Return object 10000 times 0.23680 ns/op 0.25850 ns/op 0.92
Throw Error 10000 times 3.8655 us/op 4.1722 us/op 0.93
fastMsgIdFn sha256 / 200 bytes 3.2340 us/op 3.5840 us/op 0.90
fastMsgIdFn h32 xxhash / 200 bytes 274.00 ns/op 365.00 ns/op 0.75
fastMsgIdFn h64 xxhash / 200 bytes 355.00 ns/op 394.00 ns/op 0.90
fastMsgIdFn sha256 / 1000 bytes 11.240 us/op 11.870 us/op 0.95
fastMsgIdFn h32 xxhash / 1000 bytes 415.00 ns/op 481.00 ns/op 0.86
fastMsgIdFn h64 xxhash / 1000 bytes 423.00 ns/op 492.00 ns/op 0.86
fastMsgIdFn sha256 / 10000 bytes 103.45 us/op 109.22 us/op 0.95
fastMsgIdFn h32 xxhash / 10000 bytes 1.8940 us/op 2.1520 us/op 0.88
fastMsgIdFn h64 xxhash / 10000 bytes 1.3010 us/op 1.4890 us/op 0.87
send data - 1000 256B messages 19.243 ms/op 23.432 ms/op 0.82
send data - 1000 512B messages 26.522 ms/op 31.166 ms/op 0.85
send data - 1000 1024B messages 41.975 ms/op 48.701 ms/op 0.86
send data - 1000 1200B messages 38.159 ms/op 44.139 ms/op 0.86
send data - 1000 2048B messages 48.136 ms/op 55.769 ms/op 0.86
send data - 1000 4096B messages 43.620 ms/op 51.399 ms/op 0.85
send data - 1000 16384B messages 115.01 ms/op 131.20 ms/op 0.88
send data - 1000 65536B messages 411.76 ms/op 516.85 ms/op 0.80
enrSubnets - fastDeserialize 64 bits 1.4270 us/op 1.4650 us/op 0.97
enrSubnets - ssz BitVector 64 bits 469.00 ns/op 506.00 ns/op 0.93
enrSubnets - fastDeserialize 4 bits 226.00 ns/op 190.00 ns/op 1.19
enrSubnets - ssz BitVector 4 bits 501.00 ns/op 462.00 ns/op 1.08
prioritizePeers score -10:0 att 32-0.1 sync 2-0 117.22 us/op 103.25 us/op 1.14
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 138.25 us/op 132.18 us/op 1.05
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 193.42 us/op 196.70 us/op 0.98
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 371.21 us/op 313.90 us/op 1.18
prioritizePeers score 0:0 att 64-1 sync 4-1 365.31 us/op 372.57 us/op 0.98
array of 16000 items push then shift 1.6580 us/op 1.7076 us/op 0.97
LinkedList of 16000 items push then shift 9.1450 ns/op 9.3810 ns/op 0.97
array of 16000 items push then pop 111.65 ns/op 113.18 ns/op 0.99
LinkedList of 16000 items push then pop 8.9270 ns/op 9.2810 ns/op 0.96
array of 24000 items push then shift 2.5578 us/op 2.7522 us/op 0.93
LinkedList of 24000 items push then shift 9.0150 ns/op 9.6600 ns/op 0.93
array of 24000 items push then pop 122.06 ns/op 171.35 ns/op 0.71
LinkedList of 24000 items push then pop 8.7710 ns/op 9.8790 ns/op 0.89
intersect bitArray bitLen 8 5.8760 ns/op 6.0540 ns/op 0.97
intersect array and set length 8 62.913 ns/op 77.036 ns/op 0.82
intersect bitArray bitLen 128 35.887 ns/op 36.342 ns/op 0.99
intersect array and set length 128 859.76 ns/op 1.0361 us/op 0.83
bitArray.getTrueBitIndexes() bitLen 128 1.4730 us/op 1.8780 us/op 0.78
bitArray.getTrueBitIndexes() bitLen 248 2.5580 us/op 2.8510 us/op 0.90
bitArray.getTrueBitIndexes() bitLen 512 4.7570 us/op 6.3410 us/op 0.75
Buffer.concat 32 items 967.00 ns/op 1.1510 us/op 0.84
Uint8Array.set 32 items 1.7090 us/op 2.0570 us/op 0.83
Set add up to 64 items then delete first 4.3260 us/op 5.1416 us/op 0.84
OrderedSet add up to 64 items then delete first 5.4432 us/op 6.5540 us/op 0.83
Set add up to 64 items then delete last 4.6485 us/op 5.3761 us/op 0.86
OrderedSet add up to 64 items then delete last 6.0681 us/op 7.4390 us/op 0.82
Set add up to 64 items then delete middle 4.6561 us/op 5.3895 us/op 0.86
OrderedSet add up to 64 items then delete middle 7.3194 us/op 8.4007 us/op 0.87
Set add up to 128 items then delete first 9.3026 us/op 11.403 us/op 0.82
OrderedSet add up to 128 items then delete first 11.871 us/op 16.005 us/op 0.74
Set add up to 128 items then delete last 9.4423 us/op 11.256 us/op 0.84
OrderedSet add up to 128 items then delete last 12.424 us/op 14.390 us/op 0.86
Set add up to 128 items then delete middle 9.2151 us/op 10.968 us/op 0.84
OrderedSet add up to 128 items then delete middle 18.002 us/op 19.399 us/op 0.93
Set add up to 256 items then delete first 17.955 us/op 22.855 us/op 0.79
OrderedSet add up to 256 items then delete first 22.946 us/op 30.722 us/op 0.75
Set add up to 256 items then delete last 17.796 us/op 21.919 us/op 0.81
OrderedSet add up to 256 items then delete last 23.712 us/op 28.598 us/op 0.83
Set add up to 256 items then delete middle 17.699 us/op 22.168 us/op 0.80
OrderedSet add up to 256 items then delete middle 44.393 us/op 53.729 us/op 0.83
transfer serialized Status (84 B) 1.6370 us/op 2.0670 us/op 0.79
copy serialized Status (84 B) 1.2280 us/op 1.5100 us/op 0.81
transfer serialized SignedVoluntaryExit (112 B) 1.7430 us/op 2.2980 us/op 0.76
copy serialized SignedVoluntaryExit (112 B) 1.3960 us/op 1.6170 us/op 0.86
transfer serialized ProposerSlashing (416 B) 2.5350 us/op 3.3030 us/op 0.77
copy serialized ProposerSlashing (416 B) 1.7410 us/op 3.2300 us/op 0.54
transfer serialized Attestation (485 B) 2.2120 us/op 3.7650 us/op 0.59
copy serialized Attestation (485 B) 1.8550 us/op 3.3860 us/op 0.55
transfer serialized AttesterSlashing (33232 B) 2.1750 us/op 3.2330 us/op 0.67
copy serialized AttesterSlashing (33232 B) 4.9660 us/op 10.644 us/op 0.47
transfer serialized Small SignedBeaconBlock (128000 B) 2.5030 us/op 3.2990 us/op 0.76
copy serialized Small SignedBeaconBlock (128000 B) 12.920 us/op 26.827 us/op 0.48
transfer serialized Avg SignedBeaconBlock (200000 B) 2.8120 us/op 3.6240 us/op 0.78
copy serialized Avg SignedBeaconBlock (200000 B) 19.458 us/op 30.652 us/op 0.63
transfer serialized BlobsSidecar (524380 B) 3.0250 us/op 3.5230 us/op 0.86
copy serialized BlobsSidecar (524380 B) 82.059 us/op 158.33 us/op 0.52
transfer serialized Big SignedBeaconBlock (1000000 B) 3.0490 us/op 3.2690 us/op 0.93
copy serialized Big SignedBeaconBlock (1000000 B) 162.22 us/op 209.77 us/op 0.77
pass gossip attestations to forkchoice per slot 4.1580 ms/op 3.9802 ms/op 1.04
forkChoice updateHead vc 100000 bc 64 eq 0 686.70 us/op 737.01 us/op 0.93
forkChoice updateHead vc 600000 bc 64 eq 0 4.4115 ms/op 5.4381 ms/op 0.81
forkChoice updateHead vc 1000000 bc 64 eq 0 6.9707 ms/op 7.3549 ms/op 0.95
forkChoice updateHead vc 600000 bc 320 eq 0 4.1738 ms/op 4.5746 ms/op 0.91
forkChoice updateHead vc 600000 bc 1200 eq 0 4.2681 ms/op 4.9177 ms/op 0.87
forkChoice updateHead vc 600000 bc 7200 eq 0 5.1770 ms/op 5.6636 ms/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 1000 11.194 ms/op 12.865 ms/op 0.87
forkChoice updateHead vc 600000 bc 64 eq 10000 11.866 ms/op 12.577 ms/op 0.94
forkChoice updateHead vc 600000 bc 64 eq 300000 15.518 ms/op 17.277 ms/op 0.90
computeDeltas 500000 validators 300 proto nodes 6.5221 ms/op 7.3381 ms/op 0.89
computeDeltas 500000 validators 1200 proto nodes 6.2492 ms/op 7.2155 ms/op 0.87
computeDeltas 500000 validators 7200 proto nodes 6.3872 ms/op 7.0524 ms/op 0.91
computeDeltas 750000 validators 300 proto nodes 9.4575 ms/op 10.575 ms/op 0.89
computeDeltas 750000 validators 1200 proto nodes 9.6506 ms/op 10.639 ms/op 0.91
computeDeltas 750000 validators 7200 proto nodes 9.7633 ms/op 11.069 ms/op 0.88
computeDeltas 1400000 validators 300 proto nodes 17.786 ms/op 20.056 ms/op 0.89
computeDeltas 1400000 validators 1200 proto nodes 18.319 ms/op 20.268 ms/op 0.90
computeDeltas 1400000 validators 7200 proto nodes 18.294 ms/op 19.482 ms/op 0.94
computeDeltas 2100000 validators 300 proto nodes 27.451 ms/op 27.548 ms/op 1.00
computeDeltas 2100000 validators 1200 proto nodes 27.746 ms/op 27.451 ms/op 1.01
computeDeltas 2100000 validators 7200 proto nodes 27.481 ms/op 27.946 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.2535 ms/op 2.1978 ms/op 1.03
altair processAttestation - 250000 vs - 7PWei worstcase 3.2854 ms/op 3.3188 ms/op 0.99
altair processAttestation - setStatus - 1/6 committees join 184.64 us/op 187.56 us/op 0.98
altair processAttestation - setStatus - 1/3 committees join 359.90 us/op 359.26 us/op 1.00
altair processAttestation - setStatus - 1/2 committees join 478.95 us/op 490.78 us/op 0.98
altair processAttestation - setStatus - 2/3 committees join 602.37 us/op 614.58 us/op 0.98
altair processAttestation - setStatus - 4/5 committees join 835.59 us/op 857.57 us/op 0.97
altair processAttestation - setStatus - 100% committees join 949.48 us/op 981.75 us/op 0.97
altair processBlock - 250000 vs - 7PWei normalcase 10.458 ms/op 8.6944 ms/op 1.20
altair processBlock - 250000 vs - 7PWei normalcase hashState 32.107 ms/op 41.773 ms/op 0.77
altair processBlock - 250000 vs - 7PWei worstcase 42.332 ms/op 40.831 ms/op 1.04
altair processBlock - 250000 vs - 7PWei worstcase hashState 91.826 ms/op 105.46 ms/op 0.87
phase0 processBlock - 250000 vs - 7PWei normalcase 2.2804 ms/op 2.3437 ms/op 0.97
phase0 processBlock - 250000 vs - 7PWei worstcase 29.804 ms/op 30.822 ms/op 0.97
altair processEth1Data - 250000 vs - 7PWei normalcase 477.36 us/op 459.70 us/op 1.04
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.743 us/op 8.3530 us/op 1.29
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 66.501 us/op 79.656 us/op 0.83
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 21.942 us/op 21.117 us/op 1.04
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.937 us/op 11.429 us/op 1.04
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 176.01 us/op 201.65 us/op 0.87
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2097 ms/op 1.4811 ms/op 0.82
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.9403 ms/op 1.5601 ms/op 1.24
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.4411 ms/op 1.5437 ms/op 0.93
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.0507 ms/op 3.6661 ms/op 0.83
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.4396 ms/op 2.4729 ms/op 0.99
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.7773 ms/op 5.0820 ms/op 0.94
Tree 40 250000 create 343.94 ms/op 381.63 ms/op 0.90
Tree 40 250000 get(125000) 194.12 ns/op 196.13 ns/op 0.99
Tree 40 250000 set(125000) 977.71 ns/op 1.0153 us/op 0.96
Tree 40 250000 toArray() 18.530 ms/op 20.590 ms/op 0.90
Tree 40 250000 iterate all - toArray() + loop 18.709 ms/op 20.282 ms/op 0.92
Tree 40 250000 iterate all - get(i) 65.961 ms/op 72.847 ms/op 0.91
MutableVector 250000 create 12.014 ms/op 15.138 ms/op 0.79
MutableVector 250000 get(125000) 6.4940 ns/op 6.7740 ns/op 0.96
MutableVector 250000 set(125000) 269.87 ns/op 294.21 ns/op 0.92
MutableVector 250000 toArray() 3.1506 ms/op 3.5671 ms/op 0.88
MutableVector 250000 iterate all - toArray() + loop 3.3064 ms/op 3.5428 ms/op 0.93
MutableVector 250000 iterate all - get(i) 1.4775 ms/op 1.5747 ms/op 0.94
Array 250000 create 3.1130 ms/op 3.2416 ms/op 0.96
Array 250000 clone - spread 1.4302 ms/op 1.3608 ms/op 1.05
Array 250000 get(125000) 1.1130 ns/op 1.1390 ns/op 0.98
Array 250000 set(125000) 4.2010 ns/op 4.4930 ns/op 0.94
Array 250000 iterate all - loop 170.19 us/op 169.59 us/op 1.00
effectiveBalanceIncrements clone Uint8Array 300000 35.420 us/op 35.601 us/op 0.99
effectiveBalanceIncrements clone MutableVector 300000 438.00 ns/op 429.00 ns/op 1.02
effectiveBalanceIncrements rw all Uint8Array 300000 211.71 us/op 210.01 us/op 1.01
effectiveBalanceIncrements rw all MutableVector 300000 95.489 ms/op 91.717 ms/op 1.04
phase0 afterProcessEpoch - 250000 vs - 7PWei 114.33 ms/op 117.75 ms/op 0.97
phase0 beforeProcessEpoch - 250000 vs - 7PWei 51.492 ms/op 54.523 ms/op 0.94
altair processEpoch - mainnet_e81889 478.32 ms/op 483.28 ms/op 0.99
mainnet_e81889 - altair beforeProcessEpoch 84.719 ms/op 82.198 ms/op 1.03
mainnet_e81889 - altair processJustificationAndFinalization 13.667 us/op 13.935 us/op 0.98
mainnet_e81889 - altair processInactivityUpdates 6.4705 ms/op 5.7477 ms/op 1.13
mainnet_e81889 - altair processRewardsAndPenalties 75.609 ms/op 49.855 ms/op 1.52
mainnet_e81889 - altair processRegistryUpdates 2.5500 us/op 2.2890 us/op 1.11
mainnet_e81889 - altair processSlashings 443.00 ns/op 574.00 ns/op 0.77
mainnet_e81889 - altair processEth1DataReset 580.00 ns/op 595.00 ns/op 0.97
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3161 ms/op 1.4005 ms/op 0.94
mainnet_e81889 - altair processSlashingsReset 3.7360 us/op 2.8870 us/op 1.29
mainnet_e81889 - altair processRandaoMixesReset 4.6160 us/op 4.5970 us/op 1.00
mainnet_e81889 - altair processHistoricalRootsUpdate 842.00 ns/op 851.00 ns/op 0.99
mainnet_e81889 - altair processParticipationFlagUpdates 1.9670 us/op 2.5340 us/op 0.78
mainnet_e81889 - altair processSyncCommitteeUpdates 419.00 ns/op 645.00 ns/op 0.65
mainnet_e81889 - altair afterProcessEpoch 120.18 ms/op 119.04 ms/op 1.01
capella processEpoch - mainnet_e217614 3.2442 s/op 2.0562 s/op 1.58
mainnet_e217614 - capella beforeProcessEpoch 780.98 ms/op 516.81 ms/op 1.51
mainnet_e217614 - capella processJustificationAndFinalization 20.025 us/op 14.755 us/op 1.36
mainnet_e217614 - capella processInactivityUpdates 29.164 ms/op 18.531 ms/op 1.57
mainnet_e217614 - capella processRewardsAndPenalties 695.51 ms/op 579.40 ms/op 1.20
mainnet_e217614 - capella processRegistryUpdates 28.472 us/op 19.972 us/op 1.43
mainnet_e217614 - capella processSlashings 702.00 ns/op 800.00 ns/op 0.88
mainnet_e217614 - capella processEth1DataReset 585.00 ns/op 485.00 ns/op 1.21
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.6074 ms/op 15.729 ms/op 0.29
mainnet_e217614 - capella processSlashingsReset 4.4280 us/op 3.0950 us/op 1.43
mainnet_e217614 - capella processRandaoMixesReset 5.2190 us/op 5.0810 us/op 1.03
mainnet_e217614 - capella processHistoricalRootsUpdate 1.2770 us/op 1.4580 us/op 0.88
mainnet_e217614 - capella processParticipationFlagUpdates 2.5980 us/op 1.7620 us/op 1.47
mainnet_e217614 - capella afterProcessEpoch 362.24 ms/op 355.63 ms/op 1.02
phase0 processEpoch - mainnet_e58758 522.72 ms/op 516.20 ms/op 1.01
mainnet_e58758 - phase0 beforeProcessEpoch 173.21 ms/op 140.14 ms/op 1.24
mainnet_e58758 - phase0 processJustificationAndFinalization 17.110 us/op 17.455 us/op 0.98
mainnet_e58758 - phase0 processRewardsAndPenalties 50.287 ms/op 65.115 ms/op 0.77
mainnet_e58758 - phase0 processRegistryUpdates 9.9040 us/op 10.103 us/op 0.98
mainnet_e58758 - phase0 processSlashings 412.00 ns/op 616.00 ns/op 0.67
mainnet_e58758 - phase0 processEth1DataReset 400.00 ns/op 466.00 ns/op 0.86
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1043 ms/op 1.1386 ms/op 0.97
mainnet_e58758 - phase0 processSlashingsReset 2.6720 us/op 2.6210 us/op 1.02
mainnet_e58758 - phase0 processRandaoMixesReset 4.2630 us/op 4.3270 us/op 0.99
mainnet_e58758 - phase0 processHistoricalRootsUpdate 422.00 ns/op 492.00 ns/op 0.86
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.5840 us/op 3.4670 us/op 1.03
mainnet_e58758 - phase0 afterProcessEpoch 101.53 ms/op 101.02 ms/op 1.01
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3322 ms/op 1.3407 ms/op 0.99
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5005 ms/op 1.5616 ms/op 0.96
altair processInactivityUpdates - 250000 normalcase 23.471 ms/op 31.742 ms/op 0.74
altair processInactivityUpdates - 250000 worstcase 24.540 ms/op 29.985 ms/op 0.82
phase0 processRegistryUpdates - 250000 normalcase 8.4070 us/op 8.9690 us/op 0.94
phase0 processRegistryUpdates - 250000 badcase_full_deposits 348.17 us/op 364.97 us/op 0.95
phase0 processRegistryUpdates - 250000 worstcase 0.5 135.07 ms/op 156.05 ms/op 0.87
altair processRewardsAndPenalties - 250000 normalcase 62.287 ms/op 74.398 ms/op 0.84
altair processRewardsAndPenalties - 250000 worstcase 69.344 ms/op 73.096 ms/op 0.95
phase0 getAttestationDeltas - 250000 normalcase 9.1020 ms/op 9.5847 ms/op 0.95
phase0 getAttestationDeltas - 250000 worstcase 9.0646 ms/op 8.7891 ms/op 1.03
phase0 processSlashings - 250000 worstcase 82.572 us/op 81.688 us/op 1.01
altair processSyncCommitteeUpdates - 250000 144.69 ms/op 149.10 ms/op 0.97
BeaconState.hashTreeRoot - No change 383.00 ns/op 375.00 ns/op 1.02
BeaconState.hashTreeRoot - 1 full validator 149.76 us/op 119.37 us/op 1.25
BeaconState.hashTreeRoot - 32 full validator 1.5757 ms/op 1.5064 ms/op 1.05
BeaconState.hashTreeRoot - 512 full validator 17.602 ms/op 16.609 ms/op 1.06
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 183.40 us/op 187.02 us/op 0.98
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.5214 ms/op 2.4504 ms/op 1.03
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 27.013 ms/op 28.796 ms/op 0.94
BeaconState.hashTreeRoot - 1 balances 126.10 us/op 135.99 us/op 0.93
BeaconState.hashTreeRoot - 32 balances 1.1490 ms/op 1.2008 ms/op 0.96
BeaconState.hashTreeRoot - 512 balances 10.252 ms/op 13.436 ms/op 0.76
BeaconState.hashTreeRoot - 250000 balances 196.22 ms/op 201.45 ms/op 0.97
aggregationBits - 2048 els - zipIndexesInBitList 25.969 us/op 26.228 us/op 0.99
byteArrayEquals 32 73.056 ns/op 74.455 ns/op 0.98
Buffer.compare 32 54.182 ns/op 56.310 ns/op 0.96
byteArrayEquals 1024 1.9945 us/op 2.0318 us/op 0.98
Buffer.compare 1024 68.215 ns/op 71.148 ns/op 0.96
byteArrayEquals 16384 31.794 us/op 32.353 us/op 0.98
Buffer.compare 16384 244.27 ns/op 258.65 ns/op 0.94
byteArrayEquals 123687377 242.83 ms/op 246.15 ms/op 0.99
Buffer.compare 123687377 6.1592 ms/op 6.4066 ms/op 0.96
byteArrayEquals 32 - diff last byte 72.665 ns/op 71.949 ns/op 1.01
Buffer.compare 32 - diff last byte 56.618 ns/op 56.669 ns/op 1.00
byteArrayEquals 1024 - diff last byte 2.0608 us/op 2.0199 us/op 1.02
Buffer.compare 1024 - diff last byte 72.444 ns/op 71.563 ns/op 1.01
byteArrayEquals 16384 - diff last byte 32.893 us/op 32.181 us/op 1.02
Buffer.compare 16384 - diff last byte 275.95 ns/op 277.40 ns/op 0.99
byteArrayEquals 123687377 - diff last byte 243.73 ms/op 250.28 ms/op 0.97
Buffer.compare 123687377 - diff last byte 7.2742 ms/op 6.5057 ms/op 1.12
byteArrayEquals 32 - random bytes 5.6420 ns/op 5.6490 ns/op 1.00
Buffer.compare 32 - random bytes 62.377 ns/op 62.309 ns/op 1.00
byteArrayEquals 1024 - random bytes 5.3020 ns/op 5.3340 ns/op 0.99
Buffer.compare 1024 - random bytes 60.067 ns/op 63.820 ns/op 0.94
byteArrayEquals 16384 - random bytes 5.4280 ns/op 5.3790 ns/op 1.01
Buffer.compare 16384 - random bytes 61.880 ns/op 61.402 ns/op 1.01
byteArrayEquals 123687377 - random bytes 8.6400 ns/op 8.7700 ns/op 0.99
Buffer.compare 123687377 - random bytes 67.420 ns/op 71.350 ns/op 0.94
regular array get 100000 times 45.900 us/op 47.323 us/op 0.97
wrappedArray get 100000 times 45.994 us/op 46.669 us/op 0.99
arrayWithProxy get 100000 times 14.949 ms/op 14.617 ms/op 1.02
ssz.Root.equals 57.542 ns/op 56.407 ns/op 1.02
byteArrayEquals 54.614 ns/op 54.462 ns/op 1.00
Buffer.compare 12.028 ns/op 11.369 ns/op 1.06
shuffle list - 16384 els 8.7970 ms/op 8.9583 ms/op 0.98
shuffle list - 250000 els 129.29 ms/op 131.17 ms/op 0.99
processSlot - 1 slots 16.874 us/op 18.433 us/op 0.92
processSlot - 32 slots 3.1752 ms/op 3.4291 ms/op 0.93
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 60.964 ms/op 63.756 ms/op 0.96
getCommitteeAssignments - req 1 vs - 250000 vc 2.6175 ms/op 2.8136 ms/op 0.93
getCommitteeAssignments - req 100 vs - 250000 vc 3.8801 ms/op 4.0557 ms/op 0.96
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1664 ms/op 4.4322 ms/op 0.94
findModifiedValidators - 10000 modified validators 369.30 ms/op 462.76 ms/op 0.80
findModifiedValidators - 1000 modified validators 192.12 ms/op 276.16 ms/op 0.70
findModifiedValidators - 100 modified validators 175.95 ms/op 267.24 ms/op 0.66
findModifiedValidators - 10 modified validators 197.90 ms/op 238.67 ms/op 0.83
findModifiedValidators - 1 modified validators 181.75 ms/op 263.82 ms/op 0.69
findModifiedValidators - no difference 195.50 ms/op 274.23 ms/op 0.71
compare ViewDUs 4.4804 s/op 5.4264 s/op 0.83
compare each validator Uint8Array 1.3470 s/op 1.8231 s/op 0.74
compare ViewDU to Uint8Array 1.2600 s/op 1.5279 s/op 0.82
migrate state 1000000 validators, 24 modified, 0 new 740.95 ms/op 882.80 ms/op 0.84
migrate state 1000000 validators, 1700 modified, 1000 new 1.1250 s/op 1.2092 s/op 0.93
migrate state 1000000 validators, 3400 modified, 2000 new 1.3337 s/op 1.5659 s/op 0.85
migrate state 1500000 validators, 24 modified, 0 new 762.54 ms/op 878.61 ms/op 0.87
migrate state 1500000 validators, 1700 modified, 1000 new 987.94 ms/op 1.1020 s/op 0.90
migrate state 1500000 validators, 3400 modified, 2000 new 1.2336 s/op 1.3534 s/op 0.91
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.3500 ns/op 4.2700 ns/op 1.02
state getBlockRootAtSlot - 250000 vs - 7PWei 527.00 ns/op 826.17 ns/op 0.64
computeProposers - vc 250000 9.2353 ms/op 9.3272 ms/op 0.99
computeEpochShuffling - vc 250000 127.85 ms/op 122.28 ms/op 1.05
getNextSyncCommittee - vc 250000 156.04 ms/op 158.15 ms/op 0.99
computeSigningRoot for AttestationData 24.546 us/op 27.229 us/op 0.90
hash AttestationData serialized data then Buffer.toString(base64) 2.3780 us/op 2.2777 us/op 1.04
toHexString serialized data 1.1210 us/op 1.0462 us/op 1.07
Buffer.toString(base64) 238.34 ns/op 223.26 ns/op 1.07

by benchmarkbot/action

@jeluard jeluard requested a review from nazarhussain April 3, 2024 16:34
@jeluard jeluard merged commit 3076b4c into unstable Apr 3, 2024
20 checks passed
@jeluard jeluard deleted the jeluard/upgrade-docusaurus branch April 3, 2024 18:25
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.18.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants