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

fix: ignore lockfiles when listing validator public keys #6911

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jun 25, 2024

Motivation

Similar to #5950, there is no risk in ignoring lockfiles.

Description

Ignore lockfiles when listing validator public keys

@nflaig nflaig requested a review from a team as a code owner June 25, 2024 18:16
Copy link

codecov bot commented Jun 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.55%. Comparing base (fe23f68) to head (45c47e9).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #6911      +/-   ##
============================================
- Coverage     62.55%   62.55%   -0.01%     
============================================
  Files           575      575              
  Lines         61045    61045              
  Branches       2123     2117       -6     
============================================
- Hits          38187    38186       -1     
- Misses        22819    22820       +1     
  Partials         39       39              

@wemeetagain wemeetagain enabled auto-merge (squash) June 25, 2024 18:34
@wemeetagain wemeetagain merged commit 8cb08ff into unstable Jun 25, 2024
20 checks passed
@wemeetagain wemeetagain deleted the nflaig/list-ignore-lock branch June 25, 2024 18:40
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 2985ae3 Previous: fe23f68 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 738.37 us/op 349.87 us/op 2.11
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 44.553 us/op 37.643 us/op 1.18
BLS verify - blst-native 1.1904 ms/op 1.1240 ms/op 1.06
BLS verifyMultipleSignatures 3 - blst-native 2.5380 ms/op 2.3967 ms/op 1.06
BLS verifyMultipleSignatures 8 - blst-native 5.7195 ms/op 5.3067 ms/op 1.08
BLS verifyMultipleSignatures 32 - blst-native 20.943 ms/op 19.600 ms/op 1.07
BLS verifyMultipleSignatures 64 - blst-native 41.142 ms/op 38.883 ms/op 1.06
BLS verifyMultipleSignatures 128 - blst-native 80.177 ms/op 77.447 ms/op 1.04
BLS deserializing 10000 signatures 843.13 ms/op 800.88 ms/op 1.05
BLS deserializing 100000 signatures 8.8022 s/op 8.2318 s/op 1.07
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2731 ms/op 1.1537 ms/op 1.10
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4444 ms/op 1.3220 ms/op 1.09
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4897 ms/op 2.4824 ms/op 1.00
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6488 ms/op 3.8784 ms/op 0.94
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.5373 ms/op 5.1882 ms/op 1.07
BLS aggregatePubkeys 32 - blst-native 25.287 us/op 25.061 us/op 1.01
BLS aggregatePubkeys 128 - blst-native 100.49 us/op 95.590 us/op 1.05
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 68.919 ms/op 73.910 ms/op 0.93
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 56.916 ms/op 55.196 ms/op 1.03
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 37.382 ms/op 30.403 ms/op 1.23
getSlashingsAndExits - default max 101.97 us/op 70.567 us/op 1.45
getSlashingsAndExits - 2k 433.53 us/op 346.67 us/op 1.25
proposeBlockBody type=full, size=empty 6.0964 ms/op 5.1237 ms/op 1.19
isKnown best case - 1 super set check 422.00 ns/op 496.00 ns/op 0.85
isKnown normal case - 2 super set checks 563.00 ns/op 466.00 ns/op 1.21
isKnown worse case - 16 super set checks 458.00 ns/op 489.00 ns/op 0.94
InMemoryCheckpointStateCache - add get delete 5.4230 us/op 5.2270 us/op 1.04
validate api signedAggregateAndProof - struct 2.6903 ms/op 2.4574 ms/op 1.09
validate gossip signedAggregateAndProof - struct 2.6903 ms/op 2.4609 ms/op 1.09
validate gossip attestation - vc 640000 1.4360 ms/op 1.2076 ms/op 1.19
batch validate gossip attestation - vc 640000 - chunk 32 178.39 us/op 151.68 us/op 1.18
batch validate gossip attestation - vc 640000 - chunk 64 153.43 us/op 129.29 us/op 1.19
batch validate gossip attestation - vc 640000 - chunk 128 146.31 us/op 123.64 us/op 1.18
batch validate gossip attestation - vc 640000 - chunk 256 145.71 us/op 123.06 us/op 1.18
pickEth1Vote - no votes 1.7438 ms/op 1.0828 ms/op 1.61
pickEth1Vote - max votes 18.347 ms/op 11.345 ms/op 1.62
pickEth1Vote - Eth1Data hashTreeRoot value x2048 19.913 ms/op 13.232 ms/op 1.50
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 31.999 ms/op 24.259 ms/op 1.32
pickEth1Vote - Eth1Data fastSerialize value x2048 725.34 us/op 502.35 us/op 1.44
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.2516 ms/op 9.4940 ms/op 0.55
bytes32 toHexString 739.00 ns/op 1.0390 us/op 0.71
bytes32 Buffer.toString(hex) 287.00 ns/op 541.00 ns/op 0.53
bytes32 Buffer.toString(hex) from Uint8Array 513.00 ns/op 788.00 ns/op 0.65
bytes32 Buffer.toString(hex) + 0x 280.00 ns/op 611.00 ns/op 0.46
Object access 1 prop 0.18600 ns/op 0.39600 ns/op 0.47
Map access 1 prop 0.14800 ns/op 0.33900 ns/op 0.44
Object get x1000 6.5820 ns/op 5.2940 ns/op 1.24
Map get x1000 7.1240 ns/op 6.0580 ns/op 1.18
Object set x1000 54.759 ns/op 36.006 ns/op 1.52
Map set x1000 31.599 ns/op 25.832 ns/op 1.22
Return object 10000 times 0.31790 ns/op 0.31560 ns/op 1.01
Throw Error 10000 times 3.5680 us/op 2.8403 us/op 1.26
fastMsgIdFn sha256 / 200 bytes 2.4640 us/op 2.1730 us/op 1.13
fastMsgIdFn h32 xxhash / 200 bytes 322.00 ns/op 500.00 ns/op 0.64
fastMsgIdFn h64 xxhash / 200 bytes 306.00 ns/op 500.00 ns/op 0.61
fastMsgIdFn sha256 / 1000 bytes 7.8910 us/op 6.3540 us/op 1.24
fastMsgIdFn h32 xxhash / 1000 bytes 465.00 ns/op 642.00 ns/op 0.72
fastMsgIdFn h64 xxhash / 1000 bytes 368.00 ns/op 583.00 ns/op 0.63
fastMsgIdFn sha256 / 10000 bytes 67.741 us/op 53.510 us/op 1.27
fastMsgIdFn h32 xxhash / 10000 bytes 2.0230 us/op 2.0520 us/op 0.99
fastMsgIdFn h64 xxhash / 10000 bytes 1.2890 us/op 1.3780 us/op 0.94
send data - 1000 256B messages 15.056 ms/op 13.293 ms/op 1.13
send data - 1000 512B messages 19.769 ms/op 18.265 ms/op 1.08
send data - 1000 1024B messages 28.892 ms/op 27.755 ms/op 1.04
send data - 1000 1200B messages 24.937 ms/op 27.854 ms/op 0.90
send data - 1000 2048B messages 36.504 ms/op 31.655 ms/op 1.15
send data - 1000 4096B messages 35.204 ms/op 27.823 ms/op 1.27
send data - 1000 16384B messages 81.249 ms/op 65.267 ms/op 1.24
send data - 1000 65536B messages 266.52 ms/op 238.50 ms/op 1.12
enrSubnets - fastDeserialize 64 bits 1.6210 us/op 1.1670 us/op 1.39
enrSubnets - ssz BitVector 64 bits 488.00 ns/op 518.00 ns/op 0.94
enrSubnets - fastDeserialize 4 bits 218.00 ns/op 336.00 ns/op 0.65
enrSubnets - ssz BitVector 4 bits 469.00 ns/op 515.00 ns/op 0.91
prioritizePeers score -10:0 att 32-0.1 sync 2-0 202.06 us/op 127.00 us/op 1.59
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 193.35 us/op 183.45 us/op 1.05
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 372.92 us/op 345.70 us/op 1.08
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 481.67 us/op 502.80 us/op 0.96
prioritizePeers score 0:0 att 64-1 sync 4-1 817.38 us/op 578.66 us/op 1.41
array of 16000 items push then shift 1.6954 us/op 1.2987 us/op 1.31
LinkedList of 16000 items push then shift 7.8080 ns/op 6.4550 ns/op 1.21
array of 16000 items push then pop 133.28 ns/op 76.527 ns/op 1.74
LinkedList of 16000 items push then pop 7.9570 ns/op 6.3150 ns/op 1.26
array of 24000 items push then shift 2.5303 us/op 1.9005 us/op 1.33
LinkedList of 24000 items push then shift 7.9590 ns/op 6.3750 ns/op 1.25
array of 24000 items push then pop 190.78 ns/op 106.62 ns/op 1.79
LinkedList of 24000 items push then pop 7.3740 ns/op 6.2870 ns/op 1.17
intersect bitArray bitLen 8 6.4480 ns/op 5.5070 ns/op 1.17
intersect array and set length 8 52.168 ns/op 38.643 ns/op 1.35
intersect bitArray bitLen 128 31.785 ns/op 26.731 ns/op 1.19
intersect array and set length 128 702.07 ns/op 581.51 ns/op 1.21
bitArray.getTrueBitIndexes() bitLen 128 2.1840 us/op 1.8530 us/op 1.18
bitArray.getTrueBitIndexes() bitLen 248 4.4440 us/op 2.7610 us/op 1.61
bitArray.getTrueBitIndexes() bitLen 512 10.692 us/op 5.6460 us/op 1.89
Buffer.concat 32 items 1.1380 us/op 1.0060 us/op 1.13
Uint8Array.set 32 items 2.2970 us/op 1.2660 us/op 1.81
Buffer.copy 2.2870 us/op 1.3660 us/op 1.67
Uint8Array.set - with subarray 4.1860 us/op 1.8670 us/op 2.24
Uint8Array.set - without subarray 2.2440 us/op 1.2300 us/op 1.82
Set add up to 64 items then delete first 3.4256 us/op 1.8237 us/op 1.88
OrderedSet add up to 64 items then delete first 5.3487 us/op 2.8449 us/op 1.88
Set add up to 64 items then delete last 3.6316 us/op 2.0739 us/op 1.75
OrderedSet add up to 64 items then delete last 6.3971 us/op 3.2709 us/op 1.96
Set add up to 64 items then delete middle 3.8998 us/op 2.1126 us/op 1.85
OrderedSet add up to 64 items then delete middle 7.7317 us/op 4.6643 us/op 1.66
Set add up to 128 items then delete first 7.6005 us/op 4.0977 us/op 1.85
OrderedSet add up to 128 items then delete first 12.270 us/op 6.2222 us/op 1.97
Set add up to 128 items then delete last 7.9487 us/op 4.0351 us/op 1.97
OrderedSet add up to 128 items then delete last 12.196 us/op 6.3127 us/op 1.93
Set add up to 128 items then delete middle 7.6334 us/op 4.0287 us/op 1.89
OrderedSet add up to 128 items then delete middle 19.312 us/op 12.340 us/op 1.57
Set add up to 256 items then delete first 15.145 us/op 8.2002 us/op 1.85
OrderedSet add up to 256 items then delete first 23.579 us/op 12.297 us/op 1.92
Set add up to 256 items then delete last 15.229 us/op 7.7740 us/op 1.96
OrderedSet add up to 256 items then delete last 24.419 us/op 12.318 us/op 1.98
Set add up to 256 items then delete middle 15.158 us/op 7.7670 us/op 1.95
OrderedSet add up to 256 items then delete middle 50.748 us/op 34.365 us/op 1.48
transfer serialized Status (84 B) 1.4520 us/op 1.4890 us/op 0.98
copy serialized Status (84 B) 1.3410 us/op 1.2970 us/op 1.03
transfer serialized SignedVoluntaryExit (112 B) 1.6300 us/op 1.5870 us/op 1.03
copy serialized SignedVoluntaryExit (112 B) 1.6610 us/op 1.3780 us/op 1.21
transfer serialized ProposerSlashing (416 B) 2.9830 us/op 2.2280 us/op 1.34
copy serialized ProposerSlashing (416 B) 3.0040 us/op 2.1740 us/op 1.38
transfer serialized Attestation (485 B) 2.9240 us/op 2.3500 us/op 1.24
copy serialized Attestation (485 B) 2.7500 us/op 2.2150 us/op 1.24
transfer serialized AttesterSlashing (33232 B) 2.4820 us/op 2.6320 us/op 0.94
copy serialized AttesterSlashing (33232 B) 11.526 us/op 5.9430 us/op 1.94
transfer serialized Small SignedBeaconBlock (128000 B) 2.7990 us/op 3.2830 us/op 0.85
copy serialized Small SignedBeaconBlock (128000 B) 32.196 us/op 14.027 us/op 2.30
transfer serialized Avg SignedBeaconBlock (200000 B) 3.3990 us/op 2.8160 us/op 1.21
copy serialized Avg SignedBeaconBlock (200000 B) 50.680 us/op 20.689 us/op 2.45
transfer serialized BlobsSidecar (524380 B) 5.0380 us/op 2.9740 us/op 1.69
copy serialized BlobsSidecar (524380 B) 172.13 us/op 128.57 us/op 1.34
transfer serialized Big SignedBeaconBlock (1000000 B) 8.0240 us/op 3.0840 us/op 2.60
copy serialized Big SignedBeaconBlock (1000000 B) 366.10 us/op 335.55 us/op 1.09
pass gossip attestations to forkchoice per slot 3.2981 ms/op 2.5788 ms/op 1.28
forkChoice updateHead vc 100000 bc 64 eq 0 524.37 us/op 389.85 us/op 1.35
forkChoice updateHead vc 600000 bc 64 eq 0 3.7384 ms/op 2.5098 ms/op 1.49
forkChoice updateHead vc 1000000 bc 64 eq 0 5.6733 ms/op 4.2849 ms/op 1.32
forkChoice updateHead vc 600000 bc 320 eq 0 3.2204 ms/op 2.3719 ms/op 1.36
forkChoice updateHead vc 600000 bc 1200 eq 0 3.2427 ms/op 2.5987 ms/op 1.25
forkChoice updateHead vc 600000 bc 7200 eq 0 4.0106 ms/op 2.8332 ms/op 1.42
forkChoice updateHead vc 600000 bc 64 eq 1000 11.538 ms/op 9.8268 ms/op 1.17
forkChoice updateHead vc 600000 bc 64 eq 10000 11.175 ms/op 9.4512 ms/op 1.18
forkChoice updateHead vc 600000 bc 64 eq 300000 16.460 ms/op 11.613 ms/op 1.42
computeDeltas 500000 validators 300 proto nodes 3.8161 ms/op 3.0089 ms/op 1.27
computeDeltas 500000 validators 1200 proto nodes 3.7757 ms/op 2.9984 ms/op 1.26
computeDeltas 500000 validators 7200 proto nodes 3.8994 ms/op 3.0656 ms/op 1.27
computeDeltas 750000 validators 300 proto nodes 5.3766 ms/op 4.7075 ms/op 1.14
computeDeltas 750000 validators 1200 proto nodes 5.3156 ms/op 4.7596 ms/op 1.12
computeDeltas 750000 validators 7200 proto nodes 5.4152 ms/op 4.7185 ms/op 1.15
computeDeltas 1400000 validators 300 proto nodes 10.238 ms/op 8.8890 ms/op 1.15
computeDeltas 1400000 validators 1200 proto nodes 9.8135 ms/op 8.6088 ms/op 1.14
computeDeltas 1400000 validators 7200 proto nodes 9.7182 ms/op 9.0364 ms/op 1.08
computeDeltas 2100000 validators 300 proto nodes 15.049 ms/op 13.120 ms/op 1.15
computeDeltas 2100000 validators 1200 proto nodes 14.768 ms/op 13.863 ms/op 1.07
computeDeltas 2100000 validators 7200 proto nodes 14.941 ms/op 13.330 ms/op 1.12
altair processAttestation - 250000 vs - 7PWei normalcase 1.6462 ms/op 2.1374 ms/op 0.77
altair processAttestation - 250000 vs - 7PWei worstcase 2.4422 ms/op 2.7640 ms/op 0.88
altair processAttestation - setStatus - 1/6 committees join 88.124 us/op 78.114 us/op 1.13
altair processAttestation - setStatus - 1/3 committees join 175.87 us/op 171.87 us/op 1.02
altair processAttestation - setStatus - 1/2 committees join 249.15 us/op 198.42 us/op 1.26
altair processAttestation - setStatus - 2/3 committees join 325.66 us/op 297.79 us/op 1.09
altair processAttestation - setStatus - 4/5 committees join 462.63 us/op 457.19 us/op 1.01
altair processAttestation - setStatus - 100% committees join 540.27 us/op 532.70 us/op 1.01
altair processBlock - 250000 vs - 7PWei normalcase 4.9012 ms/op 4.7093 ms/op 1.04
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.448 ms/op 34.415 ms/op 0.80
altair processBlock - 250000 vs - 7PWei worstcase 46.421 ms/op 48.697 ms/op 0.95
altair processBlock - 250000 vs - 7PWei worstcase hashState 98.951 ms/op 118.50 ms/op 0.84
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3731 ms/op 4.3429 ms/op 0.55
phase0 processBlock - 250000 vs - 7PWei worstcase 27.504 ms/op 35.651 ms/op 0.77
altair processEth1Data - 250000 vs - 7PWei normalcase 312.91 us/op 378.24 us/op 0.83
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 7.7080 us/op 19.434 us/op 0.40
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 29.652 us/op 51.632 us/op 0.57
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 10.777 us/op 23.544 us/op 0.46
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 8.8440 us/op 14.077 us/op 0.63
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 126.35 us/op 106.84 us/op 1.18
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.1543 ms/op 687.48 us/op 1.68
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.5907 ms/op 1.2199 ms/op 1.30
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5258 ms/op 1.4935 ms/op 1.02
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.4371 ms/op 2.8393 ms/op 0.86
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.5419 ms/op 1.6202 ms/op 0.95
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.7855 ms/op 3.2935 ms/op 1.15
Tree 40 250000 create 206.38 ms/op 190.99 ms/op 1.08
Tree 40 250000 get(125000) 142.95 ns/op 130.55 ns/op 1.10
Tree 40 250000 set(125000) 622.62 ns/op 577.43 ns/op 1.08
Tree 40 250000 toArray() 14.978 ms/op 20.671 ms/op 0.72
Tree 40 250000 iterate all - toArray() + loop 15.066 ms/op 20.049 ms/op 0.75
Tree 40 250000 iterate all - get(i) 50.177 ms/op 54.704 ms/op 0.92
MutableVector 250000 create 14.832 ms/op 12.912 ms/op 1.15
MutableVector 250000 get(125000) 6.1710 ns/op 6.1410 ns/op 1.00
MutableVector 250000 set(125000) 182.31 ns/op 248.00 ns/op 0.74
MutableVector 250000 toArray() 3.2839 ms/op 4.1331 ms/op 0.79
MutableVector 250000 iterate all - toArray() + loop 3.3837 ms/op 3.7899 ms/op 0.89
MutableVector 250000 iterate all - get(i) 1.5033 ms/op 1.5062 ms/op 1.00
Array 250000 create 2.8893 ms/op 3.0118 ms/op 0.96
Array 250000 clone - spread 1.4025 ms/op 1.3045 ms/op 1.08
Array 250000 get(125000) 0.39800 ns/op 0.60700 ns/op 0.66
Array 250000 set(125000) 0.42000 ns/op 0.63800 ns/op 0.66
Array 250000 iterate all - loop 88.486 us/op 79.273 us/op 1.12
effectiveBalanceIncrements clone Uint8Array 300000 27.331 us/op 16.444 us/op 1.66
effectiveBalanceIncrements clone MutableVector 300000 123.00 ns/op 334.00 ns/op 0.37
effectiveBalanceIncrements rw all Uint8Array 300000 194.41 us/op 172.13 us/op 1.13
effectiveBalanceIncrements rw all MutableVector 300000 65.055 ms/op 97.905 ms/op 0.66
phase0 afterProcessEpoch - 250000 vs - 7PWei 88.776 ms/op 80.366 ms/op 1.10
phase0 beforeProcessEpoch - 250000 vs - 7PWei 41.810 ms/op 55.589 ms/op 0.75
altair processEpoch - mainnet_e81889 424.09 ms/op 437.92 ms/op 0.97
mainnet_e81889 - altair beforeProcessEpoch 61.445 ms/op 74.696 ms/op 0.82
mainnet_e81889 - altair processJustificationAndFinalization 19.823 us/op 12.191 us/op 1.63
mainnet_e81889 - altair processInactivityUpdates 5.7345 ms/op 5.4879 ms/op 1.04
mainnet_e81889 - altair processRewardsAndPenalties 63.799 ms/op 48.261 ms/op 1.32
mainnet_e81889 - altair processRegistryUpdates 2.8370 us/op 2.1580 us/op 1.31
mainnet_e81889 - altair processSlashings 584.00 ns/op 876.00 ns/op 0.67
mainnet_e81889 - altair processEth1DataReset 474.00 ns/op 909.00 ns/op 0.52
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.9355 ms/op 2.0078 ms/op 1.46
mainnet_e81889 - altair processSlashingsReset 4.2020 us/op 2.4320 us/op 1.73
mainnet_e81889 - altair processRandaoMixesReset 5.3910 us/op 3.1310 us/op 1.72
mainnet_e81889 - altair processHistoricalRootsUpdate 594.00 ns/op 744.00 ns/op 0.80
mainnet_e81889 - altair processParticipationFlagUpdates 1.9020 us/op 2.0530 us/op 0.93
mainnet_e81889 - altair processSyncCommitteeUpdates 365.00 ns/op 450.00 ns/op 0.81
mainnet_e81889 - altair afterProcessEpoch 89.279 ms/op 78.844 ms/op 1.13
capella processEpoch - mainnet_e217614 1.2948 s/op 1.1875 s/op 1.09
mainnet_e217614 - capella beforeProcessEpoch 251.60 ms/op 237.33 ms/op 1.06
mainnet_e217614 - capella processJustificationAndFinalization 10.654 us/op 10.457 us/op 1.02
mainnet_e217614 - capella processInactivityUpdates 18.394 ms/op 14.677 ms/op 1.25
mainnet_e217614 - capella processRewardsAndPenalties 263.12 ms/op 239.26 ms/op 1.10
mainnet_e217614 - capella processRegistryUpdates 19.629 us/op 11.234 us/op 1.75
mainnet_e217614 - capella processSlashings 458.00 ns/op 723.00 ns/op 0.63
mainnet_e217614 - capella processEth1DataReset 541.00 ns/op 661.00 ns/op 0.82
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.9559 ms/op 3.8242 ms/op 1.30
mainnet_e217614 - capella processSlashingsReset 6.3740 us/op 1.5540 us/op 4.10
mainnet_e217614 - capella processRandaoMixesReset 7.0370 us/op 2.8010 us/op 2.51
mainnet_e217614 - capella processHistoricalRootsUpdate 818.00 ns/op 670.00 ns/op 1.22
mainnet_e217614 - capella processParticipationFlagUpdates 3.2020 us/op 1.4920 us/op 2.15
mainnet_e217614 - capella afterProcessEpoch 277.83 ms/op 237.77 ms/op 1.17
phase0 processEpoch - mainnet_e58758 388.16 ms/op 322.06 ms/op 1.21
mainnet_e58758 - phase0 beforeProcessEpoch 117.78 ms/op 97.804 ms/op 1.20
mainnet_e58758 - phase0 processJustificationAndFinalization 23.639 us/op 5.7580 us/op 4.11
mainnet_e58758 - phase0 processRewardsAndPenalties 36.977 ms/op 35.051 ms/op 1.05
mainnet_e58758 - phase0 processRegistryUpdates 10.001 us/op 5.8220 us/op 1.72
mainnet_e58758 - phase0 processSlashings 460.00 ns/op 709.00 ns/op 0.65
mainnet_e58758 - phase0 processEth1DataReset 375.00 ns/op 659.00 ns/op 0.57
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1074 ms/op 1.0753 ms/op 1.03
mainnet_e58758 - phase0 processSlashingsReset 4.6530 us/op 2.2520 us/op 2.07
mainnet_e58758 - phase0 processRandaoMixesReset 4.2030 us/op 2.5890 us/op 1.62
mainnet_e58758 - phase0 processHistoricalRootsUpdate 557.00 ns/op 670.00 ns/op 0.83
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.8650 us/op 2.3180 us/op 1.67
mainnet_e58758 - phase0 afterProcessEpoch 80.021 ms/op 62.614 ms/op 1.28
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.9312 ms/op 749.57 us/op 2.58
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 3.1122 ms/op 1.1004 ms/op 2.83
altair processInactivityUpdates - 250000 normalcase 22.568 ms/op 18.058 ms/op 1.25
altair processInactivityUpdates - 250000 worstcase 19.302 ms/op 18.749 ms/op 1.03
phase0 processRegistryUpdates - 250000 normalcase 7.4020 us/op 3.3350 us/op 2.22
phase0 processRegistryUpdates - 250000 badcase_full_deposits 392.15 us/op 289.65 us/op 1.35
phase0 processRegistryUpdates - 250000 worstcase 0.5 130.81 ms/op 103.43 ms/op 1.26
altair processRewardsAndPenalties - 250000 normalcase 33.478 ms/op 36.415 ms/op 0.92
altair processRewardsAndPenalties - 250000 worstcase 42.900 ms/op 40.793 ms/op 1.05
phase0 getAttestationDeltas - 250000 normalcase 7.5736 ms/op 5.9066 ms/op 1.28
phase0 getAttestationDeltas - 250000 worstcase 8.0666 ms/op 6.0465 ms/op 1.33
phase0 processSlashings - 250000 worstcase 122.61 us/op 80.401 us/op 1.52
altair processSyncCommitteeUpdates - 250000 138.79 ms/op 99.485 ms/op 1.40
BeaconState.hashTreeRoot - No change 288.00 ns/op 469.00 ns/op 0.61
BeaconState.hashTreeRoot - 1 full validator 113.69 us/op 148.85 us/op 0.76
BeaconState.hashTreeRoot - 32 full validator 1.0099 ms/op 1.5136 ms/op 0.67
BeaconState.hashTreeRoot - 512 full validator 10.254 ms/op 15.658 ms/op 0.65
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 130.68 us/op 154.31 us/op 0.85
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.8613 ms/op 2.0383 ms/op 0.91
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 27.194 ms/op 25.870 ms/op 1.05
BeaconState.hashTreeRoot - 1 balances 109.33 us/op 108.37 us/op 1.01
BeaconState.hashTreeRoot - 32 balances 1.1627 ms/op 833.61 us/op 1.39
BeaconState.hashTreeRoot - 512 balances 9.8254 ms/op 10.970 ms/op 0.90
BeaconState.hashTreeRoot - 250000 balances 200.91 ms/op 172.27 ms/op 1.17
aggregationBits - 2048 els - zipIndexesInBitList 39.523 us/op 19.493 us/op 2.03
byteArrayEquals 32 55.622 ns/op 48.140 ns/op 1.16
Buffer.compare 32 17.934 ns/op 15.606 ns/op 1.15
byteArrayEquals 1024 1.6262 us/op 1.2749 us/op 1.28
Buffer.compare 1024 25.368 ns/op 23.355 ns/op 1.09
byteArrayEquals 16384 25.872 us/op 20.150 us/op 1.28
Buffer.compare 16384 216.13 ns/op 175.02 ns/op 1.23
byteArrayEquals 123687377 191.16 ms/op 146.11 ms/op 1.31
Buffer.compare 123687377 6.4728 ms/op 3.8123 ms/op 1.70
byteArrayEquals 32 - diff last byte 52.510 ns/op 47.626 ns/op 1.10
Buffer.compare 32 - diff last byte 17.165 ns/op 15.818 ns/op 1.09
byteArrayEquals 1024 - diff last byte 1.5797 us/op 1.2631 us/op 1.25
Buffer.compare 1024 - diff last byte 25.919 ns/op 24.474 ns/op 1.06
byteArrayEquals 16384 - diff last byte 25.143 us/op 20.056 us/op 1.25
Buffer.compare 16384 - diff last byte 205.44 ns/op 204.23 ns/op 1.01
byteArrayEquals 123687377 - diff last byte 190.54 ms/op 151.13 ms/op 1.26
Buffer.compare 123687377 - diff last byte 7.1600 ms/op 4.2544 ms/op 1.68
byteArrayEquals 32 - random bytes 5.5190 ns/op 4.9300 ns/op 1.12
Buffer.compare 32 - random bytes 18.208 ns/op 16.047 ns/op 1.13
byteArrayEquals 1024 - random bytes 5.2370 ns/op 4.8760 ns/op 1.07
Buffer.compare 1024 - random bytes 17.406 ns/op 15.883 ns/op 1.10
byteArrayEquals 16384 - random bytes 5.1850 ns/op 4.8540 ns/op 1.07
Buffer.compare 16384 - random bytes 17.326 ns/op 16.036 ns/op 1.08
byteArrayEquals 123687377 - random bytes 6.5100 ns/op 7.9000 ns/op 0.82
Buffer.compare 123687377 - random bytes 18.640 ns/op 19.140 ns/op 0.97
regular array get 100000 times 33.763 us/op 30.897 us/op 1.09
wrappedArray get 100000 times 33.359 us/op 30.839 us/op 1.08
arrayWithProxy get 100000 times 13.252 ms/op 10.630 ms/op 1.25
ssz.Root.equals 46.542 ns/op 43.203 ns/op 1.08
byteArrayEquals 45.837 ns/op 42.816 ns/op 1.07
Buffer.compare 10.641 ns/op 9.4010 ns/op 1.13
shuffle list - 16384 els 6.4201 ms/op 5.4785 ms/op 1.17
shuffle list - 250000 els 96.125 ms/op 81.519 ms/op 1.18
processSlot - 1 slots 14.574 us/op 10.541 us/op 1.38
processSlot - 32 slots 3.2689 ms/op 2.5635 ms/op 1.28
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 38.038 ms/op 34.322 ms/op 1.11
getCommitteeAssignments - req 1 vs - 250000 vc 2.2999 ms/op 1.7973 ms/op 1.28
getCommitteeAssignments - req 100 vs - 250000 vc 4.2002 ms/op 3.4706 ms/op 1.21
getCommitteeAssignments - req 1000 vs - 250000 vc 4.5883 ms/op 3.7592 ms/op 1.22
findModifiedValidators - 10000 modified validators 253.69 ms/op 323.08 ms/op 0.79
findModifiedValidators - 1000 modified validators 196.62 ms/op 218.05 ms/op 0.90
findModifiedValidators - 100 modified validators 215.71 ms/op 175.65 ms/op 1.23
findModifiedValidators - 10 modified validators 209.15 ms/op 169.67 ms/op 1.23
findModifiedValidators - 1 modified validators 169.35 ms/op 159.44 ms/op 1.06
findModifiedValidators - no difference 183.36 ms/op 196.11 ms/op 0.94
compare ViewDUs 3.3730 s/op 3.5189 s/op 0.96
compare each validator Uint8Array 1.6916 s/op 1.7030 s/op 0.99
compare ViewDU to Uint8Array 1.4975 s/op 845.72 ms/op 1.77
migrate state 1000000 validators, 24 modified, 0 new 804.49 ms/op 551.17 ms/op 1.46
migrate state 1000000 validators, 1700 modified, 1000 new 1.1340 s/op 827.26 ms/op 1.37
migrate state 1000000 validators, 3400 modified, 2000 new 1.4137 s/op 1.0046 s/op 1.41
migrate state 1500000 validators, 24 modified, 0 new 896.17 ms/op 583.50 ms/op 1.54
migrate state 1500000 validators, 1700 modified, 1000 new 1.0291 s/op 856.94 ms/op 1.20
migrate state 1500000 validators, 3400 modified, 2000 new 1.0480 s/op 927.84 ms/op 1.13
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.0900 ns/op 6.2900 ns/op 0.81
state getBlockRootAtSlot - 250000 vs - 7PWei 499.21 ns/op 738.27 ns/op 0.68
computeProposers - vc 250000 7.5525 ms/op 6.4180 ms/op 1.18
computeEpochShuffling - vc 250000 96.104 ms/op 81.207 ms/op 1.18
getNextSyncCommittee - vc 250000 145.19 ms/op 94.638 ms/op 1.53
computeSigningRoot for AttestationData 25.239 us/op 15.627 us/op 1.62
hash AttestationData serialized data then Buffer.toString(base64) 1.5724 us/op 1.1729 us/op 1.34
toHexString serialized data 974.43 ns/op 737.43 ns/op 1.32
Buffer.toString(base64) 199.17 ns/op 135.03 ns/op 1.47

by benchmarkbot/action

@wemeetagain
Copy link
Member

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