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: extend chiado config from gnosis config #6329

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jan 19, 2024

Motivation

As noted in #6284 (comment) is might better to extend the chiado config from the gnosis config instead of mainnet.

Both networks override the same mainnet values, there are of course a few values (e.g. DEPOSIT_CHAIN_ID) that chiado still needs to override but this reduces maintenance of network configs and makes overall config more robust / less error prone.

Description

Extend chiado config from gnosis config

I verified that config of both networks did not change by comparing the results of /eth/v1/config/spec. Also made sure we are still able to join the networks.

Note: This PR does not yet schedule Deneb fork on chiado (#6284)

@nflaig nflaig requested a review from a team as a code owner January 19, 2024 16:55
@@ -41,4 +40,7 @@ export const gnosisChainConfig: ChainConfig = {
// Capella
CAPELLA_FORK_VERSION: b("0x03000064"),
CAPELLA_FORK_EPOCH: 648704, // 2023-08-01T11:34:20.000Z
// Deneb
DENEB_FORK_VERSION: b("0x04000064"),
DENEB_FORK_EPOCH: Infinity,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link

codecov bot commented Jan 19, 2024

Codecov Report

Merging #6329 (f90b8c4) into unstable (3215bdd) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6329   +/-   ##
=========================================
  Coverage     76.61%   76.61%           
=========================================
  Files           248      248           
  Lines         25898    25898           
  Branches       1448     1448           
=========================================
  Hits          19842    19842           
  Misses         6026     6026           
  Partials         30       30           

Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 3b8e093 Previous: 3215bdd Ratio
Set add up to 128 items then delete last 3.8012 us/op 11.787 us/op 0.32
Set add up to 256 items then delete first 7.5738 us/op 23.614 us/op 0.32
Set add up to 256 items then delete last 7.4639 us/op 22.605 us/op 0.33
altair processEth1Data - 250000 vs - 7PWei normalcase 297.20 us/op 952.82 us/op 0.31
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 16.047 us/op 119.93 us/op 0.13
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 10.413 us/op 41.724 us/op 0.25
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 3.9540 us/op 29.107 us/op 0.14
Full benchmark results
Benchmark suite Current: 3b8e093 Previous: 3215bdd Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 533.25 us/op 644.85 us/op 0.83
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 63.981 us/op 126.12 us/op 0.51
BLS verify - blst-native 1.1497 ms/op 1.4567 ms/op 0.79
BLS verifyMultipleSignatures 3 - blst-native 2.4433 ms/op 2.9613 ms/op 0.83
BLS verifyMultipleSignatures 8 - blst-native 5.5702 ms/op 6.3898 ms/op 0.87
BLS verifyMultipleSignatures 32 - blst-native 19.857 ms/op 25.378 ms/op 0.78
BLS verifyMultipleSignatures 64 - blst-native 39.382 ms/op 48.121 ms/op 0.82
BLS verifyMultipleSignatures 128 - blst-native 78.705 ms/op 99.072 ms/op 0.79
BLS deserializing 10000 signatures 844.32 ms/op 980.79 ms/op 0.86
BLS deserializing 100000 signatures 9.0105 s/op 9.6977 s/op 0.93
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2011 ms/op 1.4630 ms/op 0.82
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.7799 ms/op 1.6623 ms/op 1.07
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.7714 ms/op 2.5093 ms/op 1.10
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.3457 ms/op 3.6417 ms/op 1.19
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.1309 ms/op 6.2157 ms/op 0.83
BLS aggregatePubkeys 32 - blst-native 23.365 us/op 29.839 us/op 0.78
BLS aggregatePubkeys 128 - blst-native 91.300 us/op 106.49 us/op 0.86
getAttestationsForBlock 53.542 ms/op 66.910 ms/op 0.80
getSlashingsAndExits - default max 132.75 us/op 185.97 us/op 0.71
getSlashingsAndExits - 2k 614.61 us/op 635.67 us/op 0.97
proposeBlockBody type=full, size=empty 4.0291 ms/op 6.6005 ms/op 0.61
isKnown best case - 1 super set check 311.00 ns/op 555.00 ns/op 0.56
isKnown normal case - 2 super set checks 393.00 ns/op 518.00 ns/op 0.76
isKnown worse case - 16 super set checks 392.00 ns/op 589.00 ns/op 0.67
CheckpointStateCache - add get delete 4.4220 us/op 6.6690 us/op 0.66
validate api signedAggregateAndProof - struct 2.4379 ms/op 2.9032 ms/op 0.84
validate gossip signedAggregateAndProof - struct 2.4359 ms/op 3.4937 ms/op 0.70
validate gossip attestation - vc 640000 1.1663 ms/op 1.4943 ms/op 0.78
batch validate gossip attestation - vc 640000 - chunk 32 145.69 us/op 183.71 us/op 0.79
batch validate gossip attestation - vc 640000 - chunk 64 125.12 us/op 156.45 us/op 0.80
batch validate gossip attestation - vc 640000 - chunk 128 120.90 us/op 148.53 us/op 0.81
batch validate gossip attestation - vc 640000 - chunk 256 117.48 us/op 144.59 us/op 0.81
pickEth1Vote - no votes 970.32 us/op 1.3559 ms/op 0.72
pickEth1Vote - max votes 12.859 ms/op 11.557 ms/op 1.11
pickEth1Vote - Eth1Data hashTreeRoot value x2048 23.324 ms/op 20.026 ms/op 1.16
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.720 ms/op 26.172 ms/op 1.06
pickEth1Vote - Eth1Data fastSerialize value x2048 535.87 us/op 747.16 us/op 0.72
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.5068 ms/op 5.3458 ms/op 0.84
bytes32 toHexString 699.00 ns/op 665.00 ns/op 1.05
bytes32 Buffer.toString(hex) 398.00 ns/op 326.00 ns/op 1.22
bytes32 Buffer.toString(hex) from Uint8Array 580.00 ns/op 573.00 ns/op 1.01
bytes32 Buffer.toString(hex) + 0x 384.00 ns/op 349.00 ns/op 1.10
Object access 1 prop 0.26600 ns/op 0.21700 ns/op 1.23
Map access 1 prop 0.20900 ns/op 0.16000 ns/op 1.31
Object get x1000 5.0750 ns/op 8.0050 ns/op 0.63
Map get x1000 0.85600 ns/op 0.89500 ns/op 0.96
Object set x1000 49.214 ns/op 69.333 ns/op 0.71
Map set x1000 32.475 ns/op 50.179 ns/op 0.65
Return object 10000 times 0.23770 ns/op 0.25690 ns/op 0.93
Throw Error 10000 times 2.8448 us/op 4.0367 us/op 0.70
fastMsgIdFn sha256 / 200 bytes 2.0750 us/op 3.5150 us/op 0.59
fastMsgIdFn h32 xxhash / 200 bytes 366.00 ns/op 332.00 ns/op 1.10
fastMsgIdFn h64 xxhash / 200 bytes 406.00 ns/op 407.00 ns/op 1.00
fastMsgIdFn sha256 / 1000 bytes 6.2580 us/op 12.139 us/op 0.52
fastMsgIdFn h32 xxhash / 1000 bytes 429.00 ns/op 501.00 ns/op 0.86
fastMsgIdFn h64 xxhash / 1000 bytes 438.00 ns/op 473.00 ns/op 0.93
fastMsgIdFn sha256 / 10000 bytes 54.233 us/op 110.76 us/op 0.49
fastMsgIdFn h32 xxhash / 10000 bytes 1.8890 us/op 2.1050 us/op 0.90
fastMsgIdFn h64 xxhash / 10000 bytes 1.2930 us/op 1.4550 us/op 0.89
send data - 1000 256B messages 14.180 ms/op 23.301 ms/op 0.61
send data - 1000 512B messages 18.527 ms/op 31.992 ms/op 0.58
send data - 1000 1024B messages 30.419 ms/op 45.648 ms/op 0.67
send data - 1000 1200B messages 35.223 ms/op 45.389 ms/op 0.78
send data - 1000 2048B messages 35.109 ms/op 62.215 ms/op 0.56
send data - 1000 4096B messages 30.344 ms/op 51.302 ms/op 0.59
send data - 1000 16384B messages 94.317 ms/op 131.85 ms/op 0.72
send data - 1000 65536B messages 413.97 ms/op 521.32 ms/op 0.79
enrSubnets - fastDeserialize 64 bits 1.1690 us/op 2.0150 us/op 0.58
enrSubnets - ssz BitVector 64 bits 553.00 ns/op 558.00 ns/op 0.99
enrSubnets - fastDeserialize 4 bits 257.00 ns/op 240.00 ns/op 1.07
enrSubnets - ssz BitVector 4 bits 544.00 ns/op 542.00 ns/op 1.00
prioritizePeers score -10:0 att 32-0.1 sync 2-0 75.734 us/op 123.05 us/op 0.62
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 100.47 us/op 142.77 us/op 0.70
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 170.25 us/op 190.28 us/op 0.89
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 240.21 us/op 357.50 us/op 0.67
prioritizePeers score 0:0 att 64-1 sync 4-1 242.69 us/op 450.58 us/op 0.54
array of 16000 items push then shift 1.3090 us/op 2.0756 us/op 0.63
LinkedList of 16000 items push then shift 7.4710 ns/op 12.883 ns/op 0.58
array of 16000 items push then pop 103.21 ns/op 141.22 ns/op 0.73
LinkedList of 16000 items push then pop 5.8750 ns/op 10.316 ns/op 0.57
array of 24000 items push then shift 1.9018 us/op 2.8021 us/op 0.68
LinkedList of 24000 items push then shift 7.1840 ns/op 10.576 ns/op 0.68
array of 24000 items push then pop 97.299 ns/op 179.23 ns/op 0.54
LinkedList of 24000 items push then pop 6.1650 ns/op 9.9880 ns/op 0.62
intersect bitArray bitLen 8 5.1300 ns/op 7.7810 ns/op 0.66
intersect array and set length 8 56.525 ns/op 94.431 ns/op 0.60
intersect bitArray bitLen 128 28.728 ns/op 37.854 ns/op 0.76
intersect array and set length 128 802.77 ns/op 1.0808 us/op 0.74
bitArray.getTrueBitIndexes() bitLen 128 1.5620 us/op 1.7500 us/op 0.89
bitArray.getTrueBitIndexes() bitLen 248 2.1020 us/op 3.4670 us/op 0.61
bitArray.getTrueBitIndexes() bitLen 512 4.1250 us/op 6.5160 us/op 0.63
Buffer.concat 32 items 938.00 ns/op 1.1120 us/op 0.84
Uint8Array.set 32 items 2.1320 us/op 1.8990 us/op 1.12
Set add up to 64 items then delete first 1.7526 us/op 5.1230 us/op 0.34
OrderedSet add up to 64 items then delete first 2.7018 us/op 6.8410 us/op 0.39
Set add up to 64 items then delete last 1.9803 us/op 5.7387 us/op 0.35
OrderedSet add up to 64 items then delete last 2.9439 us/op 7.3061 us/op 0.40
Set add up to 64 items then delete middle 1.9927 us/op 5.8871 us/op 0.34
OrderedSet add up to 64 items then delete middle 4.2173 us/op 8.5351 us/op 0.49
Set add up to 128 items then delete first 3.8847 us/op 11.277 us/op 0.34
OrderedSet add up to 128 items then delete first 6.0595 us/op 15.683 us/op 0.39
Set add up to 128 items then delete last 3.8012 us/op 11.787 us/op 0.32
OrderedSet add up to 128 items then delete last 5.7007 us/op 14.444 us/op 0.39
Set add up to 128 items then delete middle 3.7983 us/op 11.362 us/op 0.33
OrderedSet add up to 128 items then delete middle 10.790 us/op 20.916 us/op 0.52
Set add up to 256 items then delete first 7.5738 us/op 23.614 us/op 0.32
OrderedSet add up to 256 items then delete first 12.286 us/op 32.533 us/op 0.38
Set add up to 256 items then delete last 7.4639 us/op 22.605 us/op 0.33
OrderedSet add up to 256 items then delete last 11.394 us/op 29.408 us/op 0.39
Set add up to 256 items then delete middle 7.4864 us/op 22.198 us/op 0.34
OrderedSet add up to 256 items then delete middle 31.845 us/op 54.589 us/op 0.58
transfer serialized Status (84 B) 1.3500 us/op 2.1280 us/op 0.63
copy serialized Status (84 B) 1.0280 us/op 1.4920 us/op 0.69
transfer serialized SignedVoluntaryExit (112 B) 1.3940 us/op 2.4060 us/op 0.58
copy serialized SignedVoluntaryExit (112 B) 1.0640 us/op 1.7290 us/op 0.62
transfer serialized ProposerSlashing (416 B) 1.5840 us/op 2.4920 us/op 0.64
copy serialized ProposerSlashing (416 B) 2.4470 us/op 2.1720 us/op 1.13
transfer serialized Attestation (485 B) 3.1310 us/op 2.4520 us/op 1.28
copy serialized Attestation (485 B) 3.0050 us/op 2.1580 us/op 1.39
transfer serialized AttesterSlashing (33232 B) 2.9840 us/op 2.1830 us/op 1.37
copy serialized AttesterSlashing (33232 B) 9.3410 us/op 8.0590 us/op 1.16
transfer serialized Small SignedBeaconBlock (128000 B) 3.2380 us/op 2.8050 us/op 1.15
copy serialized Small SignedBeaconBlock (128000 B) 17.242 us/op 24.099 us/op 0.72
transfer serialized Avg SignedBeaconBlock (200000 B) 3.2450 us/op 3.2320 us/op 1.00
copy serialized Avg SignedBeaconBlock (200000 B) 21.867 us/op 42.941 us/op 0.51
transfer serialized BlobsSidecar (524380 B) 2.8400 us/op 4.0810 us/op 0.70
copy serialized BlobsSidecar (524380 B) 74.932 us/op 89.589 us/op 0.84
transfer serialized Big SignedBeaconBlock (1000000 B) 3.0350 us/op 4.0170 us/op 0.76
copy serialized Big SignedBeaconBlock (1000000 B) 247.75 us/op 191.89 us/op 1.29
pass gossip attestations to forkchoice per slot 2.6979 ms/op 4.2080 ms/op 0.64
forkChoice updateHead vc 100000 bc 64 eq 0 487.48 us/op 766.67 us/op 0.64
forkChoice updateHead vc 600000 bc 64 eq 0 2.6455 ms/op 4.4686 ms/op 0.59
forkChoice updateHead vc 1000000 bc 64 eq 0 4.6591 ms/op 8.3211 ms/op 0.56
forkChoice updateHead vc 600000 bc 320 eq 0 2.6808 ms/op 5.0108 ms/op 0.53
forkChoice updateHead vc 600000 bc 1200 eq 0 2.9060 ms/op 4.7260 ms/op 0.61
forkChoice updateHead vc 600000 bc 7200 eq 0 4.0044 ms/op 6.1291 ms/op 0.65
forkChoice updateHead vc 600000 bc 64 eq 1000 10.267 ms/op 13.418 ms/op 0.77
forkChoice updateHead vc 600000 bc 64 eq 10000 9.7954 ms/op 13.510 ms/op 0.73
forkChoice updateHead vc 600000 bc 64 eq 300000 11.967 ms/op 32.037 ms/op 0.37
computeDeltas 500000 validators 300 proto nodes 3.0694 ms/op 7.5791 ms/op 0.40
computeDeltas 500000 validators 1200 proto nodes 3.0476 ms/op 7.5458 ms/op 0.40
computeDeltas 500000 validators 7200 proto nodes 3.0900 ms/op 7.2039 ms/op 0.43
computeDeltas 750000 validators 300 proto nodes 4.6663 ms/op 11.167 ms/op 0.42
computeDeltas 750000 validators 1200 proto nodes 4.5590 ms/op 10.991 ms/op 0.41
computeDeltas 750000 validators 7200 proto nodes 4.5347 ms/op 11.546 ms/op 0.39
computeDeltas 1400000 validators 300 proto nodes 9.0746 ms/op 21.087 ms/op 0.43
computeDeltas 1400000 validators 1200 proto nodes 9.2168 ms/op 21.734 ms/op 0.42
computeDeltas 1400000 validators 7200 proto nodes 9.4415 ms/op 22.213 ms/op 0.43
computeDeltas 2100000 validators 300 proto nodes 13.780 ms/op 31.496 ms/op 0.44
computeDeltas 2100000 validators 1200 proto nodes 14.037 ms/op 33.140 ms/op 0.42
computeDeltas 2100000 validators 7200 proto nodes 13.794 ms/op 34.458 ms/op 0.40
altair processAttestation - 250000 vs - 7PWei normalcase 2.1459 ms/op 4.6651 ms/op 0.46
altair processAttestation - 250000 vs - 7PWei worstcase 2.3907 ms/op 6.7268 ms/op 0.36
altair processAttestation - setStatus - 1/6 committees join 101.31 us/op 256.35 us/op 0.40
altair processAttestation - setStatus - 1/3 committees join 202.86 us/op 455.98 us/op 0.44
altair processAttestation - setStatus - 1/2 committees join 282.33 us/op 615.76 us/op 0.46
altair processAttestation - setStatus - 2/3 committees join 371.27 us/op 802.49 us/op 0.46
altair processAttestation - setStatus - 4/5 committees join 503.83 us/op 1.0013 ms/op 0.50
altair processAttestation - setStatus - 100% committees join 602.79 us/op 1.2825 ms/op 0.47
altair processBlock - 250000 vs - 7PWei normalcase 6.9376 ms/op 15.793 ms/op 0.44
altair processBlock - 250000 vs - 7PWei normalcase hashState 21.404 ms/op 61.443 ms/op 0.35
altair processBlock - 250000 vs - 7PWei worstcase 27.502 ms/op 52.561 ms/op 0.52
altair processBlock - 250000 vs - 7PWei worstcase hashState 69.148 ms/op 132.87 ms/op 0.52
phase0 processBlock - 250000 vs - 7PWei normalcase 1.5524 ms/op 4.0401 ms/op 0.38
phase0 processBlock - 250000 vs - 7PWei worstcase 23.156 ms/op 38.876 ms/op 0.60
altair processEth1Data - 250000 vs - 7PWei normalcase 297.20 us/op 952.82 us/op 0.31
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 11.107 us/op 18.535 us/op 0.60
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 16.047 us/op 119.93 us/op 0.13
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 10.413 us/op 41.724 us/op 0.25
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 3.9540 us/op 29.107 us/op 0.14
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 157.73 us/op 283.47 us/op 0.56
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 704.41 us/op 1.8952 ms/op 0.37
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.1418 ms/op 2.6273 ms/op 0.43
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.0465 ms/op 2.5422 ms/op 0.41
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.8470 ms/op 5.2853 ms/op 0.54
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.7651 ms/op 3.2168 ms/op 0.55
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.7123 ms/op 9.4181 ms/op 0.39
Tree 40 250000 create 280.00 ms/op 1.0609 s/op 0.26
Tree 40 250000 get(125000) 103.12 ns/op 272.47 ns/op 0.38
Tree 40 250000 set(125000) 740.97 ns/op 3.7894 us/op 0.20
Tree 40 250000 toArray() 14.603 ms/op 34.167 ms/op 0.43
Tree 40 250000 iterate all - toArray() + loop 14.622 ms/op 37.681 ms/op 0.39
Tree 40 250000 iterate all - get(i) 39.776 ms/op 115.15 ms/op 0.35
MutableVector 250000 create 12.332 ms/op 26.682 ms/op 0.46
MutableVector 250000 get(125000) 5.5070 ns/op 9.7650 ns/op 0.56
MutableVector 250000 set(125000) 201.43 ns/op 871.35 ns/op 0.23
MutableVector 250000 toArray() 2.4328 ms/op 5.5242 ms/op 0.44
MutableVector 250000 iterate all - toArray() + loop 2.3245 ms/op 5.8827 ms/op 0.40
MutableVector 250000 iterate all - get(i) 1.3391 ms/op 1.8686 ms/op 0.72
Array 250000 create 2.0303 ms/op 5.0843 ms/op 0.40
Array 250000 clone - spread 1.0973 ms/op 5.8853 ms/op 0.19
Array 250000 get(125000) 0.98700 ns/op 3.6140 ns/op 0.27
Array 250000 set(125000) 1.1750 ns/op 6.8450 ns/op 0.17
Array 250000 iterate all - loop 145.61 us/op 215.95 us/op 0.67
effectiveBalanceIncrements clone Uint8Array 300000 19.158 us/op 112.64 us/op 0.17
effectiveBalanceIncrements clone MutableVector 300000 391.00 ns/op 1.8300 us/op 0.21
effectiveBalanceIncrements rw all Uint8Array 300000 175.06 us/op 282.78 us/op 0.62
effectiveBalanceIncrements rw all MutableVector 300000 65.217 ms/op 261.61 ms/op 0.25
phase0 afterProcessEpoch - 250000 vs - 7PWei 70.505 ms/op 145.23 ms/op 0.49
phase0 beforeProcessEpoch - 250000 vs - 7PWei 45.003 ms/op 87.153 ms/op 0.52
altair processEpoch - mainnet_e81889 396.75 ms/op 739.21 ms/op 0.54
mainnet_e81889 - altair beforeProcessEpoch 71.023 ms/op 126.35 ms/op 0.56
mainnet_e81889 - altair processJustificationAndFinalization 15.741 us/op 37.045 us/op 0.42
mainnet_e81889 - altair processInactivityUpdates 6.3134 ms/op 12.550 ms/op 0.50
mainnet_e81889 - altair processRewardsAndPenalties 56.001 ms/op 66.850 ms/op 0.84
mainnet_e81889 - altair processRegistryUpdates 1.7510 us/op 5.5150 us/op 0.32
mainnet_e81889 - altair processSlashings 547.00 ns/op 1.4370 us/op 0.38
mainnet_e81889 - altair processEth1DataReset 541.00 ns/op 1.5040 us/op 0.36
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.7561 ms/op 2.0683 ms/op 0.85
mainnet_e81889 - altair processSlashingsReset 1.9230 us/op 9.7010 us/op 0.20
mainnet_e81889 - altair processRandaoMixesReset 3.4940 us/op 16.745 us/op 0.21
mainnet_e81889 - altair processHistoricalRootsUpdate 433.00 ns/op 3.1780 us/op 0.14
mainnet_e81889 - altair processParticipationFlagUpdates 2.3960 us/op 4.7610 us/op 0.50
mainnet_e81889 - altair processSyncCommitteeUpdates 611.00 ns/op 1.9620 us/op 0.31
mainnet_e81889 - altair afterProcessEpoch 76.717 ms/op 140.62 ms/op 0.55
capella processEpoch - mainnet_e217614 1.7954 s/op 3.2564 s/op 0.55
mainnet_e217614 - capella beforeProcessEpoch 444.75 ms/op 643.57 ms/op 0.69
mainnet_e217614 - capella processJustificationAndFinalization 15.472 us/op 22.460 us/op 0.69
mainnet_e217614 - capella processInactivityUpdates 21.957 ms/op 21.789 ms/op 1.01
mainnet_e217614 - capella processRewardsAndPenalties 467.57 ms/op 470.94 ms/op 0.99
mainnet_e217614 - capella processRegistryUpdates 31.313 us/op 45.492 us/op 0.69
mainnet_e217614 - capella processSlashings 1.4650 us/op 839.00 ns/op 1.75
mainnet_e217614 - capella processEth1DataReset 1.0860 us/op 1.0800 us/op 1.01
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.2202 ms/op 14.302 ms/op 0.37
mainnet_e217614 - capella processSlashingsReset 6.4530 us/op 6.2060 us/op 1.04
mainnet_e217614 - capella processRandaoMixesReset 9.0000 us/op 11.859 us/op 0.76
mainnet_e217614 - capella processHistoricalRootsUpdate 1.1740 us/op 1.0340 us/op 1.14
mainnet_e217614 - capella processParticipationFlagUpdates 3.9570 us/op 1.7950 us/op 2.20
mainnet_e217614 - capella afterProcessEpoch 222.67 ms/op 350.07 ms/op 0.64
phase0 processEpoch - mainnet_e58758 546.62 ms/op 479.53 ms/op 1.14
mainnet_e58758 - phase0 beforeProcessEpoch 173.41 ms/op 158.43 ms/op 1.09
mainnet_e58758 - phase0 processJustificationAndFinalization 25.165 us/op 19.679 us/op 1.28
mainnet_e58758 - phase0 processRewardsAndPenalties 64.147 ms/op 60.166 ms/op 1.07
mainnet_e58758 - phase0 processRegistryUpdates 17.631 us/op 12.074 us/op 1.46
mainnet_e58758 - phase0 processSlashings 1.6500 us/op 590.00 ns/op 2.80
mainnet_e58758 - phase0 processEth1DataReset 1.1500 us/op 796.00 ns/op 1.44
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.4640 ms/op 1.4160 ms/op 1.03
mainnet_e58758 - phase0 processSlashingsReset 5.7360 us/op 5.2010 us/op 1.10
mainnet_e58758 - phase0 processRandaoMixesReset 9.4130 us/op 11.564 us/op 0.81
mainnet_e58758 - phase0 processHistoricalRootsUpdate 982.00 ns/op 708.00 ns/op 1.39
mainnet_e58758 - phase0 processParticipationRecordUpdates 7.9560 us/op 6.1250 us/op 1.30
mainnet_e58758 - phase0 afterProcessEpoch 73.019 ms/op 110.33 ms/op 0.66
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.6638 ms/op 1.6426 ms/op 1.01
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.7809 ms/op 1.5827 ms/op 1.13
altair processInactivityUpdates - 250000 normalcase 33.719 ms/op 39.961 ms/op 0.84
altair processInactivityUpdates - 250000 worstcase 32.489 ms/op 29.251 ms/op 1.11
phase0 processRegistryUpdates - 250000 normalcase 17.943 us/op 15.147 us/op 1.18
phase0 processRegistryUpdates - 250000 badcase_full_deposits 511.70 us/op 454.95 us/op 1.12
phase0 processRegistryUpdates - 250000 worstcase 0.5 178.97 ms/op 166.83 ms/op 1.07
altair processRewardsAndPenalties - 250000 normalcase 59.208 ms/op 66.971 ms/op 0.88
altair processRewardsAndPenalties - 250000 worstcase 58.502 ms/op 60.662 ms/op 0.96
phase0 getAttestationDeltas - 250000 normalcase 6.8446 ms/op 11.293 ms/op 0.61
phase0 getAttestationDeltas - 250000 worstcase 7.3193 ms/op 11.783 ms/op 0.62
phase0 processSlashings - 250000 worstcase 93.388 us/op 109.05 us/op 0.86
altair processSyncCommitteeUpdates - 250000 133.01 ms/op 171.68 ms/op 0.77
BeaconState.hashTreeRoot - No change 397.00 ns/op 518.00 ns/op 0.77
BeaconState.hashTreeRoot - 1 full validator 169.40 us/op 154.61 us/op 1.10
BeaconState.hashTreeRoot - 32 full validator 1.9998 ms/op 1.7484 ms/op 1.14
BeaconState.hashTreeRoot - 512 full validator 21.944 ms/op 20.492 ms/op 1.07
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 241.53 us/op 200.93 us/op 1.20
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.7750 ms/op 2.1893 ms/op 1.27
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 34.442 ms/op 29.177 ms/op 1.18
BeaconState.hashTreeRoot - 1 balances 138.59 us/op 126.96 us/op 1.09
BeaconState.hashTreeRoot - 32 balances 1.4745 ms/op 1.1899 ms/op 1.24
BeaconState.hashTreeRoot - 512 balances 16.626 ms/op 12.088 ms/op 1.38
BeaconState.hashTreeRoot - 250000 balances 208.82 ms/op 239.37 ms/op 0.87
aggregationBits - 2048 els - zipIndexesInBitList 19.707 us/op 22.530 us/op 0.87
byteArrayEquals 32 66.347 ns/op 76.825 ns/op 0.86
Buffer.compare 32 36.661 ns/op 56.617 ns/op 0.65
byteArrayEquals 1024 1.6864 us/op 2.1026 us/op 0.80
Buffer.compare 1024 43.375 ns/op 73.966 ns/op 0.59
byteArrayEquals 16384 26.717 us/op 34.310 us/op 0.78
Buffer.compare 16384 221.34 ns/op 270.36 ns/op 0.82
byteArrayEquals 123687377 211.14 ms/op 261.12 ms/op 0.81
Buffer.compare 123687377 6.0097 ms/op 8.9105 ms/op 0.67
byteArrayEquals 32 - diff last byte 65.326 ns/op 76.325 ns/op 0.86
Buffer.compare 32 - diff last byte 40.908 ns/op 62.206 ns/op 0.66
byteArrayEquals 1024 - diff last byte 1.8389 us/op 2.1917 us/op 0.84
Buffer.compare 1024 - diff last byte 48.237 ns/op 73.776 ns/op 0.65
byteArrayEquals 16384 - diff last byte 28.303 us/op 35.214 us/op 0.80
Buffer.compare 16384 - diff last byte 210.50 ns/op 271.43 ns/op 0.78
byteArrayEquals 123687377 - diff last byte 213.99 ms/op 255.26 ms/op 0.84
Buffer.compare 123687377 - diff last byte 5.7214 ms/op 8.2908 ms/op 0.69
byteArrayEquals 32 - random bytes 4.6880 ns/op 6.4300 ns/op 0.73
Buffer.compare 32 - random bytes 40.182 ns/op 64.480 ns/op 0.62
byteArrayEquals 1024 - random bytes 4.5710 ns/op 6.3360 ns/op 0.72
Buffer.compare 1024 - random bytes 40.495 ns/op 63.155 ns/op 0.64
byteArrayEquals 16384 - random bytes 4.9960 ns/op 5.8910 ns/op 0.85
Buffer.compare 16384 - random bytes 40.668 ns/op 62.951 ns/op 0.65
byteArrayEquals 123687377 - random bytes 8.2700 ns/op 10.060 ns/op 0.82
Buffer.compare 123687377 - random bytes 43.410 ns/op 78.430 ns/op 0.55
regular array get 100000 times 42.157 us/op 47.147 us/op 0.89
wrappedArray get 100000 times 41.098 us/op 46.723 us/op 0.88
arrayWithProxy get 100000 times 11.009 ms/op 15.148 ms/op 0.73
ssz.Root.equals 57.987 ns/op 57.244 ns/op 1.01
byteArrayEquals 56.228 ns/op 55.157 ns/op 1.02
Buffer.compare 9.7020 ns/op 12.331 ns/op 0.79
shuffle list - 16384 els 4.8208 ms/op 7.3885 ms/op 0.65
shuffle list - 250000 els 70.576 ms/op 109.60 ms/op 0.64
processSlot - 1 slots 11.029 us/op 19.298 us/op 0.57
processSlot - 32 slots 2.1380 ms/op 3.5113 ms/op 0.61
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 47.148 ms/op 61.238 ms/op 0.77
getCommitteeAssignments - req 1 vs - 250000 vc 2.1770 ms/op 2.6046 ms/op 0.84
getCommitteeAssignments - req 100 vs - 250000 vc 3.2787 ms/op 3.8683 ms/op 0.85
getCommitteeAssignments - req 1000 vs - 250000 vc 3.5759 ms/op 4.2243 ms/op 0.85
findModifiedValidators - 10000 modified validators 410.93 ms/op 561.35 ms/op 0.73
findModifiedValidators - 1000 modified validators 320.80 ms/op 462.48 ms/op 0.69
findModifiedValidators - 100 modified validators 340.27 ms/op 464.27 ms/op 0.73
findModifiedValidators - 10 modified validators 324.22 ms/op 464.35 ms/op 0.70
findModifiedValidators - 1 modified validators 356.44 ms/op 448.32 ms/op 0.80
findModifiedValidators - no difference 326.05 ms/op 450.02 ms/op 0.72
compare ViewDUs 4.3882 s/op 5.1649 s/op 0.85
compare each validator Uint8Array 1.7675 s/op 1.8118 s/op 0.98
compare ViewDU to Uint8Array 1.1628 s/op 1.8253 s/op 0.64
migrate state 1000000 validators, 24 modified, 0 new 814.39 ms/op 1.0075 s/op 0.81
migrate state 1000000 validators, 1700 modified, 1000 new 1.1821 s/op 1.3353 s/op 0.89
migrate state 1000000 validators, 3400 modified, 2000 new 1.3366 s/op 1.4646 s/op 0.91
migrate state 1500000 validators, 24 modified, 0 new 997.36 ms/op 910.76 ms/op 1.10
migrate state 1500000 validators, 1700 modified, 1000 new 1.9427 s/op 1.2184 s/op 1.59
migrate state 1500000 validators, 3400 modified, 2000 new 1.9982 s/op 1.3226 s/op 1.51
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 8.2400 ns/op 4.8800 ns/op 1.69
state getBlockRootAtSlot - 250000 vs - 7PWei 1.5093 us/op 734.50 ns/op 2.05
computeProposers - vc 250000 16.201 ms/op 10.328 ms/op 1.57
computeEpochShuffling - vc 250000 85.518 ms/op 110.05 ms/op 0.78
getNextSyncCommittee - vc 250000 231.37 ms/op 176.23 ms/op 1.31
computeSigningRoot for AttestationData 41.664 us/op 33.452 us/op 1.25
hash AttestationData serialized data then Buffer.toString(base64) 1.4367 us/op 2.4278 us/op 0.59
toHexString serialized data 1.3523 us/op 1.1441 us/op 1.18
Buffer.toString(base64) 273.33 ns/op 246.20 ns/op 1.11

by benchmarkbot/action

@philknows philknows added this to the v1.15.0 milestone Jan 19, 2024
@wemeetagain wemeetagain merged commit b93cfb9 into unstable Jan 22, 2024
14 of 15 checks passed
@wemeetagain wemeetagain deleted the nflaig/extend-gnosis branch January 22, 2024 18:36
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.15.0 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants