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: fix reference to Heap memory limt in FAQs #6992

Merged
merged 1 commit into from
Jul 31, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jul 31, 2024

Motivation

Working links

Description

Fix reference to Heap memory limt in FAQs

@nflaig nflaig requested a review from a team as a code owner July 31, 2024 11:23
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 62.49%. Comparing base (2f9275e) to head (c680b4a).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #6992      +/-   ##
============================================
- Coverage     62.49%   62.49%   -0.01%     
============================================
  Files           576      576              
  Lines         61199    61199              
  Branches       2137     2132       -5     
============================================
- Hits          38246    38244       -2     
- Misses        22914    22916       +2     
  Partials         39       39              

Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 1cc9110 Previous: 2f9275e Ratio
getSlashingsAndExits - default max 94.776 us/op 286.02 us/op 0.33
Full benchmark results
Benchmark suite Current: 1cc9110 Previous: 2f9275e Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.7631 ms/op 3.1460 ms/op 0.88
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 63.351 us/op 119.01 us/op 0.53
BLS verify - blst 874.29 us/op 936.54 us/op 0.93
BLS verifyMultipleSignatures 3 - blst 1.3587 ms/op 1.3896 ms/op 0.98
BLS verifyMultipleSignatures 8 - blst 2.2453 ms/op 2.5938 ms/op 0.87
BLS verifyMultipleSignatures 32 - blst 5.8914 ms/op 7.5454 ms/op 0.78
BLS verifyMultipleSignatures 64 - blst 10.955 ms/op 12.345 ms/op 0.89
BLS verifyMultipleSignatures 128 - blst 19.833 ms/op 23.708 ms/op 0.84
BLS deserializing 10000 signatures 697.78 ms/op 813.23 ms/op 0.86
BLS deserializing 100000 signatures 6.8931 s/op 7.9370 s/op 0.87
BLS verifyMultipleSignatures - same message - 3 - blst 905.88 us/op 1.1329 ms/op 0.80
BLS verifyMultipleSignatures - same message - 8 - blst 1.0526 ms/op 1.4253 ms/op 0.74
BLS verifyMultipleSignatures - same message - 32 - blst 1.7625 ms/op 2.7781 ms/op 0.63
BLS verifyMultipleSignatures - same message - 64 - blst 2.6878 ms/op 3.1267 ms/op 0.86
BLS verifyMultipleSignatures - same message - 128 - blst 4.2814 ms/op 5.1104 ms/op 0.84
BLS aggregatePubkeys 32 - blst 19.294 us/op 22.293 us/op 0.87
BLS aggregatePubkeys 128 - blst 65.836 us/op 77.276 us/op 0.85
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 73.250 ms/op 122.88 ms/op 0.60
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 57.005 ms/op 99.890 ms/op 0.57
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 33.524 ms/op 63.551 ms/op 0.53
getSlashingsAndExits - default max 94.776 us/op 286.02 us/op 0.33
getSlashingsAndExits - 2k 324.57 us/op 472.56 us/op 0.69
proposeBlockBody type=full, size=empty 5.2363 ms/op 8.3466 ms/op 0.63
isKnown best case - 1 super set check 666.00 ns/op 697.00 ns/op 0.96
isKnown normal case - 2 super set checks 572.00 ns/op 735.00 ns/op 0.78
isKnown worse case - 16 super set checks 550.00 ns/op 749.00 ns/op 0.73
InMemoryCheckpointStateCache - add get delete 5.3540 us/op 7.8930 us/op 0.68
validate api signedAggregateAndProof - struct 2.0247 ms/op 2.0735 ms/op 0.98
validate gossip signedAggregateAndProof - struct 2.0333 ms/op 1.9438 ms/op 1.05
validate gossip attestation - vc 640000 1.0115 ms/op 1.0810 ms/op 0.94
batch validate gossip attestation - vc 640000 - chunk 32 130.15 us/op 193.72 us/op 0.67
batch validate gossip attestation - vc 640000 - chunk 64 114.76 us/op 164.97 us/op 0.70
batch validate gossip attestation - vc 640000 - chunk 128 102.52 us/op 107.41 us/op 0.95
batch validate gossip attestation - vc 640000 - chunk 256 102.30 us/op 111.94 us/op 0.91
pickEth1Vote - no votes 836.43 us/op 1.6890 ms/op 0.50
pickEth1Vote - max votes 6.6587 ms/op 12.957 ms/op 0.51
pickEth1Vote - Eth1Data hashTreeRoot value x2048 9.7804 ms/op 13.690 ms/op 0.71
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 15.707 ms/op 17.351 ms/op 0.91
pickEth1Vote - Eth1Data fastSerialize value x2048 371.99 us/op 530.35 us/op 0.70
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.0344 ms/op 4.9358 ms/op 0.61
bytes32 toHexString 595.00 ns/op 747.00 ns/op 0.80
bytes32 Buffer.toString(hex) 461.00 ns/op 296.00 ns/op 1.56
bytes32 Buffer.toString(hex) from Uint8Array 629.00 ns/op 489.00 ns/op 1.29
bytes32 Buffer.toString(hex) + 0x 458.00 ns/op 345.00 ns/op 1.33
Object access 1 prop 0.35800 ns/op 0.20400 ns/op 1.75
Map access 1 prop 0.32100 ns/op 0.15300 ns/op 2.10
Object get x1000 5.2060 ns/op 6.2270 ns/op 0.84
Map get x1000 5.8340 ns/op 6.6760 ns/op 0.87
Object set x1000 25.830 ns/op 34.810 ns/op 0.74
Map set x1000 20.750 ns/op 26.179 ns/op 0.79
Return object 10000 times 0.30150 ns/op 0.31860 ns/op 0.95
Throw Error 10000 times 2.7680 us/op 3.6624 us/op 0.76
fastMsgIdFn sha256 / 200 bytes 2.0560 us/op 2.3350 us/op 0.88
fastMsgIdFn h32 xxhash / 200 bytes 483.00 ns/op 266.00 ns/op 1.82
fastMsgIdFn h64 xxhash / 200 bytes 443.00 ns/op 280.00 ns/op 1.58
fastMsgIdFn sha256 / 1000 bytes 5.8930 us/op 7.5980 us/op 0.78
fastMsgIdFn h32 xxhash / 1000 bytes 630.00 ns/op 436.00 ns/op 1.44
fastMsgIdFn h64 xxhash / 1000 bytes 558.00 ns/op 346.00 ns/op 1.61
fastMsgIdFn sha256 / 10000 bytes 50.127 us/op 67.781 us/op 0.74
fastMsgIdFn h32 xxhash / 10000 bytes 1.9620 us/op 1.9660 us/op 1.00
fastMsgIdFn h64 xxhash / 10000 bytes 1.3220 us/op 1.2760 us/op 1.04
send data - 1000 256B messages 11.348 ms/op 13.602 ms/op 0.83
send data - 1000 512B messages 15.511 ms/op 17.450 ms/op 0.89
send data - 1000 1024B messages 25.202 ms/op 26.919 ms/op 0.94
send data - 1000 1200B messages 24.559 ms/op 27.268 ms/op 0.90
send data - 1000 2048B messages 31.079 ms/op 33.608 ms/op 0.92
send data - 1000 4096B messages 29.671 ms/op 32.033 ms/op 0.93
send data - 1000 16384B messages 70.311 ms/op 71.852 ms/op 0.98
send data - 1000 65536B messages 264.00 ms/op 222.90 ms/op 1.18
enrSubnets - fastDeserialize 64 bits 1.1430 us/op 1.2050 us/op 0.95
enrSubnets - ssz BitVector 64 bits 514.00 ns/op 443.00 ns/op 1.16
enrSubnets - fastDeserialize 4 bits 370.00 ns/op 163.00 ns/op 2.27
enrSubnets - ssz BitVector 4 bits 609.00 ns/op 378.00 ns/op 1.61
prioritizePeers score -10:0 att 32-0.1 sync 2-0 122.97 us/op 138.45 us/op 0.89
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 142.76 us/op 172.33 us/op 0.83
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 209.27 us/op 252.52 us/op 0.83
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 362.62 us/op 428.32 us/op 0.85
prioritizePeers score 0:0 att 64-1 sync 4-1 442.43 us/op 665.25 us/op 0.67
array of 16000 items push then shift 1.2710 us/op 1.7184 us/op 0.74
LinkedList of 16000 items push then shift 7.5180 ns/op 7.9810 ns/op 0.94
array of 16000 items push then pop 88.224 ns/op 134.73 ns/op 0.65
LinkedList of 16000 items push then pop 6.4660 ns/op 7.5630 ns/op 0.85
array of 24000 items push then shift 1.8187 us/op 2.5288 us/op 0.72
LinkedList of 24000 items push then shift 7.4100 ns/op 8.1540 ns/op 0.91
array of 24000 items push then pop 116.11 ns/op 159.09 ns/op 0.73
LinkedList of 24000 items push then pop 7.0970 ns/op 7.5500 ns/op 0.94
intersect bitArray bitLen 8 5.3010 ns/op 6.9540 ns/op 0.76
intersect array and set length 8 37.942 ns/op 48.031 ns/op 0.79
intersect bitArray bitLen 128 25.816 ns/op 31.169 ns/op 0.83
intersect array and set length 128 573.31 ns/op 719.09 ns/op 0.80
bitArray.getTrueBitIndexes() bitLen 128 1.6350 us/op 1.5080 us/op 1.08
bitArray.getTrueBitIndexes() bitLen 248 2.4680 us/op 2.3810 us/op 1.04
bitArray.getTrueBitIndexes() bitLen 512 4.7140 us/op 4.4990 us/op 1.05
Buffer.concat 32 items 1.0210 us/op 927.00 ns/op 1.10
Uint8Array.set 32 items 1.7700 us/op 2.3460 us/op 0.75
Buffer.copy 2.0990 us/op 2.6120 us/op 0.80
Uint8Array.set - with subarray 2.6540 us/op 3.5330 us/op 0.75
Uint8Array.set - without subarray 1.6900 us/op 1.6490 us/op 1.02
getUint32 - dataview 463.00 ns/op 246.00 ns/op 1.88
getUint32 - manual 403.00 ns/op 153.00 ns/op 2.63
Set add up to 64 items then delete first 1.7652 us/op 2.6976 us/op 0.65
OrderedSet add up to 64 items then delete first 2.7077 us/op 3.9268 us/op 0.69
Set add up to 64 items then delete last 2.0143 us/op 2.8544 us/op 0.71
OrderedSet add up to 64 items then delete last 3.0802 us/op 4.3953 us/op 0.70
Set add up to 64 items then delete middle 2.0412 us/op 2.6803 us/op 0.76
OrderedSet add up to 64 items then delete middle 4.4730 us/op 5.6304 us/op 0.79
Set add up to 128 items then delete first 4.0383 us/op 5.4240 us/op 0.74
OrderedSet add up to 128 items then delete first 6.2749 us/op 8.7561 us/op 0.72
Set add up to 128 items then delete last 3.8905 us/op 5.1637 us/op 0.75
OrderedSet add up to 128 items then delete last 5.8979 us/op 7.5276 us/op 0.78
Set add up to 128 items then delete middle 3.8835 us/op 4.9946 us/op 0.78
OrderedSet add up to 128 items then delete middle 11.822 us/op 13.888 us/op 0.85
Set add up to 256 items then delete first 7.9176 us/op 10.642 us/op 0.74
OrderedSet add up to 256 items then delete first 12.368 us/op 16.706 us/op 0.74
Set add up to 256 items then delete last 7.3730 us/op 10.096 us/op 0.73
OrderedSet add up to 256 items then delete last 11.466 us/op 14.989 us/op 0.76
Set add up to 256 items then delete middle 7.3095 us/op 9.8268 us/op 0.74
OrderedSet add up to 256 items then delete middle 33.905 us/op 45.005 us/op 0.75
transfer serialized Status (84 B) 1.4400 us/op 1.4390 us/op 1.00
copy serialized Status (84 B) 1.1790 us/op 1.2460 us/op 0.95
transfer serialized SignedVoluntaryExit (112 B) 1.5400 us/op 1.5370 us/op 1.00
copy serialized SignedVoluntaryExit (112 B) 1.3620 us/op 1.3510 us/op 1.01
transfer serialized ProposerSlashing (416 B) 1.9140 us/op 1.8930 us/op 1.01
copy serialized ProposerSlashing (416 B) 2.2110 us/op 1.7350 us/op 1.27
transfer serialized Attestation (485 B) 2.2120 us/op 1.8210 us/op 1.21
copy serialized Attestation (485 B) 2.1340 us/op 1.6790 us/op 1.27
transfer serialized AttesterSlashing (33232 B) 2.3370 us/op 1.8770 us/op 1.25
copy serialized AttesterSlashing (33232 B) 4.7600 us/op 5.0670 us/op 0.94
transfer serialized Small SignedBeaconBlock (128000 B) 2.6750 us/op 2.5550 us/op 1.05
copy serialized Small SignedBeaconBlock (128000 B) 10.339 us/op 16.205 us/op 0.64
transfer serialized Avg SignedBeaconBlock (200000 B) 2.9630 us/op 3.0820 us/op 0.96
copy serialized Avg SignedBeaconBlock (200000 B) 13.513 us/op 22.685 us/op 0.60
transfer serialized BlobsSidecar (524380 B) 3.5720 us/op 3.4190 us/op 1.04
copy serialized BlobsSidecar (524380 B) 116.03 us/op 118.91 us/op 0.98
transfer serialized Big SignedBeaconBlock (1000000 B) 3.6220 us/op 3.3620 us/op 1.08
copy serialized Big SignedBeaconBlock (1000000 B) 141.77 us/op 253.89 us/op 0.56
pass gossip attestations to forkchoice per slot 2.7999 ms/op 3.4067 ms/op 0.82
forkChoice updateHead vc 100000 bc 64 eq 0 418.12 us/op 523.84 us/op 0.80
forkChoice updateHead vc 600000 bc 64 eq 0 2.5217 ms/op 3.4013 ms/op 0.74
forkChoice updateHead vc 1000000 bc 64 eq 0 4.2349 ms/op 5.6709 ms/op 0.75
forkChoice updateHead vc 600000 bc 320 eq 0 2.4817 ms/op 3.2368 ms/op 0.77
forkChoice updateHead vc 600000 bc 1200 eq 0 2.5236 ms/op 3.1462 ms/op 0.80
forkChoice updateHead vc 600000 bc 7200 eq 0 2.9169 ms/op 3.7370 ms/op 0.78
forkChoice updateHead vc 600000 bc 64 eq 1000 9.7624 ms/op 10.976 ms/op 0.89
forkChoice updateHead vc 600000 bc 64 eq 10000 9.6879 ms/op 11.055 ms/op 0.88
forkChoice updateHead vc 600000 bc 64 eq 300000 12.099 ms/op 15.813 ms/op 0.77
computeDeltas 500000 validators 300 proto nodes 3.0711 ms/op 3.6340 ms/op 0.85
computeDeltas 500000 validators 1200 proto nodes 3.1010 ms/op 3.6921 ms/op 0.84
computeDeltas 500000 validators 7200 proto nodes 3.1267 ms/op 3.6839 ms/op 0.85
computeDeltas 750000 validators 300 proto nodes 4.6754 ms/op 5.4012 ms/op 0.87
computeDeltas 750000 validators 1200 proto nodes 4.6350 ms/op 5.6017 ms/op 0.83
computeDeltas 750000 validators 7200 proto nodes 4.5896 ms/op 5.8292 ms/op 0.79
computeDeltas 1400000 validators 300 proto nodes 8.2600 ms/op 10.814 ms/op 0.76
computeDeltas 1400000 validators 1200 proto nodes 8.4233 ms/op 10.237 ms/op 0.82
computeDeltas 1400000 validators 7200 proto nodes 8.5934 ms/op 10.699 ms/op 0.80
computeDeltas 2100000 validators 300 proto nodes 12.589 ms/op 16.056 ms/op 0.78
computeDeltas 2100000 validators 1200 proto nodes 12.453 ms/op 15.750 ms/op 0.79
computeDeltas 2100000 validators 7200 proto nodes 12.751 ms/op 15.144 ms/op 0.84
altair processAttestation - 250000 vs - 7PWei normalcase 2.0715 ms/op 1.7209 ms/op 1.20
altair processAttestation - 250000 vs - 7PWei worstcase 2.9983 ms/op 2.5452 ms/op 1.18
altair processAttestation - setStatus - 1/6 committees join 88.935 us/op 90.911 us/op 0.98
altair processAttestation - setStatus - 1/3 committees join 182.33 us/op 182.06 us/op 1.00
altair processAttestation - setStatus - 1/2 committees join 259.66 us/op 251.45 us/op 1.03
altair processAttestation - setStatus - 2/3 committees join 362.03 us/op 331.23 us/op 1.09
altair processAttestation - setStatus - 4/5 committees join 518.25 us/op 473.41 us/op 1.09
altair processAttestation - setStatus - 100% committees join 588.70 us/op 574.80 us/op 1.02
altair processBlock - 250000 vs - 7PWei normalcase 4.0176 ms/op 4.8832 ms/op 0.82
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.457 ms/op 26.501 ms/op 1.04
altair processBlock - 250000 vs - 7PWei worstcase 34.516 ms/op 36.161 ms/op 0.95
altair processBlock - 250000 vs - 7PWei worstcase hashState 83.958 ms/op 76.247 ms/op 1.10
phase0 processBlock - 250000 vs - 7PWei normalcase 1.6740 ms/op 1.8021 ms/op 0.93
phase0 processBlock - 250000 vs - 7PWei worstcase 22.282 ms/op 21.843 ms/op 1.02
altair processEth1Data - 250000 vs - 7PWei normalcase 259.78 us/op 311.61 us/op 0.83
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 4.9970 us/op 5.9490 us/op 0.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 20.315 us/op 24.554 us/op 0.83
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 8.3950 us/op 9.4440 us/op 0.89
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.1510 us/op 7.5430 us/op 0.68
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 79.243 us/op 114.59 us/op 0.69
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 758.95 us/op 672.05 us/op 1.13
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.0575 ms/op 920.61 us/op 1.15
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.0850 ms/op 909.18 us/op 1.19
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.1633 ms/op 2.5973 ms/op 0.83
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.2484 ms/op 1.6414 ms/op 0.76
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.4281 ms/op 4.0463 ms/op 0.85
Tree 40 250000 create 205.26 ms/op 241.98 ms/op 0.85
Tree 40 250000 get(125000) 118.28 ns/op 148.85 ns/op 0.79
Tree 40 250000 set(125000) 555.47 ns/op 712.83 ns/op 0.78
Tree 40 250000 toArray() 9.8627 ms/op 17.815 ms/op 0.55
Tree 40 250000 iterate all - toArray() + loop 10.157 ms/op 17.319 ms/op 0.59
Tree 40 250000 iterate all - get(i) 46.436 ms/op 54.921 ms/op 0.85
MutableVector 250000 create 9.9129 ms/op 10.391 ms/op 0.95
MutableVector 250000 get(125000) 5.8910 ns/op 6.6720 ns/op 0.88
MutableVector 250000 set(125000) 199.89 ns/op 235.59 ns/op 0.85
MutableVector 250000 toArray() 3.6061 ms/op 4.0134 ms/op 0.90
MutableVector 250000 iterate all - toArray() + loop 3.8684 ms/op 4.6702 ms/op 0.83
MutableVector 250000 iterate all - get(i) 1.5804 ms/op 1.6108 ms/op 0.98
Array 250000 create 3.3278 ms/op 3.7800 ms/op 0.88
Array 250000 clone - spread 1.2614 ms/op 1.6469 ms/op 0.77
Array 250000 get(125000) 0.58500 ns/op 0.45100 ns/op 1.30
Array 250000 set(125000) 0.60100 ns/op 0.47900 ns/op 1.25
Array 250000 iterate all - loop 78.097 us/op 114.79 us/op 0.68
effectiveBalanceIncrements clone Uint8Array 300000 13.638 us/op 41.478 us/op 0.33
effectiveBalanceIncrements clone MutableVector 300000 317.00 ns/op 137.00 ns/op 2.31
effectiveBalanceIncrements rw all Uint8Array 300000 171.10 us/op 205.33 us/op 0.83
effectiveBalanceIncrements rw all MutableVector 300000 61.020 ms/op 72.173 ms/op 0.85
phase0 afterProcessEpoch - 250000 vs - 7PWei 78.052 ms/op 91.654 ms/op 0.85
Array.fill - length 1000000 3.4771 ms/op 4.0533 ms/op 0.86
Array push - length 1000000 19.853 ms/op 19.908 ms/op 1.00
Array.get 0.26128 ns/op 0.33859 ns/op 0.77
Uint8Array.get 0.33897 ns/op 0.46734 ns/op 0.73
phase0 beforeProcessEpoch - 250000 vs - 7PWei 23.011 ms/op 27.898 ms/op 0.82
altair processEpoch - mainnet_e81889 271.99 ms/op 355.18 ms/op 0.77
mainnet_e81889 - altair beforeProcessEpoch 31.432 ms/op 37.010 ms/op 0.85
mainnet_e81889 - altair processJustificationAndFinalization 10.485 us/op 14.536 us/op 0.72
mainnet_e81889 - altair processInactivityUpdates 5.6809 ms/op 6.8274 ms/op 0.83
mainnet_e81889 - altair processRewardsAndPenalties 49.868 ms/op 52.317 ms/op 0.95
mainnet_e81889 - altair processRegistryUpdates 2.0340 us/op 2.6740 us/op 0.76
mainnet_e81889 - altair processSlashings 487.00 ns/op 453.00 ns/op 1.08
mainnet_e81889 - altair processEth1DataReset 543.00 ns/op 617.00 ns/op 0.88
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3447 ms/op 1.5967 ms/op 0.84
mainnet_e81889 - altair processSlashingsReset 2.2560 us/op 5.7910 us/op 0.39
mainnet_e81889 - altair processRandaoMixesReset 2.9670 us/op 7.8940 us/op 0.38
mainnet_e81889 - altair processHistoricalRootsUpdate 633.00 ns/op 1.6590 us/op 0.38
mainnet_e81889 - altair processParticipationFlagUpdates 1.4640 us/op 3.6180 us/op 0.40
mainnet_e81889 - altair processSyncCommitteeUpdates 620.00 ns/op 566.00 ns/op 1.10
mainnet_e81889 - altair afterProcessEpoch 81.776 ms/op 101.43 ms/op 0.81
capella processEpoch - mainnet_e217614 1.2506 s/op 1.2667 s/op 0.99
mainnet_e217614 - capella beforeProcessEpoch 115.49 ms/op 115.47 ms/op 1.00
mainnet_e217614 - capella processJustificationAndFinalization 13.753 us/op 19.218 us/op 0.72
mainnet_e217614 - capella processInactivityUpdates 16.475 ms/op 17.646 ms/op 0.93
mainnet_e217614 - capella processRewardsAndPenalties 262.81 ms/op 241.63 ms/op 1.09
mainnet_e217614 - capella processRegistryUpdates 12.030 us/op 16.770 us/op 0.72
mainnet_e217614 - capella processSlashings 835.00 ns/op 421.00 ns/op 1.98
mainnet_e217614 - capella processEth1DataReset 672.00 ns/op 318.00 ns/op 2.11
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.8468 ms/op 13.204 ms/op 0.29
mainnet_e217614 - capella processSlashingsReset 1.4940 us/op 4.6400 us/op 0.32
mainnet_e217614 - capella processRandaoMixesReset 3.5890 us/op 4.8460 us/op 0.74
mainnet_e217614 - capella processHistoricalRootsUpdate 767.00 ns/op 611.00 ns/op 1.26
mainnet_e217614 - capella processParticipationFlagUpdates 1.5300 us/op 3.1080 us/op 0.49
mainnet_e217614 - capella afterProcessEpoch 249.35 ms/op 279.92 ms/op 0.89
phase0 processEpoch - mainnet_e58758 446.43 ms/op 440.71 ms/op 1.01
mainnet_e58758 - phase0 beforeProcessEpoch 103.18 ms/op 87.468 ms/op 1.18
mainnet_e58758 - phase0 processJustificationAndFinalization 16.925 us/op 19.018 us/op 0.89
mainnet_e58758 - phase0 processRewardsAndPenalties 25.667 ms/op 38.159 ms/op 0.67
mainnet_e58758 - phase0 processRegistryUpdates 7.7190 us/op 11.107 us/op 0.69
mainnet_e58758 - phase0 processSlashings 816.00 ns/op 691.00 ns/op 1.18
mainnet_e58758 - phase0 processEth1DataReset 779.00 ns/op 550.00 ns/op 1.42
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 966.26 us/op 1.3344 ms/op 0.72
mainnet_e58758 - phase0 processSlashingsReset 8.7920 us/op 3.4420 us/op 2.55
mainnet_e58758 - phase0 processRandaoMixesReset 5.8880 us/op 7.9130 us/op 0.74
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.0450 us/op 412.00 ns/op 2.54
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.1620 us/op 3.8680 us/op 1.08
mainnet_e58758 - phase0 afterProcessEpoch 74.920 ms/op 84.980 ms/op 0.88
phase0 processEffectiveBalanceUpdates - 250000 normalcase 857.85 us/op 1.3125 ms/op 0.65
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.6724 ms/op 1.6195 ms/op 1.03
altair processInactivityUpdates - 250000 normalcase 19.755 ms/op 17.557 ms/op 1.13
altair processInactivityUpdates - 250000 worstcase 18.410 ms/op 17.045 ms/op 1.08
phase0 processRegistryUpdates - 250000 normalcase 8.1200 us/op 8.7690 us/op 0.93
phase0 processRegistryUpdates - 250000 badcase_full_deposits 317.69 us/op 291.96 us/op 1.09
phase0 processRegistryUpdates - 250000 worstcase 0.5 121.32 ms/op 130.06 ms/op 0.93
altair processRewardsAndPenalties - 250000 normalcase 48.682 ms/op 45.421 ms/op 1.07
altair processRewardsAndPenalties - 250000 worstcase 45.438 ms/op 45.994 ms/op 0.99
phase0 getAttestationDeltas - 250000 normalcase 6.4156 ms/op 8.1377 ms/op 0.79
phase0 getAttestationDeltas - 250000 worstcase 5.9942 ms/op 8.4377 ms/op 0.71
phase0 processSlashings - 250000 worstcase 91.376 us/op 121.63 us/op 0.75
altair processSyncCommitteeUpdates - 250000 104.84 ms/op 127.49 ms/op 0.82
BeaconState.hashTreeRoot - No change 481.00 ns/op 396.00 ns/op 1.21
BeaconState.hashTreeRoot - 1 full validator 95.203 us/op 142.10 us/op 0.67
BeaconState.hashTreeRoot - 32 full validator 1.3966 ms/op 1.1214 ms/op 1.25
BeaconState.hashTreeRoot - 512 full validator 12.045 ms/op 12.614 ms/op 0.95
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 167.87 us/op 145.65 us/op 1.15
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.0435 ms/op 1.6801 ms/op 1.22
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 19.105 ms/op 22.969 ms/op 0.83
BeaconState.hashTreeRoot - 1 balances 102.38 us/op 103.86 us/op 0.99
BeaconState.hashTreeRoot - 32 balances 1.0405 ms/op 1.3388 ms/op 0.78
BeaconState.hashTreeRoot - 512 balances 8.4568 ms/op 10.356 ms/op 0.82
BeaconState.hashTreeRoot - 250000 balances 160.01 ms/op 208.00 ms/op 0.77
aggregationBits - 2048 els - zipIndexesInBitList 23.056 us/op 29.158 us/op 0.79
byteArrayEquals 32 48.588 ns/op 58.660 ns/op 0.83
Buffer.compare 32 15.443 ns/op 17.981 ns/op 0.86
byteArrayEquals 1024 1.2758 us/op 1.6505 us/op 0.77
Buffer.compare 1024 24.672 ns/op 29.851 ns/op 0.83
byteArrayEquals 16384 20.331 us/op 26.282 us/op 0.77
Buffer.compare 16384 156.83 ns/op 212.29 ns/op 0.74
byteArrayEquals 123687377 154.59 ms/op 200.50 ms/op 0.77
Buffer.compare 123687377 6.2462 ms/op 7.7681 ms/op 0.80
byteArrayEquals 32 - diff last byte 47.192 ns/op 55.127 ns/op 0.86
Buffer.compare 32 - diff last byte 15.318 ns/op 17.799 ns/op 0.86
byteArrayEquals 1024 - diff last byte 1.2710 us/op 1.6281 us/op 0.78
Buffer.compare 1024 - diff last byte 22.315 ns/op 26.560 ns/op 0.84
byteArrayEquals 16384 - diff last byte 20.355 us/op 26.780 us/op 0.76
Buffer.compare 16384 - diff last byte 207.44 ns/op 183.71 ns/op 1.13
byteArrayEquals 123687377 - diff last byte 151.80 ms/op 197.34 ms/op 0.77
Buffer.compare 123687377 - diff last byte 6.1080 ms/op 6.9666 ms/op 0.88
byteArrayEquals 32 - random bytes 4.8550 ns/op 5.3850 ns/op 0.90
Buffer.compare 32 - random bytes 15.836 ns/op 18.019 ns/op 0.88
byteArrayEquals 1024 - random bytes 5.2410 ns/op 5.4130 ns/op 0.97
Buffer.compare 1024 - random bytes 15.586 ns/op 18.003 ns/op 0.87
byteArrayEquals 16384 - random bytes 4.9030 ns/op 5.3720 ns/op 0.91
Buffer.compare 16384 - random bytes 15.095 ns/op 18.033 ns/op 0.84
byteArrayEquals 123687377 - random bytes 7.7900 ns/op 6.9000 ns/op 1.13
Buffer.compare 123687377 - random bytes 18.680 ns/op 19.700 ns/op 0.95
regular array get 100000 times 31.192 us/op 34.358 us/op 0.91
wrappedArray get 100000 times 31.411 us/op 37.587 us/op 0.84
arrayWithProxy get 100000 times 10.168 ms/op 13.795 ms/op 0.74
ssz.Root.equals 45.069 ns/op 47.906 ns/op 0.94
byteArrayEquals 42.286 ns/op 47.441 ns/op 0.89
Buffer.compare 8.8160 ns/op 10.934 ns/op 0.81
shuffle list - 16384 els 5.8109 ms/op 6.8061 ms/op 0.85
shuffle list - 250000 els 86.809 ms/op 98.029 ms/op 0.89
processSlot - 1 slots 11.437 us/op 14.363 us/op 0.80
processSlot - 32 slots 2.3819 ms/op 2.3286 ms/op 1.02
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 39.739 ms/op 35.666 ms/op 1.11
getCommitteeAssignments - req 1 vs - 250000 vc 1.8204 ms/op 2.1927 ms/op 0.83
getCommitteeAssignments - req 100 vs - 250000 vc 3.6456 ms/op 4.2202 ms/op 0.86
getCommitteeAssignments - req 1000 vs - 250000 vc 3.9143 ms/op 4.5661 ms/op 0.86
findModifiedValidators - 10000 modified validators 292.57 ms/op 286.48 ms/op 1.02
findModifiedValidators - 1000 modified validators 177.12 ms/op 220.30 ms/op 0.80
findModifiedValidators - 100 modified validators 167.36 ms/op 168.88 ms/op 0.99
findModifiedValidators - 10 modified validators 173.50 ms/op 147.75 ms/op 1.17
findModifiedValidators - 1 modified validators 170.81 ms/op 151.97 ms/op 1.12
findModifiedValidators - no difference 166.54 ms/op 153.75 ms/op 1.08
compare ViewDUs 3.2998 s/op 3.0049 s/op 1.10
compare each validator Uint8Array 1.8456 s/op 1.4679 s/op 1.26
compare ViewDU to Uint8Array 977.67 ms/op 1.0120 s/op 0.97
migrate state 1000000 validators, 24 modified, 0 new 607.69 ms/op 548.00 ms/op 1.11
migrate state 1000000 validators, 1700 modified, 1000 new 806.59 ms/op 875.79 ms/op 0.92
migrate state 1000000 validators, 3400 modified, 2000 new 966.33 ms/op 1.0130 s/op 0.95
migrate state 1500000 validators, 24 modified, 0 new 581.86 ms/op 613.92 ms/op 0.95
migrate state 1500000 validators, 1700 modified, 1000 new 850.11 ms/op 834.27 ms/op 1.02
migrate state 1500000 validators, 3400 modified, 2000 new 1.1064 s/op 1.0217 s/op 1.08
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 6.5500 ns/op 4.7200 ns/op 1.39
state getBlockRootAtSlot - 250000 vs - 7PWei 408.68 ns/op 921.67 ns/op 0.44
computeProposers - vc 250000 7.7026 ms/op 8.0686 ms/op 0.95
computeEpochShuffling - vc 250000 85.134 ms/op 95.566 ms/op 0.89
getNextSyncCommittee - vc 250000 102.87 ms/op 125.97 ms/op 0.82
computeSigningRoot for AttestationData 24.873 us/op 19.915 us/op 1.25
hash AttestationData serialized data then Buffer.toString(base64) 1.2199 us/op 1.6201 us/op 0.75
toHexString serialized data 788.69 ns/op 913.52 ns/op 0.86
Buffer.toString(base64) 134.07 ns/op 200.49 ns/op 0.67

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 42af692 into unstable Jul 31, 2024
20 checks passed
@wemeetagain wemeetagain deleted the nflaig/fix-ref-faq branch July 31, 2024 14:59
@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.

2 participants