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

feat: update libp2p to 0.46.3 #5869

Merged
merged 2 commits into from
Aug 14, 2023
Merged

feat: update libp2p to 0.46.3 #5869

merged 2 commits into from
Aug 14, 2023

Conversation

wemeetagain
Copy link
Member

Motivation

We want the latest libp2p and dependencies so we can get the latest improvements / metrics changes

Description

  • Update libp2p and all libp2p dependencies

@wemeetagain wemeetagain requested a review from a team as a code owner August 9, 2023 15:25
@github-actions
Copy link
Contributor

github-actions bot commented Aug 9, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: c102142 Previous: 97d0e46 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 691.63 us/op 987.21 us/op 0.70
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 91.371 us/op 93.049 us/op 0.98
BLS verify - blst-native 1.2911 ms/op 1.2453 ms/op 1.04
BLS verifyMultipleSignatures 3 - blst-native 2.8472 ms/op 2.6325 ms/op 1.08
BLS verifyMultipleSignatures 8 - blst-native 5.5768 ms/op 5.6073 ms/op 0.99
BLS verifyMultipleSignatures 32 - blst-native 20.606 ms/op 20.142 ms/op 1.02
BLS aggregatePubkeys 32 - blst-native 26.868 us/op 27.593 us/op 0.97
BLS aggregatePubkeys 128 - blst-native 104.33 us/op 104.13 us/op 1.00
getAttestationsForBlock 54.001 ms/op 64.940 ms/op 0.83
isKnown best case - 1 super set check 282.00 ns/op 357.00 ns/op 0.79
isKnown normal case - 2 super set checks 279.00 ns/op 349.00 ns/op 0.80
isKnown worse case - 16 super set checks 302.00 ns/op 281.00 ns/op 1.07
CheckpointStateCache - add get delete 5.7350 us/op 5.5630 us/op 1.03
validate api signedAggregateAndProof - struct 2.9042 ms/op 2.8631 ms/op 1.01
validate gossip signedAggregateAndProof - struct 3.0855 ms/op 2.9317 ms/op 1.05
validate api attestation - struct 1.4231 ms/op 1.3773 ms/op 1.03
validate gossip attestation - struct 1.4157 ms/op 1.4386 ms/op 0.98
pickEth1Vote - no votes 1.2425 ms/op 1.3986 ms/op 0.89
pickEth1Vote - max votes 9.6957 ms/op 10.070 ms/op 0.96
pickEth1Vote - Eth1Data hashTreeRoot value x2048 9.0670 ms/op 9.4593 ms/op 0.96
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 14.502 ms/op 18.210 ms/op 0.80
pickEth1Vote - Eth1Data fastSerialize value x2048 670.39 us/op 710.35 us/op 0.94
pickEth1Vote - Eth1Data fastSerialize tree x2048 8.3082 ms/op 7.5532 ms/op 1.10
bytes32 toHexString 603.00 ns/op 718.00 ns/op 0.84
bytes32 Buffer.toString(hex) 309.00 ns/op 314.00 ns/op 0.98
bytes32 Buffer.toString(hex) from Uint8Array 542.00 ns/op 570.00 ns/op 0.95
bytes32 Buffer.toString(hex) + 0x 309.00 ns/op 330.00 ns/op 0.94
Object access 1 prop 0.18400 ns/op 0.20500 ns/op 0.90
Map access 1 prop 0.15900 ns/op 0.15700 ns/op 1.01
Object get x1000 8.7160 ns/op 8.3120 ns/op 1.05
Map get x1000 0.77200 ns/op 0.77000 ns/op 1.00
Object set x1000 71.367 ns/op 69.607 ns/op 1.03
Map set x1000 52.422 ns/op 51.483 ns/op 1.02
Return object 10000 times 0.26500 ns/op 0.25860 ns/op 1.02
Throw Error 10000 times 4.1615 us/op 4.1279 us/op 1.01
fastMsgIdFn sha256 / 200 bytes 3.5240 us/op 3.6700 us/op 0.96
fastMsgIdFn h32 xxhash / 200 bytes 342.00 ns/op 370.00 ns/op 0.92
fastMsgIdFn h64 xxhash / 200 bytes 412.00 ns/op 417.00 ns/op 0.99
fastMsgIdFn sha256 / 1000 bytes 12.280 us/op 12.027 us/op 1.02
fastMsgIdFn h32 xxhash / 1000 bytes 480.00 ns/op 477.00 ns/op 1.01
fastMsgIdFn h64 xxhash / 1000 bytes 483.00 ns/op 451.00 ns/op 1.07
fastMsgIdFn sha256 / 10000 bytes 110.18 us/op 108.04 us/op 1.02
fastMsgIdFn h32 xxhash / 10000 bytes 2.0720 us/op 2.0550 us/op 1.01
fastMsgIdFn h64 xxhash / 10000 bytes 1.4410 us/op 1.4070 us/op 1.02
enrSubnets - fastDeserialize 64 bits 1.6240 us/op 1.4070 us/op 1.15
enrSubnets - ssz BitVector 64 bits 542.00 ns/op 540.00 ns/op 1.00
enrSubnets - fastDeserialize 4 bits 225.00 ns/op 217.00 ns/op 1.04
enrSubnets - ssz BitVector 4 bits 558.00 ns/op 561.00 ns/op 0.99
prioritizePeers score -10:0 att 32-0.1 sync 2-0 120.67 us/op 112.59 us/op 1.07
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 157.63 us/op 148.93 us/op 1.06
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 205.99 us/op 205.18 us/op 1.00
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 356.87 us/op 342.72 us/op 1.04
prioritizePeers score 0:0 att 64-1 sync 4-1 386.49 us/op 395.65 us/op 0.98
array of 16000 items push then shift 1.6962 us/op 1.7442 us/op 0.97
LinkedList of 16000 items push then shift 9.9050 ns/op 9.8970 ns/op 1.00
array of 16000 items push then pop 69.127 ns/op 69.189 ns/op 1.00
LinkedList of 16000 items push then pop 9.9120 ns/op 9.8310 ns/op 1.01
array of 24000 items push then shift 2.6376 us/op 2.7572 us/op 0.96
LinkedList of 24000 items push then shift 10.524 ns/op 9.9280 ns/op 1.06
array of 24000 items push then pop 129.85 ns/op 129.48 ns/op 1.00
LinkedList of 24000 items push then pop 9.7720 ns/op 9.2320 ns/op 1.06
intersect bitArray bitLen 8 7.3540 ns/op 7.2430 ns/op 1.02
intersect array and set length 8 85.545 ns/op 95.509 ns/op 0.90
intersect bitArray bitLen 128 34.267 ns/op 33.430 ns/op 1.03
intersect array and set length 128 982.52 ns/op 1.0490 us/op 0.94
bitArray.getTrueBitIndexes() bitLen 128 1.7010 us/op 1.9800 us/op 0.86
bitArray.getTrueBitIndexes() bitLen 248 3.2750 us/op 3.4670 us/op 0.94
bitArray.getTrueBitIndexes() bitLen 512 6.3910 us/op 7.3240 us/op 0.87
Buffer.concat 32 items 1.1080 us/op 1.1780 us/op 0.94
Uint8Array.set 32 items 1.6640 us/op 2.6890 us/op 0.62
transfer serialized Status (84 B) 1.9680 us/op 2.0850 us/op 0.94
copy serialized Status (84 B) 1.6280 us/op 1.7670 us/op 0.92
transfer serialized SignedVoluntaryExit (112 B) 1.9770 us/op 2.1450 us/op 0.92
copy serialized SignedVoluntaryExit (112 B) 1.6890 us/op 1.8220 us/op 0.93
transfer serialized ProposerSlashing (416 B) 2.1820 us/op 2.5080 us/op 0.87
copy serialized ProposerSlashing (416 B) 2.2210 us/op 2.3680 us/op 0.94
transfer serialized Attestation (485 B) 2.4350 us/op 2.6700 us/op 0.91
copy serialized Attestation (485 B) 2.2230 us/op 2.6450 us/op 0.84
transfer serialized AttesterSlashing (33232 B) 2.4080 us/op 3.8190 us/op 0.63
copy serialized AttesterSlashing (33232 B) 6.0750 us/op 8.1000 us/op 0.75
transfer serialized Small SignedBeaconBlock (128000 B) 2.8160 us/op 3.1460 us/op 0.90
copy serialized Small SignedBeaconBlock (128000 B) 17.398 us/op 18.692 us/op 0.93
transfer serialized Avg SignedBeaconBlock (200000 B) 3.0090 us/op 3.5010 us/op 0.86
copy serialized Avg SignedBeaconBlock (200000 B) 22.150 us/op 30.661 us/op 0.72
transfer serialized BlobsSidecar (524380 B) 3.3360 us/op 4.1500 us/op 0.80
copy serialized BlobsSidecar (524380 B) 128.16 us/op 228.37 us/op 0.56
transfer serialized Big SignedBeaconBlock (1000000 B) 3.3500 us/op 3.9130 us/op 0.86
copy serialized Big SignedBeaconBlock (1000000 B) 169.39 us/op 180.06 us/op 0.94
pass gossip attestations to forkchoice per slot 2.3251 ms/op 2.2325 ms/op 1.04
forkChoice updateHead vc 100000 bc 64 eq 0 2.1601 ms/op 2.5716 ms/op 0.84
forkChoice updateHead vc 600000 bc 64 eq 0 14.601 ms/op 12.722 ms/op 1.15
forkChoice updateHead vc 1000000 bc 64 eq 0 20.259 ms/op 20.928 ms/op 0.97
forkChoice updateHead vc 600000 bc 320 eq 0 17.245 ms/op 21.024 ms/op 0.82
forkChoice updateHead vc 600000 bc 1200 eq 0 92.803 ms/op 88.573 ms/op 1.05
forkChoice updateHead vc 600000 bc 64 eq 1000 23.170 ms/op 22.867 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 10000 25.357 ms/op 25.590 ms/op 0.99
forkChoice updateHead vc 600000 bc 64 eq 300000 33.328 ms/op 43.384 ms/op 0.77
computeDeltas 3.2057 ms/op 3.2797 ms/op 0.98
computeProposerBoostScoreFromBalances 408.97 us/op 403.46 us/op 1.01
altair processAttestation - 250000 vs - 7PWei normalcase 2.7774 ms/op 3.3024 ms/op 0.84
altair processAttestation - 250000 vs - 7PWei worstcase 4.6178 ms/op 3.9605 ms/op 1.17
altair processAttestation - setStatus - 1/6 committees join 194.53 us/op 162.43 us/op 1.20
altair processAttestation - setStatus - 1/3 committees join 412.43 us/op 310.92 us/op 1.33
altair processAttestation - setStatus - 1/2 committees join 509.69 us/op 424.10 us/op 1.20
altair processAttestation - setStatus - 2/3 committees join 643.92 us/op 532.72 us/op 1.21
altair processAttestation - setStatus - 4/5 committees join 839.23 us/op 753.88 us/op 1.11
altair processAttestation - setStatus - 100% committees join 993.03 us/op 883.19 us/op 1.12
altair processBlock - 250000 vs - 7PWei normalcase 10.055 ms/op 10.460 ms/op 0.96
altair processBlock - 250000 vs - 7PWei normalcase hashState 20.162 ms/op 20.027 ms/op 1.01
altair processBlock - 250000 vs - 7PWei worstcase 45.283 ms/op 40.182 ms/op 1.13
altair processBlock - 250000 vs - 7PWei worstcase hashState 64.058 ms/op 65.610 ms/op 0.98
phase0 processBlock - 250000 vs - 7PWei normalcase 2.8467 ms/op 3.1278 ms/op 0.91
phase0 processBlock - 250000 vs - 7PWei worstcase 33.167 ms/op 38.841 ms/op 0.85
altair processEth1Data - 250000 vs - 7PWei normalcase 575.57 us/op 600.47 us/op 0.96
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 12.672 us/op 15.203 us/op 0.83
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 72.373 us/op 96.124 us/op 0.75
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 19.916 us/op 25.184 us/op 0.79
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.333 us/op 18.052 us/op 0.79
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 177.71 us/op 254.22 us/op 0.70
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4420 ms/op 1.4463 ms/op 1.00
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.2322 ms/op 2.2358 ms/op 1.00
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6469 ms/op 1.7892 ms/op 0.92
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.3277 ms/op 3.9651 ms/op 1.09
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.7256 ms/op 3.0401 ms/op 0.90
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.5032 ms/op 6.1515 ms/op 0.89
Tree 40 250000 create 378.57 ms/op 368.11 ms/op 1.03
Tree 40 250000 get(125000) 222.27 ns/op 225.50 ns/op 0.99
Tree 40 250000 set(125000) 1.1541 us/op 1.1391 us/op 1.01
Tree 40 250000 toArray() 25.226 ms/op 24.801 ms/op 1.02
Tree 40 250000 iterate all - toArray() + loop 21.959 ms/op 23.345 ms/op 0.94
Tree 40 250000 iterate all - get(i) 73.248 ms/op 80.436 ms/op 0.91
MutableVector 250000 create 10.661 ms/op 16.910 ms/op 0.63
MutableVector 250000 get(125000) 7.5320 ns/op 7.6190 ns/op 0.99
MutableVector 250000 set(125000) 287.59 ns/op 506.86 ns/op 0.57
MutableVector 250000 toArray() 3.8652 ms/op 4.9032 ms/op 0.79
MutableVector 250000 iterate all - toArray() + loop 3.7006 ms/op 4.6953 ms/op 0.79
MutableVector 250000 iterate all - get(i) 1.6583 ms/op 1.8157 ms/op 0.91
Array 250000 create 3.6618 ms/op 4.3715 ms/op 0.84
Array 250000 clone - spread 1.1674 ms/op 1.1036 ms/op 1.06
Array 250000 get(125000) 0.58100 ns/op 0.54100 ns/op 1.07
Array 250000 set(125000) 0.66700 ns/op 0.65000 ns/op 1.03
Array 250000 iterate all - loop 89.477 us/op 91.940 us/op 0.97
effectiveBalanceIncrements clone Uint8Array 300000 38.741 us/op 38.447 us/op 1.01
effectiveBalanceIncrements clone MutableVector 300000 344.00 ns/op 295.00 ns/op 1.17
effectiveBalanceIncrements rw all Uint8Array 300000 195.36 us/op 215.58 us/op 0.91
effectiveBalanceIncrements rw all MutableVector 300000 90.314 ms/op 125.67 ms/op 0.72
phase0 afterProcessEpoch - 250000 vs - 7PWei 121.11 ms/op 132.59 ms/op 0.91
phase0 beforeProcessEpoch - 250000 vs - 7PWei 46.392 ms/op 45.106 ms/op 1.03
altair processEpoch - mainnet_e81889 343.74 ms/op 357.75 ms/op 0.96
mainnet_e81889 - altair beforeProcessEpoch 58.373 ms/op 67.755 ms/op 0.86
mainnet_e81889 - altair processJustificationAndFinalization 23.033 us/op 14.404 us/op 1.60
mainnet_e81889 - altair processInactivityUpdates 7.1949 ms/op 6.0279 ms/op 1.19
mainnet_e81889 - altair processRewardsAndPenalties 71.511 ms/op 75.315 ms/op 0.95
mainnet_e81889 - altair processRegistryUpdates 4.0140 us/op 4.2950 us/op 0.93
mainnet_e81889 - altair processSlashings 858.00 ns/op 868.00 ns/op 0.99
mainnet_e81889 - altair processEth1DataReset 898.00 ns/op 654.00 ns/op 1.37
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3603 ms/op 1.5588 ms/op 0.87
mainnet_e81889 - altair processSlashingsReset 3.0470 us/op 4.0990 us/op 0.74
mainnet_e81889 - altair processRandaoMixesReset 7.0350 us/op 7.5230 us/op 0.94
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0050 us/op 1.3280 us/op 0.76
mainnet_e81889 - altair processParticipationFlagUpdates 4.4210 us/op 2.9480 us/op 1.50
mainnet_e81889 - altair processSyncCommitteeUpdates 789.00 ns/op 1.0030 us/op 0.79
mainnet_e81889 - altair afterProcessEpoch 141.09 ms/op 137.04 ms/op 1.03
capella processEpoch - mainnet_e217614 1.1501 s/op 1.0903 s/op 1.05
mainnet_e217614 - capella beforeProcessEpoch 258.32 ms/op 245.60 ms/op 1.05
mainnet_e217614 - capella processJustificationAndFinalization 19.183 us/op 19.951 us/op 0.96
mainnet_e217614 - capella processInactivityUpdates 18.545 ms/op 19.480 ms/op 0.95
mainnet_e217614 - capella processRewardsAndPenalties 303.54 ms/op 329.72 ms/op 0.92
mainnet_e217614 - capella processRegistryUpdates 26.556 us/op 20.594 us/op 1.29
mainnet_e217614 - capella processSlashings 742.00 ns/op 673.00 ns/op 1.10
mainnet_e217614 - capella processEth1DataReset 553.00 ns/op 602.00 ns/op 0.92
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.2874 ms/op 4.9022 ms/op 0.87
mainnet_e217614 - capella processSlashingsReset 2.7410 us/op 4.9380 us/op 0.56
mainnet_e217614 - capella processRandaoMixesReset 4.7870 us/op 8.5530 us/op 0.56
mainnet_e217614 - capella processHistoricalRootsUpdate 900.00 ns/op 1.3230 us/op 0.68
mainnet_e217614 - capella processParticipationFlagUpdates 1.9380 us/op 3.8130 us/op 0.51
mainnet_e217614 - capella afterProcessEpoch 338.26 ms/op 346.26 ms/op 0.98
phase0 processEpoch - mainnet_e58758 350.25 ms/op 414.70 ms/op 0.84
mainnet_e58758 - phase0 beforeProcessEpoch 125.02 ms/op 152.14 ms/op 0.82
mainnet_e58758 - phase0 processJustificationAndFinalization 16.868 us/op 19.308 us/op 0.87
mainnet_e58758 - phase0 processRewardsAndPenalties 52.509 ms/op 74.741 ms/op 0.70
mainnet_e58758 - phase0 processRegistryUpdates 11.560 us/op 14.499 us/op 0.80
mainnet_e58758 - phase0 processSlashings 624.00 ns/op 572.00 ns/op 1.09
mainnet_e58758 - phase0 processEth1DataReset 704.00 ns/op 684.00 ns/op 1.03
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0893 ms/op 2.1993 ms/op 0.50
mainnet_e58758 - phase0 processSlashingsReset 2.3390 us/op 3.6390 us/op 0.64
mainnet_e58758 - phase0 processRandaoMixesReset 3.8090 us/op 4.3900 us/op 0.87
mainnet_e58758 - phase0 processHistoricalRootsUpdate 669.00 ns/op 653.00 ns/op 1.02
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.8860 us/op 4.3380 us/op 1.13
mainnet_e58758 - phase0 afterProcessEpoch 109.45 ms/op 107.63 ms/op 1.02
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2496 ms/op 2.1833 ms/op 0.57
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5064 ms/op 1.7936 ms/op 0.84
altair processInactivityUpdates - 250000 normalcase 26.147 ms/op 29.689 ms/op 0.88
altair processInactivityUpdates - 250000 worstcase 25.604 ms/op 31.060 ms/op 0.82
phase0 processRegistryUpdates - 250000 normalcase 10.190 us/op 16.524 us/op 0.62
phase0 processRegistryUpdates - 250000 badcase_full_deposits 437.36 us/op 465.63 us/op 0.94
phase0 processRegistryUpdates - 250000 worstcase 0.5 139.49 ms/op 166.41 ms/op 0.84
altair processRewardsAndPenalties - 250000 normalcase 69.745 ms/op 79.529 ms/op 0.88
altair processRewardsAndPenalties - 250000 worstcase 70.863 ms/op 76.202 ms/op 0.93
phase0 getAttestationDeltas - 250000 normalcase 8.2835 ms/op 8.9726 ms/op 0.92
phase0 getAttestationDeltas - 250000 worstcase 8.5798 ms/op 9.1529 ms/op 0.94
phase0 processSlashings - 250000 worstcase 2.5023 ms/op 2.3858 ms/op 1.05
altair processSyncCommitteeUpdates - 250000 159.81 ms/op 163.75 ms/op 0.98
BeaconState.hashTreeRoot - No change 269.00 ns/op 282.00 ns/op 0.95
BeaconState.hashTreeRoot - 1 full validator 52.565 us/op 57.186 us/op 0.92
BeaconState.hashTreeRoot - 32 full validator 566.63 us/op 554.96 us/op 1.02
BeaconState.hashTreeRoot - 512 full validator 5.9346 ms/op 6.6238 ms/op 0.90
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 67.705 us/op 72.376 us/op 0.94
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 857.49 us/op 888.26 us/op 0.97
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 12.624 ms/op 12.991 ms/op 0.97
BeaconState.hashTreeRoot - 1 balances 52.914 us/op 49.033 us/op 1.08
BeaconState.hashTreeRoot - 32 balances 478.99 us/op 537.80 us/op 0.89
BeaconState.hashTreeRoot - 512 balances 4.7116 ms/op 4.7022 ms/op 1.00
BeaconState.hashTreeRoot - 250000 balances 72.628 ms/op 80.200 ms/op 0.91
aggregationBits - 2048 els - zipIndexesInBitList 15.764 us/op 15.097 us/op 1.04
regular array get 100000 times 34.175 us/op 34.042 us/op 1.00
wrappedArray get 100000 times 34.154 us/op 33.931 us/op 1.01
arrayWithProxy get 100000 times 14.731 ms/op 16.485 ms/op 0.89
ssz.Root.equals 219.00 ns/op 236.00 ns/op 0.93
byteArrayEquals 214.00 ns/op 222.00 ns/op 0.96
shuffle list - 16384 els 7.1927 ms/op 7.1605 ms/op 1.00
shuffle list - 250000 els 105.11 ms/op 105.17 ms/op 1.00
processSlot - 1 slots 8.7820 us/op 9.3190 us/op 0.94
processSlot - 32 slots 1.3699 ms/op 1.4372 ms/op 0.95
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 55.521 ms/op 58.451 ms/op 0.95
getCommitteeAssignments - req 1 vs - 250000 vc 2.5855 ms/op 2.6876 ms/op 0.96
getCommitteeAssignments - req 100 vs - 250000 vc 3.8534 ms/op 4.0649 ms/op 0.95
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1906 ms/op 4.2331 ms/op 0.99
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.2900 ns/op 5.3100 ns/op 1.00
state getBlockRootAtSlot - 250000 vs - 7PWei 848.33 ns/op 635.96 ns/op 1.33
computeProposers - vc 250000 9.3999 ms/op 9.4284 ms/op 1.00
computeEpochShuffling - vc 250000 105.14 ms/op 111.14 ms/op 0.95
getNextSyncCommittee - vc 250000 157.85 ms/op 163.86 ms/op 0.96
computeSigningRoot for AttestationData 13.955 us/op 14.314 us/op 0.97
hash AttestationData serialized data then Buffer.toString(base64) 2.4530 us/op 2.4959 us/op 0.98
toHexString serialized data 1.1242 us/op 1.1436 us/op 0.98
Buffer.toString(base64) 259.91 ns/op 252.00 ns/op 1.03

by benchmarkbot/action

@nazarhussain nazarhussain merged commit 4d5f777 into unstable Aug 14, 2023
11 checks passed
@nazarhussain nazarhussain deleted the cayman/update-libp2p branch August 14, 2023 17:55
@wemeetagain
Copy link
Member Author

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