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: bump gossipsub #6399

Merged
merged 1 commit into from
Feb 6, 2024
Merged

chore: bump gossipsub #6399

merged 1 commit into from
Feb 6, 2024

Conversation

wemeetagain
Copy link
Member

@wemeetagain wemeetagain commented Feb 6, 2024

Motivation

Description

Bump gossipsub to 11.2.1

@wemeetagain wemeetagain requested a review from a team as a code owner February 6, 2024 19:25
Copy link
Contributor

github-actions bot commented Feb 6, 2024

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 16f3aab Previous: 274871d Ratio
Object set x1000 27.354 ns/op 121.34 ns/op 0.23
Map set x1000 17.389 ns/op 80.616 ns/op 0.22
fastMsgIdFn h64 xxhash / 1000 bytes 436.00 ns/op 1.8400 us/op 0.24
send data - 1000 256B messages 11.805 ms/op 44.848 ms/op 0.26
send data - 1000 1024B messages 21.863 ms/op 72.063 ms/op 0.30
send data - 1000 1200B messages 23.668 ms/op 91.977 ms/op 0.26
Set add up to 64 items then delete first 1.8368 us/op 5.6194 us/op 0.33
Set add up to 256 items then delete last 7.7873 us/op 25.346 us/op 0.31
Full benchmark results
Benchmark suite Current: 16f3aab Previous: 274871d Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 768.03 us/op 862.63 us/op 0.89
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 113.23 us/op 179.27 us/op 0.63
BLS verify - blst-native 1.1469 ms/op 1.7192 ms/op 0.67
BLS verifyMultipleSignatures 3 - blst-native 2.6348 ms/op 3.4827 ms/op 0.76
BLS verifyMultipleSignatures 8 - blst-native 5.4706 ms/op 7.6729 ms/op 0.71
BLS verifyMultipleSignatures 32 - blst-native 19.964 ms/op 29.203 ms/op 0.68
BLS verifyMultipleSignatures 64 - blst-native 39.550 ms/op 53.956 ms/op 0.73
BLS verifyMultipleSignatures 128 - blst-native 77.726 ms/op 109.05 ms/op 0.71
BLS deserializing 10000 signatures 874.70 ms/op 1.1042 s/op 0.79
BLS deserializing 100000 signatures 8.6307 s/op 10.697 s/op 0.81
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.1546 ms/op 1.4878 ms/op 0.78
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4232 ms/op 1.6453 ms/op 0.86
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4187 ms/op 2.6092 ms/op 0.93
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.4332 ms/op 3.9907 ms/op 1.11
BLS verifyMultipleSignatures - same message - 128 - blst-native 7.0949 ms/op 6.8032 ms/op 1.04
BLS aggregatePubkeys 32 - blst-native 23.622 us/op 29.607 us/op 0.80
BLS aggregatePubkeys 128 - blst-native 88.943 us/op 112.44 us/op 0.79
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 50.377 ms/op 117.35 ms/op 0.43
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 54.504 ms/op 90.010 ms/op 0.61
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 27.819 ms/op 63.087 ms/op 0.44
getSlashingsAndExits - default max 342.11 us/op 714.98 us/op 0.48
getSlashingsAndExits - 2k 493.63 us/op 786.04 us/op 0.63
proposeBlockBody type=full, size=empty 5.3604 ms/op 9.6860 ms/op 0.55
isKnown best case - 1 super set check 691.00 ns/op 867.00 ns/op 0.80
isKnown normal case - 2 super set checks 557.00 ns/op 861.00 ns/op 0.65
isKnown worse case - 16 super set checks 534.00 ns/op 897.00 ns/op 0.60
CheckpointStateCache - add get delete 5.8490 us/op 7.7620 us/op 0.75
validate api signedAggregateAndProof - struct 2.8382 ms/op 3.1212 ms/op 0.91
validate gossip signedAggregateAndProof - struct 2.6144 ms/op 3.0643 ms/op 0.85
validate gossip attestation - vc 640000 1.2478 ms/op 1.5800 ms/op 0.79
batch validate gossip attestation - vc 640000 - chunk 32 156.99 us/op 209.06 us/op 0.75
batch validate gossip attestation - vc 640000 - chunk 64 135.66 us/op 195.52 us/op 0.69
batch validate gossip attestation - vc 640000 - chunk 128 137.32 us/op 212.01 us/op 0.65
batch validate gossip attestation - vc 640000 - chunk 256 130.15 us/op 195.20 us/op 0.67
pickEth1Vote - no votes 1.1377 ms/op 1.8481 ms/op 0.62
pickEth1Vote - max votes 11.699 ms/op 17.736 ms/op 0.66
pickEth1Vote - Eth1Data hashTreeRoot value x2048 19.781 ms/op 27.629 ms/op 0.72
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 35.138 ms/op 44.570 ms/op 0.79
pickEth1Vote - Eth1Data fastSerialize value x2048 501.25 us/op 1.4274 ms/op 0.35
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.3313 ms/op 11.585 ms/op 0.55
bytes32 toHexString 550.00 ns/op 1.2460 us/op 0.44
bytes32 Buffer.toString(hex) 348.00 ns/op 533.00 ns/op 0.65
bytes32 Buffer.toString(hex) from Uint8Array 538.00 ns/op 1.0060 us/op 0.53
bytes32 Buffer.toString(hex) + 0x 372.00 ns/op 443.00 ns/op 0.84
Object access 1 prop 0.20900 ns/op 0.40600 ns/op 0.51
Map access 1 prop 0.19700 ns/op 0.22300 ns/op 0.88
Object get x1000 5.4880 ns/op 13.936 ns/op 0.39
Map get x1000 0.74600 ns/op 1.3160 ns/op 0.57
Object set x1000 27.354 ns/op 121.34 ns/op 0.23
Map set x1000 17.389 ns/op 80.616 ns/op 0.22
Return object 10000 times 0.23250 ns/op 0.45720 ns/op 0.51
Throw Error 10000 times 2.7398 us/op 4.8228 us/op 0.57
fastMsgIdFn sha256 / 200 bytes 1.9740 us/op 4.3770 us/op 0.45
fastMsgIdFn h32 xxhash / 200 bytes 288.00 ns/op 499.00 ns/op 0.58
fastMsgIdFn h64 xxhash / 200 bytes 340.00 ns/op 576.00 ns/op 0.59
fastMsgIdFn sha256 / 1000 bytes 6.1220 us/op 12.867 us/op 0.48
fastMsgIdFn h32 xxhash / 1000 bytes 424.00 ns/op 706.00 ns/op 0.60
fastMsgIdFn h64 xxhash / 1000 bytes 436.00 ns/op 1.8400 us/op 0.24
fastMsgIdFn sha256 / 10000 bytes 52.990 us/op 135.41 us/op 0.39
fastMsgIdFn h32 xxhash / 10000 bytes 1.9080 us/op 3.6340 us/op 0.53
fastMsgIdFn h64 xxhash / 10000 bytes 1.2730 us/op 2.6490 us/op 0.48
send data - 1000 256B messages 11.805 ms/op 44.848 ms/op 0.26
send data - 1000 512B messages 15.858 ms/op 34.639 ms/op 0.46
send data - 1000 1024B messages 21.863 ms/op 72.063 ms/op 0.30
send data - 1000 1200B messages 23.668 ms/op 91.977 ms/op 0.26
send data - 1000 2048B messages 42.185 ms/op 98.090 ms/op 0.43
send data - 1000 4096B messages 38.215 ms/op 81.999 ms/op 0.47
send data - 1000 16384B messages 89.519 ms/op 217.43 ms/op 0.41
send data - 1000 65536B messages 452.13 ms/op 960.52 ms/op 0.47
enrSubnets - fastDeserialize 64 bits 1.1220 us/op 2.7680 us/op 0.41
enrSubnets - ssz BitVector 64 bits 520.00 ns/op 755.00 ns/op 0.69
enrSubnets - fastDeserialize 4 bits 250.00 ns/op 387.00 ns/op 0.65
enrSubnets - ssz BitVector 4 bits 516.00 ns/op 818.00 ns/op 0.63
prioritizePeers score -10:0 att 32-0.1 sync 2-0 88.220 us/op 163.66 us/op 0.54
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 102.22 us/op 271.32 us/op 0.38
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 179.30 us/op 364.39 us/op 0.49
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 285.26 us/op 594.40 us/op 0.48
prioritizePeers score 0:0 att 64-1 sync 4-1 293.17 us/op 498.86 us/op 0.59
array of 16000 items push then shift 1.4673 us/op 2.0026 us/op 0.73
LinkedList of 16000 items push then shift 8.8380 ns/op 14.525 ns/op 0.61
array of 16000 items push then pop 117.51 ns/op 169.20 ns/op 0.69
LinkedList of 16000 items push then pop 6.0060 ns/op 12.266 ns/op 0.49
array of 24000 items push then shift 2.0605 us/op 2.9893 us/op 0.69
LinkedList of 24000 items push then shift 7.5760 ns/op 17.090 ns/op 0.44
array of 24000 items push then pop 158.40 ns/op 277.07 ns/op 0.57
LinkedList of 24000 items push then pop 6.2270 ns/op 14.832 ns/op 0.42
intersect bitArray bitLen 8 5.0840 ns/op 8.8620 ns/op 0.57
intersect array and set length 8 54.323 ns/op 142.67 ns/op 0.38
intersect bitArray bitLen 128 31.241 ns/op 45.097 ns/op 0.69
intersect array and set length 128 844.38 ns/op 1.5192 us/op 0.56
bitArray.getTrueBitIndexes() bitLen 128 1.6740 us/op 3.1360 us/op 0.53
bitArray.getTrueBitIndexes() bitLen 248 2.2620 us/op 5.2940 us/op 0.43
bitArray.getTrueBitIndexes() bitLen 512 5.0660 us/op 10.094 us/op 0.50
Buffer.concat 32 items 908.00 ns/op 1.4270 us/op 0.64
Uint8Array.set 32 items 2.1970 us/op 2.7210 us/op 0.81
Set add up to 64 items then delete first 1.8368 us/op 5.6194 us/op 0.33
OrderedSet add up to 64 items then delete first 4.2062 us/op 7.6799 us/op 0.55
Set add up to 64 items then delete last 3.0837 us/op 5.8975 us/op 0.52
OrderedSet add up to 64 items then delete last 4.3710 us/op 8.3405 us/op 0.52
Set add up to 64 items then delete middle 2.9120 us/op 6.2202 us/op 0.47
OrderedSet add up to 64 items then delete middle 5.8983 us/op 9.7094 us/op 0.61
Set add up to 128 items then delete first 5.9467 us/op 12.016 us/op 0.49
OrderedSet add up to 128 items then delete first 9.4050 us/op 16.838 us/op 0.56
Set add up to 128 items then delete last 5.7119 us/op 11.594 us/op 0.49
OrderedSet add up to 128 items then delete last 9.4744 us/op 15.903 us/op 0.60
Set add up to 128 items then delete middle 6.0437 us/op 13.207 us/op 0.46
OrderedSet add up to 128 items then delete middle 16.049 us/op 27.826 us/op 0.58
Set add up to 256 items then delete first 10.167 us/op 26.035 us/op 0.39
OrderedSet add up to 256 items then delete first 13.209 us/op 36.303 us/op 0.36
Set add up to 256 items then delete last 7.7873 us/op 25.346 us/op 0.31
OrderedSet add up to 256 items then delete last 13.173 us/op 35.699 us/op 0.37
Set add up to 256 items then delete middle 8.8602 us/op 26.179 us/op 0.34
OrderedSet add up to 256 items then delete middle 38.993 us/op 65.110 us/op 0.60
transfer serialized Status (84 B) 1.7820 us/op 2.4310 us/op 0.73
copy serialized Status (84 B) 1.4060 us/op 1.7350 us/op 0.81
transfer serialized SignedVoluntaryExit (112 B) 2.2320 us/op 2.5490 us/op 0.88
copy serialized SignedVoluntaryExit (112 B) 1.6340 us/op 1.7600 us/op 0.93
transfer serialized ProposerSlashing (416 B) 3.0830 us/op 3.6770 us/op 0.84
copy serialized ProposerSlashing (416 B) 2.2670 us/op 3.5760 us/op 0.63
transfer serialized Attestation (485 B) 2.6240 us/op 3.7150 us/op 0.71
copy serialized Attestation (485 B) 2.2780 us/op 3.0570 us/op 0.75
transfer serialized AttesterSlashing (33232 B) 2.1000 us/op 3.5450 us/op 0.59
copy serialized AttesterSlashing (33232 B) 8.5670 us/op 12.875 us/op 0.67
transfer serialized Small SignedBeaconBlock (128000 B) 2.5490 us/op 3.4270 us/op 0.74
copy serialized Small SignedBeaconBlock (128000 B) 20.271 us/op 30.152 us/op 0.67
transfer serialized Avg SignedBeaconBlock (200000 B) 3.3710 us/op 3.3550 us/op 1.00
copy serialized Avg SignedBeaconBlock (200000 B) 59.272 us/op 42.553 us/op 1.39
transfer serialized BlobsSidecar (524380 B) 6.1630 us/op 4.8700 us/op 1.27
copy serialized BlobsSidecar (524380 B) 154.56 us/op 159.33 us/op 0.97
transfer serialized Big SignedBeaconBlock (1000000 B) 4.2340 us/op 7.1300 us/op 0.59
copy serialized Big SignedBeaconBlock (1000000 B) 162.16 us/op 606.34 us/op 0.27
pass gossip attestations to forkchoice per slot 3.5636 ms/op 5.5253 ms/op 0.64
forkChoice updateHead vc 100000 bc 64 eq 0 807.36 us/op 742.33 us/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 0 5.6290 ms/op 6.8001 ms/op 0.83
forkChoice updateHead vc 1000000 bc 64 eq 0 5.8650 ms/op 9.6245 ms/op 0.61
forkChoice updateHead vc 600000 bc 320 eq 0 3.6438 ms/op 5.8468 ms/op 0.62
forkChoice updateHead vc 600000 bc 1200 eq 0 3.3652 ms/op 5.1138 ms/op 0.66
forkChoice updateHead vc 600000 bc 7200 eq 0 5.2602 ms/op 6.1965 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 1000 11.627 ms/op 12.693 ms/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 10000 10.555 ms/op 14.981 ms/op 0.70
forkChoice updateHead vc 600000 bc 64 eq 300000 15.099 ms/op 33.502 ms/op 0.45
computeDeltas 500000 validators 300 proto nodes 3.6876 ms/op 7.4894 ms/op 0.49
computeDeltas 500000 validators 1200 proto nodes 3.8981 ms/op 7.3463 ms/op 0.53
computeDeltas 500000 validators 7200 proto nodes 3.4913 ms/op 6.9166 ms/op 0.50
computeDeltas 750000 validators 300 proto nodes 5.3304 ms/op 10.318 ms/op 0.52
computeDeltas 750000 validators 1200 proto nodes 5.0471 ms/op 10.591 ms/op 0.48
computeDeltas 750000 validators 7200 proto nodes 4.9766 ms/op 10.457 ms/op 0.48
computeDeltas 1400000 validators 300 proto nodes 9.9166 ms/op 20.403 ms/op 0.49
computeDeltas 1400000 validators 1200 proto nodes 10.537 ms/op 20.947 ms/op 0.50
computeDeltas 1400000 validators 7200 proto nodes 10.313 ms/op 20.268 ms/op 0.51
computeDeltas 2100000 validators 300 proto nodes 15.527 ms/op 30.403 ms/op 0.51
computeDeltas 2100000 validators 1200 proto nodes 14.947 ms/op 32.397 ms/op 0.46
computeDeltas 2100000 validators 7200 proto nodes 17.518 ms/op 32.870 ms/op 0.53
altair processAttestation - 250000 vs - 7PWei normalcase 3.3416 ms/op 4.3835 ms/op 0.76
altair processAttestation - 250000 vs - 7PWei worstcase 4.5495 ms/op 5.6935 ms/op 0.80
altair processAttestation - setStatus - 1/6 committees join 114.01 us/op 233.81 us/op 0.49
altair processAttestation - setStatus - 1/3 committees join 311.37 us/op 408.95 us/op 0.76
altair processAttestation - setStatus - 1/2 committees join 376.11 us/op 631.01 us/op 0.60
altair processAttestation - setStatus - 2/3 committees join 401.86 us/op 713.48 us/op 0.56
altair processAttestation - setStatus - 4/5 committees join 586.70 us/op 1.0075 ms/op 0.58
altair processAttestation - setStatus - 100% committees join 730.24 us/op 1.0464 ms/op 0.70
altair processBlock - 250000 vs - 7PWei normalcase 12.519 ms/op 12.957 ms/op 0.97
altair processBlock - 250000 vs - 7PWei normalcase hashState 47.272 ms/op 54.827 ms/op 0.86
altair processBlock - 250000 vs - 7PWei worstcase 41.569 ms/op 49.905 ms/op 0.83
altair processBlock - 250000 vs - 7PWei worstcase hashState 127.06 ms/op 146.08 ms/op 0.87
phase0 processBlock - 250000 vs - 7PWei normalcase 3.2894 ms/op 4.0952 ms/op 0.80
phase0 processBlock - 250000 vs - 7PWei worstcase 37.563 ms/op 38.262 ms/op 0.98
altair processEth1Data - 250000 vs - 7PWei normalcase 527.33 us/op 773.10 us/op 0.68
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 25.024 us/op 22.206 us/op 1.13
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 74.028 us/op 76.020 us/op 0.97
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 23.833 us/op 36.579 us/op 0.65
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.522 us/op 22.570 us/op 0.64
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 274.54 us/op 224.29 us/op 1.22
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2728 ms/op 1.5984 ms/op 0.80
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.6791 ms/op 2.5031 ms/op 0.67
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6625 ms/op 2.4128 ms/op 0.69
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.7818 ms/op 4.7321 ms/op 0.59
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.9789 ms/op 2.9030 ms/op 0.68
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.8122 ms/op 7.8313 ms/op 0.74
Tree 40 250000 create 286.04 ms/op 607.58 ms/op 0.47
Tree 40 250000 get(125000) 113.78 ns/op 232.23 ns/op 0.49
Tree 40 250000 set(125000) 768.08 ns/op 1.7610 us/op 0.44
Tree 40 250000 toArray() 22.544 ms/op 25.410 ms/op 0.89
Tree 40 250000 iterate all - toArray() + loop 21.824 ms/op 25.520 ms/op 0.86
Tree 40 250000 iterate all - get(i) 52.718 ms/op 85.123 ms/op 0.62
MutableVector 250000 create 11.839 ms/op 17.038 ms/op 0.69
MutableVector 250000 get(125000) 6.7830 ns/op 7.0380 ns/op 0.96
MutableVector 250000 set(125000) 211.95 ns/op 341.22 ns/op 0.62
MutableVector 250000 toArray() 3.1780 ms/op 4.3206 ms/op 0.74
MutableVector 250000 iterate all - toArray() + loop 3.4433 ms/op 4.7392 ms/op 0.73
MutableVector 250000 iterate all - get(i) 1.3374 ms/op 1.6394 ms/op 0.82
Array 250000 create 2.8950 ms/op 3.9158 ms/op 0.74
Array 250000 clone - spread 1.1780 ms/op 1.5201 ms/op 0.77
Array 250000 get(125000) 1.0510 ns/op 1.5830 ns/op 0.66
Array 250000 set(125000) 1.2490 ns/op 5.6750 ns/op 0.22
Array 250000 iterate all - loop 155.24 us/op 181.02 us/op 0.86
effectiveBalanceIncrements clone Uint8Array 300000 97.403 us/op 72.332 us/op 1.35
effectiveBalanceIncrements clone MutableVector 300000 413.00 ns/op 526.00 ns/op 0.79
effectiveBalanceIncrements rw all Uint8Array 300000 190.19 us/op 218.73 us/op 0.87
effectiveBalanceIncrements rw all MutableVector 300000 68.270 ms/op 146.44 ms/op 0.47
phase0 afterProcessEpoch - 250000 vs - 7PWei 86.089 ms/op 136.16 ms/op 0.63
phase0 beforeProcessEpoch - 250000 vs - 7PWei 47.039 ms/op 66.664 ms/op 0.71
altair processEpoch - mainnet_e81889 442.66 ms/op 628.75 ms/op 0.70
mainnet_e81889 - altair beforeProcessEpoch 84.301 ms/op 105.80 ms/op 0.80
mainnet_e81889 - altair processJustificationAndFinalization 16.053 us/op 23.300 us/op 0.69
mainnet_e81889 - altair processInactivityUpdates 5.1637 ms/op 8.1556 ms/op 0.63
mainnet_e81889 - altair processRewardsAndPenalties 61.499 ms/op 83.227 ms/op 0.74
mainnet_e81889 - altair processRegistryUpdates 3.3930 us/op 4.0050 us/op 0.85
mainnet_e81889 - altair processSlashings 822.00 ns/op 950.00 ns/op 0.87
mainnet_e81889 - altair processEth1DataReset 910.00 ns/op 1.0280 us/op 0.89
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4403 ms/op 1.8278 ms/op 0.79
mainnet_e81889 - altair processSlashingsReset 5.2090 us/op 7.1570 us/op 0.73
mainnet_e81889 - altair processRandaoMixesReset 8.5670 us/op 11.216 us/op 0.76
mainnet_e81889 - altair processHistoricalRootsUpdate 1.5610 us/op 1.1020 us/op 1.42
mainnet_e81889 - altair processParticipationFlagUpdates 3.6360 us/op 4.9040 us/op 0.74
mainnet_e81889 - altair processSyncCommitteeUpdates 1.2040 us/op 1.8780 us/op 0.64
mainnet_e81889 - altair afterProcessEpoch 89.836 ms/op 134.07 ms/op 0.67
capella processEpoch - mainnet_e217614 2.3055 s/op 2.8327 s/op 0.81
mainnet_e217614 - capella beforeProcessEpoch 520.60 ms/op 891.09 ms/op 0.58
mainnet_e217614 - capella processJustificationAndFinalization 30.331 us/op 59.009 us/op 0.51
mainnet_e217614 - capella processInactivityUpdates 19.768 ms/op 54.171 ms/op 0.36
mainnet_e217614 - capella processRewardsAndPenalties 404.36 ms/op 602.15 ms/op 0.67
mainnet_e217614 - capella processRegistryUpdates 24.340 us/op 48.200 us/op 0.50
mainnet_e217614 - capella processSlashings 783.00 ns/op 1.7740 us/op 0.44
mainnet_e217614 - capella processEth1DataReset 643.00 ns/op 1.0480 us/op 0.61
mainnet_e217614 - capella processEffectiveBalanceUpdates 10.038 ms/op 7.1020 ms/op 1.41
mainnet_e217614 - capella processSlashingsReset 3.9040 us/op 6.3280 us/op 0.62
mainnet_e217614 - capella processRandaoMixesReset 5.0580 us/op 7.2310 us/op 0.70
mainnet_e217614 - capella processHistoricalRootsUpdate 1.1060 us/op 853.00 ns/op 1.30
mainnet_e217614 - capella processParticipationFlagUpdates 2.2870 us/op 4.4840 us/op 0.51
mainnet_e217614 - capella afterProcessEpoch 232.12 ms/op 348.42 ms/op 0.67
phase0 processEpoch - mainnet_e58758 388.99 ms/op 701.50 ms/op 0.55
mainnet_e58758 - phase0 beforeProcessEpoch 135.20 ms/op 255.87 ms/op 0.53
mainnet_e58758 - phase0 processJustificationAndFinalization 20.530 us/op 35.289 us/op 0.58
mainnet_e58758 - phase0 processRewardsAndPenalties 49.150 ms/op 77.732 ms/op 0.63
mainnet_e58758 - phase0 processRegistryUpdates 14.436 us/op 24.756 us/op 0.58
mainnet_e58758 - phase0 processSlashings 981.00 ns/op 2.2020 us/op 0.45
mainnet_e58758 - phase0 processEth1DataReset 721.00 ns/op 1.4060 us/op 0.51
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 865.40 us/op 2.3819 ms/op 0.36
mainnet_e58758 - phase0 processSlashingsReset 4.0060 us/op 6.7830 us/op 0.59
mainnet_e58758 - phase0 processRandaoMixesReset 3.5440 us/op 11.407 us/op 0.31
mainnet_e58758 - phase0 processHistoricalRootsUpdate 745.00 ns/op 1.8060 us/op 0.41
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.1900 us/op 15.229 us/op 0.34
mainnet_e58758 - phase0 afterProcessEpoch 64.059 ms/op 127.44 ms/op 0.50
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.1329 ms/op 2.8760 ms/op 0.39
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.2613 ms/op 2.2311 ms/op 0.57
altair processInactivityUpdates - 250000 normalcase 24.026 ms/op 33.447 ms/op 0.72
altair processInactivityUpdates - 250000 worstcase 23.136 ms/op 37.422 ms/op 0.62
phase0 processRegistryUpdates - 250000 normalcase 11.999 us/op 20.215 us/op 0.59
phase0 processRegistryUpdates - 250000 badcase_full_deposits 481.23 us/op 683.36 us/op 0.70
phase0 processRegistryUpdates - 250000 worstcase 0.5 122.33 ms/op 201.62 ms/op 0.61
altair processRewardsAndPenalties - 250000 normalcase 47.793 ms/op 63.392 ms/op 0.75
altair processRewardsAndPenalties - 250000 worstcase 55.508 ms/op 74.468 ms/op 0.75
phase0 getAttestationDeltas - 250000 normalcase 10.494 ms/op 14.963 ms/op 0.70
phase0 getAttestationDeltas - 250000 worstcase 13.322 ms/op 15.448 ms/op 0.86
phase0 processSlashings - 250000 worstcase 85.748 us/op 147.46 us/op 0.58
altair processSyncCommitteeUpdates - 250000 125.56 ms/op 192.99 ms/op 0.65
BeaconState.hashTreeRoot - No change 432.00 ns/op 1.0530 us/op 0.41
BeaconState.hashTreeRoot - 1 full validator 105.97 us/op 201.25 us/op 0.53
BeaconState.hashTreeRoot - 32 full validator 1.5184 ms/op 1.7858 ms/op 0.85
BeaconState.hashTreeRoot - 512 full validator 16.519 ms/op 20.876 ms/op 0.79
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 145.32 us/op 202.06 us/op 0.72
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.9403 ms/op 3.0815 ms/op 0.63
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 21.735 ms/op 38.747 ms/op 0.56
BeaconState.hashTreeRoot - 1 balances 146.49 us/op 223.34 us/op 0.66
BeaconState.hashTreeRoot - 32 balances 915.64 us/op 1.8515 ms/op 0.49
BeaconState.hashTreeRoot - 512 balances 12.181 ms/op 19.184 ms/op 0.63
BeaconState.hashTreeRoot - 250000 balances 173.69 ms/op 282.18 ms/op 0.62
aggregationBits - 2048 els - zipIndexesInBitList 17.332 us/op 32.829 us/op 0.53
byteArrayEquals 32 66.930 ns/op 84.343 ns/op 0.79
Buffer.compare 32 38.239 ns/op 60.581 ns/op 0.63
byteArrayEquals 1024 1.8521 us/op 2.2938 us/op 0.81
Buffer.compare 1024 47.112 ns/op 77.220 ns/op 0.61
byteArrayEquals 16384 28.408 us/op 37.246 us/op 0.76
Buffer.compare 16384 208.81 ns/op 277.22 ns/op 0.75
byteArrayEquals 123687377 216.65 ms/op 330.26 ms/op 0.66
Buffer.compare 123687377 6.5024 ms/op 13.911 ms/op 0.47
byteArrayEquals 32 - diff last byte 63.831 ns/op 106.69 ns/op 0.60
Buffer.compare 32 - diff last byte 39.135 ns/op 70.002 ns/op 0.56
byteArrayEquals 1024 - diff last byte 1.7783 us/op 2.3370 us/op 0.76
Buffer.compare 1024 - diff last byte 48.181 ns/op 89.002 ns/op 0.54
byteArrayEquals 16384 - diff last byte 28.550 us/op 44.963 us/op 0.63
Buffer.compare 16384 - diff last byte 252.85 ns/op 361.69 ns/op 0.70
byteArrayEquals 123687377 - diff last byte 210.93 ms/op 308.09 ms/op 0.68
Buffer.compare 123687377 - diff last byte 5.7803 ms/op 12.594 ms/op 0.46
byteArrayEquals 32 - random bytes 4.8880 ns/op 8.3620 ns/op 0.58
Buffer.compare 32 - random bytes 42.272 ns/op 70.209 ns/op 0.60
byteArrayEquals 1024 - random bytes 5.4680 ns/op 7.6680 ns/op 0.71
Buffer.compare 1024 - random bytes 38.773 ns/op 71.417 ns/op 0.54
byteArrayEquals 16384 - random bytes 4.5930 ns/op 7.2910 ns/op 0.63
Buffer.compare 16384 - random bytes 39.273 ns/op 72.881 ns/op 0.54
byteArrayEquals 123687377 - random bytes 8.0700 ns/op 18.100 ns/op 0.45
Buffer.compare 123687377 - random bytes 43.110 ns/op 80.820 ns/op 0.53
regular array get 100000 times 44.581 us/op 48.973 us/op 0.91
wrappedArray get 100000 times 43.052 us/op 48.585 us/op 0.89
arrayWithProxy get 100000 times 10.286 ms/op 14.800 ms/op 0.70
ssz.Root.equals 56.817 ns/op 58.489 ns/op 0.97
byteArrayEquals 56.251 ns/op 57.350 ns/op 0.98
Buffer.compare 10.361 ns/op 12.740 ns/op 0.81
shuffle list - 16384 els 4.6893 ms/op 7.4867 ms/op 0.63
shuffle list - 250000 els 72.166 ms/op 108.63 ms/op 0.66
processSlot - 1 slots 11.205 us/op 19.861 us/op 0.56
processSlot - 32 slots 2.2858 ms/op 4.0745 ms/op 0.56
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 50.188 ms/op 70.461 ms/op 0.71
getCommitteeAssignments - req 1 vs - 250000 vc 2.2774 ms/op 2.7201 ms/op 0.84
getCommitteeAssignments - req 100 vs - 250000 vc 3.4461 ms/op 4.1739 ms/op 0.83
getCommitteeAssignments - req 1000 vs - 250000 vc 3.7400 ms/op 4.6255 ms/op 0.81
findModifiedValidators - 10000 modified validators 428.83 ms/op 590.92 ms/op 0.73
findModifiedValidators - 1000 modified validators 344.46 ms/op 543.93 ms/op 0.63
findModifiedValidators - 100 modified validators 304.03 ms/op 550.81 ms/op 0.55
findModifiedValidators - 10 modified validators 311.63 ms/op 561.36 ms/op 0.56
findModifiedValidators - 1 modified validators 317.22 ms/op 551.46 ms/op 0.58
findModifiedValidators - no difference 325.62 ms/op 599.62 ms/op 0.54
compare ViewDUs 4.0803 s/op 7.8685 s/op 0.52
compare each validator Uint8Array 1.4696 s/op 2.0961 s/op 0.70
compare ViewDU to Uint8Array 765.85 ms/op 1.3115 s/op 0.58
migrate state 1000000 validators, 24 modified, 0 new 709.77 ms/op 920.39 ms/op 0.77
migrate state 1000000 validators, 1700 modified, 1000 new 961.43 ms/op 1.3346 s/op 0.72
migrate state 1000000 validators, 3400 modified, 2000 new 1.0295 s/op 1.7749 s/op 0.58
migrate state 1500000 validators, 24 modified, 0 new 682.89 ms/op 1.0176 s/op 0.67
migrate state 1500000 validators, 1700 modified, 1000 new 1.0222 s/op 1.2795 s/op 0.80
migrate state 1500000 validators, 3400 modified, 2000 new 1.3331 s/op 1.4224 s/op 0.94
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.9200 ns/op 4.7600 ns/op 1.03
state getBlockRootAtSlot - 250000 vs - 7PWei 883.18 ns/op 578.01 ns/op 1.53
computeProposers - vc 250000 7.8743 ms/op 9.8300 ms/op 0.80
computeEpochShuffling - vc 250000 72.409 ms/op 105.94 ms/op 0.68
getNextSyncCommittee - vc 250000 117.86 ms/op 160.12 ms/op 0.74
computeSigningRoot for AttestationData 26.096 us/op 25.716 us/op 1.01
hash AttestationData serialized data then Buffer.toString(base64) 1.3452 us/op 2.4666 us/op 0.55
toHexString serialized data 911.34 ns/op 1.1430 us/op 0.80
Buffer.toString(base64) 188.39 ns/op 235.24 ns/op 0.80

by benchmarkbot/action

Copy link

codecov bot commented Feb 6, 2024

Codecov Report

Merging #6399 (cfb8be1) into unstable (d8b500a) will not change coverage.
Report is 3 commits behind head on unstable.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6399   +/-   ##
=========================================
  Coverage     60.14%   60.14%           
=========================================
  Files           407      407           
  Lines         46512    46512           
  Branches       1551     1551           
=========================================
  Hits          27975    27975           
  Misses        18505    18505           
  Partials         32       32           

@wemeetagain wemeetagain merged commit 3adf2c2 into unstable Feb 6, 2024
13 of 16 checks passed
@wemeetagain wemeetagain deleted the cayman/update-gossipsub branch February 6, 2024 21:32
@wemeetagain
Copy link
Member Author

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