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: remove old vitest version from yarn lock #6310

Merged
merged 1 commit into from
Jan 17, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jan 16, 2024

Motivation

#6285 added unwanted yarn lock diff

Description

Remove old vitest version from yarn lock

Related to #6306, my guess is that yarn install was done on the feature branch before rebasing and getting that PR in

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

codecov bot commented Jan 16, 2024

Codecov Report

Merging #6310 (b69cabb) into unstable (9eb9cce) will increase coverage by 0.00%.
Report is 1 commits behind head on unstable.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6310   +/-   ##
=========================================
  Coverage     76.52%   76.53%           
=========================================
  Files           248      248           
  Lines         25935    25943    +8     
  Branches       1449     1449           
=========================================
+ Hits          19847    19855    +8     
  Misses         6058     6058           
  Partials         30       30           

Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 6360402 Previous: 4ec413c Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 982.52 us/op 566.24 us/op 1.74
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 96.146 us/op 115.40 us/op 0.83
BLS verify - blst-native 1.3175 ms/op 1.3746 ms/op 0.96
BLS verifyMultipleSignatures 3 - blst-native 2.7649 ms/op 2.8624 ms/op 0.97
BLS verifyMultipleSignatures 8 - blst-native 6.0275 ms/op 6.2259 ms/op 0.97
BLS verifyMultipleSignatures 32 - blst-native 21.769 ms/op 22.838 ms/op 0.95
BLS verifyMultipleSignatures 64 - blst-native 43.022 ms/op 45.329 ms/op 0.95
BLS verifyMultipleSignatures 128 - blst-native 85.438 ms/op 89.131 ms/op 0.96
BLS deserializing 10000 signatures 921.71 ms/op 932.74 ms/op 0.99
BLS deserializing 100000 signatures 9.3932 s/op 9.5380 s/op 0.98
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3325 ms/op 1.4026 ms/op 0.95
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5284 ms/op 1.7452 ms/op 0.88
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.8234 ms/op 3.1271 ms/op 0.90
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.3180 ms/op 4.3829 ms/op 0.99
BLS verifyMultipleSignatures - same message - 128 - blst-native 7.9229 ms/op 7.8576 ms/op 1.01
BLS aggregatePubkeys 32 - blst-native 25.601 us/op 27.462 us/op 0.93
BLS aggregatePubkeys 128 - blst-native 100.64 us/op 101.83 us/op 0.99
getAttestationsForBlock 59.737 ms/op 56.860 ms/op 1.05
getSlashingsAndExits - default max 151.06 us/op 133.79 us/op 1.13
getSlashingsAndExits - 2k 445.37 us/op 541.88 us/op 0.82
proposeBlockBody type=full, size=empty 5.3605 ms/op 5.8862 ms/op 0.91
isKnown best case - 1 super set check 338.00 ns/op 601.00 ns/op 0.56
isKnown normal case - 2 super set checks 350.00 ns/op 585.00 ns/op 0.60
isKnown worse case - 16 super set checks 319.00 ns/op 648.00 ns/op 0.49
CheckpointStateCache - add get delete 7.2730 us/op 6.2040 us/op 1.17
validate api signedAggregateAndProof - struct 3.1573 ms/op 2.8824 ms/op 1.10
validate gossip signedAggregateAndProof - struct 3.0840 ms/op 2.8713 ms/op 1.07
validate gossip attestation - vc 640000 1.7336 ms/op 1.4228 ms/op 1.22
batch validate gossip attestation - vc 640000 - chunk 32 207.25 us/op 178.20 us/op 1.16
batch validate gossip attestation - vc 640000 - chunk 64 179.51 us/op 155.59 us/op 1.15
batch validate gossip attestation - vc 640000 - chunk 128 160.15 us/op 151.73 us/op 1.06
batch validate gossip attestation - vc 640000 - chunk 256 143.55 us/op 143.41 us/op 1.00
pickEth1Vote - no votes 1.2066 ms/op 1.3954 ms/op 0.86
pickEth1Vote - max votes 13.149 ms/op 17.256 ms/op 0.76
pickEth1Vote - Eth1Data hashTreeRoot value x2048 23.613 ms/op 23.571 ms/op 1.00
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 24.253 ms/op 38.734 ms/op 0.63
pickEth1Vote - Eth1Data fastSerialize value x2048 621.49 us/op 787.38 us/op 0.79
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.5275 ms/op 7.3526 ms/op 1.02
bytes32 toHexString 479.00 ns/op 623.00 ns/op 0.77
bytes32 Buffer.toString(hex) 278.00 ns/op 304.00 ns/op 0.91
bytes32 Buffer.toString(hex) from Uint8Array 400.00 ns/op 534.00 ns/op 0.75
bytes32 Buffer.toString(hex) + 0x 278.00 ns/op 311.00 ns/op 0.89
Object access 1 prop 0.15200 ns/op 0.23200 ns/op 0.66
Map access 1 prop 0.13900 ns/op 0.16000 ns/op 0.87
Object get x1000 7.6320 ns/op 8.2100 ns/op 0.93
Map get x1000 0.74300 ns/op 0.96100 ns/op 0.77
Object set x1000 49.100 ns/op 67.881 ns/op 0.72
Map set x1000 37.572 ns/op 54.869 ns/op 0.68
Return object 10000 times 0.23560 ns/op 0.26350 ns/op 0.89
Throw Error 10000 times 3.8582 us/op 4.1060 us/op 0.94
fastMsgIdFn sha256 / 200 bytes 3.3000 us/op 3.5380 us/op 0.93
fastMsgIdFn h32 xxhash / 200 bytes 279.00 ns/op 352.00 ns/op 0.79
fastMsgIdFn h64 xxhash / 200 bytes 339.00 ns/op 398.00 ns/op 0.85
fastMsgIdFn sha256 / 1000 bytes 11.241 us/op 11.890 us/op 0.95
fastMsgIdFn h32 xxhash / 1000 bytes 394.00 ns/op 499.00 ns/op 0.79
fastMsgIdFn h64 xxhash / 1000 bytes 420.00 ns/op 491.00 ns/op 0.86
fastMsgIdFn sha256 / 10000 bytes 102.03 us/op 105.73 us/op 0.97
fastMsgIdFn h32 xxhash / 10000 bytes 1.8700 us/op 2.0610 us/op 0.91
fastMsgIdFn h64 xxhash / 10000 bytes 1.2800 us/op 1.4290 us/op 0.90
send data - 1000 256B messages 16.572 ms/op 23.893 ms/op 0.69
send data - 1000 512B messages 26.470 ms/op 29.842 ms/op 0.89
send data - 1000 1024B messages 37.636 ms/op 44.722 ms/op 0.84
send data - 1000 1200B messages 38.783 ms/op 47.288 ms/op 0.82
send data - 1000 2048B messages 49.201 ms/op 56.141 ms/op 0.88
send data - 1000 4096B messages 45.150 ms/op 54.741 ms/op 0.82
send data - 1000 16384B messages 110.55 ms/op 126.36 ms/op 0.87
send data - 1000 65536B messages 469.61 ms/op 490.40 ms/op 0.96
enrSubnets - fastDeserialize 64 bits 1.2090 us/op 1.4950 us/op 0.81
enrSubnets - ssz BitVector 64 bits 413.00 ns/op 550.00 ns/op 0.75
enrSubnets - fastDeserialize 4 bits 160.00 ns/op 204.00 ns/op 0.78
enrSubnets - ssz BitVector 4 bits 412.00 ns/op 555.00 ns/op 0.74
prioritizePeers score -10:0 att 32-0.1 sync 2-0 101.22 us/op 134.50 us/op 0.75
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 143.80 us/op 171.54 us/op 0.84
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 186.90 us/op 216.38 us/op 0.86
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 333.17 us/op 354.09 us/op 0.94
prioritizePeers score 0:0 att 64-1 sync 4-1 404.72 us/op 434.66 us/op 0.93
array of 16000 items push then shift 1.6430 us/op 1.7734 us/op 0.93
LinkedList of 16000 items push then shift 8.9290 ns/op 9.5090 ns/op 0.94
array of 16000 items push then pop 90.793 ns/op 128.79 ns/op 0.70
LinkedList of 16000 items push then pop 8.6700 ns/op 10.123 ns/op 0.86
array of 24000 items push then shift 2.4244 us/op 2.8899 us/op 0.84
LinkedList of 24000 items push then shift 8.9280 ns/op 11.825 ns/op 0.76
array of 24000 items push then pop 102.12 ns/op 197.79 ns/op 0.52
LinkedList of 24000 items push then pop 9.0670 ns/op 11.786 ns/op 0.77
intersect bitArray bitLen 8 6.5940 ns/op 7.1680 ns/op 0.92
intersect array and set length 8 63.125 ns/op 105.55 ns/op 0.60
intersect bitArray bitLen 128 33.940 ns/op 48.336 ns/op 0.70
intersect array and set length 128 870.00 ns/op 1.2528 us/op 0.69
bitArray.getTrueBitIndexes() bitLen 128 1.4700 us/op 2.5870 us/op 0.57
bitArray.getTrueBitIndexes() bitLen 248 2.4330 us/op 3.8400 us/op 0.63
bitArray.getTrueBitIndexes() bitLen 512 4.6660 us/op 7.0770 us/op 0.66
Buffer.concat 32 items 1000.0 ns/op 1.2530 us/op 0.80
Uint8Array.set 32 items 2.0110 us/op 2.4320 us/op 0.83
Set add up to 64 items then delete first 4.3035 us/op 5.4317 us/op 0.79
OrderedSet add up to 64 items then delete first 5.4459 us/op 6.7675 us/op 0.80
Set add up to 64 items then delete last 4.5942 us/op 5.5213 us/op 0.83
OrderedSet add up to 64 items then delete last 5.8824 us/op 7.3127 us/op 0.80
Set add up to 64 items then delete middle 4.5261 us/op 5.4270 us/op 0.83
OrderedSet add up to 64 items then delete middle 6.9581 us/op 8.4430 us/op 0.82
Set add up to 128 items then delete first 9.0510 us/op 11.005 us/op 0.82
OrderedSet add up to 128 items then delete first 12.256 us/op 14.069 us/op 0.87
Set add up to 128 items then delete last 10.045 us/op 10.167 us/op 0.99
OrderedSet add up to 128 items then delete last 11.993 us/op 14.387 us/op 0.83
Set add up to 128 items then delete middle 9.6170 us/op 10.401 us/op 0.92
OrderedSet add up to 128 items then delete middle 18.289 us/op 19.835 us/op 0.92
Set add up to 256 items then delete first 18.837 us/op 21.356 us/op 0.88
OrderedSet add up to 256 items then delete first 26.029 us/op 28.405 us/op 0.92
Set add up to 256 items then delete last 18.809 us/op 21.140 us/op 0.89
OrderedSet add up to 256 items then delete last 25.194 us/op 30.244 us/op 0.83
Set add up to 256 items then delete middle 18.873 us/op 21.417 us/op 0.88
OrderedSet add up to 256 items then delete middle 46.080 us/op 51.890 us/op 0.89
transfer serialized Status (84 B) 1.8820 us/op 1.8750 us/op 1.00
copy serialized Status (84 B) 1.6850 us/op 1.7380 us/op 0.97
transfer serialized SignedVoluntaryExit (112 B) 2.0920 us/op 1.9100 us/op 1.10
copy serialized SignedVoluntaryExit (112 B) 1.8210 us/op 1.9980 us/op 0.91
transfer serialized ProposerSlashing (416 B) 2.4200 us/op 3.2280 us/op 0.75
copy serialized ProposerSlashing (416 B) 2.2440 us/op 2.8430 us/op 0.79
transfer serialized Attestation (485 B) 2.4930 us/op 3.1770 us/op 0.78
copy serialized Attestation (485 B) 2.6790 us/op 2.8130 us/op 0.95
transfer serialized AttesterSlashing (33232 B) 2.8330 us/op 2.3580 us/op 1.20
copy serialized AttesterSlashing (33232 B) 6.1440 us/op 7.2910 us/op 0.84
transfer serialized Small SignedBeaconBlock (128000 B) 3.0910 us/op 2.8080 us/op 1.10
copy serialized Small SignedBeaconBlock (128000 B) 15.842 us/op 23.491 us/op 0.67
transfer serialized Avg SignedBeaconBlock (200000 B) 3.2770 us/op 3.3780 us/op 0.97
copy serialized Avg SignedBeaconBlock (200000 B) 22.522 us/op 27.509 us/op 0.82
transfer serialized BlobsSidecar (524380 B) 3.3110 us/op 4.0390 us/op 0.82
copy serialized BlobsSidecar (524380 B) 132.73 us/op 112.71 us/op 1.18
transfer serialized Big SignedBeaconBlock (1000000 B) 3.6100 us/op 4.8590 us/op 0.74
copy serialized Big SignedBeaconBlock (1000000 B) 377.05 us/op 173.15 us/op 2.18
pass gossip attestations to forkchoice per slot 4.3769 ms/op 3.8831 ms/op 1.13
forkChoice updateHead vc 100000 bc 64 eq 0 707.27 us/op 826.41 us/op 0.86
forkChoice updateHead vc 600000 bc 64 eq 0 5.4793 ms/op 4.4393 ms/op 1.23
forkChoice updateHead vc 1000000 bc 64 eq 0 7.6060 ms/op 7.4132 ms/op 1.03
forkChoice updateHead vc 600000 bc 320 eq 0 4.4096 ms/op 4.3076 ms/op 1.02
forkChoice updateHead vc 600000 bc 1200 eq 0 4.3827 ms/op 4.4601 ms/op 0.98
forkChoice updateHead vc 600000 bc 7200 eq 0 5.4588 ms/op 5.4065 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 1000 12.012 ms/op 11.347 ms/op 1.06
forkChoice updateHead vc 600000 bc 64 eq 10000 12.601 ms/op 12.019 ms/op 1.05
forkChoice updateHead vc 600000 bc 64 eq 300000 16.863 ms/op 17.932 ms/op 0.94
computeDeltas 500000 validators 300 proto nodes 7.2093 ms/op 6.8601 ms/op 1.05
computeDeltas 500000 validators 1200 proto nodes 8.3735 ms/op 7.0391 ms/op 1.19
computeDeltas 500000 validators 7200 proto nodes 9.2383 ms/op 6.6578 ms/op 1.39
computeDeltas 750000 validators 300 proto nodes 13.110 ms/op 10.229 ms/op 1.28
computeDeltas 750000 validators 1200 proto nodes 12.999 ms/op 10.597 ms/op 1.23
computeDeltas 750000 validators 7200 proto nodes 11.307 ms/op 10.236 ms/op 1.10
computeDeltas 1400000 validators 300 proto nodes 19.624 ms/op 18.995 ms/op 1.03
computeDeltas 1400000 validators 1200 proto nodes 20.336 ms/op 18.982 ms/op 1.07
computeDeltas 1400000 validators 7200 proto nodes 20.213 ms/op 19.452 ms/op 1.04
computeDeltas 2100000 validators 300 proto nodes 28.571 ms/op 30.981 ms/op 0.92
computeDeltas 2100000 validators 1200 proto nodes 29.741 ms/op 29.001 ms/op 1.03
computeDeltas 2100000 validators 7200 proto nodes 31.189 ms/op 28.820 ms/op 1.08
computeProposerBoostScoreFromBalances 500000 validators 3.7863 ms/op 3.7960 ms/op 1.00
computeProposerBoostScoreFromBalances 750000 validators 3.7759 ms/op 3.7953 ms/op 0.99
computeProposerBoostScoreFromBalances 1400000 validators 3.7932 ms/op 3.8729 ms/op 0.98
computeProposerBoostScoreFromBalances 2100000 validators 3.9137 ms/op 4.1025 ms/op 0.95
altair processAttestation - 250000 vs - 7PWei normalcase 4.1413 ms/op 4.4069 ms/op 0.94
altair processAttestation - 250000 vs - 7PWei worstcase 5.3804 ms/op 4.3594 ms/op 1.23
altair processAttestation - setStatus - 1/6 committees join 214.26 us/op 154.97 us/op 1.38
altair processAttestation - setStatus - 1/3 committees join 412.14 us/op 288.82 us/op 1.43
altair processAttestation - setStatus - 1/2 committees join 568.34 us/op 415.75 us/op 1.37
altair processAttestation - setStatus - 2/3 committees join 640.65 us/op 507.61 us/op 1.26
altair processAttestation - setStatus - 4/5 committees join 972.11 us/op 714.76 us/op 1.36
altair processAttestation - setStatus - 100% committees join 1.1628 ms/op 831.35 us/op 1.40
altair processBlock - 250000 vs - 7PWei normalcase 13.063 ms/op 11.870 ms/op 1.10
altair processBlock - 250000 vs - 7PWei normalcase hashState 42.184 ms/op 49.545 ms/op 0.85
altair processBlock - 250000 vs - 7PWei worstcase 41.453 ms/op 43.860 ms/op 0.95
altair processBlock - 250000 vs - 7PWei worstcase hashState 120.21 ms/op 122.91 ms/op 0.98
phase0 processBlock - 250000 vs - 7PWei normalcase 3.1292 ms/op 3.3582 ms/op 0.93
phase0 processBlock - 250000 vs - 7PWei worstcase 36.261 ms/op 40.604 ms/op 0.89
altair processEth1Data - 250000 vs - 7PWei normalcase 689.80 us/op 873.71 us/op 0.79
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 18.967 us/op 23.962 us/op 0.79
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 51.280 us/op 123.92 us/op 0.41
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 28.699 us/op 30.844 us/op 0.93
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 20.577 us/op 27.332 us/op 0.75
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 245.93 us/op 274.54 us/op 0.90
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.6585 ms/op 1.8274 ms/op 0.91
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.5072 ms/op 2.3205 ms/op 1.08
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.9791 ms/op 3.1938 ms/op 0.62
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.1172 ms/op 5.2338 ms/op 0.79
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.7635 ms/op 3.3100 ms/op 0.83
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.9122 ms/op 7.2485 ms/op 0.82
Tree 40 250000 create 514.93 ms/op 671.54 ms/op 0.77
Tree 40 250000 get(125000) 220.74 ns/op 219.95 ns/op 1.00
Tree 40 250000 set(125000) 1.5848 us/op 1.4503 us/op 1.09
Tree 40 250000 toArray() 26.078 ms/op 25.545 ms/op 1.02
Tree 40 250000 iterate all - toArray() + loop 27.238 ms/op 29.920 ms/op 0.91
Tree 40 250000 iterate all - get(i) 83.329 ms/op 80.195 ms/op 1.04
MutableVector 250000 create 19.548 ms/op 17.589 ms/op 1.11
MutableVector 250000 get(125000) 6.8690 ns/op 6.9550 ns/op 0.99
MutableVector 250000 set(125000) 381.39 ns/op 484.20 ns/op 0.79
MutableVector 250000 toArray() 5.2162 ms/op 4.9976 ms/op 1.04
MutableVector 250000 iterate all - toArray() + loop 5.5521 ms/op 5.0754 ms/op 1.09
MutableVector 250000 iterate all - get(i) 1.7788 ms/op 1.5722 ms/op 1.13
Array 250000 create 4.8885 ms/op 3.6792 ms/op 1.33
Array 250000 clone - spread 1.7332 ms/op 1.2643 ms/op 1.37
Array 250000 get(125000) 1.3600 ns/op 1.0900 ns/op 1.25
Array 250000 set(125000) 4.8470 ns/op 4.6190 ns/op 1.05
Array 250000 iterate all - loop 178.90 us/op 165.69 us/op 1.08
effectiveBalanceIncrements clone Uint8Array 300000 50.816 us/op 49.131 us/op 1.03
effectiveBalanceIncrements clone MutableVector 300000 472.00 ns/op 379.00 ns/op 1.25
effectiveBalanceIncrements rw all Uint8Array 300000 223.83 us/op 203.21 us/op 1.10
effectiveBalanceIncrements rw all MutableVector 300000 142.47 ms/op 95.054 ms/op 1.50
phase0 afterProcessEpoch - 250000 vs - 7PWei 138.24 ms/op 119.46 ms/op 1.16
phase0 beforeProcessEpoch - 250000 vs - 7PWei 65.764 ms/op 59.418 ms/op 1.11
altair processEpoch - mainnet_e81889 636.75 ms/op 530.48 ms/op 1.20
mainnet_e81889 - altair beforeProcessEpoch 100.58 ms/op 89.318 ms/op 1.13
mainnet_e81889 - altair processJustificationAndFinalization 25.558 us/op 16.517 us/op 1.55
mainnet_e81889 - altair processInactivityUpdates 8.3635 ms/op 7.1959 ms/op 1.16
mainnet_e81889 - altair processRewardsAndPenalties 77.967 ms/op 68.637 ms/op 1.14
mainnet_e81889 - altair processRegistryUpdates 5.3660 us/op 3.2270 us/op 1.66
mainnet_e81889 - altair processSlashings 1.0070 us/op 457.00 ns/op 2.20
mainnet_e81889 - altair processEth1DataReset 1.1030 us/op 574.00 ns/op 1.92
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.7671 ms/op 1.7683 ms/op 1.00
mainnet_e81889 - altair processSlashingsReset 3.9480 us/op 3.9480 us/op 1.00
mainnet_e81889 - altair processRandaoMixesReset 5.7960 us/op 5.0600 us/op 1.15
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0050 us/op 840.00 ns/op 1.20
mainnet_e81889 - altair processParticipationFlagUpdates 2.6510 us/op 2.3910 us/op 1.11
mainnet_e81889 - altair processSyncCommitteeUpdates 919.00 ns/op 626.00 ns/op 1.47
mainnet_e81889 - altair afterProcessEpoch 123.81 ms/op 123.73 ms/op 1.00
capella processEpoch - mainnet_e217614 2.3514 s/op 2.7245 s/op 0.86
mainnet_e217614 - capella beforeProcessEpoch 512.70 ms/op 560.45 ms/op 0.91
mainnet_e217614 - capella processJustificationAndFinalization 16.367 us/op 19.938 us/op 0.82
mainnet_e217614 - capella processInactivityUpdates 21.868 ms/op 25.188 ms/op 0.87
mainnet_e217614 - capella processRewardsAndPenalties 438.30 ms/op 504.26 ms/op 0.87
mainnet_e217614 - capella processRegistryUpdates 35.814 us/op 50.575 us/op 0.71
mainnet_e217614 - capella processSlashings 868.00 ns/op 1.5060 us/op 0.58
mainnet_e217614 - capella processEth1DataReset 856.00 ns/op 1.3290 us/op 0.64
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.9055 ms/op 8.4200 ms/op 0.58
mainnet_e217614 - capella processSlashingsReset 3.4500 us/op 8.8310 us/op 0.39
mainnet_e217614 - capella processRandaoMixesReset 4.8830 us/op 11.951 us/op 0.41
mainnet_e217614 - capella processHistoricalRootsUpdate 516.00 ns/op 1.1690 us/op 0.44
mainnet_e217614 - capella processParticipationFlagUpdates 1.6670 us/op 2.7940 us/op 0.60
mainnet_e217614 - capella afterProcessEpoch 322.13 ms/op 380.87 ms/op 0.85
phase0 processEpoch - mainnet_e58758 496.69 ms/op 640.46 ms/op 0.78
mainnet_e58758 - phase0 beforeProcessEpoch 130.34 ms/op 255.95 ms/op 0.51
mainnet_e58758 - phase0 processJustificationAndFinalization 23.018 us/op 32.598 us/op 0.71
mainnet_e58758 - phase0 processRewardsAndPenalties 63.600 ms/op 52.327 ms/op 1.22
mainnet_e58758 - phase0 processRegistryUpdates 15.126 us/op 22.150 us/op 0.68
mainnet_e58758 - phase0 processSlashings 638.00 ns/op 1.3150 us/op 0.49
mainnet_e58758 - phase0 processEth1DataReset 574.00 ns/op 904.00 ns/op 0.63
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3624 ms/op 1.5938 ms/op 0.85
mainnet_e58758 - phase0 processSlashingsReset 4.1710 us/op 5.7780 us/op 0.72
mainnet_e58758 - phase0 processRandaoMixesReset 7.0780 us/op 9.3440 us/op 0.76
mainnet_e58758 - phase0 processHistoricalRootsUpdate 593.00 ns/op 975.00 ns/op 0.61
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.1540 us/op 11.809 us/op 0.35
mainnet_e58758 - phase0 afterProcessEpoch 95.961 ms/op 106.15 ms/op 0.90
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4108 ms/op 2.1204 ms/op 0.67
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.5851 ms/op 1.9463 ms/op 1.33
altair processInactivityUpdates - 250000 normalcase 33.463 ms/op 31.550 ms/op 1.06
altair processInactivityUpdates - 250000 worstcase 28.389 ms/op 30.944 ms/op 0.92
phase0 processRegistryUpdates - 250000 normalcase 8.1840 us/op 18.368 us/op 0.45
phase0 processRegistryUpdates - 250000 badcase_full_deposits 644.38 us/op 501.31 us/op 1.29
phase0 processRegistryUpdates - 250000 worstcase 0.5 120.12 ms/op 175.06 ms/op 0.69
altair processRewardsAndPenalties - 250000 normalcase 64.749 ms/op 67.424 ms/op 0.96
altair processRewardsAndPenalties - 250000 worstcase 70.040 ms/op 60.147 ms/op 1.16
phase0 getAttestationDeltas - 250000 normalcase 8.7924 ms/op 14.043 ms/op 0.63
phase0 getAttestationDeltas - 250000 worstcase 8.9623 ms/op 13.580 ms/op 0.66
phase0 processSlashings - 250000 worstcase 132.31 us/op 134.01 us/op 0.99
altair processSyncCommitteeUpdates - 250000 148.37 ms/op 172.57 ms/op 0.86
BeaconState.hashTreeRoot - No change 257.00 ns/op 305.00 ns/op 0.84
BeaconState.hashTreeRoot - 1 full validator 133.05 us/op 146.52 us/op 0.91
BeaconState.hashTreeRoot - 32 full validator 1.2335 ms/op 1.6162 ms/op 0.76
BeaconState.hashTreeRoot - 512 full validator 15.271 ms/op 16.970 ms/op 0.90
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 157.53 us/op 219.49 us/op 0.72
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.1922 ms/op 3.1971 ms/op 0.69
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 24.020 ms/op 37.175 ms/op 0.65
BeaconState.hashTreeRoot - 1 balances 116.25 us/op 172.96 us/op 0.67
BeaconState.hashTreeRoot - 32 balances 1.3289 ms/op 1.3949 ms/op 0.95
BeaconState.hashTreeRoot - 512 balances 13.964 ms/op 15.677 ms/op 0.89
BeaconState.hashTreeRoot - 250000 balances 235.53 ms/op 264.74 ms/op 0.89
aggregationBits - 2048 els - zipIndexesInBitList 17.174 us/op 24.557 us/op 0.70
byteArrayEquals 32 74.040 ns/op 79.161 ns/op 0.94
Buffer.compare 32 62.066 ns/op 57.192 ns/op 1.09
byteArrayEquals 1024 2.0226 us/op 2.1588 us/op 0.94
Buffer.compare 1024 69.587 ns/op 72.500 ns/op 0.96
byteArrayEquals 16384 32.271 us/op 33.846 us/op 0.95
Buffer.compare 16384 252.32 ns/op 277.11 ns/op 0.91
byteArrayEquals 123687377 251.22 ms/op 270.10 ms/op 0.93
Buffer.compare 123687377 7.1725 ms/op 10.553 ms/op 0.68
byteArrayEquals 32 - diff last byte 83.822 ns/op 83.514 ns/op 1.00
Buffer.compare 32 - diff last byte 59.712 ns/op 62.627 ns/op 0.95
byteArrayEquals 1024 - diff last byte 2.1108 us/op 2.1858 us/op 0.97
Buffer.compare 1024 - diff last byte 75.223 ns/op 77.811 ns/op 0.97
byteArrayEquals 16384 - diff last byte 33.693 us/op 34.029 us/op 0.99
Buffer.compare 16384 - diff last byte 271.89 ns/op 283.82 ns/op 0.96
byteArrayEquals 123687377 - diff last byte 247.95 ms/op 259.06 ms/op 0.96
Buffer.compare 123687377 - diff last byte 6.3835 ms/op 9.0136 ms/op 0.71
byteArrayEquals 32 - random bytes 5.2820 ns/op 6.4650 ns/op 0.82
Buffer.compare 32 - random bytes 60.790 ns/op 64.333 ns/op 0.94
byteArrayEquals 1024 - random bytes 5.2260 ns/op 6.6580 ns/op 0.78
Buffer.compare 1024 - random bytes 60.219 ns/op 63.329 ns/op 0.95
byteArrayEquals 16384 - random bytes 5.1790 ns/op 6.3520 ns/op 0.82
Buffer.compare 16384 - random bytes 60.180 ns/op 63.277 ns/op 0.95
byteArrayEquals 123687377 - random bytes 8.3100 ns/op 10.370 ns/op 0.80
Buffer.compare 123687377 - random bytes 63.300 ns/op 75.200 ns/op 0.84
regular array get 100000 times 43.982 us/op 47.770 us/op 0.92
wrappedArray get 100000 times 43.947 us/op 49.291 us/op 0.89
arrayWithProxy get 100000 times 14.346 ms/op 15.335 ms/op 0.94
ssz.Root.equals 53.424 ns/op 60.087 ns/op 0.89
byteArrayEquals 53.298 ns/op 55.433 ns/op 0.96
Buffer.compare 10.786 ns/op 12.407 ns/op 0.87
shuffle list - 16384 els 7.0954 ms/op 7.2144 ms/op 0.98
shuffle list - 250000 els 104.02 ms/op 106.11 ms/op 0.98
processSlot - 1 slots 18.849 us/op 17.727 us/op 1.06
processSlot - 32 slots 3.0635 ms/op 4.8141 ms/op 0.64
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 55.799 ms/op 70.910 ms/op 0.79
getCommitteeAssignments - req 1 vs - 250000 vc 2.5736 ms/op 2.7580 ms/op 0.93
getCommitteeAssignments - req 100 vs - 250000 vc 3.8065 ms/op 3.9608 ms/op 0.96
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1381 ms/op 4.6624 ms/op 0.89
findModifiedValidators - 10000 modified validators 521.26 ms/op 684.18 ms/op 0.76
findModifiedValidators - 1000 modified validators 431.28 ms/op 544.15 ms/op 0.79
findModifiedValidators - 100 modified validators 416.13 ms/op 494.80 ms/op 0.84
findModifiedValidators - 10 modified validators 426.18 ms/op 524.62 ms/op 0.81
findModifiedValidators - 1 modified validators 424.01 ms/op 492.15 ms/op 0.86
findModifiedValidators - no difference 410.98 ms/op 522.35 ms/op 0.79
compare ViewDUs 5.0049 s/op 5.8222 s/op 0.86
compare each validator Uint8Array 1.9673 s/op 1.9818 s/op 0.99
compare ViewDU to Uint8Array 1.4472 s/op 1.4893 s/op 0.97
migrate state 1000000 validators, 24 modified, 0 new 957.79 ms/op 854.03 ms/op 1.12
migrate state 1000000 validators, 1700 modified, 1000 new 1.3263 s/op 1.2517 s/op 1.06
migrate state 1000000 validators, 3400 modified, 2000 new 1.6582 s/op 1.5201 s/op 1.09
migrate state 1500000 validators, 24 modified, 0 new 1.0016 s/op 947.09 ms/op 1.06
migrate state 1500000 validators, 1700 modified, 1000 new 1.1038 s/op 1.4712 s/op 0.75
migrate state 1500000 validators, 3400 modified, 2000 new 1.5069 s/op 1.9369 s/op 0.78
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.3900 ns/op 5.2500 ns/op 0.84
state getBlockRootAtSlot - 250000 vs - 7PWei 568.89 ns/op 814.03 ns/op 0.70
computeProposers - vc 250000 9.6494 ms/op 10.580 ms/op 0.91
computeEpochShuffling - vc 250000 106.55 ms/op 119.75 ms/op 0.89
getNextSyncCommittee - vc 250000 170.42 ms/op 178.70 ms/op 0.95
computeSigningRoot for AttestationData 29.891 us/op 39.753 us/op 0.75
hash AttestationData serialized data then Buffer.toString(base64) 2.4210 us/op 2.6296 us/op 0.92
toHexString serialized data 1.1606 us/op 1.7972 us/op 0.65
Buffer.toString(base64) 254.50 ns/op 292.61 ns/op 0.87

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 1715ab5 into unstable Jan 17, 2024
13 of 15 checks passed
@wemeetagain wemeetagain deleted the nflaig/remove-lock-diff branch January 17, 2024 18:49
ensi321 pushed a commit to ensi321/lodestar that referenced this pull request Jan 22, 2024
@wemeetagain
Copy link
Member

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