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: remove no longer supported networks from config #6870

Merged
merged 2 commits into from
Jun 10, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Jun 10, 2024

Motivation

Cleanup

Description

Remove no longer supported networks from config

  • remove ropsten and goerli network config
  • update CLI examples goelri --> holesky
  • update interop config tests ropsten --> holesky

@nflaig nflaig requested a review from a team as a code owner June 10, 2024 11:38
@@ -10,7 +10,7 @@ import {NetworkName} from "@lodestar/config/networks.js";

/* eslint-disable no-console */

const networksInInfura: NetworkName[] = ["mainnet", "goerli"];
const networksInInfura: NetworkName[] = ["mainnet" /*"goerli"*/];
Copy link
Member Author

Choose a reason for hiding this comment

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

there are bunch of Infura related test cases that still reference goerli, needs to be cleaned up separately

Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 62.17%. Comparing base (14855ea) to head (a8cc6ae).

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #6870      +/-   ##
============================================
- Coverage     62.19%   62.17%   -0.03%     
============================================
  Files           571      569       -2     
  Lines         60100    60057      -43     
  Branches       1980     1973       -7     
============================================
- Hits          37378    37339      -39     
+ Misses        22679    22675       -4     
  Partials         43       43              

Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: f99f5ff Previous: 14855ea Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 353.35 us/op 842.05 us/op 0.42
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 40.397 us/op 49.203 us/op 0.82
BLS verify - blst-native 1.0669 ms/op 1.2079 ms/op 0.88
BLS verifyMultipleSignatures 3 - blst-native 2.2767 ms/op 2.5709 ms/op 0.89
BLS verifyMultipleSignatures 8 - blst-native 5.0424 ms/op 5.6705 ms/op 0.89
BLS verifyMultipleSignatures 32 - blst-native 18.570 ms/op 20.917 ms/op 0.89
BLS verifyMultipleSignatures 64 - blst-native 36.473 ms/op 41.047 ms/op 0.89
BLS verifyMultipleSignatures 128 - blst-native 72.296 ms/op 81.417 ms/op 0.89
BLS deserializing 10000 signatures 768.97 ms/op 841.72 ms/op 0.91
BLS deserializing 100000 signatures 7.7700 s/op 8.4261 s/op 0.92
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.1436 ms/op 1.2146 ms/op 0.94
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.2991 ms/op 1.3729 ms/op 0.95
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.0400 ms/op 2.1451 ms/op 0.95
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.5007 ms/op 3.5655 ms/op 0.98
BLS verifyMultipleSignatures - same message - 128 - blst-native 4.8731 ms/op 5.3018 ms/op 0.92
BLS aggregatePubkeys 32 - blst-native 22.167 us/op 24.034 us/op 0.92
BLS aggregatePubkeys 128 - blst-native 87.534 us/op 94.785 us/op 0.92
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 59.307 ms/op 61.503 ms/op 0.96
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 45.515 ms/op 46.955 ms/op 0.97
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 31.115 ms/op 28.615 ms/op 1.09
getSlashingsAndExits - default max 85.832 us/op 74.700 us/op 1.15
getSlashingsAndExits - 2k 327.03 us/op 254.20 us/op 1.29
proposeBlockBody type=full, size=empty 4.9765 ms/op 4.9966 ms/op 1.00
isKnown best case - 1 super set check 500.00 ns/op 276.00 ns/op 1.81
isKnown normal case - 2 super set checks 473.00 ns/op 265.00 ns/op 1.78
isKnown worse case - 16 super set checks 476.00 ns/op 260.00 ns/op 1.83
InMemoryCheckpointStateCache - add get delete 4.7880 us/op 4.2220 us/op 1.13
validate api signedAggregateAndProof - struct 2.3190 ms/op 2.5720 ms/op 0.90
validate gossip signedAggregateAndProof - struct 2.3394 ms/op 2.5780 ms/op 0.91
validate gossip attestation - vc 640000 1.1536 ms/op 1.2431 ms/op 0.93
batch validate gossip attestation - vc 640000 - chunk 32 141.64 us/op 144.93 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 64 123.65 us/op 129.23 us/op 0.96
batch validate gossip attestation - vc 640000 - chunk 128 113.35 us/op 124.97 us/op 0.91
batch validate gossip attestation - vc 640000 - chunk 256 112.49 us/op 116.21 us/op 0.97
pickEth1Vote - no votes 953.03 us/op 1.0583 ms/op 0.90
pickEth1Vote - max votes 12.777 ms/op 6.3184 ms/op 2.02
pickEth1Vote - Eth1Data hashTreeRoot value x2048 13.797 ms/op 11.337 ms/op 1.22
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.215 ms/op 14.968 ms/op 1.42
pickEth1Vote - Eth1Data fastSerialize value x2048 515.69 us/op 490.61 us/op 1.05
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.9412 ms/op 6.7930 ms/op 0.73
bytes32 toHexString 965.00 ns/op 433.00 ns/op 2.23
bytes32 Buffer.toString(hex) 529.00 ns/op 245.00 ns/op 2.16
bytes32 Buffer.toString(hex) from Uint8Array 692.00 ns/op 355.00 ns/op 1.95
bytes32 Buffer.toString(hex) + 0x 463.00 ns/op 248.00 ns/op 1.87
Object access 1 prop 0.37100 ns/op 0.14700 ns/op 2.52
Map access 1 prop 0.32300 ns/op 0.13900 ns/op 2.32
Object get x1000 5.1610 ns/op 6.1760 ns/op 0.84
Map get x1000 5.8970 ns/op 6.6220 ns/op 0.89
Object set x1000 49.481 ns/op 33.838 ns/op 1.46
Map set x1000 34.537 ns/op 22.413 ns/op 1.54
Return object 10000 times 0.30490 ns/op 0.29050 ns/op 1.05
Throw Error 10000 times 2.7490 us/op 3.4325 us/op 0.80
fastMsgIdFn sha256 / 200 bytes 2.1400 us/op 2.1930 us/op 0.98
fastMsgIdFn h32 xxhash / 200 bytes 490.00 ns/op 231.00 ns/op 2.12
fastMsgIdFn h64 xxhash / 200 bytes 487.00 ns/op 271.00 ns/op 1.80
fastMsgIdFn sha256 / 1000 bytes 6.5710 us/op 7.4330 us/op 0.88
fastMsgIdFn h32 xxhash / 1000 bytes 663.00 ns/op 358.00 ns/op 1.85
fastMsgIdFn h64 xxhash / 1000 bytes 564.00 ns/op 342.00 ns/op 1.65
fastMsgIdFn sha256 / 10000 bytes 53.353 us/op 64.252 us/op 0.83
fastMsgIdFn h32 xxhash / 10000 bytes 2.1340 us/op 1.8140 us/op 1.18
fastMsgIdFn h64 xxhash / 10000 bytes 1.4330 us/op 1.1930 us/op 1.20
send data - 1000 256B messages 15.904 ms/op 11.535 ms/op 1.38
send data - 1000 512B messages 22.227 ms/op 16.518 ms/op 1.35
send data - 1000 1024B messages 30.918 ms/op 25.909 ms/op 1.19
send data - 1000 1200B messages 33.895 ms/op 18.455 ms/op 1.84
send data - 1000 2048B messages 43.660 ms/op 31.063 ms/op 1.41
send data - 1000 4096B messages 42.106 ms/op 30.323 ms/op 1.39
send data - 1000 16384B messages 101.84 ms/op 68.164 ms/op 1.49
send data - 1000 65536B messages 348.36 ms/op 200.62 ms/op 1.74
enrSubnets - fastDeserialize 64 bits 1.8810 us/op 1.1120 us/op 1.69
enrSubnets - ssz BitVector 64 bits 695.00 ns/op 360.00 ns/op 1.93
enrSubnets - fastDeserialize 4 bits 415.00 ns/op 149.00 ns/op 2.79
enrSubnets - ssz BitVector 4 bits 709.00 ns/op 364.00 ns/op 1.95
prioritizePeers score -10:0 att 32-0.1 sync 2-0 140.00 us/op 138.86 us/op 1.01
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 164.87 us/op 170.04 us/op 0.97
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 310.03 us/op 236.54 us/op 1.31
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 519.47 us/op 385.47 us/op 1.35
prioritizePeers score 0:0 att 64-1 sync 4-1 589.10 us/op 585.45 us/op 1.01
array of 16000 items push then shift 1.3907 us/op 1.6180 us/op 0.86
LinkedList of 16000 items push then shift 8.6710 ns/op 7.2190 ns/op 1.20
array of 16000 items push then pop 131.62 ns/op 107.70 ns/op 1.22
LinkedList of 16000 items push then pop 7.0620 ns/op 7.1720 ns/op 0.98
array of 24000 items push then shift 2.0445 us/op 2.4083 us/op 0.85
LinkedList of 24000 items push then shift 10.173 ns/op 7.3280 ns/op 1.39
array of 24000 items push then pop 177.27 ns/op 136.41 ns/op 1.30
LinkedList of 24000 items push then pop 7.4630 ns/op 7.2260 ns/op 1.03
intersect bitArray bitLen 8 6.0550 ns/op 6.4330 ns/op 0.94
intersect array and set length 8 40.711 ns/op 46.472 ns/op 0.88
intersect bitArray bitLen 128 27.670 ns/op 30.107 ns/op 0.92
intersect array and set length 128 633.27 ns/op 681.46 ns/op 0.93
bitArray.getTrueBitIndexes() bitLen 128 1.9230 us/op 1.6820 us/op 1.14
bitArray.getTrueBitIndexes() bitLen 248 2.9410 us/op 3.0670 us/op 0.96
bitArray.getTrueBitIndexes() bitLen 512 5.5150 us/op 6.1270 us/op 0.90
Buffer.concat 32 items 1.2050 us/op 943.00 ns/op 1.28
Uint8Array.set 32 items 2.3000 us/op 2.2540 us/op 1.02
Buffer.copy 2.1380 us/op 2.4630 us/op 0.87
Uint8Array.set - with subarray 2.8030 us/op 2.7140 us/op 1.03
Uint8Array.set - without subarray 1.8640 us/op 1.4970 us/op 1.25
Set add up to 64 items then delete first 1.9260 us/op 2.1437 us/op 0.90
OrderedSet add up to 64 items then delete first 3.1564 us/op 3.2881 us/op 0.96
Set add up to 64 items then delete last 2.4512 us/op 2.4138 us/op 1.02
OrderedSet add up to 64 items then delete last 3.3005 us/op 3.5351 us/op 0.93
Set add up to 64 items then delete middle 2.5451 us/op 2.4498 us/op 1.04
OrderedSet add up to 64 items then delete middle 4.9442 us/op 5.1130 us/op 0.97
Set add up to 128 items then delete first 4.0281 us/op 4.9645 us/op 0.81
OrderedSet add up to 128 items then delete first 5.9986 us/op 7.7510 us/op 0.77
Set add up to 128 items then delete last 4.0443 us/op 4.7724 us/op 0.85
OrderedSet add up to 128 items then delete last 6.2448 us/op 7.0127 us/op 0.89
Set add up to 128 items then delete middle 3.9581 us/op 4.7167 us/op 0.84
OrderedSet add up to 128 items then delete middle 11.844 us/op 13.335 us/op 0.89
Set add up to 256 items then delete first 7.9446 us/op 10.034 us/op 0.79
OrderedSet add up to 256 items then delete first 11.879 us/op 15.631 us/op 0.76
Set add up to 256 items then delete last 7.9318 us/op 9.5107 us/op 0.83
OrderedSet add up to 256 items then delete last 12.296 us/op 14.207 us/op 0.87
Set add up to 256 items then delete middle 7.8796 us/op 9.4065 us/op 0.84
OrderedSet add up to 256 items then delete middle 36.107 us/op 40.149 us/op 0.90
transfer serialized Status (84 B) 1.5850 us/op 1.4640 us/op 1.08
copy serialized Status (84 B) 1.3880 us/op 1.1640 us/op 1.19
transfer serialized SignedVoluntaryExit (112 B) 1.6330 us/op 1.6410 us/op 1.00
copy serialized SignedVoluntaryExit (112 B) 1.3110 us/op 1.2030 us/op 1.09
transfer serialized ProposerSlashing (416 B) 1.9370 us/op 2.0550 us/op 0.94
copy serialized ProposerSlashing (416 B) 1.6280 us/op 1.5090 us/op 1.08
transfer serialized Attestation (485 B) 1.7220 us/op 1.6050 us/op 1.07
copy serialized Attestation (485 B) 1.9960 us/op 1.5750 us/op 1.27
transfer serialized AttesterSlashing (33232 B) 2.1610 us/op 2.0270 us/op 1.07
copy serialized AttesterSlashing (33232 B) 4.2660 us/op 4.8730 us/op 0.88
transfer serialized Small SignedBeaconBlock (128000 B) 2.3470 us/op 2.7450 us/op 0.86
copy serialized Small SignedBeaconBlock (128000 B) 9.0790 us/op 14.011 us/op 0.65
transfer serialized Avg SignedBeaconBlock (200000 B) 2.2160 us/op 3.3640 us/op 0.66
copy serialized Avg SignedBeaconBlock (200000 B) 12.171 us/op 21.251 us/op 0.57
transfer serialized BlobsSidecar (524380 B) 2.5220 us/op 3.1320 us/op 0.81
copy serialized BlobsSidecar (524380 B) 76.856 us/op 88.126 us/op 0.87
transfer serialized Big SignedBeaconBlock (1000000 B) 3.4480 us/op 3.0010 us/op 1.15
copy serialized Big SignedBeaconBlock (1000000 B) 140.94 us/op 143.00 us/op 0.99
pass gossip attestations to forkchoice per slot 2.6554 ms/op 2.9812 ms/op 0.89
forkChoice updateHead vc 100000 bc 64 eq 0 461.51 us/op 487.16 us/op 0.95
forkChoice updateHead vc 600000 bc 64 eq 0 2.6238 ms/op 3.0584 ms/op 0.86
forkChoice updateHead vc 1000000 bc 64 eq 0 4.3419 ms/op 5.2555 ms/op 0.83
forkChoice updateHead vc 600000 bc 320 eq 0 2.5812 ms/op 3.5567 ms/op 0.73
forkChoice updateHead vc 600000 bc 1200 eq 0 2.6803 ms/op 3.0360 ms/op 0.88
forkChoice updateHead vc 600000 bc 7200 eq 0 2.7984 ms/op 3.4649 ms/op 0.81
forkChoice updateHead vc 600000 bc 64 eq 1000 9.8406 ms/op 10.461 ms/op 0.94
forkChoice updateHead vc 600000 bc 64 eq 10000 9.6591 ms/op 10.841 ms/op 0.89
forkChoice updateHead vc 600000 bc 64 eq 300000 11.708 ms/op 14.722 ms/op 0.80
computeDeltas 500000 validators 300 proto nodes 3.1281 ms/op 3.4851 ms/op 0.90
computeDeltas 500000 validators 1200 proto nodes 2.9848 ms/op 3.5093 ms/op 0.85
computeDeltas 500000 validators 7200 proto nodes 3.1503 ms/op 3.5005 ms/op 0.90
computeDeltas 750000 validators 300 proto nodes 4.4882 ms/op 5.1852 ms/op 0.87
computeDeltas 750000 validators 1200 proto nodes 4.5128 ms/op 5.1219 ms/op 0.88
computeDeltas 750000 validators 7200 proto nodes 4.5582 ms/op 5.1559 ms/op 0.88
computeDeltas 1400000 validators 300 proto nodes 8.1497 ms/op 9.5973 ms/op 0.85
computeDeltas 1400000 validators 1200 proto nodes 8.0346 ms/op 9.8207 ms/op 0.82
computeDeltas 1400000 validators 7200 proto nodes 8.6119 ms/op 9.7398 ms/op 0.88
computeDeltas 2100000 validators 300 proto nodes 12.849 ms/op 14.557 ms/op 0.88
computeDeltas 2100000 validators 1200 proto nodes 13.803 ms/op 14.673 ms/op 0.94
computeDeltas 2100000 validators 7200 proto nodes 14.310 ms/op 14.723 ms/op 0.97
altair processAttestation - 250000 vs - 7PWei normalcase 2.4504 ms/op 1.7706 ms/op 1.38
altair processAttestation - 250000 vs - 7PWei worstcase 3.5859 ms/op 2.4851 ms/op 1.44
altair processAttestation - setStatus - 1/6 committees join 97.311 us/op 93.452 us/op 1.04
altair processAttestation - setStatus - 1/3 committees join 158.88 us/op 176.08 us/op 0.90
altair processAttestation - setStatus - 1/2 committees join 211.44 us/op 254.38 us/op 0.83
altair processAttestation - setStatus - 2/3 committees join 295.37 us/op 327.96 us/op 0.90
altair processAttestation - setStatus - 4/5 committees join 428.86 us/op 526.38 us/op 0.81
altair processAttestation - setStatus - 100% committees join 513.60 us/op 589.53 us/op 0.87
altair processBlock - 250000 vs - 7PWei normalcase 3.4993 ms/op 5.2086 ms/op 0.67
altair processBlock - 250000 vs - 7PWei normalcase hashState 21.201 ms/op 26.457 ms/op 0.80
altair processBlock - 250000 vs - 7PWei worstcase 37.944 ms/op 46.450 ms/op 0.82
altair processBlock - 250000 vs - 7PWei worstcase hashState 83.414 ms/op 90.511 ms/op 0.92
phase0 processBlock - 250000 vs - 7PWei normalcase 1.9661 ms/op 2.3637 ms/op 0.83
phase0 processBlock - 250000 vs - 7PWei worstcase 26.457 ms/op 30.508 ms/op 0.87
altair processEth1Data - 250000 vs - 7PWei normalcase 341.71 us/op 418.59 us/op 0.82
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 5.7080 us/op 8.3980 us/op 0.68
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 19.451 us/op 35.366 us/op 0.55
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 7.2950 us/op 13.356 us/op 0.55
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 6.2790 us/op 9.6500 us/op 0.65
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 89.414 us/op 141.66 us/op 0.63
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 800.71 us/op 762.32 us/op 1.05
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 717.92 us/op 1.0140 ms/op 0.71
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 822.06 us/op 949.03 us/op 0.87
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 1.8255 ms/op 2.5009 ms/op 0.73
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.1317 ms/op 1.8269 ms/op 0.62
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 2.7870 ms/op 4.3170 ms/op 0.65
Tree 40 250000 create 197.86 ms/op 279.38 ms/op 0.71
Tree 40 250000 get(125000) 114.26 ns/op 162.63 ns/op 0.70
Tree 40 250000 set(125000) 601.42 ns/op 924.03 ns/op 0.65
Tree 40 250000 toArray() 10.301 ms/op 22.598 ms/op 0.46
Tree 40 250000 iterate all - toArray() + loop 15.875 ms/op 22.773 ms/op 0.70
Tree 40 250000 iterate all - get(i) 45.677 ms/op 61.348 ms/op 0.74
MutableVector 250000 create 7.9933 ms/op 9.2495 ms/op 0.86
MutableVector 250000 get(125000) 5.6800 ns/op 6.5090 ns/op 0.87
MutableVector 250000 set(125000) 189.66 ns/op 278.30 ns/op 0.68
MutableVector 250000 toArray() 2.6745 ms/op 5.0603 ms/op 0.53
MutableVector 250000 iterate all - toArray() + loop 2.7539 ms/op 5.2390 ms/op 0.53
MutableVector 250000 iterate all - get(i) 1.3970 ms/op 1.7054 ms/op 0.82
Array 250000 create 3.6076 ms/op 4.5569 ms/op 0.79
Array 250000 clone - spread 1.4092 ms/op 2.0674 ms/op 0.68
Array 250000 get(125000) 0.58700 ns/op 0.45300 ns/op 1.30
Array 250000 set(125000) 0.59900 ns/op 0.47900 ns/op 1.25
Array 250000 iterate all - loop 78.468 us/op 92.013 us/op 0.85
effectiveBalanceIncrements clone Uint8Array 300000 25.797 us/op 61.230 us/op 0.42
effectiveBalanceIncrements clone MutableVector 300000 301.00 ns/op 129.00 ns/op 2.33
effectiveBalanceIncrements rw all Uint8Array 300000 158.57 us/op 210.89 us/op 0.75
effectiveBalanceIncrements rw all MutableVector 300000 56.418 ms/op 105.54 ms/op 0.53
phase0 afterProcessEpoch - 250000 vs - 7PWei 76.770 ms/op 92.492 ms/op 0.83
phase0 beforeProcessEpoch - 250000 vs - 7PWei 36.361 ms/op 46.613 ms/op 0.78
altair processEpoch - mainnet_e81889 375.81 ms/op 392.78 ms/op 0.96
mainnet_e81889 - altair beforeProcessEpoch 65.329 ms/op 61.640 ms/op 1.06
mainnet_e81889 - altair processJustificationAndFinalization 10.866 us/op 21.905 us/op 0.50
mainnet_e81889 - altair processInactivityUpdates 4.2821 ms/op 7.5334 ms/op 0.57
mainnet_e81889 - altair processRewardsAndPenalties 45.569 ms/op 45.497 ms/op 1.00
mainnet_e81889 - altair processRegistryUpdates 3.2180 us/op 2.5480 us/op 1.26
mainnet_e81889 - altair processSlashings 797.00 ns/op 530.00 ns/op 1.50
mainnet_e81889 - altair processEth1DataReset 1.1080 us/op 608.00 ns/op 1.82
mainnet_e81889 - altair processEffectiveBalanceUpdates 922.50 us/op 1.1493 ms/op 0.80
mainnet_e81889 - altair processSlashingsReset 6.6610 us/op 3.1740 us/op 2.10
mainnet_e81889 - altair processRandaoMixesReset 7.0630 us/op 5.5650 us/op 1.27
mainnet_e81889 - altair processHistoricalRootsUpdate 2.3200 us/op 783.00 ns/op 2.96
mainnet_e81889 - altair processParticipationFlagUpdates 4.4750 us/op 3.1410 us/op 1.42
mainnet_e81889 - altair processSyncCommitteeUpdates 1.2450 us/op 549.00 ns/op 2.27
mainnet_e81889 - altair afterProcessEpoch 85.622 ms/op 92.816 ms/op 0.92
capella processEpoch - mainnet_e217614 1.2367 s/op 1.2345 s/op 1.00
mainnet_e217614 - capella beforeProcessEpoch 283.67 ms/op 236.79 ms/op 1.20
mainnet_e217614 - capella processJustificationAndFinalization 22.519 us/op 11.829 us/op 1.90
mainnet_e217614 - capella processInactivityUpdates 21.726 ms/op 15.970 ms/op 1.36
mainnet_e217614 - capella processRewardsAndPenalties 296.00 ms/op 227.46 ms/op 1.30
mainnet_e217614 - capella processRegistryUpdates 19.861 us/op 12.385 us/op 1.60
mainnet_e217614 - capella processSlashings 1.3920 us/op 369.00 ns/op 3.77
mainnet_e217614 - capella processEth1DataReset 916.00 ns/op 300.00 ns/op 3.05
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.7955 ms/op 10.264 ms/op 0.56
mainnet_e217614 - capella processSlashingsReset 6.6640 us/op 4.0940 us/op 1.63
mainnet_e217614 - capella processRandaoMixesReset 7.2410 us/op 4.3870 us/op 1.65
mainnet_e217614 - capella processHistoricalRootsUpdate 1.0280 us/op 545.00 ns/op 1.89
mainnet_e217614 - capella processParticipationFlagUpdates 5.5200 us/op 2.0690 us/op 2.67
mainnet_e217614 - capella afterProcessEpoch 264.03 ms/op 273.22 ms/op 0.97
phase0 processEpoch - mainnet_e58758 316.05 ms/op 354.60 ms/op 0.89
mainnet_e58758 - phase0 beforeProcessEpoch 85.893 ms/op 110.45 ms/op 0.78
mainnet_e58758 - phase0 processJustificationAndFinalization 10.709 us/op 13.981 us/op 0.77
mainnet_e58758 - phase0 processRewardsAndPenalties 26.704 ms/op 34.802 ms/op 0.77
mainnet_e58758 - phase0 processRegistryUpdates 7.4290 us/op 7.3380 us/op 1.01
mainnet_e58758 - phase0 processSlashings 1.0830 us/op 383.00 ns/op 2.83
mainnet_e58758 - phase0 processEth1DataReset 850.00 ns/op 329.00 ns/op 2.58
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0601 ms/op 956.28 us/op 1.11
mainnet_e58758 - phase0 processSlashingsReset 6.0950 us/op 2.3900 us/op 2.55
mainnet_e58758 - phase0 processRandaoMixesReset 5.1430 us/op 3.6900 us/op 1.39
mainnet_e58758 - phase0 processHistoricalRootsUpdate 2.2220 us/op 318.00 ns/op 6.99
mainnet_e58758 - phase0 processParticipationRecordUpdates 6.6050 us/op 2.5460 us/op 2.59
mainnet_e58758 - phase0 afterProcessEpoch 73.944 ms/op 74.238 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 815.45 us/op 1.4607 ms/op 0.56
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.3213 ms/op 2.0003 ms/op 0.66
altair processInactivityUpdates - 250000 normalcase 26.260 ms/op 15.835 ms/op 1.66
altair processInactivityUpdates - 250000 worstcase 30.221 ms/op 16.143 ms/op 1.87
phase0 processRegistryUpdates - 250000 normalcase 8.5800 us/op 6.3070 us/op 1.36
phase0 processRegistryUpdates - 250000 badcase_full_deposits 453.08 us/op 231.80 us/op 1.95
phase0 processRegistryUpdates - 250000 worstcase 0.5 116.02 ms/op 116.32 ms/op 1.00
altair processRewardsAndPenalties - 250000 normalcase 42.150 ms/op 37.578 ms/op 1.12
altair processRewardsAndPenalties - 250000 worstcase 42.298 ms/op 41.204 ms/op 1.03
phase0 getAttestationDeltas - 250000 normalcase 5.6030 ms/op 6.7671 ms/op 0.83
phase0 getAttestationDeltas - 250000 worstcase 6.0029 ms/op 6.9649 ms/op 0.86
phase0 processSlashings - 250000 worstcase 81.814 us/op 73.997 us/op 1.11
altair processSyncCommitteeUpdates - 250000 96.999 ms/op 125.84 ms/op 0.77
BeaconState.hashTreeRoot - No change 477.00 ns/op 255.00 ns/op 1.87
BeaconState.hashTreeRoot - 1 full validator 123.58 us/op 126.88 us/op 0.97
BeaconState.hashTreeRoot - 32 full validator 1.1920 ms/op 1.2624 ms/op 0.94
BeaconState.hashTreeRoot - 512 full validator 11.074 ms/op 10.467 ms/op 1.06
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 148.94 us/op 135.96 us/op 1.10
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.7090 ms/op 1.8717 ms/op 0.91
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 26.354 ms/op 23.458 ms/op 1.12
BeaconState.hashTreeRoot - 1 balances 116.16 us/op 106.47 us/op 1.09
BeaconState.hashTreeRoot - 32 balances 921.26 us/op 1.1359 ms/op 0.81
BeaconState.hashTreeRoot - 512 balances 8.2631 ms/op 7.7953 ms/op 1.06
BeaconState.hashTreeRoot - 250000 balances 166.58 ms/op 176.76 ms/op 0.94
aggregationBits - 2048 els - zipIndexesInBitList 20.015 us/op 23.203 us/op 0.86
byteArrayEquals 32 47.386 ns/op 53.282 ns/op 0.89
Buffer.compare 32 38.390 ns/op 45.654 ns/op 0.84
byteArrayEquals 1024 1.2617 us/op 1.5768 us/op 0.80
Buffer.compare 1024 45.693 ns/op 54.460 ns/op 0.84
byteArrayEquals 16384 20.025 us/op 25.061 us/op 0.80
Buffer.compare 16384 209.08 ns/op 223.47 ns/op 0.94
byteArrayEquals 123687377 152.80 ms/op 189.06 ms/op 0.81
Buffer.compare 123687377 3.6934 ms/op 6.0588 ms/op 0.61
byteArrayEquals 32 - diff last byte 47.810 ns/op 52.127 ns/op 0.92
Buffer.compare 32 - diff last byte 38.690 ns/op 46.241 ns/op 0.84
byteArrayEquals 1024 - diff last byte 1.2669 us/op 1.5704 us/op 0.81
Buffer.compare 1024 - diff last byte 47.861 ns/op 53.448 ns/op 0.90
byteArrayEquals 16384 - diff last byte 20.144 us/op 25.051 us/op 0.80
Buffer.compare 16384 - diff last byte 225.59 ns/op 241.30 ns/op 0.93
byteArrayEquals 123687377 - diff last byte 152.38 ms/op 189.00 ms/op 0.81
Buffer.compare 123687377 - diff last byte 3.9533 ms/op 6.2463 ms/op 0.63
byteArrayEquals 32 - random bytes 4.9120 ns/op 5.1380 ns/op 0.96
Buffer.compare 32 - random bytes 42.377 ns/op 47.990 ns/op 0.88
byteArrayEquals 1024 - random bytes 4.9230 ns/op 5.0880 ns/op 0.97
Buffer.compare 1024 - random bytes 39.893 ns/op 45.994 ns/op 0.87
byteArrayEquals 16384 - random bytes 4.9150 ns/op 5.1110 ns/op 0.96
Buffer.compare 16384 - random bytes 39.713 ns/op 46.084 ns/op 0.86
byteArrayEquals 123687377 - random bytes 7.8300 ns/op 6.3300 ns/op 1.24
Buffer.compare 123687377 - random bytes 42.550 ns/op 47.340 ns/op 0.90
regular array get 100000 times 31.016 us/op 35.354 us/op 0.88
wrappedArray get 100000 times 31.017 us/op 32.711 us/op 0.95
arrayWithProxy get 100000 times 9.0012 ms/op 12.692 ms/op 0.71
ssz.Root.equals 43.766 ns/op 45.640 ns/op 0.96
byteArrayEquals 38.560 ns/op 44.980 ns/op 0.86
Buffer.compare 8.6060 ns/op 10.348 ns/op 0.83
shuffle list - 16384 els 5.5213 ms/op 6.1637 ms/op 0.90
shuffle list - 250000 els 82.292 ms/op 89.758 ms/op 0.92
processSlot - 1 slots 14.551 us/op 13.595 us/op 1.07
processSlot - 32 slots 2.4513 ms/op 2.7954 ms/op 0.88
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 40.765 ms/op 37.215 ms/op 1.10
getCommitteeAssignments - req 1 vs - 250000 vc 1.7629 ms/op 2.1280 ms/op 0.83
getCommitteeAssignments - req 100 vs - 250000 vc 3.4570 ms/op 4.1202 ms/op 0.84
getCommitteeAssignments - req 1000 vs - 250000 vc 3.8164 ms/op 4.3665 ms/op 0.87
findModifiedValidators - 10000 modified validators 244.26 ms/op 254.87 ms/op 0.96
findModifiedValidators - 1000 modified validators 145.30 ms/op 173.24 ms/op 0.84
findModifiedValidators - 100 modified validators 151.00 ms/op 152.58 ms/op 0.99
findModifiedValidators - 10 modified validators 154.64 ms/op 147.90 ms/op 1.05
findModifiedValidators - 1 modified validators 137.20 ms/op 156.53 ms/op 0.88
findModifiedValidators - no difference 158.93 ms/op 144.44 ms/op 1.10
compare ViewDUs 3.1409 s/op 2.9063 s/op 1.08
compare each validator Uint8Array 1.7014 s/op 1.5876 s/op 1.07
compare ViewDU to Uint8Array 780.39 ms/op 1.0114 s/op 0.77
migrate state 1000000 validators, 24 modified, 0 new 417.16 ms/op 596.63 ms/op 0.70
migrate state 1000000 validators, 1700 modified, 1000 new 566.86 ms/op 798.65 ms/op 0.71
migrate state 1000000 validators, 3400 modified, 2000 new 956.17 ms/op 1.0478 s/op 0.91
migrate state 1500000 validators, 24 modified, 0 new 541.84 ms/op 626.04 ms/op 0.87
migrate state 1500000 validators, 1700 modified, 1000 new 743.30 ms/op 861.33 ms/op 0.86
migrate state 1500000 validators, 3400 modified, 2000 new 992.69 ms/op 1.0388 s/op 0.96
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 6.0100 ns/op 4.3000 ns/op 1.40
state getBlockRootAtSlot - 250000 vs - 7PWei 1.0239 us/op 496.24 ns/op 2.06
computeProposers - vc 250000 5.6068 ms/op 8.4079 ms/op 0.67
computeEpochShuffling - vc 250000 82.407 ms/op 97.198 ms/op 0.85
getNextSyncCommittee - vc 250000 95.685 ms/op 141.07 ms/op 0.68
computeSigningRoot for AttestationData 17.337 us/op 23.717 us/op 0.73
hash AttestationData serialized data then Buffer.toString(base64) 1.1756 us/op 1.5014 us/op 0.78
toHexString serialized data 785.29 ns/op 898.40 ns/op 0.87
Buffer.toString(base64) 142.05 ns/op 195.60 ns/op 0.73

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 4ef27ac into unstable Jun 10, 2024
20 checks passed
@wemeetagain wemeetagain deleted the nflaig/cleanup-networks branch June 10, 2024 14:23
@wemeetagain
Copy link
Member

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