Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stabilize unknown block sync e2e test #6364

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Jan 29, 2024

Motivation

Description

Stablize the test:

  • Correct genesis time when starting node
  • Wait for 2 nodes to connect to each other

part of #6358

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

Merging #6364 (3e7dfd6) into unstable (6adbd27) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6364   +/-   ##
=========================================
  Coverage     60.14%   60.14%           
=========================================
  Files           407      407           
  Lines         46486    46486           
  Branches       1545     1545           
=========================================
  Hits          27957    27957           
  Misses        18497    18497           
  Partials         32       32           

Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 00f2640 Previous: 6adbd27 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 685.06 us/op 878.16 us/op 0.78
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 50.139 us/op 83.254 us/op 0.60
BLS verify - blst-native 1.0658 ms/op 1.3080 ms/op 0.81
BLS verifyMultipleSignatures 3 - blst-native 2.2712 ms/op 2.7450 ms/op 0.83
BLS verifyMultipleSignatures 8 - blst-native 5.2556 ms/op 6.0248 ms/op 0.87
BLS verifyMultipleSignatures 32 - blst-native 18.657 ms/op 22.013 ms/op 0.85
BLS verifyMultipleSignatures 64 - blst-native 36.313 ms/op 43.351 ms/op 0.84
BLS verifyMultipleSignatures 128 - blst-native 72.191 ms/op 86.605 ms/op 0.83
BLS deserializing 10000 signatures 793.96 ms/op 935.39 ms/op 0.85
BLS deserializing 100000 signatures 8.1156 s/op 9.4435 s/op 0.86
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.0919 ms/op 1.3309 ms/op 0.82
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4335 ms/op 1.5029 ms/op 0.95
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3597 ms/op 2.9938 ms/op 0.79
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6171 ms/op 4.7075 ms/op 0.77
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.1363 ms/op 5.6641 ms/op 0.91
BLS aggregatePubkeys 32 - blst-native 22.709 us/op 26.005 us/op 0.87
BLS aggregatePubkeys 128 - blst-native 89.230 us/op 101.67 us/op 0.88
getAttestationsForBlock 34.532 ms/op 44.473 ms/op 0.78
getSlashingsAndExits - default max 117.81 us/op 172.50 us/op 0.68
getSlashingsAndExits - 2k 329.41 us/op 378.69 us/op 0.87
proposeBlockBody type=full, size=empty 3.7079 ms/op 6.0230 ms/op 0.62
isKnown best case - 1 super set check 335.00 ns/op 312.00 ns/op 1.07
isKnown normal case - 2 super set checks 330.00 ns/op 300.00 ns/op 1.10
isKnown worse case - 16 super set checks 325.00 ns/op 297.00 ns/op 1.09
CheckpointStateCache - add get delete 3.4420 us/op 5.4400 us/op 0.63
validate api signedAggregateAndProof - struct 2.4455 ms/op 2.9528 ms/op 0.83
validate gossip signedAggregateAndProof - struct 2.2887 ms/op 2.9471 ms/op 0.78
validate gossip attestation - vc 640000 1.1092 ms/op 1.4288 ms/op 0.78
batch validate gossip attestation - vc 640000 - chunk 32 134.84 us/op 164.01 us/op 0.82
batch validate gossip attestation - vc 640000 - chunk 64 118.13 us/op 144.18 us/op 0.82
batch validate gossip attestation - vc 640000 - chunk 128 117.04 us/op 133.63 us/op 0.88
batch validate gossip attestation - vc 640000 - chunk 256 111.07 us/op 135.35 us/op 0.82
pickEth1Vote - no votes 872.93 us/op 1.2393 ms/op 0.70
pickEth1Vote - max votes 9.2702 ms/op 9.8853 ms/op 0.94
pickEth1Vote - Eth1Data hashTreeRoot value x2048 18.120 ms/op 19.197 ms/op 0.94
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.843 ms/op 25.707 ms/op 1.08
pickEth1Vote - Eth1Data fastSerialize value x2048 430.68 us/op 610.02 us/op 0.71
pickEth1Vote - Eth1Data fastSerialize tree x2048 8.2000 ms/op 7.0936 ms/op 1.16
bytes32 toHexString 446.00 ns/op 530.00 ns/op 0.84
bytes32 Buffer.toString(hex) 297.00 ns/op 306.00 ns/op 0.97
bytes32 Buffer.toString(hex) from Uint8Array 415.00 ns/op 437.00 ns/op 0.95
bytes32 Buffer.toString(hex) + 0x 294.00 ns/op 310.00 ns/op 0.95
Object access 1 prop 0.19300 ns/op 0.16600 ns/op 1.16
Map access 1 prop 0.19400 ns/op 0.15900 ns/op 1.22
Object get x1000 5.6160 ns/op 8.2490 ns/op 0.68
Map get x1000 0.71800 ns/op 0.78600 ns/op 0.91
Object set x1000 26.842 ns/op 51.600 ns/op 0.52
Map set x1000 16.904 ns/op 40.171 ns/op 0.42
Return object 10000 times 0.22580 ns/op 0.23890 ns/op 0.95
Throw Error 10000 times 2.6765 us/op 3.9547 us/op 0.68
fastMsgIdFn sha256 / 200 bytes 1.9110 us/op 3.4140 us/op 0.56
fastMsgIdFn h32 xxhash / 200 bytes 279.00 ns/op 297.00 ns/op 0.94
fastMsgIdFn h64 xxhash / 200 bytes 334.00 ns/op 355.00 ns/op 0.94
fastMsgIdFn sha256 / 1000 bytes 6.0850 us/op 11.884 us/op 0.51
fastMsgIdFn h32 xxhash / 1000 bytes 400.00 ns/op 432.00 ns/op 0.93
fastMsgIdFn h64 xxhash / 1000 bytes 401.00 ns/op 440.00 ns/op 0.91
fastMsgIdFn sha256 / 10000 bytes 53.157 us/op 109.11 us/op 0.49
fastMsgIdFn h32 xxhash / 10000 bytes 1.7770 us/op 1.9330 us/op 0.92
fastMsgIdFn h64 xxhash / 10000 bytes 1.2160 us/op 1.3310 us/op 0.91
send data - 1000 256B messages 12.115 ms/op 19.923 ms/op 0.61
send data - 1000 512B messages 15.048 ms/op 27.585 ms/op 0.55
send data - 1000 1024B messages 23.782 ms/op 43.567 ms/op 0.55
send data - 1000 1200B messages 29.179 ms/op 40.588 ms/op 0.72
send data - 1000 2048B messages 37.870 ms/op 50.858 ms/op 0.74
send data - 1000 4096B messages 32.487 ms/op 45.578 ms/op 0.71
send data - 1000 16384B messages 83.486 ms/op 121.66 ms/op 0.69
send data - 1000 65536B messages 395.06 ms/op 574.28 ms/op 0.69
enrSubnets - fastDeserialize 64 bits 895.00 ns/op 1.3220 us/op 0.68
enrSubnets - ssz BitVector 64 bits 416.00 ns/op 425.00 ns/op 0.98
enrSubnets - fastDeserialize 4 bits 193.00 ns/op 172.00 ns/op 1.12
enrSubnets - ssz BitVector 4 bits 407.00 ns/op 430.00 ns/op 0.95
prioritizePeers score -10:0 att 32-0.1 sync 2-0 70.422 us/op 104.98 us/op 0.67
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 78.614 us/op 130.94 us/op 0.60
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 106.24 us/op 167.42 us/op 0.63
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 182.56 us/op 298.24 us/op 0.61
prioritizePeers score 0:0 att 64-1 sync 4-1 210.87 us/op 355.18 us/op 0.59
array of 16000 items push then shift 1.2988 us/op 1.6358 us/op 0.79
LinkedList of 16000 items push then shift 5.9680 ns/op 9.2780 ns/op 0.64
array of 16000 items push then pop 57.213 ns/op 78.620 ns/op 0.73
LinkedList of 16000 items push then pop 5.6580 ns/op 8.8940 ns/op 0.64
array of 24000 items push then shift 1.8908 us/op 2.3994 us/op 0.79
LinkedList of 24000 items push then shift 6.4610 ns/op 9.0110 ns/op 0.72
array of 24000 items push then pop 89.697 ns/op 103.48 ns/op 0.87
LinkedList of 24000 items push then pop 5.4830 ns/op 9.3180 ns/op 0.59
intersect bitArray bitLen 8 5.1490 ns/op 7.0040 ns/op 0.74
intersect array and set length 8 49.804 ns/op 66.413 ns/op 0.75
intersect bitArray bitLen 128 28.130 ns/op 37.320 ns/op 0.75
intersect array and set length 128 692.59 ns/op 918.25 ns/op 0.75
bitArray.getTrueBitIndexes() bitLen 128 1.2030 us/op 1.5720 us/op 0.77
bitArray.getTrueBitIndexes() bitLen 248 1.8880 us/op 2.5570 us/op 0.74
bitArray.getTrueBitIndexes() bitLen 512 3.5080 us/op 4.9760 us/op 0.70
Buffer.concat 32 items 865.00 ns/op 1.0490 us/op 0.82
Uint8Array.set 32 items 1.8000 us/op 2.0010 us/op 0.90
Set add up to 64 items then delete first 1.6343 us/op 4.4192 us/op 0.37
OrderedSet add up to 64 items then delete first 2.4930 us/op 5.6639 us/op 0.44
Set add up to 64 items then delete last 1.8521 us/op 4.8273 us/op 0.38
OrderedSet add up to 64 items then delete last 2.9608 us/op 6.0377 us/op 0.49
Set add up to 64 items then delete middle 1.9837 us/op 4.7841 us/op 0.41
OrderedSet add up to 64 items then delete middle 4.3034 us/op 7.4237 us/op 0.58
Set add up to 128 items then delete first 3.9439 us/op 9.6600 us/op 0.41
OrderedSet add up to 128 items then delete first 6.2773 us/op 12.773 us/op 0.49
Set add up to 128 items then delete last 3.8053 us/op 9.5134 us/op 0.40
OrderedSet add up to 128 items then delete last 5.8346 us/op 12.143 us/op 0.48
Set add up to 128 items then delete middle 3.8089 us/op 9.5494 us/op 0.40
OrderedSet add up to 128 items then delete middle 10.851 us/op 18.053 us/op 0.60
Set add up to 256 items then delete first 7.6833 us/op 19.338 us/op 0.40
OrderedSet add up to 256 items then delete first 12.364 us/op 26.217 us/op 0.47
Set add up to 256 items then delete last 7.4485 us/op 18.805 us/op 0.40
OrderedSet add up to 256 items then delete last 11.515 us/op 24.170 us/op 0.48
Set add up to 256 items then delete middle 7.4173 us/op 18.901 us/op 0.39
OrderedSet add up to 256 items then delete middle 30.909 us/op 47.923 us/op 0.64
transfer serialized Status (84 B) 1.3700 us/op 1.7620 us/op 0.78
copy serialized Status (84 B) 1.1280 us/op 1.2770 us/op 0.88
transfer serialized SignedVoluntaryExit (112 B) 1.4900 us/op 1.8600 us/op 0.80
copy serialized SignedVoluntaryExit (112 B) 1.2250 us/op 1.3900 us/op 0.88
transfer serialized ProposerSlashing (416 B) 1.8200 us/op 2.3750 us/op 0.77
copy serialized ProposerSlashing (416 B) 2.1080 us/op 2.2050 us/op 0.96
transfer serialized Attestation (485 B) 2.2000 us/op 2.3980 us/op 0.92
copy serialized Attestation (485 B) 2.1030 us/op 2.0450 us/op 1.03
transfer serialized AttesterSlashing (33232 B) 2.2310 us/op 2.6180 us/op 0.85
copy serialized AttesterSlashing (33232 B) 5.2500 us/op 5.5440 us/op 0.95
transfer serialized Small SignedBeaconBlock (128000 B) 1.7670 us/op 2.9580 us/op 0.60
copy serialized Small SignedBeaconBlock (128000 B) 12.085 us/op 13.642 us/op 0.89
transfer serialized Avg SignedBeaconBlock (200000 B) 2.7150 us/op 2.9110 us/op 0.93
copy serialized Avg SignedBeaconBlock (200000 B) 17.794 us/op 21.188 us/op 0.84
transfer serialized BlobsSidecar (524380 B) 2.3070 us/op 3.0900 us/op 0.75
copy serialized BlobsSidecar (524380 B) 76.531 us/op 92.866 us/op 0.82
transfer serialized Big SignedBeaconBlock (1000000 B) 2.7860 us/op 3.0200 us/op 0.92
copy serialized Big SignedBeaconBlock (1000000 B) 132.66 us/op 184.15 us/op 0.72
pass gossip attestations to forkchoice per slot 2.5206 ms/op 3.9770 ms/op 0.63
forkChoice updateHead vc 100000 bc 64 eq 0 429.80 us/op 710.17 us/op 0.61
forkChoice updateHead vc 600000 bc 64 eq 0 2.8171 ms/op 4.2355 ms/op 0.67
forkChoice updateHead vc 1000000 bc 64 eq 0 4.2928 ms/op 7.1898 ms/op 0.60
forkChoice updateHead vc 600000 bc 320 eq 0 2.6621 ms/op 4.6607 ms/op 0.57
forkChoice updateHead vc 600000 bc 1200 eq 0 2.5996 ms/op 4.5316 ms/op 0.57
forkChoice updateHead vc 600000 bc 7200 eq 0 3.2192 ms/op 5.5304 ms/op 0.58
forkChoice updateHead vc 600000 bc 64 eq 1000 9.8149 ms/op 11.529 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 10000 9.8654 ms/op 12.352 ms/op 0.80
forkChoice updateHead vc 600000 bc 64 eq 300000 11.920 ms/op 16.453 ms/op 0.72
computeDeltas 500000 validators 300 proto nodes 2.9805 ms/op 6.7701 ms/op 0.44
computeDeltas 500000 validators 1200 proto nodes 2.8081 ms/op 6.8822 ms/op 0.41
computeDeltas 500000 validators 7200 proto nodes 2.8440 ms/op 6.8238 ms/op 0.42
computeDeltas 750000 validators 300 proto nodes 4.3458 ms/op 10.244 ms/op 0.42
computeDeltas 750000 validators 1200 proto nodes 4.4805 ms/op 10.287 ms/op 0.44
computeDeltas 750000 validators 7200 proto nodes 4.3962 ms/op 10.215 ms/op 0.43
computeDeltas 1400000 validators 300 proto nodes 8.9223 ms/op 20.270 ms/op 0.44
computeDeltas 1400000 validators 1200 proto nodes 8.6833 ms/op 19.965 ms/op 0.43
computeDeltas 1400000 validators 7200 proto nodes 8.9929 ms/op 20.593 ms/op 0.44
computeDeltas 2100000 validators 300 proto nodes 13.333 ms/op 30.796 ms/op 0.43
computeDeltas 2100000 validators 1200 proto nodes 13.129 ms/op 31.612 ms/op 0.42
computeDeltas 2100000 validators 7200 proto nodes 13.293 ms/op 32.335 ms/op 0.41
altair processAttestation - 250000 vs - 7PWei normalcase 1.5697 ms/op 2.2035 ms/op 0.71
altair processAttestation - 250000 vs - 7PWei worstcase 2.3243 ms/op 3.2616 ms/op 0.71
altair processAttestation - setStatus - 1/6 committees join 100.22 us/op 184.26 us/op 0.54
altair processAttestation - setStatus - 1/3 committees join 206.19 us/op 356.82 us/op 0.58
altair processAttestation - setStatus - 1/2 committees join 278.12 us/op 480.41 us/op 0.58
altair processAttestation - setStatus - 2/3 committees join 382.32 us/op 659.44 us/op 0.58
altair processAttestation - setStatus - 4/5 committees join 505.79 us/op 926.79 us/op 0.55
altair processAttestation - setStatus - 100% committees join 596.22 us/op 940.48 us/op 0.63
altair processBlock - 250000 vs - 7PWei normalcase 9.3130 ms/op 10.354 ms/op 0.90
altair processBlock - 250000 vs - 7PWei normalcase hashState 31.391 ms/op 36.345 ms/op 0.86
altair processBlock - 250000 vs - 7PWei worstcase 30.913 ms/op 46.172 ms/op 0.67
altair processBlock - 250000 vs - 7PWei worstcase hashState 82.658 ms/op 97.346 ms/op 0.85
phase0 processBlock - 250000 vs - 7PWei normalcase 2.4237 ms/op 2.5078 ms/op 0.97
phase0 processBlock - 250000 vs - 7PWei worstcase 24.430 ms/op 29.565 ms/op 0.83
altair processEth1Data - 250000 vs - 7PWei normalcase 354.89 us/op 595.05 us/op 0.60
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 6.0860 us/op 9.8350 us/op 0.62
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 57.305 us/op 56.910 us/op 1.01
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 17.072 us/op 15.160 us/op 1.13
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 7.0510 us/op 7.0760 us/op 1.00
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 162.05 us/op 160.57 us/op 1.01
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.1465 ms/op 1.0653 ms/op 1.08
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.0099 ms/op 1.4848 ms/op 0.68
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 909.76 us/op 1.4638 ms/op 0.62
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.6329 ms/op 3.9414 ms/op 0.67
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.6477 ms/op 2.5026 ms/op 0.66
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.6210 ms/op 5.1831 ms/op 0.89
Tree 40 250000 create 274.59 ms/op 358.23 ms/op 0.77
Tree 40 250000 get(125000) 111.78 ns/op 210.69 ns/op 0.53
Tree 40 250000 set(125000) 773.39 ns/op 1.0272 us/op 0.75
Tree 40 250000 toArray() 11.342 ms/op 18.451 ms/op 0.61
Tree 40 250000 iterate all - toArray() + loop 17.940 ms/op 18.580 ms/op 0.97
Tree 40 250000 iterate all - get(i) 48.018 ms/op 66.137 ms/op 0.73
MutableVector 250000 create 13.787 ms/op 14.343 ms/op 0.96
MutableVector 250000 get(125000) 5.7830 ns/op 6.6820 ns/op 0.87
MutableVector 250000 set(125000) 207.42 ns/op 272.90 ns/op 0.76
MutableVector 250000 toArray() 2.2669 ms/op 3.2440 ms/op 0.70
MutableVector 250000 iterate all - toArray() + loop 2.8571 ms/op 3.5392 ms/op 0.81
MutableVector 250000 iterate all - get(i) 1.3444 ms/op 1.5922 ms/op 0.84
Array 250000 create 2.1578 ms/op 2.8882 ms/op 0.75
Array 250000 clone - spread 1.2743 ms/op 1.4446 ms/op 0.88
Array 250000 get(125000) 1.0590 ns/op 1.2660 ns/op 0.84
Array 250000 set(125000) 1.2740 ns/op 4.6000 ns/op 0.28
Array 250000 iterate all - loop 155.59 us/op 193.91 us/op 0.80
effectiveBalanceIncrements clone Uint8Array 300000 14.565 us/op 31.810 us/op 0.46
effectiveBalanceIncrements clone MutableVector 300000 425.00 ns/op 467.00 ns/op 0.91
effectiveBalanceIncrements rw all Uint8Array 300000 201.69 us/op 236.87 us/op 0.85
effectiveBalanceIncrements rw all MutableVector 300000 67.230 ms/op 96.629 ms/op 0.70
phase0 afterProcessEpoch - 250000 vs - 7PWei 73.288 ms/op 128.43 ms/op 0.57
phase0 beforeProcessEpoch - 250000 vs - 7PWei 43.712 ms/op 53.022 ms/op 0.82
altair processEpoch - mainnet_e81889 445.87 ms/op 518.76 ms/op 0.86
mainnet_e81889 - altair beforeProcessEpoch 52.546 ms/op 84.593 ms/op 0.62
mainnet_e81889 - altair processJustificationAndFinalization 11.374 us/op 15.683 us/op 0.73
mainnet_e81889 - altair processInactivityUpdates 6.6325 ms/op 6.1318 ms/op 1.08
mainnet_e81889 - altair processRewardsAndPenalties 67.428 ms/op 62.464 ms/op 1.08
mainnet_e81889 - altair processRegistryUpdates 1.0470 us/op 2.6340 us/op 0.40
mainnet_e81889 - altair processSlashings 334.00 ns/op 471.00 ns/op 0.71
mainnet_e81889 - altair processEth1DataReset 351.00 ns/op 532.00 ns/op 0.66
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.1087 ms/op 1.3789 ms/op 0.80
mainnet_e81889 - altair processSlashingsReset 3.5020 us/op 3.6460 us/op 0.96
mainnet_e81889 - altair processRandaoMixesReset 4.4570 us/op 4.1450 us/op 1.08
mainnet_e81889 - altair processHistoricalRootsUpdate 554.00 ns/op 1.0360 us/op 0.53
mainnet_e81889 - altair processParticipationFlagUpdates 1.6760 us/op 1.8650 us/op 0.90
mainnet_e81889 - altair processSyncCommitteeUpdates 810.00 ns/op 617.00 ns/op 1.31
mainnet_e81889 - altair afterProcessEpoch 79.255 ms/op 129.63 ms/op 0.61
capella processEpoch - mainnet_e217614 1.9108 s/op 2.2383 s/op 0.85
mainnet_e217614 - capella beforeProcessEpoch 412.20 ms/op 494.08 ms/op 0.83
mainnet_e217614 - capella processJustificationAndFinalization 8.3540 us/op 15.070 us/op 0.55
mainnet_e217614 - capella processInactivityUpdates 16.952 ms/op 20.067 ms/op 0.84
mainnet_e217614 - capella processRewardsAndPenalties 378.35 ms/op 422.29 ms/op 0.90
mainnet_e217614 - capella processRegistryUpdates 18.479 us/op 19.229 us/op 0.96
mainnet_e217614 - capella processSlashings 666.00 ns/op 585.00 ns/op 1.14
mainnet_e217614 - capella processEth1DataReset 580.00 ns/op 468.00 ns/op 1.24
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.3344 ms/op 4.7763 ms/op 0.70
mainnet_e217614 - capella processSlashingsReset 1.8050 us/op 3.7200 us/op 0.49
mainnet_e217614 - capella processRandaoMixesReset 3.1800 us/op 4.7700 us/op 0.67
mainnet_e217614 - capella processHistoricalRootsUpdate 626.00 ns/op 663.00 ns/op 0.94
mainnet_e217614 - capella processParticipationFlagUpdates 1.3970 us/op 1.9050 us/op 0.73
mainnet_e217614 - capella afterProcessEpoch 203.83 ms/op 323.34 ms/op 0.63
phase0 processEpoch - mainnet_e58758 369.17 ms/op 459.94 ms/op 0.80
mainnet_e58758 - phase0 beforeProcessEpoch 104.00 ms/op 147.77 ms/op 0.70
mainnet_e58758 - phase0 processJustificationAndFinalization 13.040 us/op 15.366 us/op 0.85
mainnet_e58758 - phase0 processRewardsAndPenalties 50.988 ms/op 53.852 ms/op 0.95
mainnet_e58758 - phase0 processRegistryUpdates 7.1190 us/op 9.1680 us/op 0.78
mainnet_e58758 - phase0 processSlashings 623.00 ns/op 623.00 ns/op 1.00
mainnet_e58758 - phase0 processEth1DataReset 526.00 ns/op 448.00 ns/op 1.17
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.4454 ms/op 1.1288 ms/op 1.28
mainnet_e58758 - phase0 processSlashingsReset 2.4310 us/op 2.7130 us/op 0.90
mainnet_e58758 - phase0 processRandaoMixesReset 3.3400 us/op 4.1010 us/op 0.81
mainnet_e58758 - phase0 processHistoricalRootsUpdate 555.00 ns/op 432.00 ns/op 1.28
mainnet_e58758 - phase0 processParticipationRecordUpdates 2.9770 us/op 3.9980 us/op 0.74
mainnet_e58758 - phase0 afterProcessEpoch 61.769 ms/op 104.94 ms/op 0.59
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0345 ms/op 1.3876 ms/op 0.75
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.1783 ms/op 1.4292 ms/op 0.82
altair processInactivityUpdates - 250000 normalcase 19.389 ms/op 21.032 ms/op 0.92
altair processInactivityUpdates - 250000 worstcase 19.557 ms/op 21.931 ms/op 0.89
phase0 processRegistryUpdates - 250000 normalcase 9.6830 us/op 8.2060 us/op 1.18
phase0 processRegistryUpdates - 250000 badcase_full_deposits 390.69 us/op 311.41 us/op 1.25
phase0 processRegistryUpdates - 250000 worstcase 0.5 100.17 ms/op 145.39 ms/op 0.69
altair processRewardsAndPenalties - 250000 normalcase 52.556 ms/op 58.265 ms/op 0.90
altair processRewardsAndPenalties - 250000 worstcase 56.448 ms/op 58.078 ms/op 0.97
phase0 getAttestationDeltas - 250000 normalcase 5.9725 ms/op 9.3345 ms/op 0.64
phase0 getAttestationDeltas - 250000 worstcase 6.6843 ms/op 9.3447 ms/op 0.72
phase0 processSlashings - 250000 worstcase 86.537 us/op 84.376 us/op 1.03
altair processSyncCommitteeUpdates - 250000 119.56 ms/op 152.35 ms/op 0.78
BeaconState.hashTreeRoot - No change 410.00 ns/op 385.00 ns/op 1.06
BeaconState.hashTreeRoot - 1 full validator 122.95 us/op 135.38 us/op 0.91
BeaconState.hashTreeRoot - 32 full validator 1.6630 ms/op 1.3947 ms/op 1.19
BeaconState.hashTreeRoot - 512 full validator 14.249 ms/op 14.523 ms/op 0.98
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 179.97 us/op 172.59 us/op 1.04
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.6422 ms/op 2.5497 ms/op 0.64
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 23.846 ms/op 34.243 ms/op 0.70
BeaconState.hashTreeRoot - 1 balances 100.85 us/op 140.03 us/op 0.72
BeaconState.hashTreeRoot - 32 balances 1.1015 ms/op 1.3222 ms/op 0.83
BeaconState.hashTreeRoot - 512 balances 8.2129 ms/op 11.580 ms/op 0.71
BeaconState.hashTreeRoot - 250000 balances 188.18 ms/op 208.97 ms/op 0.90
aggregationBits - 2048 els - zipIndexesInBitList 10.370 us/op 17.441 us/op 0.59
byteArrayEquals 32 65.652 ns/op 84.475 ns/op 0.78
Buffer.compare 32 39.475 ns/op 63.893 ns/op 0.62
byteArrayEquals 1024 1.7979 us/op 2.3134 us/op 0.78
Buffer.compare 1024 46.323 ns/op 78.348 ns/op 0.59
byteArrayEquals 16384 28.471 us/op 36.617 us/op 0.78
Buffer.compare 16384 236.55 ns/op 299.35 ns/op 0.79
byteArrayEquals 123687377 200.99 ms/op 250.84 ms/op 0.80
Buffer.compare 123687377 5.7871 ms/op 6.0697 ms/op 0.95
byteArrayEquals 32 - diff last byte 60.359 ns/op 73.623 ns/op 0.82
Buffer.compare 32 - diff last byte 36.550 ns/op 66.627 ns/op 0.55
byteArrayEquals 1024 - diff last byte 1.6569 us/op 2.2182 us/op 0.75
Buffer.compare 1024 - diff last byte 43.615 ns/op 77.404 ns/op 0.56
byteArrayEquals 16384 - diff last byte 26.511 us/op 35.329 us/op 0.75
Buffer.compare 16384 - diff last byte 223.94 ns/op 252.87 ns/op 0.89
byteArrayEquals 123687377 - diff last byte 211.21 ms/op 263.93 ms/op 0.80
Buffer.compare 123687377 - diff last byte 6.1079 ms/op 6.3239 ms/op 0.97
byteArrayEquals 32 - random bytes 4.7960 ns/op 5.6040 ns/op 0.86
Buffer.compare 32 - random bytes 41.011 ns/op 65.095 ns/op 0.63
byteArrayEquals 1024 - random bytes 4.6730 ns/op 5.4870 ns/op 0.85
Buffer.compare 1024 - random bytes 39.786 ns/op 63.869 ns/op 0.62
byteArrayEquals 16384 - random bytes 4.7110 ns/op 5.4590 ns/op 0.86
Buffer.compare 16384 - random bytes 38.843 ns/op 64.328 ns/op 0.60
byteArrayEquals 123687377 - random bytes 8.3500 ns/op 8.7800 ns/op 0.95
Buffer.compare 123687377 - random bytes 43.060 ns/op 67.610 ns/op 0.64
regular array get 100000 times 42.946 us/op 46.406 us/op 0.93
wrappedArray get 100000 times 43.225 us/op 46.335 us/op 0.93
arrayWithProxy get 100000 times 10.328 ms/op 15.542 ms/op 0.66
ssz.Root.equals 56.746 ns/op 57.421 ns/op 0.99
byteArrayEquals 56.273 ns/op 56.420 ns/op 1.00
Buffer.compare 9.6460 ns/op 11.674 ns/op 0.83
shuffle list - 16384 els 4.7860 ms/op 7.4414 ms/op 0.64
shuffle list - 250000 els 70.066 ms/op 114.09 ms/op 0.61
processSlot - 1 slots 14.191 us/op 17.876 us/op 0.79
processSlot - 32 slots 3.7281 ms/op 3.6131 ms/op 1.03
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 54.840 ms/op 59.843 ms/op 0.92
getCommitteeAssignments - req 1 vs - 250000 vc 2.2443 ms/op 2.5944 ms/op 0.87
getCommitteeAssignments - req 100 vs - 250000 vc 3.3697 ms/op 3.7729 ms/op 0.89
getCommitteeAssignments - req 1000 vs - 250000 vc 3.6239 ms/op 4.1558 ms/op 0.87
findModifiedValidators - 10000 modified validators 414.30 ms/op 601.89 ms/op 0.69
findModifiedValidators - 1000 modified validators 308.61 ms/op 505.40 ms/op 0.61
findModifiedValidators - 100 modified validators 285.45 ms/op 472.83 ms/op 0.60
findModifiedValidators - 10 modified validators 283.71 ms/op 478.87 ms/op 0.59
findModifiedValidators - 1 modified validators 296.15 ms/op 487.18 ms/op 0.61
findModifiedValidators - no difference 304.38 ms/op 464.00 ms/op 0.66
compare ViewDUs 3.9818 s/op 4.4897 s/op 0.89
compare each validator Uint8Array 1.5363 s/op 1.9254 s/op 0.80
compare ViewDU to Uint8Array 874.32 ms/op 1.1934 s/op 0.73
migrate state 1000000 validators, 24 modified, 0 new 688.80 ms/op 827.39 ms/op 0.83
migrate state 1000000 validators, 1700 modified, 1000 new 1.0255 s/op 1.1299 s/op 0.91
migrate state 1000000 validators, 3400 modified, 2000 new 1.2231 s/op 1.3798 s/op 0.89
migrate state 1500000 validators, 24 modified, 0 new 710.27 ms/op 835.35 ms/op 0.85
migrate state 1500000 validators, 1700 modified, 1000 new 993.30 ms/op 1.1728 s/op 0.85
migrate state 1500000 validators, 3400 modified, 2000 new 1.1766 s/op 1.4004 s/op 0.84
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5700 ns/op 4.5000 ns/op 1.02
state getBlockRootAtSlot - 250000 vs - 7PWei 788.32 ns/op 747.79 ns/op 1.05
computeProposers - vc 250000 5.7976 ms/op 9.4483 ms/op 0.61
computeEpochShuffling - vc 250000 65.590 ms/op 107.19 ms/op 0.61
getNextSyncCommittee - vc 250000 103.47 ms/op 156.66 ms/op 0.66
computeSigningRoot for AttestationData 19.236 us/op 30.040 us/op 0.64
hash AttestationData serialized data then Buffer.toString(base64) 1.1816 us/op 2.5208 us/op 0.47
toHexString serialized data 767.77 ns/op 1.1499 us/op 0.67
Buffer.toString(base64) 160.55 ns/op 236.45 ns/op 0.68

by benchmarkbot/action

@twoeths twoeths marked this pull request as ready for review January 29, 2024 03:07
@twoeths twoeths requested a review from a team as a code owner January 29, 2024 03:07
@wemeetagain wemeetagain changed the title fix: stabalize unknown block sync e2e test fix: stabilize unknown block sync e2e test Jan 29, 2024
@wemeetagain wemeetagain merged commit 3bbb3d9 into unstable Jan 29, 2024
15 of 16 checks passed
@wemeetagain wemeetagain deleted the tuyen/fix_unknown_block_sync_e2e branch January 29, 2024 17:17
@wemeetagain
Copy link
Member

🎉 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