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: several typos from bots #7228

Merged
merged 1 commit into from
Nov 17, 2024
Merged

chore: several typos from bots #7228

merged 1 commit into from
Nov 17, 2024

Conversation

ensi321
Copy link
Contributor

@ensi321 ensi321 commented Nov 17, 2024

To combat farming PRs, this PR consolidates the low-effort changes from #7224 and #7227

@ensi321 ensi321 requested a review from a team as a code owner November 17, 2024 05:14
@nflaig nflaig changed the title fix: several typos from bots chore: several typos from bots Nov 17, 2024
@nflaig nflaig enabled auto-merge November 17, 2024 05:20
Copy link

codecov bot commented Nov 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.07%. Comparing base (6039f58) to head (1fae968).
Report is 2 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #7228      +/-   ##
============================================
- Coverage     49.08%   49.07%   -0.01%     
============================================
  Files           600      600              
  Lines         40241    40241              
  Branches       2110     2107       -3     
============================================
- Hits          19753    19750       -3     
- Misses        20450    20453       +3     
  Partials         38       38              

@nflaig nflaig merged commit 25c2ee5 into unstable Nov 17, 2024
21 checks passed
@nflaig nflaig deleted the nc/anti-farming branch November 17, 2024 05:33
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 9064bfe Previous: 6039f58 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.8301 ms/op 2.0322 ms/op 0.90
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 48.155 us/op 74.553 us/op 0.65
BLS verify - blst 772.56 us/op 871.88 us/op 0.89
BLS verifyMultipleSignatures 3 - blst 1.1425 ms/op 1.3895 ms/op 0.82
BLS verifyMultipleSignatures 8 - blst 1.6177 ms/op 2.0193 ms/op 0.80
BLS verifyMultipleSignatures 32 - blst 4.7206 ms/op 5.4997 ms/op 0.86
BLS verifyMultipleSignatures 64 - blst 8.7752 ms/op 10.292 ms/op 0.85
BLS verifyMultipleSignatures 128 - blst 16.757 ms/op 18.251 ms/op 0.92
BLS deserializing 10000 signatures 664.44 ms/op 679.14 ms/op 0.98
BLS deserializing 100000 signatures 6.6066 s/op 6.7733 s/op 0.98
BLS verifyMultipleSignatures - same message - 3 - blst 868.83 us/op 918.12 us/op 0.95
BLS verifyMultipleSignatures - same message - 8 - blst 962.29 us/op 1.1374 ms/op 0.85
BLS verifyMultipleSignatures - same message - 32 - blst 1.6495 ms/op 1.7430 ms/op 0.95
BLS verifyMultipleSignatures - same message - 64 - blst 2.5422 ms/op 2.5963 ms/op 0.98
BLS verifyMultipleSignatures - same message - 128 - blst 4.2750 ms/op 4.2826 ms/op 1.00
BLS aggregatePubkeys 32 - blst 19.005 us/op 19.961 us/op 0.95
BLS aggregatePubkeys 128 - blst 65.287 us/op 68.731 us/op 0.95
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 50.360 ms/op 80.785 ms/op 0.62
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 47.282 ms/op 58.471 ms/op 0.81
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 37.978 ms/op 59.204 ms/op 0.64
getSlashingsAndExits - default max 88.475 us/op 102.86 us/op 0.86
getSlashingsAndExits - 2k 242.30 us/op 290.42 us/op 0.83
proposeBlockBody type=full, size=empty 5.6638 ms/op 4.8130 ms/op 1.18
isKnown best case - 1 super set check 280.00 ns/op 551.00 ns/op 0.51
isKnown normal case - 2 super set checks 263.00 ns/op 670.00 ns/op 0.39
isKnown worse case - 16 super set checks 262.00 ns/op 735.00 ns/op 0.36
InMemoryCheckpointStateCache - add get delete 2.5970 us/op 3.4910 us/op 0.74
updateUnfinalizedPubkeys - updating 10 pubkeys 835.48 us/op 745.47 us/op 1.12
updateUnfinalizedPubkeys - updating 100 pubkeys 3.5140 ms/op 2.8048 ms/op 1.25
updateUnfinalizedPubkeys - updating 1000 pubkeys 48.675 ms/op 39.785 ms/op 1.22
validate api signedAggregateAndProof - struct 1.3486 ms/op 1.5782 ms/op 0.85
validate gossip signedAggregateAndProof - struct 1.3316 ms/op 1.8413 ms/op 0.72
batch validate gossip attestation - vc 640000 - chunk 32 120.81 us/op 119.33 us/op 1.01
batch validate gossip attestation - vc 640000 - chunk 64 106.82 us/op 109.50 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 128 101.51 us/op 105.07 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 256 98.395 us/op 99.993 us/op 0.98
pickEth1Vote - no votes 986.42 us/op 842.66 us/op 1.17
pickEth1Vote - max votes 5.9382 ms/op 4.5310 ms/op 1.31
pickEth1Vote - Eth1Data hashTreeRoot value x2048 13.680 ms/op 9.6509 ms/op 1.42
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.322 ms/op 16.929 ms/op 1.14
pickEth1Vote - Eth1Data fastSerialize value x2048 431.32 us/op 370.66 us/op 1.16
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.0851 ms/op 1.9875 ms/op 1.55
bytes32 toHexString 410.00 ns/op 578.00 ns/op 0.71
bytes32 Buffer.toString(hex) 243.00 ns/op 446.00 ns/op 0.54
bytes32 Buffer.toString(hex) from Uint8Array 350.00 ns/op 558.00 ns/op 0.63
bytes32 Buffer.toString(hex) + 0x 244.00 ns/op 467.00 ns/op 0.52
Object access 1 prop 0.12900 ns/op 0.37600 ns/op 0.34
Map access 1 prop 0.12500 ns/op 0.31900 ns/op 0.39
Object get x1000 5.5720 ns/op 4.9550 ns/op 1.12
Map get x1000 6.2380 ns/op 5.8050 ns/op 1.07
Object set x1000 30.490 ns/op 27.098 ns/op 1.13
Map set x1000 21.234 ns/op 21.850 ns/op 0.97
Return object 10000 times 0.27860 ns/op 0.30030 ns/op 0.93
Throw Error 10000 times 3.2796 us/op 2.7557 us/op 1.19
toHex 140.77 ns/op 115.32 ns/op 1.22
Buffer.from 136.57 ns/op 99.577 ns/op 1.37
shared Buffer 86.992 ns/op 71.208 ns/op 1.22
fastMsgIdFn sha256 / 200 bytes 2.1760 us/op 2.0160 us/op 1.08
fastMsgIdFn h32 xxhash / 200 bytes 233.00 ns/op 466.00 ns/op 0.50
fastMsgIdFn h64 xxhash / 200 bytes 256.00 ns/op 452.00 ns/op 0.57
fastMsgIdFn sha256 / 1000 bytes 6.9850 us/op 5.9080 us/op 1.18
fastMsgIdFn h32 xxhash / 1000 bytes 347.00 ns/op 589.00 ns/op 0.59
fastMsgIdFn h64 xxhash / 1000 bytes 332.00 ns/op 530.00 ns/op 0.63
fastMsgIdFn sha256 / 10000 bytes 62.156 us/op 48.895 us/op 1.27
fastMsgIdFn h32 xxhash / 10000 bytes 1.7430 us/op 1.9540 us/op 0.89
fastMsgIdFn h64 xxhash / 10000 bytes 1.1470 us/op 1.3240 us/op 0.87
send data - 1000 256B messages 10.930 ms/op 11.207 ms/op 0.98
send data - 1000 512B messages 15.023 ms/op 13.909 ms/op 1.08
send data - 1000 1024B messages 23.627 ms/op 20.668 ms/op 1.14
send data - 1000 1200B messages 24.690 ms/op 23.517 ms/op 1.05
send data - 1000 2048B messages 31.243 ms/op 31.751 ms/op 0.98
send data - 1000 4096B messages 29.788 ms/op 28.884 ms/op 1.03
send data - 1000 16384B messages 68.587 ms/op 61.593 ms/op 1.11
send data - 1000 65536B messages 222.70 ms/op 241.65 ms/op 0.92
enrSubnets - fastDeserialize 64 bits 1.0650 us/op 1.1300 us/op 0.94
enrSubnets - ssz BitVector 64 bits 338.00 ns/op 548.00 ns/op 0.62
enrSubnets - fastDeserialize 4 bits 137.00 ns/op 344.00 ns/op 0.40
enrSubnets - ssz BitVector 4 bits 338.00 ns/op 528.00 ns/op 0.64
prioritizePeers score -10:0 att 32-0.1 sync 2-0 142.27 us/op 120.76 us/op 1.18
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 155.54 us/op 229.00 us/op 0.68
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 252.37 us/op 259.45 us/op 0.97
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 385.66 us/op 479.40 us/op 0.80
prioritizePeers score 0:0 att 64-1 sync 4-1 585.26 us/op 600.38 us/op 0.97
array of 16000 items push then shift 1.5772 us/op 1.2219 us/op 1.29
LinkedList of 16000 items push then shift 6.8300 ns/op 7.2570 ns/op 0.94
array of 16000 items push then pop 100.36 ns/op 83.944 ns/op 1.20
LinkedList of 16000 items push then pop 6.7550 ns/op 6.2050 ns/op 1.09
array of 24000 items push then shift 2.3378 us/op 1.7807 us/op 1.31
LinkedList of 24000 items push then shift 6.8530 ns/op 6.9180 ns/op 0.99
array of 24000 items push then pop 130.41 ns/op 113.36 ns/op 1.15
LinkedList of 24000 items push then pop 6.7320 ns/op 6.1070 ns/op 1.10
intersect bitArray bitLen 8 6.1710 ns/op 5.1100 ns/op 1.21
intersect array and set length 8 45.527 ns/op 39.259 ns/op 1.16
intersect bitArray bitLen 128 28.856 ns/op 25.629 ns/op 1.13
intersect array and set length 128 657.80 ns/op 575.40 ns/op 1.14
bitArray.getTrueBitIndexes() bitLen 128 1.7320 us/op 2.3560 us/op 0.74
bitArray.getTrueBitIndexes() bitLen 248 2.5660 us/op 3.4550 us/op 0.74
bitArray.getTrueBitIndexes() bitLen 512 6.0490 us/op 7.8130 us/op 0.77
Buffer.concat 32 items 846.00 ns/op 1.0190 us/op 0.83
Uint8Array.set 32 items 1.4380 us/op 1.4960 us/op 0.96
Buffer.copy 2.5230 us/op 1.5450 us/op 1.63
Uint8Array.set - with subarray 3.2680 us/op 1.9350 us/op 1.69
Uint8Array.set - without subarray 1.4480 us/op 1.3550 us/op 1.07
getUint32 - dataview 234.00 ns/op 425.00 ns/op 0.55
getUint32 - manual 155.00 ns/op 405.00 ns/op 0.38
Set add up to 64 items then delete first 2.1826 us/op 1.7676 us/op 1.23
OrderedSet add up to 64 items then delete first 3.3581 us/op 2.6978 us/op 1.24
Set add up to 64 items then delete last 2.4693 us/op 1.9714 us/op 1.25
OrderedSet add up to 64 items then delete last 3.5922 us/op 2.9720 us/op 1.21
Set add up to 64 items then delete middle 2.4627 us/op 1.9942 us/op 1.23
OrderedSet add up to 64 items then delete middle 5.0763 us/op 4.4011 us/op 1.15
Set add up to 128 items then delete first 4.9282 us/op 3.8686 us/op 1.27
OrderedSet add up to 128 items then delete first 7.7615 us/op 6.1015 us/op 1.27
Set add up to 128 items then delete last 4.7975 us/op 3.8589 us/op 1.24
OrderedSet add up to 128 items then delete last 7.1700 us/op 5.8052 us/op 1.24
Set add up to 128 items then delete middle 4.7326 us/op 3.8293 us/op 1.24
OrderedSet add up to 128 items then delete middle 13.296 us/op 11.920 us/op 1.12
Set add up to 256 items then delete first 9.9807 us/op 8.0065 us/op 1.25
OrderedSet add up to 256 items then delete first 15.757 us/op 12.942 us/op 1.22
Set add up to 256 items then delete last 9.4697 us/op 8.8965 us/op 1.06
OrderedSet add up to 256 items then delete last 14.441 us/op 12.188 us/op 1.18
Set add up to 256 items then delete middle 9.3657 us/op 8.2212 us/op 1.14
OrderedSet add up to 256 items then delete middle 39.740 us/op 37.623 us/op 1.06
transfer serialized Status (84 B) 1.3660 us/op 1.4570 us/op 0.94
copy serialized Status (84 B) 1.0950 us/op 1.3460 us/op 0.81
transfer serialized SignedVoluntaryExit (112 B) 1.5220 us/op 1.8320 us/op 0.83
copy serialized SignedVoluntaryExit (112 B) 1.2090 us/op 1.5240 us/op 0.79
transfer serialized ProposerSlashing (416 B) 1.7700 us/op 2.5570 us/op 0.69
copy serialized ProposerSlashing (416 B) 1.4620 us/op 2.6470 us/op 0.55
transfer serialized Attestation (485 B) 1.9580 us/op 2.2240 us/op 0.88
copy serialized Attestation (485 B) 1.5770 us/op 2.0730 us/op 0.76
transfer serialized AttesterSlashing (33232 B) 2.4700 us/op 1.9910 us/op 1.24
copy serialized AttesterSlashing (33232 B) 5.4440 us/op 4.5680 us/op 1.19
transfer serialized Small SignedBeaconBlock (128000 B) 3.6050 us/op 2.3640 us/op 1.52
copy serialized Small SignedBeaconBlock (128000 B) 15.413 us/op 9.6360 us/op 1.60
transfer serialized Avg SignedBeaconBlock (200000 B) 3.6850 us/op 2.7460 us/op 1.34
copy serialized Avg SignedBeaconBlock (200000 B) 21.822 us/op 13.047 us/op 1.67
transfer serialized BlobsSidecar (524380 B) 2.9850 us/op 2.7390 us/op 1.09
copy serialized BlobsSidecar (524380 B) 102.97 us/op 128.50 us/op 0.80
transfer serialized Big SignedBeaconBlock (1000000 B) 2.6480 us/op 3.3840 us/op 0.78
copy serialized Big SignedBeaconBlock (1000000 B) 153.17 us/op 196.18 us/op 0.78
pass gossip attestations to forkchoice per slot 2.9947 ms/op 2.4055 ms/op 1.24
forkChoice updateHead vc 100000 bc 64 eq 0 436.81 us/op 501.28 us/op 0.87
forkChoice updateHead vc 600000 bc 64 eq 0 3.0994 ms/op 2.2204 ms/op 1.40
forkChoice updateHead vc 1000000 bc 64 eq 0 4.5657 ms/op 3.8778 ms/op 1.18
forkChoice updateHead vc 600000 bc 320 eq 0 2.7129 ms/op 2.2500 ms/op 1.21
forkChoice updateHead vc 600000 bc 1200 eq 0 2.6684 ms/op 2.3507 ms/op 1.14
forkChoice updateHead vc 600000 bc 7200 eq 0 3.1947 ms/op 2.8047 ms/op 1.14
forkChoice updateHead vc 600000 bc 64 eq 1000 10.090 ms/op 9.2533 ms/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 10000 10.031 ms/op 9.2613 ms/op 1.08
forkChoice updateHead vc 600000 bc 64 eq 300000 13.884 ms/op 11.704 ms/op 1.19
computeDeltas 500000 validators 300 proto nodes 3.9036 ms/op 3.3079 ms/op 1.18
computeDeltas 500000 validators 1200 proto nodes 3.9378 ms/op 3.2828 ms/op 1.20
computeDeltas 500000 validators 7200 proto nodes 3.8885 ms/op 3.3165 ms/op 1.17
computeDeltas 750000 validators 300 proto nodes 5.8267 ms/op 4.9743 ms/op 1.17
computeDeltas 750000 validators 1200 proto nodes 5.8555 ms/op 4.8591 ms/op 1.21
computeDeltas 750000 validators 7200 proto nodes 5.8354 ms/op 4.8786 ms/op 1.20
computeDeltas 1400000 validators 300 proto nodes 10.921 ms/op 9.3023 ms/op 1.17
computeDeltas 1400000 validators 1200 proto nodes 11.047 ms/op 9.5207 ms/op 1.16
computeDeltas 1400000 validators 7200 proto nodes 10.942 ms/op 9.6363 ms/op 1.14
computeDeltas 2100000 validators 300 proto nodes 16.501 ms/op 14.267 ms/op 1.16
computeDeltas 2100000 validators 1200 proto nodes 16.347 ms/op 13.839 ms/op 1.18
computeDeltas 2100000 validators 7200 proto nodes 16.420 ms/op 13.551 ms/op 1.21
altair processAttestation - 250000 vs - 7PWei normalcase 1.6876 ms/op 1.3796 ms/op 1.22
altair processAttestation - 250000 vs - 7PWei worstcase 2.5260 ms/op 2.1139 ms/op 1.19
altair processAttestation - setStatus - 1/6 committees join 83.838 us/op 66.393 us/op 1.26
altair processAttestation - setStatus - 1/3 committees join 165.92 us/op 130.56 us/op 1.27
altair processAttestation - setStatus - 1/2 committees join 239.83 us/op 188.33 us/op 1.27
altair processAttestation - setStatus - 2/3 committees join 313.98 us/op 245.23 us/op 1.28
altair processAttestation - setStatus - 4/5 committees join 450.62 us/op 387.17 us/op 1.16
altair processAttestation - setStatus - 100% committees join 542.04 us/op 479.00 us/op 1.13
altair processBlock - 250000 vs - 7PWei normalcase 3.8162 ms/op 4.7248 ms/op 0.81
altair processBlock - 250000 vs - 7PWei normalcase hashState 25.614 ms/op 26.383 ms/op 0.97
altair processBlock - 250000 vs - 7PWei worstcase 31.973 ms/op 36.133 ms/op 0.88
altair processBlock - 250000 vs - 7PWei worstcase hashState 68.218 ms/op 75.356 ms/op 0.91
phase0 processBlock - 250000 vs - 7PWei normalcase 1.9022 ms/op 1.7808 ms/op 1.07
phase0 processBlock - 250000 vs - 7PWei worstcase 19.520 ms/op 22.535 ms/op 0.87
altair processEth1Data - 250000 vs - 7PWei normalcase 305.91 us/op 289.69 us/op 1.06
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 4.8540 us/op 5.1170 us/op 0.95
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 26.468 us/op 31.621 us/op 0.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 8.4530 us/op 7.7390 us/op 1.09
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.5770 us/op 5.6030 us/op 1.00
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 110.84 us/op 125.29 us/op 0.88
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.1392 ms/op 790.32 us/op 1.44
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.4979 ms/op 1.1029 ms/op 1.36
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.4788 ms/op 1.1229 ms/op 1.32
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.5265 ms/op 3.1278 ms/op 1.13
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.7444 ms/op 1.1431 ms/op 1.53
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.9589 ms/op 2.8478 ms/op 1.39
Tree 40 250000 create 201.24 ms/op 176.10 ms/op 1.14
Tree 40 250000 get(125000) 134.01 ns/op 110.75 ns/op 1.21
Tree 40 250000 set(125000) 607.45 ns/op 550.93 ns/op 1.10
Tree 40 250000 toArray() 15.995 ms/op 13.064 ms/op 1.22
Tree 40 250000 iterate all - toArray() + loop 15.722 ms/op 13.254 ms/op 1.19
Tree 40 250000 iterate all - get(i) 49.398 ms/op 42.713 ms/op 1.16
Array 250000 create 2.7681 ms/op 2.6152 ms/op 1.06
Array 250000 clone - spread 1.3618 ms/op 1.2982 ms/op 1.05
Array 250000 get(125000) 0.40600 ns/op 0.57400 ns/op 0.71
Array 250000 set(125000) 0.42400 ns/op 0.58200 ns/op 0.73
Array 250000 iterate all - loop 101.77 us/op 74.541 us/op 1.37
phase0 afterProcessEpoch - 250000 vs - 7PWei 50.114 ms/op 39.672 ms/op 1.26
Array.fill - length 1000000 3.4627 ms/op 2.5487 ms/op 1.36
Array push - length 1000000 16.336 ms/op 14.225 ms/op 1.15
Array.get 0.26985 ns/op 0.24948 ns/op 1.08
Uint8Array.get 0.42504 ns/op 0.32671 ns/op 1.30
phase0 beforeProcessEpoch - 250000 vs - 7PWei 14.867 ms/op 17.233 ms/op 0.86
altair processEpoch - mainnet_e81889 264.83 ms/op 244.18 ms/op 1.08
mainnet_e81889 - altair beforeProcessEpoch 17.797 ms/op 19.352 ms/op 0.92
mainnet_e81889 - altair processJustificationAndFinalization 12.009 us/op 10.930 us/op 1.10
mainnet_e81889 - altair processInactivityUpdates 5.0036 ms/op 5.1227 ms/op 0.98
mainnet_e81889 - altair processRewardsAndPenalties 46.682 ms/op 50.657 ms/op 0.92
mainnet_e81889 - altair processRegistryUpdates 1.7070 us/op 1.9990 us/op 0.85
mainnet_e81889 - altair processSlashings 349.00 ns/op 819.00 ns/op 0.43
mainnet_e81889 - altair processEth1DataReset 287.00 ns/op 726.00 ns/op 0.40
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.9383 ms/op 1.0452 ms/op 1.85
mainnet_e81889 - altair processSlashingsReset 2.6350 us/op 2.9410 us/op 0.90
mainnet_e81889 - altair processRandaoMixesReset 3.3610 us/op 3.6780 us/op 0.91
mainnet_e81889 - altair processHistoricalRootsUpdate 350.00 ns/op 744.00 ns/op 0.47
mainnet_e81889 - altair processParticipationFlagUpdates 1.8470 us/op 2.0450 us/op 0.90
mainnet_e81889 - altair processSyncCommitteeUpdates 444.00 ns/op 1.0400 us/op 0.43
mainnet_e81889 - altair afterProcessEpoch 50.054 ms/op 44.086 ms/op 1.14
capella processEpoch - mainnet_e217614 999.46 ms/op 957.45 ms/op 1.04
mainnet_e217614 - capella beforeProcessEpoch 70.341 ms/op 68.811 ms/op 1.02
mainnet_e217614 - capella processJustificationAndFinalization 15.131 us/op 16.239 us/op 0.93
mainnet_e217614 - capella processInactivityUpdates 17.106 ms/op 16.900 ms/op 1.01
mainnet_e217614 - capella processRewardsAndPenalties 215.46 ms/op 240.78 ms/op 0.89
mainnet_e217614 - capella processRegistryUpdates 12.884 us/op 6.5350 us/op 1.97
mainnet_e217614 - capella processSlashings 495.00 ns/op 749.00 ns/op 0.66
mainnet_e217614 - capella processEth1DataReset 302.00 ns/op 703.00 ns/op 0.43
mainnet_e217614 - capella processEffectiveBalanceUpdates 14.863 ms/op 5.9546 ms/op 2.50
mainnet_e217614 - capella processSlashingsReset 3.2560 us/op 3.1460 us/op 1.03
mainnet_e217614 - capella processRandaoMixesReset 4.2950 us/op 3.9350 us/op 1.09
mainnet_e217614 - capella processHistoricalRootsUpdate 361.00 ns/op 747.00 ns/op 0.48
mainnet_e217614 - capella processParticipationFlagUpdates 1.7130 us/op 4.0920 us/op 0.42
mainnet_e217614 - capella afterProcessEpoch 123.49 ms/op 101.74 ms/op 1.21
phase0 processEpoch - mainnet_e58758 328.86 ms/op 321.53 ms/op 1.02
mainnet_e58758 - phase0 beforeProcessEpoch 84.261 ms/op 64.976 ms/op 1.30
mainnet_e58758 - phase0 processJustificationAndFinalization 16.624 us/op 12.406 us/op 1.34
mainnet_e58758 - phase0 processRewardsAndPenalties 22.397 ms/op 25.209 ms/op 0.89
mainnet_e58758 - phase0 processRegistryUpdates 7.4680 us/op 6.9130 us/op 1.08
mainnet_e58758 - phase0 processSlashings 393.00 ns/op 795.00 ns/op 0.49
mainnet_e58758 - phase0 processEth1DataReset 288.00 ns/op 711.00 ns/op 0.41
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.2566 ms/op 1.4577 ms/op 0.86
mainnet_e58758 - phase0 processSlashingsReset 3.5440 us/op 3.0900 us/op 1.15
mainnet_e58758 - phase0 processRandaoMixesReset 4.5420 us/op 3.6630 us/op 1.24
mainnet_e58758 - phase0 processHistoricalRootsUpdate 529.00 ns/op 696.00 ns/op 0.76
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.1770 us/op 3.0920 us/op 1.03
mainnet_e58758 - phase0 afterProcessEpoch 42.170 ms/op 36.435 ms/op 1.16
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.8090 ms/op 1.0431 ms/op 1.73
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.1659 ms/op 1.7237 ms/op 1.26
altair processInactivityUpdates - 250000 normalcase 15.257 ms/op 15.303 ms/op 1.00
altair processInactivityUpdates - 250000 worstcase 14.776 ms/op 15.797 ms/op 0.94
phase0 processRegistryUpdates - 250000 normalcase 6.0640 us/op 6.3060 us/op 0.96
phase0 processRegistryUpdates - 250000 badcase_full_deposits 235.66 us/op 296.27 us/op 0.80
phase0 processRegistryUpdates - 250000 worstcase 0.5 115.77 ms/op 116.71 ms/op 0.99
altair processRewardsAndPenalties - 250000 normalcase 37.296 ms/op 43.188 ms/op 0.86
altair processRewardsAndPenalties - 250000 worstcase 37.554 ms/op 46.455 ms/op 0.81
phase0 getAttestationDeltas - 250000 normalcase 7.5302 ms/op 5.7177 ms/op 1.32
phase0 getAttestationDeltas - 250000 worstcase 7.4496 ms/op 5.8956 ms/op 1.26
phase0 processSlashings - 250000 worstcase 78.099 us/op 87.529 us/op 0.89
altair processSyncCommitteeUpdates - 250000 115.89 ms/op 87.934 ms/op 1.32
BeaconState.hashTreeRoot - No change 235.00 ns/op 453.00 ns/op 0.52
BeaconState.hashTreeRoot - 1 full validator 91.938 us/op 70.367 us/op 1.31
BeaconState.hashTreeRoot - 32 full validator 1.1739 ms/op 762.61 us/op 1.54
BeaconState.hashTreeRoot - 512 full validator 9.7473 ms/op 7.1819 ms/op 1.36
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 130.25 us/op 84.665 us/op 1.54
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.4188 ms/op 1.2448 ms/op 1.14
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 19.106 ms/op 14.543 ms/op 1.31
BeaconState.hashTreeRoot - 1 balances 105.71 us/op 68.714 us/op 1.54
BeaconState.hashTreeRoot - 32 balances 791.30 us/op 668.38 us/op 1.18
BeaconState.hashTreeRoot - 512 balances 7.5388 ms/op 7.0570 ms/op 1.07
BeaconState.hashTreeRoot - 250000 balances 174.57 ms/op 134.05 ms/op 1.30
aggregationBits - 2048 els - zipIndexesInBitList 23.007 us/op 19.600 us/op 1.17
byteArrayEquals 32 52.376 ns/op 48.662 ns/op 1.08
Buffer.compare 32 16.752 ns/op 15.904 ns/op 1.05
byteArrayEquals 1024 1.5503 us/op 1.2899 us/op 1.20
Buffer.compare 1024 24.053 ns/op 24.442 ns/op 0.98
byteArrayEquals 16384 24.683 us/op 20.531 us/op 1.20
Buffer.compare 16384 183.19 ns/op 191.45 ns/op 0.96
byteArrayEquals 123687377 186.61 ms/op 152.09 ms/op 1.23
Buffer.compare 123687377 6.1110 ms/op 4.5341 ms/op 1.35
byteArrayEquals 32 - diff last byte 51.445 ns/op 47.881 ns/op 1.07
Buffer.compare 32 - diff last byte 16.836 ns/op 16.383 ns/op 1.03
byteArrayEquals 1024 - diff last byte 1.5503 us/op 1.2851 us/op 1.21
Buffer.compare 1024 - diff last byte 24.701 ns/op 23.384 ns/op 1.06
byteArrayEquals 16384 - diff last byte 24.695 us/op 20.182 us/op 1.22
Buffer.compare 16384 - diff last byte 182.93 ns/op 213.91 ns/op 0.86
byteArrayEquals 123687377 - diff last byte 186.66 ms/op 147.77 ms/op 1.26
Buffer.compare 123687377 - diff last byte 6.3036 ms/op 5.5207 ms/op 1.14
byteArrayEquals 32 - random bytes 5.0560 ns/op 4.7980 ns/op 1.05
Buffer.compare 32 - random bytes 16.858 ns/op 15.403 ns/op 1.09
byteArrayEquals 1024 - random bytes 5.0410 ns/op 4.8370 ns/op 1.04
Buffer.compare 1024 - random bytes 16.929 ns/op 15.073 ns/op 1.12
byteArrayEquals 16384 - random bytes 5.0430 ns/op 4.8530 ns/op 1.04
Buffer.compare 16384 - random bytes 16.832 ns/op 14.984 ns/op 1.12
byteArrayEquals 123687377 - random bytes 6.2800 ns/op 7.7100 ns/op 0.81
Buffer.compare 123687377 - random bytes 18.040 ns/op 18.080 ns/op 1.00
regular array get 100000 times 32.465 us/op 29.895 us/op 1.09
wrappedArray get 100000 times 32.313 us/op 29.895 us/op 1.08
arrayWithProxy get 100000 times 12.934 ms/op 9.5462 ms/op 1.35
ssz.Root.equals 45.154 ns/op 42.788 ns/op 1.06
byteArrayEquals 44.490 ns/op 41.549 ns/op 1.07
Buffer.compare 10.225 ns/op 8.8010 ns/op 1.16
processSlot - 1 slots 16.306 us/op 13.999 us/op 1.16
processSlot - 32 slots 2.9381 ms/op 2.4963 ms/op 1.18
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 36.529 ms/op 36.509 ms/op 1.00
getCommitteeAssignments - req 1 vs - 250000 vc 2.0769 ms/op 1.8404 ms/op 1.13
getCommitteeAssignments - req 100 vs - 250000 vc 3.9892 ms/op 3.6172 ms/op 1.10
getCommitteeAssignments - req 1000 vs - 250000 vc 4.2508 ms/op 3.8376 ms/op 1.11
findModifiedValidators - 10000 modified validators 230.45 ms/op 229.01 ms/op 1.01
findModifiedValidators - 1000 modified validators 170.50 ms/op 152.23 ms/op 1.12
findModifiedValidators - 100 modified validators 140.13 ms/op 141.23 ms/op 0.99
findModifiedValidators - 10 modified validators 145.84 ms/op 127.76 ms/op 1.14
findModifiedValidators - 1 modified validators 133.13 ms/op 136.92 ms/op 0.97
findModifiedValidators - no difference 140.19 ms/op 152.34 ms/op 0.92
compare ViewDUs 2.9544 s/op 3.0110 s/op 0.98
compare each validator Uint8Array 1.1875 s/op 1.4122 s/op 0.84
compare ViewDU to Uint8Array 1.0502 s/op 872.80 ms/op 1.20
migrate state 1000000 validators, 24 modified, 0 new 692.62 ms/op 685.67 ms/op 1.01
migrate state 1000000 validators, 1700 modified, 1000 new 890.77 ms/op 929.14 ms/op 0.96
migrate state 1000000 validators, 3400 modified, 2000 new 1.1709 s/op 1.0547 s/op 1.11
migrate state 1500000 validators, 24 modified, 0 new 683.71 ms/op 680.50 ms/op 1.00
migrate state 1500000 validators, 1700 modified, 1000 new 937.83 ms/op 966.14 ms/op 0.97
migrate state 1500000 validators, 3400 modified, 2000 new 1.1168 s/op 1.0859 s/op 1.03
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.2800 ns/op 6.0600 ns/op 0.71
state getBlockRootAtSlot - 250000 vs - 7PWei 735.72 ns/op 656.53 ns/op 1.12
computeProposers - vc 250000 7.8649 ms/op 5.3741 ms/op 1.46
computeEpochShuffling - vc 250000 41.076 ms/op 34.397 ms/op 1.19
getNextSyncCommittee - vc 250000 133.66 ms/op 98.710 ms/op 1.35
computeSigningRoot for AttestationData 24.360 us/op 16.862 us/op 1.44
hash AttestationData serialized data then Buffer.toString(base64) 1.5194 us/op 1.1592 us/op 1.31
toHexString serialized data 850.50 ns/op 772.07 ns/op 1.10
Buffer.toString(base64) 180.10 ns/op 129.01 ns/op 1.40
nodejs block root to RootHex using toHex 153.47 ns/op 107.83 ns/op 1.42
nodejs block root to RootHex using toRootHex 90.371 ns/op 69.723 ns/op 1.30
browser block root to RootHex using the deprecated toHexString 223.97 ns/op 194.38 ns/op 1.15
browser block root to RootHex using toHex 178.88 ns/op 155.12 ns/op 1.15
browser block root to RootHex using toRootHex 160.94 ns/op 141.03 ns/op 1.14

by benchmarkbot/action

@wemeetagain
Copy link
Member

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