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 yarn.lock diff #6169

Merged
merged 1 commit into from
Dec 8, 2023
Merged

chore: fix yarn.lock diff #6169

merged 1 commit into from
Dec 8, 2023

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Dec 8, 2023

Motivation

Running yarn install locally produces a diff since we merged #6074

Description

Fix yarn.lock diff

@nflaig nflaig requested a review from a team as a code owner December 8, 2023 11:46
Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #6169 (7bc9b23) into unstable (53378e1) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6169   +/-   ##
=========================================
  Coverage     80.02%   80.02%           
=========================================
  Files            19       19           
  Lines          1717     1717           
  Branches        155      155           
=========================================
  Hits           1374     1374           
  Misses          341      341           
  Partials          2        2           

Copy link
Contributor

github-actions bot commented Dec 8, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: a3478a0 Previous: 53378e1 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.0605 ms/op 576.74 us/op 1.84
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 154.16 us/op 81.233 us/op 1.90
BLS verify - blst-native 1.3841 ms/op 1.3124 ms/op 1.05
BLS verifyMultipleSignatures 3 - blst-native 2.8719 ms/op 2.7496 ms/op 1.04
BLS verifyMultipleSignatures 8 - blst-native 6.3650 ms/op 6.0337 ms/op 1.05
BLS verifyMultipleSignatures 32 - blst-native 24.263 ms/op 22.038 ms/op 1.10
BLS verifyMultipleSignatures 64 - blst-native 46.590 ms/op 43.302 ms/op 1.08
BLS verifyMultipleSignatures 128 - blst-native 97.369 ms/op 86.362 ms/op 1.13
BLS deserializing 10000 signatures 1.0181 s/op 927.10 ms/op 1.10
BLS deserializing 100000 signatures 9.7107 s/op 9.4221 s/op 1.03
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3768 ms/op 1.3692 ms/op 1.01
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5337 ms/op 1.5458 ms/op 0.99
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4150 ms/op 2.3921 ms/op 1.01
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.5974 ms/op 4.7510 ms/op 0.76
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.7497 ms/op 8.0297 ms/op 0.72
BLS aggregatePubkeys 32 - blst-native 26.471 us/op 25.988 us/op 1.02
BLS aggregatePubkeys 128 - blst-native 102.44 us/op 100.88 us/op 1.02
getAttestationsForBlock 43.555 ms/op 54.878 ms/op 0.79
getSlashingsAndExits - default max 181.70 us/op 163.11 us/op 1.11
getSlashingsAndExits - 2k 526.84 us/op 531.49 us/op 0.99
proposeBlockBody type=full, size=empty 10.961 ms/op 5.7549 ms/op 1.90
isKnown best case - 1 super set check 870.00 ns/op 482.00 ns/op 1.80
isKnown normal case - 2 super set checks 905.00 ns/op 635.00 ns/op 1.43
isKnown worse case - 16 super set checks 872.00 ns/op 652.00 ns/op 1.34
CheckpointStateCache - add get delete 9.7360 us/op 6.3940 us/op 1.52
validate api signedAggregateAndProof - struct 3.8209 ms/op 2.9015 ms/op 1.32
validate gossip signedAggregateAndProof - struct 3.4069 ms/op 2.8604 ms/op 1.19
validate gossip attestation - vc 640000 1.3911 ms/op 1.4070 ms/op 0.99
batch validate gossip attestation - vc 640000 - chunk 32 168.85 us/op 173.96 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 64 149.31 us/op 153.16 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 128 143.04 us/op 149.56 us/op 0.96
batch validate gossip attestation - vc 640000 - chunk 256 134.92 us/op 140.03 us/op 0.96
pickEth1Vote - no votes 1.3505 ms/op 1.3423 ms/op 1.01
pickEth1Vote - max votes 10.158 ms/op 13.025 ms/op 0.78
pickEth1Vote - Eth1Data hashTreeRoot value x2048 19.203 ms/op 23.632 ms/op 0.81
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.001 ms/op 33.754 ms/op 0.80
pickEth1Vote - Eth1Data fastSerialize value x2048 659.44 us/op 708.07 us/op 0.93
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.4482 ms/op 8.1342 ms/op 0.79
bytes32 toHexString 582.00 ns/op 593.00 ns/op 0.98
bytes32 Buffer.toString(hex) 305.00 ns/op 287.00 ns/op 1.06
bytes32 Buffer.toString(hex) from Uint8Array 506.00 ns/op 548.00 ns/op 0.92
bytes32 Buffer.toString(hex) + 0x 313.00 ns/op 315.00 ns/op 0.99
Object access 1 prop 0.19600 ns/op 0.21200 ns/op 0.92
Map access 1 prop 0.15000 ns/op 0.14900 ns/op 1.01
Object get x1000 7.6850 ns/op 8.2000 ns/op 0.94
Map get x1000 0.85500 ns/op 0.88500 ns/op 0.97
Object set x1000 62.409 ns/op 68.475 ns/op 0.91
Map set x1000 46.939 ns/op 54.253 ns/op 0.87
Return object 10000 times 0.25640 ns/op 0.24850 ns/op 1.03
Throw Error 10000 times 4.0759 us/op 4.0216 us/op 1.01
fastMsgIdFn sha256 / 200 bytes 3.4390 us/op 3.4630 us/op 0.99
fastMsgIdFn h32 xxhash / 200 bytes 335.00 ns/op 340.00 ns/op 0.99
fastMsgIdFn h64 xxhash / 200 bytes 389.00 ns/op 393.00 ns/op 0.99
fastMsgIdFn sha256 / 1000 bytes 11.411 us/op 11.451 us/op 1.00
fastMsgIdFn h32 xxhash / 1000 bytes 436.00 ns/op 451.00 ns/op 0.97
fastMsgIdFn h64 xxhash / 1000 bytes 481.00 ns/op 459.00 ns/op 1.05
fastMsgIdFn sha256 / 10000 bytes 108.68 us/op 104.95 us/op 1.04
fastMsgIdFn h32 xxhash / 10000 bytes 2.1100 us/op 2.0070 us/op 1.05
fastMsgIdFn h64 xxhash / 10000 bytes 1.4330 us/op 1.3950 us/op 1.03
send data - 1000 256B messages 22.024 ms/op 21.600 ms/op 1.02
send data - 1000 512B messages 28.453 ms/op 29.521 ms/op 0.96
send data - 1000 1024B messages 44.542 ms/op 44.151 ms/op 1.01
send data - 1000 1200B messages 26.672 ms/op 40.319 ms/op 0.66
send data - 1000 2048B messages 47.487 ms/op 46.495 ms/op 1.02
send data - 1000 4096B messages 48.082 ms/op 42.072 ms/op 1.14
send data - 1000 16384B messages 120.82 ms/op 121.67 ms/op 0.99
send data - 1000 65536B messages 437.99 ms/op 507.35 ms/op 0.86
enrSubnets - fastDeserialize 64 bits 1.5960 us/op 1.6500 us/op 0.97
enrSubnets - ssz BitVector 64 bits 490.00 ns/op 534.00 ns/op 0.92
enrSubnets - fastDeserialize 4 bits 206.00 ns/op 226.00 ns/op 0.91
enrSubnets - ssz BitVector 4 bits 472.00 ns/op 526.00 ns/op 0.90
prioritizePeers score -10:0 att 32-0.1 sync 2-0 112.98 us/op 120.66 us/op 0.94
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 143.70 us/op 152.45 us/op 0.94
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 189.92 us/op 203.33 us/op 0.93
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 317.35 us/op 354.82 us/op 0.89
prioritizePeers score 0:0 att 64-1 sync 4-1 356.71 us/op 375.83 us/op 0.95
array of 16000 items push then shift 1.6495 us/op 1.7546 us/op 0.94
LinkedList of 16000 items push then shift 9.2320 ns/op 9.6200 ns/op 0.96
array of 16000 items push then pop 99.768 ns/op 119.71 ns/op 0.83
LinkedList of 16000 items push then pop 8.8670 ns/op 8.9610 ns/op 0.99
array of 24000 items push then shift 2.4710 us/op 2.5146 us/op 0.98
LinkedList of 24000 items push then shift 9.2160 ns/op 9.3280 ns/op 0.99
array of 24000 items push then pop 147.02 ns/op 151.31 ns/op 0.97
LinkedList of 24000 items push then pop 8.7730 ns/op 9.0140 ns/op 0.97
intersect bitArray bitLen 8 6.5260 ns/op 7.0210 ns/op 0.93
intersect array and set length 8 68.634 ns/op 67.450 ns/op 1.02
intersect bitArray bitLen 128 34.258 ns/op 35.647 ns/op 0.96
intersect array and set length 128 973.60 ns/op 1.0104 us/op 0.96
bitArray.getTrueBitIndexes() bitLen 128 1.5140 us/op 1.7060 us/op 0.89
bitArray.getTrueBitIndexes() bitLen 248 2.7640 us/op 3.1500 us/op 0.88
bitArray.getTrueBitIndexes() bitLen 512 5.6360 us/op 5.7900 us/op 0.97
Buffer.concat 32 items 990.00 ns/op 1.0630 us/op 0.93
Uint8Array.set 32 items 1.8010 us/op 2.1270 us/op 0.85
Set add up to 64 items then delete first 5.3623 us/op 5.0767 us/op 1.06
OrderedSet add up to 64 items then delete first 6.0658 us/op 6.7389 us/op 0.90
Set add up to 64 items then delete last 5.2811 us/op 5.4945 us/op 0.96
OrderedSet add up to 64 items then delete last 6.9129 us/op 6.6219 us/op 1.04
Set add up to 64 items then delete middle 5.2381 us/op 5.3097 us/op 0.99
OrderedSet add up to 64 items then delete middle 8.4708 us/op 8.3970 us/op 1.01
Set add up to 128 items then delete first 10.868 us/op 10.688 us/op 1.02
OrderedSet add up to 128 items then delete first 13.177 us/op 14.260 us/op 0.92
Set add up to 128 items then delete last 9.7239 us/op 10.484 us/op 0.93
OrderedSet add up to 128 items then delete last 13.441 us/op 13.792 us/op 0.97
Set add up to 128 items then delete middle 9.8638 us/op 10.464 us/op 0.94
OrderedSet add up to 128 items then delete middle 19.015 us/op 18.835 us/op 1.01
Set add up to 256 items then delete first 20.584 us/op 21.301 us/op 0.97
OrderedSet add up to 256 items then delete first 27.340 us/op 28.767 us/op 0.95
Set add up to 256 items then delete last 20.530 us/op 19.488 us/op 1.05
OrderedSet add up to 256 items then delete last 28.196 us/op 26.811 us/op 1.05
Set add up to 256 items then delete middle 20.533 us/op 20.669 us/op 0.99
OrderedSet add up to 256 items then delete middle 50.263 us/op 49.473 us/op 1.02
transfer serialized Status (84 B) 1.9380 us/op 1.8600 us/op 1.04
copy serialized Status (84 B) 1.7090 us/op 1.6150 us/op 1.06
transfer serialized SignedVoluntaryExit (112 B) 2.3130 us/op 1.8960 us/op 1.22
copy serialized SignedVoluntaryExit (112 B) 1.8020 us/op 1.6290 us/op 1.11
transfer serialized ProposerSlashing (416 B) 2.4270 us/op 2.4370 us/op 1.00
copy serialized ProposerSlashing (416 B) 2.4050 us/op 3.1020 us/op 0.78
transfer serialized Attestation (485 B) 2.2290 us/op 3.3700 us/op 0.66
copy serialized Attestation (485 B) 2.2460 us/op 3.3290 us/op 0.67
transfer serialized AttesterSlashing (33232 B) 2.4100 us/op 3.3880 us/op 0.71
copy serialized AttesterSlashing (33232 B) 6.8120 us/op 9.5100 us/op 0.72
transfer serialized Small SignedBeaconBlock (128000 B) 2.8570 us/op 3.5340 us/op 0.81
copy serialized Small SignedBeaconBlock (128000 B) 20.494 us/op 19.600 us/op 1.05
transfer serialized Avg SignedBeaconBlock (200000 B) 4.1440 us/op 3.5020 us/op 1.18
copy serialized Avg SignedBeaconBlock (200000 B) 27.158 us/op 27.728 us/op 0.98
transfer serialized BlobsSidecar (524380 B) 3.4490 us/op 3.6710 us/op 0.94
copy serialized BlobsSidecar (524380 B) 112.02 us/op 86.876 us/op 1.29
transfer serialized Big SignedBeaconBlock (1000000 B) 4.0090 us/op 4.0050 us/op 1.00
copy serialized Big SignedBeaconBlock (1000000 B) 175.06 us/op 170.02 us/op 1.03
pass gossip attestations to forkchoice per slot 4.4356 ms/op 4.1149 ms/op 1.08
forkChoice updateHead vc 100000 bc 64 eq 0 698.31 us/op 765.38 us/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 0 5.5622 ms/op 4.4127 ms/op 1.26
forkChoice updateHead vc 1000000 bc 64 eq 0 7.6505 ms/op 7.3421 ms/op 1.04
forkChoice updateHead vc 600000 bc 320 eq 0 4.3656 ms/op 4.3997 ms/op 0.99
forkChoice updateHead vc 600000 bc 1200 eq 0 4.4123 ms/op 4.5302 ms/op 0.97
forkChoice updateHead vc 600000 bc 7200 eq 0 6.0789 ms/op 5.5671 ms/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 1000 11.817 ms/op 11.593 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 10000 12.488 ms/op 12.518 ms/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 300000 19.993 ms/op 18.295 ms/op 1.09
computeDeltas 500000 validators 300 proto nodes 6.9254 ms/op 6.7538 ms/op 1.03
computeDeltas 500000 validators 1200 proto nodes 6.8386 ms/op 6.7436 ms/op 1.01
computeDeltas 500000 validators 7200 proto nodes 6.6546 ms/op 6.2223 ms/op 1.07
computeDeltas 750000 validators 300 proto nodes 10.255 ms/op 9.5586 ms/op 1.07
computeDeltas 750000 validators 1200 proto nodes 10.404 ms/op 9.4676 ms/op 1.10
computeDeltas 750000 validators 7200 proto nodes 10.709 ms/op 9.6272 ms/op 1.11
computeDeltas 1400000 validators 300 proto nodes 20.182 ms/op 18.854 ms/op 1.07
computeDeltas 1400000 validators 1200 proto nodes 20.209 ms/op 18.715 ms/op 1.08
computeDeltas 1400000 validators 7200 proto nodes 19.714 ms/op 18.711 ms/op 1.05
computeDeltas 2100000 validators 300 proto nodes 28.952 ms/op 28.247 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 29.761 ms/op 28.282 ms/op 1.05
computeDeltas 2100000 validators 7200 proto nodes 29.490 ms/op 28.791 ms/op 1.02
computeProposerBoostScoreFromBalances 500000 validators 3.9152 ms/op 3.8009 ms/op 1.03
computeProposerBoostScoreFromBalances 750000 validators 3.8372 ms/op 3.7239 ms/op 1.03
computeProposerBoostScoreFromBalances 1400000 validators 3.8189 ms/op 3.7032 ms/op 1.03
computeProposerBoostScoreFromBalances 2100000 validators 3.6773 ms/op 3.7371 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.0790 ms/op 2.1681 ms/op 0.96
altair processAttestation - 250000 vs - 7PWei worstcase 3.0209 ms/op 3.4537 ms/op 0.87
altair processAttestation - setStatus - 1/6 committees join 129.46 us/op 153.55 us/op 0.84
altair processAttestation - setStatus - 1/3 committees join 265.17 us/op 290.10 us/op 0.91
altair processAttestation - setStatus - 1/2 committees join 357.40 us/op 403.01 us/op 0.89
altair processAttestation - setStatus - 2/3 committees join 452.47 us/op 495.45 us/op 0.91
altair processAttestation - setStatus - 4/5 committees join 628.73 us/op 690.87 us/op 0.91
altair processAttestation - setStatus - 100% committees join 729.40 us/op 818.06 us/op 0.89
altair processBlock - 250000 vs - 7PWei normalcase 10.229 ms/op 10.683 ms/op 0.96
altair processBlock - 250000 vs - 7PWei normalcase hashState 41.267 ms/op 39.486 ms/op 1.05
altair processBlock - 250000 vs - 7PWei worstcase 39.584 ms/op 36.546 ms/op 1.08
altair processBlock - 250000 vs - 7PWei worstcase hashState 94.510 ms/op 93.821 ms/op 1.01
phase0 processBlock - 250000 vs - 7PWei normalcase 2.8342 ms/op 2.7272 ms/op 1.04
phase0 processBlock - 250000 vs - 7PWei worstcase 30.001 ms/op 32.768 ms/op 0.92
altair processEth1Data - 250000 vs - 7PWei normalcase 499.83 us/op 581.18 us/op 0.86
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.736 us/op 10.447 us/op 1.03
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 58.856 us/op 36.997 us/op 1.59
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 19.711 us/op 17.121 us/op 1.15
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 10.770 us/op 12.958 us/op 0.83
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 169.86 us/op 158.57 us/op 1.07
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2857 ms/op 1.0872 ms/op 1.18
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.7738 ms/op 1.4900 ms/op 1.19
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5589 ms/op 1.7635 ms/op 0.88
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.0860 ms/op 3.5888 ms/op 0.86
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.3512 ms/op 2.2920 ms/op 1.03
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.5916 ms/op 5.4196 ms/op 1.03
Tree 40 250000 create 366.10 ms/op 358.47 ms/op 1.02
Tree 40 250000 get(125000) 201.50 ns/op 196.59 ns/op 1.02
Tree 40 250000 set(125000) 1.0216 us/op 1.0715 us/op 0.95
Tree 40 250000 toArray() 18.896 ms/op 23.868 ms/op 0.79
Tree 40 250000 iterate all - toArray() + loop 21.204 ms/op 22.354 ms/op 0.95
Tree 40 250000 iterate all - get(i) 66.809 ms/op 75.976 ms/op 0.88
MutableVector 250000 create 14.568 ms/op 12.831 ms/op 1.14
MutableVector 250000 get(125000) 6.3290 ns/op 6.8260 ns/op 0.93
MutableVector 250000 set(125000) 261.72 ns/op 284.91 ns/op 0.92
MutableVector 250000 toArray() 3.4419 ms/op 3.9168 ms/op 0.88
MutableVector 250000 iterate all - toArray() + loop 3.5908 ms/op 4.0857 ms/op 0.88
MutableVector 250000 iterate all - get(i) 1.5031 ms/op 1.6482 ms/op 0.91
Array 250000 create 2.6968 ms/op 3.6510 ms/op 0.74
Array 250000 clone - spread 1.2355 ms/op 1.3632 ms/op 0.91
Array 250000 get(125000) 1.0080 ns/op 1.1320 ns/op 0.89
Array 250000 set(125000) 4.1450 ns/op 4.6410 ns/op 0.89
Array 250000 iterate all - loop 165.76 us/op 173.58 us/op 0.95
effectiveBalanceIncrements clone Uint8Array 300000 26.384 us/op 37.690 us/op 0.70
effectiveBalanceIncrements clone MutableVector 300000 337.00 ns/op 399.00 ns/op 0.84
effectiveBalanceIncrements rw all Uint8Array 300000 198.76 us/op 203.40 us/op 0.98
effectiveBalanceIncrements rw all MutableVector 300000 81.361 ms/op 99.464 ms/op 0.82
phase0 afterProcessEpoch - 250000 vs - 7PWei 111.70 ms/op 116.60 ms/op 0.96
phase0 beforeProcessEpoch - 250000 vs - 7PWei 54.008 ms/op 51.276 ms/op 1.05
altair processEpoch - mainnet_e81889 460.06 ms/op 602.21 ms/op 0.76
mainnet_e81889 - altair beforeProcessEpoch 79.359 ms/op 159.01 ms/op 0.50
mainnet_e81889 - altair processJustificationAndFinalization 15.355 us/op 43.095 us/op 0.36
mainnet_e81889 - altair processInactivityUpdates 6.3971 ms/op 11.881 ms/op 0.54
mainnet_e81889 - altair processRewardsAndPenalties 62.904 ms/op 75.123 ms/op 0.84
mainnet_e81889 - altair processRegistryUpdates 2.6380 us/op 5.0880 us/op 0.52
mainnet_e81889 - altair processSlashings 518.00 ns/op 541.00 ns/op 0.96
mainnet_e81889 - altair processEth1DataReset 498.00 ns/op 432.00 ns/op 1.15
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4427 ms/op 1.4581 ms/op 0.99
mainnet_e81889 - altair processSlashingsReset 3.9430 us/op 4.6260 us/op 0.85
mainnet_e81889 - altair processRandaoMixesReset 5.0580 us/op 9.5410 us/op 0.53
mainnet_e81889 - altair processHistoricalRootsUpdate 789.00 ns/op 1.6510 us/op 0.48
mainnet_e81889 - altair processParticipationFlagUpdates 2.9870 us/op 2.6400 us/op 1.13
mainnet_e81889 - altair processSyncCommitteeUpdates 1.1480 us/op 663.00 ns/op 1.73
mainnet_e81889 - altair afterProcessEpoch 118.76 ms/op 120.78 ms/op 0.98
capella processEpoch - mainnet_e217614 2.1685 s/op 2.4379 s/op 0.89
mainnet_e217614 - capella beforeProcessEpoch 522.30 ms/op 558.35 ms/op 0.94
mainnet_e217614 - capella processJustificationAndFinalization 29.086 us/op 18.842 us/op 1.54
mainnet_e217614 - capella processInactivityUpdates 31.371 ms/op 17.357 ms/op 1.81
mainnet_e217614 - capella processRewardsAndPenalties 498.67 ms/op 422.32 ms/op 1.18
mainnet_e217614 - capella processRegistryUpdates 48.920 us/op 29.091 us/op 1.68
mainnet_e217614 - capella processSlashings 1.1650 us/op 694.00 ns/op 1.68
mainnet_e217614 - capella processEth1DataReset 651.00 ns/op 558.00 ns/op 1.17
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.2862 ms/op 4.8701 ms/op 1.09
mainnet_e217614 - capella processSlashingsReset 5.1380 us/op 3.6100 us/op 1.42
mainnet_e217614 - capella processRandaoMixesReset 4.9890 us/op 4.5660 us/op 1.09
mainnet_e217614 - capella processHistoricalRootsUpdate 809.00 ns/op 515.00 ns/op 1.57
mainnet_e217614 - capella processParticipationFlagUpdates 2.4650 us/op 1.4590 us/op 1.69
mainnet_e217614 - capella afterProcessEpoch 341.82 ms/op 328.28 ms/op 1.04
phase0 processEpoch - mainnet_e58758 541.29 ms/op 471.54 ms/op 1.15
mainnet_e58758 - phase0 beforeProcessEpoch 162.15 ms/op 143.22 ms/op 1.13
mainnet_e58758 - phase0 processJustificationAndFinalization 20.740 us/op 16.759 us/op 1.24
mainnet_e58758 - phase0 processRewardsAndPenalties 61.517 ms/op 56.005 ms/op 1.10
mainnet_e58758 - phase0 processRegistryUpdates 10.184 us/op 11.449 us/op 0.89
mainnet_e58758 - phase0 processSlashings 577.00 ns/op 430.00 ns/op 1.34
mainnet_e58758 - phase0 processEth1DataReset 490.00 ns/op 425.00 ns/op 1.15
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1674 ms/op 1.1527 ms/op 1.01
mainnet_e58758 - phase0 processSlashingsReset 3.1480 us/op 3.5020 us/op 0.90
mainnet_e58758 - phase0 processRandaoMixesReset 5.3600 us/op 7.4580 us/op 0.72
mainnet_e58758 - phase0 processHistoricalRootsUpdate 508.00 ns/op 587.00 ns/op 0.87
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.5470 us/op 3.6040 us/op 1.26
mainnet_e58758 - phase0 afterProcessEpoch 96.080 ms/op 98.213 ms/op 0.98
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3858 ms/op 1.3682 ms/op 1.01
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4419 ms/op 1.4758 ms/op 0.98
altair processInactivityUpdates - 250000 normalcase 28.664 ms/op 25.113 ms/op 1.14
altair processInactivityUpdates - 250000 worstcase 31.624 ms/op 21.933 ms/op 1.44
phase0 processRegistryUpdates - 250000 normalcase 9.7890 us/op 8.6930 us/op 1.13
phase0 processRegistryUpdates - 250000 badcase_full_deposits 389.29 us/op 408.45 us/op 0.95
phase0 processRegistryUpdates - 250000 worstcase 0.5 142.99 ms/op 130.29 ms/op 1.10
altair processRewardsAndPenalties - 250000 normalcase 57.387 ms/op 43.590 ms/op 1.32
altair processRewardsAndPenalties - 250000 worstcase 62.689 ms/op 57.881 ms/op 1.08
phase0 getAttestationDeltas - 250000 normalcase 10.726 ms/op 9.9171 ms/op 1.08
phase0 getAttestationDeltas - 250000 worstcase 10.409 ms/op 12.141 ms/op 0.86
phase0 processSlashings - 250000 worstcase 123.69 us/op 134.46 us/op 0.92
altair processSyncCommitteeUpdates - 250000 173.68 ms/op 170.23 ms/op 1.02
BeaconState.hashTreeRoot - No change 279.00 ns/op 259.00 ns/op 1.08
BeaconState.hashTreeRoot - 1 full validator 153.03 us/op 154.60 us/op 0.99
BeaconState.hashTreeRoot - 32 full validator 1.5828 ms/op 1.4339 ms/op 1.10
BeaconState.hashTreeRoot - 512 full validator 17.130 ms/op 17.569 ms/op 0.98
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 181.33 us/op 177.81 us/op 1.02
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.1547 ms/op 2.2699 ms/op 1.39
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 32.966 ms/op 29.326 ms/op 1.12
BeaconState.hashTreeRoot - 1 balances 184.78 us/op 153.28 us/op 1.21
BeaconState.hashTreeRoot - 32 balances 1.5749 ms/op 1.4945 ms/op 1.05
BeaconState.hashTreeRoot - 512 balances 14.848 ms/op 12.455 ms/op 1.19
BeaconState.hashTreeRoot - 250000 balances 231.70 ms/op 228.05 ms/op 1.02
aggregationBits - 2048 els - zipIndexesInBitList 27.286 us/op 19.370 us/op 1.41
byteArrayEquals 32 76.820 ns/op 91.106 ns/op 0.84
Buffer.compare 32 56.962 ns/op 58.610 ns/op 0.97
byteArrayEquals 1024 2.5234 us/op 2.2508 us/op 1.12
Buffer.compare 1024 72.801 ns/op 74.660 ns/op 0.98
byteArrayEquals 16384 34.186 us/op 35.482 us/op 0.96
Buffer.compare 16384 276.83 ns/op 289.24 ns/op 0.96
byteArrayEquals 123687377 266.43 ms/op 261.48 ms/op 1.02
Buffer.compare 123687377 10.273 ms/op 8.9506 ms/op 1.15
byteArrayEquals 32 - diff last byte 80.148 ns/op 82.247 ns/op 0.97
Buffer.compare 32 - diff last byte 63.990 ns/op 59.619 ns/op 1.07
byteArrayEquals 1024 - diff last byte 2.2205 us/op 2.0854 us/op 1.06
Buffer.compare 1024 - diff last byte 75.324 ns/op 75.419 ns/op 1.00
byteArrayEquals 16384 - diff last byte 35.575 us/op 34.320 us/op 1.04
Buffer.compare 16384 - diff last byte 269.25 ns/op 269.00 ns/op 1.00
byteArrayEquals 123687377 - diff last byte 281.16 ms/op 276.37 ms/op 1.02
Buffer.compare 123687377 - diff last byte 9.5809 ms/op 8.0665 ms/op 1.19
byteArrayEquals 32 - random bytes 6.7110 ns/op 6.4110 ns/op 1.05
Buffer.compare 32 - random bytes 62.951 ns/op 63.770 ns/op 0.99
byteArrayEquals 1024 - random bytes 6.5820 ns/op 6.1910 ns/op 1.06
Buffer.compare 1024 - random bytes 61.988 ns/op 63.606 ns/op 0.97
byteArrayEquals 16384 - random bytes 6.5910 ns/op 5.6820 ns/op 1.16
Buffer.compare 16384 - random bytes 62.922 ns/op 63.355 ns/op 0.99
byteArrayEquals 123687377 - random bytes 11.410 ns/op 9.1300 ns/op 1.25
Buffer.compare 123687377 - random bytes 80.660 ns/op 81.270 ns/op 0.99
regular array get 100000 times 47.233 us/op 47.392 us/op 1.00
wrappedArray get 100000 times 46.815 us/op 47.166 us/op 0.99
arrayWithProxy get 100000 times 15.789 ms/op 14.704 ms/op 1.07
ssz.Root.equals 55.825 ns/op 56.492 ns/op 0.99
byteArrayEquals 55.314 ns/op 55.874 ns/op 0.99
Buffer.compare 12.214 ns/op 12.407 ns/op 0.98
shuffle list - 16384 els 7.1741 ms/op 7.1003 ms/op 1.01
shuffle list - 250000 els 106.64 ms/op 104.02 ms/op 1.03
processSlot - 1 slots 19.182 us/op 18.154 us/op 1.06
processSlot - 32 slots 4.2339 ms/op 3.1468 ms/op 1.35
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 62.039 ms/op 61.485 ms/op 1.01
getCommitteeAssignments - req 1 vs - 250000 vc 2.5017 ms/op 2.5469 ms/op 0.98
getCommitteeAssignments - req 100 vs - 250000 vc 3.7060 ms/op 3.7822 ms/op 0.98
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1220 ms/op 4.0598 ms/op 1.02
findModifiedValidators - 10000 modified validators 542.13 ms/op 515.87 ms/op 1.05
findModifiedValidators - 1000 modified validators 424.59 ms/op 422.54 ms/op 1.00
findModifiedValidators - 100 modified validators 388.45 ms/op 422.47 ms/op 0.92
findModifiedValidators - 10 modified validators 431.20 ms/op 398.10 ms/op 1.08
findModifiedValidators - 1 modified validators 420.81 ms/op 398.18 ms/op 1.06
findModifiedValidators - no difference 411.52 ms/op 385.72 ms/op 1.07
compare ViewDUs 4.5599 s/op 4.4701 s/op 1.02
compare each validator Uint8Array 1.6334 s/op 1.4572 s/op 1.12
compare ViewDU to Uint8Array 1.0854 s/op 1.2182 s/op 0.89
migrate state 1000000 validators, 24 modified, 0 new 775.53 ms/op 789.44 ms/op 0.98
migrate state 1000000 validators, 1700 modified, 1000 new 1.0452 s/op 1.0864 s/op 0.96
migrate state 1000000 validators, 3400 modified, 2000 new 1.2633 s/op 1.2881 s/op 0.98
migrate state 1500000 validators, 24 modified, 0 new 772.21 ms/op 785.04 ms/op 0.98
migrate state 1500000 validators, 1700 modified, 1000 new 1.0162 s/op 1.0823 s/op 0.94
migrate state 1500000 validators, 3400 modified, 2000 new 1.2998 s/op 1.2536 s/op 1.04
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5100 ns/op 4.4300 ns/op 1.02
state getBlockRootAtSlot - 250000 vs - 7PWei 978.58 ns/op 840.47 ns/op 1.16
computeProposers - vc 250000 9.6778 ms/op 9.8480 ms/op 0.98
computeEpochShuffling - vc 250000 104.06 ms/op 104.22 ms/op 1.00
getNextSyncCommittee - vc 250000 162.16 ms/op 155.56 ms/op 1.04
computeSigningRoot for AttestationData 24.548 us/op 26.205 us/op 0.94
hash AttestationData serialized data then Buffer.toString(base64) 2.3283 us/op 2.3603 us/op 0.99
toHexString serialized data 1.0680 us/op 1.0739 us/op 0.99
Buffer.toString(base64) 220.96 ns/op 203.20 ns/op 1.09

by benchmarkbot/action

@nflaig nflaig merged commit 8bd19f4 into unstable Dec 8, 2023
15 checks passed
@nflaig nflaig deleted the nflaig/fix-yarn-lock-diff branch December 8, 2023 14:05
@wemeetagain
Copy link
Member

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