Skip to content

Commit

Permalink
fix: sepolia genesis delay (#6961)
Browse files Browse the repository at this point in the history
* fix sepolia genesis delay

* Update packages/config/src/chainConfig/networks/sepolia.ts

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
  • Loading branch information
domiwei and nflaig authored Jul 16, 2024
1 parent e57e4b7 commit 565bb3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/config/src/chainConfig/networks/sepolia.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export const sepoliaChainConfig: ChainConfig = {
// # Sunday, June 19, 2022 2:00:00 PM +UTC
MIN_GENESIS_TIME: 1655647200,
GENESIS_FORK_VERSION: b("0x90000069"),
GENESIS_DELAY: 86400,

// Forking
// ---------------------------------------------------------------
Expand Down

1 comment on commit 565bb3a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for some benchmarks.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold.

Benchmark suite Current: 565bb3a Previous: bd20876 Ratio
forkChoice updateHead vc 100000 bc 64 eq 0 1.7764 ms/op 386.36 us/op 4.60
forkChoice updateHead vc 600000 bc 64 eq 300000 143.58 ms/op 11.869 ms/op 12.10
Full benchmark results
Benchmark suite Current: 565bb3a Previous: bd20876 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 633.28 us/op 462.34 us/op 1.37
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 58.740 us/op 42.148 us/op 1.39
BLS verify - blst-native 1.2694 ms/op 1.0754 ms/op 1.18
BLS verifyMultipleSignatures 3 - blst-native 2.8667 ms/op 2.2552 ms/op 1.27
BLS verifyMultipleSignatures 8 - blst-native 6.1623 ms/op 4.9839 ms/op 1.24
BLS verifyMultipleSignatures 32 - blst-native 22.584 ms/op 18.632 ms/op 1.21
BLS verifyMultipleSignatures 64 - blst-native 46.534 ms/op 36.747 ms/op 1.27
BLS verifyMultipleSignatures 128 - blst-native 85.043 ms/op 73.686 ms/op 1.15
BLS deserializing 10000 signatures 913.32 ms/op 753.21 ms/op 1.21
BLS deserializing 100000 signatures 9.4029 s/op 7.7125 s/op 1.22
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2997 ms/op 1.1547 ms/op 1.13
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5994 ms/op 1.2828 ms/op 1.25
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3248 ms/op 2.0093 ms/op 1.16
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4023 ms/op 3.0044 ms/op 1.13
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.7685 ms/op 5.7848 ms/op 1.17
BLS aggregatePubkeys 32 - blst-native 26.721 us/op 23.381 us/op 1.14
BLS aggregatePubkeys 128 - blst-native 99.246 us/op 86.907 us/op 1.14
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 87.629 ms/op 47.945 ms/op 1.83
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 58.110 ms/op 54.557 ms/op 1.07
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 45.877 ms/op 28.833 ms/op 1.59
getSlashingsAndExits - default max 205.59 us/op 99.113 us/op 2.07
getSlashingsAndExits - 2k 395.36 us/op 242.22 us/op 1.63
proposeBlockBody type=full, size=empty 6.7670 ms/op 4.7829 ms/op 1.41
isKnown best case - 1 super set check 630.00 ns/op 475.00 ns/op 1.33
isKnown normal case - 2 super set checks 589.00 ns/op 442.00 ns/op 1.33
isKnown worse case - 16 super set checks 892.00 ns/op 442.00 ns/op 2.02
InMemoryCheckpointStateCache - add get delete 9.8700 us/op 4.4130 us/op 2.24
validate api signedAggregateAndProof - struct 2.9782 ms/op 2.3442 ms/op 1.27
validate gossip signedAggregateAndProof - struct 3.9296 ms/op 2.3540 ms/op 1.67
validate gossip attestation - vc 640000 1.6806 ms/op 1.1273 ms/op 1.49
batch validate gossip attestation - vc 640000 - chunk 32 231.61 us/op 128.24 us/op 1.81
batch validate gossip attestation - vc 640000 - chunk 64 180.79 us/op 116.13 us/op 1.56
batch validate gossip attestation - vc 640000 - chunk 128 137.85 us/op 110.45 us/op 1.25
batch validate gossip attestation - vc 640000 - chunk 256 132.98 us/op 104.34 us/op 1.27
pickEth1Vote - no votes 1.2409 ms/op 813.20 us/op 1.53
pickEth1Vote - max votes 10.410 ms/op 7.6236 ms/op 1.37
pickEth1Vote - Eth1Data hashTreeRoot value x2048 18.516 ms/op 14.460 ms/op 1.28
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 22.949 ms/op 17.743 ms/op 1.29
pickEth1Vote - Eth1Data fastSerialize value x2048 623.79 us/op 346.79 us/op 1.80
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.9666 ms/op 5.5905 ms/op 0.89
bytes32 toHexString 716.00 ns/op 573.00 ns/op 1.25
bytes32 Buffer.toString(hex) 323.00 ns/op 429.00 ns/op 0.75
bytes32 Buffer.toString(hex) from Uint8Array 493.00 ns/op 521.00 ns/op 0.95
bytes32 Buffer.toString(hex) + 0x 306.00 ns/op 418.00 ns/op 0.73
Object access 1 prop 0.20600 ns/op 0.30000 ns/op 0.69
Map access 1 prop 0.15100 ns/op 0.30700 ns/op 0.49
Object get x1000 6.4370 ns/op 4.7940 ns/op 1.34
Map get x1000 7.2110 ns/op 5.4860 ns/op 1.31
Object set x1000 58.682 ns/op 22.261 ns/op 2.64
Map set x1000 39.737 ns/op 18.473 ns/op 2.15
Return object 10000 times 0.33010 ns/op 0.27970 ns/op 1.18
Throw Error 10000 times 3.6628 us/op 2.5416 us/op 1.44
fastMsgIdFn sha256 / 200 bytes 2.4270 us/op 1.9330 us/op 1.26
fastMsgIdFn h32 xxhash / 200 bytes 327.00 ns/op 420.00 ns/op 0.78
fastMsgIdFn h64 xxhash / 200 bytes 301.00 ns/op 427.00 ns/op 0.70
fastMsgIdFn sha256 / 1000 bytes 7.9250 us/op 5.6390 us/op 1.41
fastMsgIdFn h32 xxhash / 1000 bytes 468.00 ns/op 515.00 ns/op 0.91
fastMsgIdFn h64 xxhash / 1000 bytes 376.00 ns/op 488.00 ns/op 0.77
fastMsgIdFn sha256 / 10000 bytes 69.512 us/op 47.357 us/op 1.47
fastMsgIdFn h32 xxhash / 10000 bytes 2.0420 us/op 1.8850 us/op 1.08
fastMsgIdFn h64 xxhash / 10000 bytes 1.3130 us/op 1.3350 us/op 0.98
send data - 1000 256B messages 15.484 ms/op 9.6678 ms/op 1.60
send data - 1000 512B messages 21.130 ms/op 12.926 ms/op 1.63
send data - 1000 1024B messages 30.679 ms/op 22.468 ms/op 1.37
send data - 1000 1200B messages 24.382 ms/op 23.196 ms/op 1.05
send data - 1000 2048B messages 35.785 ms/op 28.092 ms/op 1.27
send data - 1000 4096B messages 37.504 ms/op 25.438 ms/op 1.47
send data - 1000 16384B messages 79.230 ms/op 63.543 ms/op 1.25
send data - 1000 65536B messages 250.89 ms/op 245.74 ms/op 1.02
enrSubnets - fastDeserialize 64 bits 1.6860 us/op 1.1780 us/op 1.43
enrSubnets - ssz BitVector 64 bits 488.00 ns/op 498.00 ns/op 0.98
enrSubnets - fastDeserialize 4 bits 225.00 ns/op 322.00 ns/op 0.70
enrSubnets - ssz BitVector 4 bits 490.00 ns/op 497.00 ns/op 0.99
prioritizePeers score -10:0 att 32-0.1 sync 2-0 197.14 us/op 121.61 us/op 1.62
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 216.36 us/op 161.33 us/op 1.34
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 336.29 us/op 254.91 us/op 1.32
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 473.83 us/op 455.00 us/op 1.04
prioritizePeers score 0:0 att 64-1 sync 4-1 919.25 us/op 729.74 us/op 1.26
array of 16000 items push then shift 1.7483 us/op 1.2556 us/op 1.39
LinkedList of 16000 items push then shift 9.0000 ns/op 6.2050 ns/op 1.45
array of 16000 items push then pop 150.88 ns/op 72.726 ns/op 2.07
LinkedList of 16000 items push then pop 8.4890 ns/op 6.1160 ns/op 1.39
array of 24000 items push then shift 2.6326 us/op 1.8519 us/op 1.42
LinkedList of 24000 items push then shift 9.1460 ns/op 6.2280 ns/op 1.47
array of 24000 items push then pop 196.23 ns/op 103.20 ns/op 1.90
LinkedList of 24000 items push then pop 8.8250 ns/op 6.0830 ns/op 1.45
intersect bitArray bitLen 8 7.0540 ns/op 5.3350 ns/op 1.32
intersect array and set length 8 92.769 ns/op 38.378 ns/op 2.42
intersect bitArray bitLen 128 33.831 ns/op 25.913 ns/op 1.31
intersect array and set length 128 1.0471 us/op 569.78 ns/op 1.84
bitArray.getTrueBitIndexes() bitLen 128 2.5530 us/op 1.7010 us/op 1.50
bitArray.getTrueBitIndexes() bitLen 248 4.1540 us/op 3.1220 us/op 1.33
bitArray.getTrueBitIndexes() bitLen 512 9.6810 us/op 6.9440 us/op 1.39
Buffer.concat 32 items 1.0280 us/op 1.0760 us/op 0.96
Uint8Array.set 32 items 1.7170 us/op 1.7340 us/op 0.99
Buffer.copy 2.1230 us/op 1.8760 us/op 1.13
Uint8Array.set - with subarray 3.5780 us/op 2.4610 us/op 1.45
Uint8Array.set - without subarray 1.8090 us/op 1.6320 us/op 1.11
getUint32 - dataview 341.00 ns/op 409.00 ns/op 0.83
getUint32 - manual 309.00 ns/op 345.00 ns/op 0.90
Set add up to 64 items then delete first 3.1570 us/op 1.8526 us/op 1.70
OrderedSet add up to 64 items then delete first 5.0539 us/op 2.8576 us/op 1.77
Set add up to 64 items then delete last 3.6357 us/op 2.1660 us/op 1.68
OrderedSet add up to 64 items then delete last 5.2202 us/op 3.2453 us/op 1.61
Set add up to 64 items then delete middle 3.5000 us/op 2.1052 us/op 1.66
OrderedSet add up to 64 items then delete middle 7.0538 us/op 4.6065 us/op 1.53
Set add up to 128 items then delete first 7.0306 us/op 4.0191 us/op 1.75
OrderedSet add up to 128 items then delete first 11.443 us/op 6.0557 us/op 1.89
Set add up to 128 items then delete last 7.0338 us/op 3.9980 us/op 1.76
OrderedSet add up to 128 items then delete last 10.978 us/op 6.2443 us/op 1.76
Set add up to 128 items then delete middle 7.1744 us/op 4.0243 us/op 1.78
OrderedSet add up to 128 items then delete middle 18.154 us/op 11.572 us/op 1.57
Set add up to 256 items then delete first 13.793 us/op 7.9789 us/op 1.73
OrderedSet add up to 256 items then delete first 23.015 us/op 11.993 us/op 1.92
Set add up to 256 items then delete last 17.018 us/op 7.9601 us/op 2.14
OrderedSet add up to 256 items then delete last 26.830 us/op 12.338 us/op 2.17
Set add up to 256 items then delete middle 18.966 us/op 7.9580 us/op 2.38
OrderedSet add up to 256 items then delete middle 53.965 us/op 34.060 us/op 1.58
transfer serialized Status (84 B) 1.6400 us/op 1.4150 us/op 1.16
copy serialized Status (84 B) 1.4000 us/op 1.1940 us/op 1.17
transfer serialized SignedVoluntaryExit (112 B) 1.6060 us/op 1.5040 us/op 1.07
copy serialized SignedVoluntaryExit (112 B) 1.5240 us/op 1.2400 us/op 1.23
transfer serialized ProposerSlashing (416 B) 2.2890 us/op 1.9130 us/op 1.20
copy serialized ProposerSlashing (416 B) 2.2660 us/op 1.8280 us/op 1.24
transfer serialized Attestation (485 B) 2.4330 us/op 2.3240 us/op 1.05
copy serialized Attestation (485 B) 2.5440 us/op 2.0750 us/op 1.23
transfer serialized AttesterSlashing (33232 B) 2.9550 us/op 2.2990 us/op 1.29
copy serialized AttesterSlashing (33232 B) 10.977 us/op 10.026 us/op 1.09
transfer serialized Small SignedBeaconBlock (128000 B) 4.5570 us/op 3.0390 us/op 1.50
copy serialized Small SignedBeaconBlock (128000 B) 40.133 us/op 9.9610 us/op 4.03
transfer serialized Avg SignedBeaconBlock (200000 B) 5.8520 us/op 3.0010 us/op 1.95
copy serialized Avg SignedBeaconBlock (200000 B) 59.166 us/op 13.646 us/op 4.34
transfer serialized BlobsSidecar (524380 B) 8.4870 us/op 3.3120 us/op 2.56
copy serialized BlobsSidecar (524380 B) 197.86 us/op 68.710 us/op 2.88
transfer serialized Big SignedBeaconBlock (1000000 B) 11.606 us/op 3.6060 us/op 3.22
copy serialized Big SignedBeaconBlock (1000000 B) 367.21 us/op 201.37 us/op 1.82
pass gossip attestations to forkchoice per slot 4.6367 ms/op 2.7347 ms/op 1.70
forkChoice updateHead vc 100000 bc 64 eq 0 1.7764 ms/op 386.36 us/op 4.60
forkChoice updateHead vc 600000 bc 64 eq 0 4.4498 ms/op 2.7015 ms/op 1.65
forkChoice updateHead vc 1000000 bc 64 eq 0 9.5554 ms/op 4.2578 ms/op 2.24
forkChoice updateHead vc 600000 bc 320 eq 0 4.9632 ms/op 2.3364 ms/op 2.12
forkChoice updateHead vc 600000 bc 1200 eq 0 6.3780 ms/op 2.4490 ms/op 2.60
forkChoice updateHead vc 600000 bc 7200 eq 0 7.0790 ms/op 2.8927 ms/op 2.45
forkChoice updateHead vc 600000 bc 64 eq 1000 20.761 ms/op 9.4118 ms/op 2.21
forkChoice updateHead vc 600000 bc 64 eq 10000 16.367 ms/op 8.9291 ms/op 1.83
forkChoice updateHead vc 600000 bc 64 eq 300000 143.58 ms/op 11.869 ms/op 12.10
computeDeltas 500000 validators 300 proto nodes 7.8175 ms/op 2.9922 ms/op 2.61
computeDeltas 500000 validators 1200 proto nodes 8.8647 ms/op 3.0081 ms/op 2.95
computeDeltas 500000 validators 7200 proto nodes 8.6668 ms/op 2.9636 ms/op 2.92
computeDeltas 750000 validators 300 proto nodes 12.395 ms/op 4.4721 ms/op 2.77
computeDeltas 750000 validators 1200 proto nodes 11.132 ms/op 4.4705 ms/op 2.49
computeDeltas 750000 validators 7200 proto nodes 11.097 ms/op 4.7542 ms/op 2.33
computeDeltas 1400000 validators 300 proto nodes 17.149 ms/op 10.162 ms/op 1.69
computeDeltas 1400000 validators 1200 proto nodes 15.304 ms/op 8.4556 ms/op 1.81
computeDeltas 1400000 validators 7200 proto nodes 15.582 ms/op 8.2988 ms/op 1.88
computeDeltas 2100000 validators 300 proto nodes 24.044 ms/op 12.051 ms/op 2.00
computeDeltas 2100000 validators 1200 proto nodes 24.789 ms/op 12.059 ms/op 2.06
computeDeltas 2100000 validators 7200 proto nodes 22.632 ms/op 12.300 ms/op 1.84
altair processAttestation - 250000 vs - 7PWei normalcase 3.4206 ms/op 1.3314 ms/op 2.57
altair processAttestation - 250000 vs - 7PWei worstcase 4.9258 ms/op 2.0197 ms/op 2.44
altair processAttestation - setStatus - 1/6 committees join 123.51 us/op 65.833 us/op 1.88
altair processAttestation - setStatus - 1/3 committees join 248.13 us/op 129.85 us/op 1.91
altair processAttestation - setStatus - 1/2 committees join 336.99 us/op 194.22 us/op 1.74
altair processAttestation - setStatus - 2/3 committees join 380.87 us/op 261.01 us/op 1.46
altair processAttestation - setStatus - 4/5 committees join 560.55 us/op 376.89 us/op 1.49
altair processAttestation - setStatus - 100% committees join 761.27 us/op 451.69 us/op 1.69
altair processBlock - 250000 vs - 7PWei normalcase 7.2838 ms/op 3.5439 ms/op 2.06
altair processBlock - 250000 vs - 7PWei normalcase hashState 28.151 ms/op 28.704 ms/op 0.98
altair processBlock - 250000 vs - 7PWei worstcase 46.258 ms/op 40.621 ms/op 1.14
altair processBlock - 250000 vs - 7PWei worstcase hashState 105.03 ms/op 82.192 ms/op 1.28
phase0 processBlock - 250000 vs - 7PWei normalcase 2.7629 ms/op 1.9194 ms/op 1.44
phase0 processBlock - 250000 vs - 7PWei worstcase 32.254 ms/op 23.908 ms/op 1.35
altair processEth1Data - 250000 vs - 7PWei normalcase 650.92 us/op 263.54 us/op 2.47
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 9.1700 us/op 5.0450 us/op 1.82
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 33.860 us/op 19.272 us/op 1.76
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.011 us/op 7.2980 us/op 1.51
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 9.3000 us/op 5.3270 us/op 1.75
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 129.63 us/op 73.819 us/op 1.76
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 704.47 us/op 752.11 us/op 0.94
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 949.91 us/op 699.23 us/op 1.36
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 935.97 us/op 1.0498 ms/op 0.89
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.6143 ms/op 2.0448 ms/op 1.28
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.7838 ms/op 1.1635 ms/op 1.53
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.2015 ms/op 2.9860 ms/op 1.41
Tree 40 250000 create 444.56 ms/op 195.20 ms/op 2.28
Tree 40 250000 get(125000) 172.32 ns/op 114.14 ns/op 1.51
Tree 40 250000 set(125000) 958.34 ns/op 519.07 ns/op 1.85
Tree 40 250000 toArray() 23.664 ms/op 10.675 ms/op 2.22
Tree 40 250000 iterate all - toArray() + loop 21.777 ms/op 10.956 ms/op 1.99
Tree 40 250000 iterate all - get(i) 63.402 ms/op 43.751 ms/op 1.45
MutableVector 250000 create 16.663 ms/op 9.6944 ms/op 1.72
MutableVector 250000 get(125000) 10.055 ns/op 5.9340 ns/op 1.69
MutableVector 250000 set(125000) 303.97 ns/op 158.82 ns/op 1.91
MutableVector 250000 toArray() 5.3466 ms/op 2.6266 ms/op 2.04
MutableVector 250000 iterate all - toArray() + loop 5.3443 ms/op 2.7007 ms/op 1.98
MutableVector 250000 iterate all - get(i) 1.8061 ms/op 1.4106 ms/op 1.28
Array 250000 create 5.2724 ms/op 2.2675 ms/op 2.33
Array 250000 clone - spread 2.0061 ms/op 1.1701 ms/op 1.71
Array 250000 get(125000) 0.46400 ns/op 0.56000 ns/op 0.83
Array 250000 set(125000) 0.50400 ns/op 0.57400 ns/op 0.88
Array 250000 iterate all - loop 86.198 us/op 75.670 us/op 1.14
effectiveBalanceIncrements clone Uint8Array 300000 65.298 us/op 13.243 us/op 4.93
effectiveBalanceIncrements clone MutableVector 300000 142.00 ns/op 306.00 ns/op 0.46
effectiveBalanceIncrements rw all Uint8Array 300000 207.79 us/op 164.40 us/op 1.26
effectiveBalanceIncrements rw all MutableVector 300000 95.418 ms/op 52.651 ms/op 1.81
phase0 afterProcessEpoch - 250000 vs - 7PWei 93.918 ms/op 76.443 ms/op 1.23
Array.fill - length 1000000 6.6318 ms/op 2.5278 ms/op 2.62
Array push - length 1000000 31.247 ms/op 14.660 ms/op 2.13
Array.get 0.33203 ns/op 0.25962 ns/op 1.28
Uint8Array.get 0.46746 ns/op 0.33862 ns/op 1.38
phase0 beforeProcessEpoch - 250000 vs - 7PWei 25.576 ms/op 16.434 ms/op 1.56
altair processEpoch - mainnet_e81889 514.65 ms/op 318.53 ms/op 1.62
mainnet_e81889 - altair beforeProcessEpoch 43.567 ms/op 21.722 ms/op 2.01
mainnet_e81889 - altair processJustificationAndFinalization 19.409 us/op 10.433 us/op 1.86
mainnet_e81889 - altair processInactivityUpdates 8.5069 ms/op 4.6927 ms/op 1.81
mainnet_e81889 - altair processRewardsAndPenalties 56.652 ms/op 48.277 ms/op 1.17
mainnet_e81889 - altair processRegistryUpdates 4.1090 us/op 1.9410 us/op 2.12
mainnet_e81889 - altair processSlashings 891.00 ns/op 704.00 ns/op 1.27
mainnet_e81889 - altair processEth1DataReset 864.00 ns/op 687.00 ns/op 1.26
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.4890 ms/op 1.3190 ms/op 1.13
mainnet_e81889 - altair processSlashingsReset 5.7870 us/op 2.2550 us/op 2.57
mainnet_e81889 - altair processRandaoMixesReset 10.320 us/op 3.2030 us/op 3.22
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1440 us/op 704.00 ns/op 1.63
mainnet_e81889 - altair processParticipationFlagUpdates 4.3040 us/op 2.6300 us/op 1.64
mainnet_e81889 - altair processSyncCommitteeUpdates 1.2010 us/op 550.00 ns/op 2.18
mainnet_e81889 - altair afterProcessEpoch 101.41 ms/op 78.824 ms/op 1.29
capella processEpoch - mainnet_e217614 1.1182 s/op 1.1197 s/op 1.00
mainnet_e217614 - capella beforeProcessEpoch 104.72 ms/op 108.06 ms/op 0.97
mainnet_e217614 - capella processJustificationAndFinalization 20.094 us/op 7.1240 us/op 2.82
mainnet_e217614 - capella processInactivityUpdates 20.525 ms/op 15.302 ms/op 1.34
mainnet_e217614 - capella processRewardsAndPenalties 233.27 ms/op 257.69 ms/op 0.91
mainnet_e217614 - capella processRegistryUpdates 13.349 us/op 11.975 us/op 1.11
mainnet_e217614 - capella processSlashings 441.00 ns/op 743.00 ns/op 0.59
mainnet_e217614 - capella processEth1DataReset 329.00 ns/op 709.00 ns/op 0.46
mainnet_e217614 - capella processEffectiveBalanceUpdates 14.000 ms/op 13.981 ms/op 1.00
mainnet_e217614 - capella processSlashingsReset 3.6700 us/op 2.8930 us/op 1.27
mainnet_e217614 - capella processRandaoMixesReset 8.5080 us/op 5.0700 us/op 1.68
mainnet_e217614 - capella processHistoricalRootsUpdate 753.00 ns/op 941.00 ns/op 0.80
mainnet_e217614 - capella processParticipationFlagUpdates 2.4780 us/op 1.9450 us/op 1.27
mainnet_e217614 - capella afterProcessEpoch 277.31 ms/op 238.83 ms/op 1.16
phase0 processEpoch - mainnet_e58758 431.63 ms/op 305.45 ms/op 1.41
mainnet_e58758 - phase0 beforeProcessEpoch 103.34 ms/op 65.674 ms/op 1.57
mainnet_e58758 - phase0 processJustificationAndFinalization 26.796 us/op 11.844 us/op 2.26
mainnet_e58758 - phase0 processRewardsAndPenalties 44.964 ms/op 36.957 ms/op 1.22
mainnet_e58758 - phase0 processRegistryUpdates 19.176 us/op 6.2680 us/op 3.06
mainnet_e58758 - phase0 processSlashings 1.0020 us/op 801.00 ns/op 1.25
mainnet_e58758 - phase0 processEth1DataReset 1.2630 us/op 702.00 ns/op 1.80
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1879 ms/op 1.1271 ms/op 1.05
mainnet_e58758 - phase0 processSlashingsReset 4.7680 us/op 3.2860 us/op 1.45
mainnet_e58758 - phase0 processRandaoMixesReset 4.5510 us/op 3.5810 us/op 1.27
mainnet_e58758 - phase0 processHistoricalRootsUpdate 375.00 ns/op 848.00 ns/op 0.44
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.5930 us/op 2.7050 us/op 1.33
mainnet_e58758 - phase0 afterProcessEpoch 79.992 ms/op 65.497 ms/op 1.22
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3157 ms/op 756.21 us/op 1.74
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.4086 ms/op 1.4984 ms/op 1.61
altair processInactivityUpdates - 250000 normalcase 17.938 ms/op 16.486 ms/op 1.09
altair processInactivityUpdates - 250000 worstcase 16.122 ms/op 17.014 ms/op 0.95
phase0 processRegistryUpdates - 250000 normalcase 9.8820 us/op 3.3300 us/op 2.97
phase0 processRegistryUpdates - 250000 badcase_full_deposits 316.74 us/op 302.11 us/op 1.05
phase0 processRegistryUpdates - 250000 worstcase 0.5 142.08 ms/op 113.38 ms/op 1.25
altair processRewardsAndPenalties - 250000 normalcase 50.215 ms/op 44.358 ms/op 1.13
altair processRewardsAndPenalties - 250000 worstcase 41.247 ms/op 43.315 ms/op 0.95
phase0 getAttestationDeltas - 250000 normalcase 8.1235 ms/op 5.6576 ms/op 1.44
phase0 getAttestationDeltas - 250000 worstcase 8.0131 ms/op 5.6151 ms/op 1.43
phase0 processSlashings - 250000 worstcase 96.809 us/op 85.157 us/op 1.14
altair processSyncCommitteeUpdates - 250000 133.06 ms/op 97.693 ms/op 1.36
BeaconState.hashTreeRoot - No change 334.00 ns/op 467.00 ns/op 0.72
BeaconState.hashTreeRoot - 1 full validator 158.46 us/op 107.85 us/op 1.47
BeaconState.hashTreeRoot - 32 full validator 1.5243 ms/op 930.68 us/op 1.64
BeaconState.hashTreeRoot - 512 full validator 15.466 ms/op 12.215 ms/op 1.27
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 178.42 us/op 141.76 us/op 1.26
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.8179 ms/op 1.8326 ms/op 0.99
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 24.869 ms/op 25.032 ms/op 0.99
BeaconState.hashTreeRoot - 1 balances 86.640 us/op 107.94 us/op 0.80
BeaconState.hashTreeRoot - 32 balances 1.2757 ms/op 1.0810 ms/op 1.18
BeaconState.hashTreeRoot - 512 balances 7.1415 ms/op 11.818 ms/op 0.60
BeaconState.hashTreeRoot - 250000 balances 177.43 ms/op 167.74 ms/op 1.06
aggregationBits - 2048 els - zipIndexesInBitList 23.783 us/op 19.283 us/op 1.23
byteArrayEquals 32 53.833 ns/op 47.496 ns/op 1.13
Buffer.compare 32 17.737 ns/op 16.294 ns/op 1.09
byteArrayEquals 1024 1.6036 us/op 1.2463 us/op 1.29
Buffer.compare 1024 26.102 ns/op 23.458 ns/op 1.11
byteArrayEquals 16384 25.362 us/op 19.776 us/op 1.28
Buffer.compare 16384 187.04 ns/op 199.97 ns/op 0.94
byteArrayEquals 123687377 192.33 ms/op 148.25 ms/op 1.30
Buffer.compare 123687377 8.6562 ms/op 3.5621 ms/op 2.43
byteArrayEquals 32 - diff last byte 53.517 ns/op 46.180 ns/op 1.16
Buffer.compare 32 - diff last byte 17.030 ns/op 16.344 ns/op 1.04
byteArrayEquals 1024 - diff last byte 1.6128 us/op 1.2308 us/op 1.31
Buffer.compare 1024 - diff last byte 28.443 ns/op 24.493 ns/op 1.16
byteArrayEquals 16384 - diff last byte 26.612 us/op 19.558 us/op 1.36
Buffer.compare 16384 - diff last byte 206.48 ns/op 162.15 ns/op 1.27
byteArrayEquals 123687377 - diff last byte 193.01 ms/op 147.57 ms/op 1.31
Buffer.compare 123687377 - diff last byte 7.7267 ms/op 3.7477 ms/op 2.06
byteArrayEquals 32 - random bytes 5.3130 ns/op 4.7120 ns/op 1.13
Buffer.compare 32 - random bytes 17.693 ns/op 16.571 ns/op 1.07
byteArrayEquals 1024 - random bytes 5.2400 ns/op 4.7540 ns/op 1.10
Buffer.compare 1024 - random bytes 17.712 ns/op 16.085 ns/op 1.10
byteArrayEquals 16384 - random bytes 5.2050 ns/op 4.7400 ns/op 1.10
Buffer.compare 16384 - random bytes 17.571 ns/op 16.215 ns/op 1.08
byteArrayEquals 123687377 - random bytes 6.6100 ns/op 7.6100 ns/op 0.87
Buffer.compare 123687377 - random bytes 19.710 ns/op 19.500 ns/op 1.01
regular array get 100000 times 41.115 us/op 30.018 us/op 1.37
wrappedArray get 100000 times 33.379 us/op 29.940 us/op 1.11
arrayWithProxy get 100000 times 13.163 ms/op 9.5889 ms/op 1.37
ssz.Root.equals 46.136 ns/op 43.288 ns/op 1.07
byteArrayEquals 45.234 ns/op 42.941 ns/op 1.05
Buffer.compare 10.679 ns/op 9.7080 ns/op 1.10
shuffle list - 16384 els 6.4464 ms/op 5.1482 ms/op 1.25
shuffle list - 250000 els 96.394 ms/op 74.225 ms/op 1.30
processSlot - 1 slots 15.013 us/op 14.420 us/op 1.04
processSlot - 32 slots 2.8078 ms/op 2.0207 ms/op 1.39
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 38.016 ms/op 43.833 ms/op 0.87
getCommitteeAssignments - req 1 vs - 250000 vc 2.1869 ms/op 1.6650 ms/op 1.31
getCommitteeAssignments - req 100 vs - 250000 vc 4.3434 ms/op 3.2824 ms/op 1.32
getCommitteeAssignments - req 1000 vs - 250000 vc 4.5466 ms/op 3.5407 ms/op 1.28
findModifiedValidators - 10000 modified validators 337.84 ms/op 220.15 ms/op 1.53
findModifiedValidators - 1000 modified validators 236.11 ms/op 151.67 ms/op 1.56
findModifiedValidators - 100 modified validators 218.41 ms/op 156.89 ms/op 1.39
findModifiedValidators - 10 modified validators 244.01 ms/op 140.35 ms/op 1.74
findModifiedValidators - 1 modified validators 261.29 ms/op 137.63 ms/op 1.90
findModifiedValidators - no difference 247.94 ms/op 139.83 ms/op 1.77
compare ViewDUs 4.4383 s/op 3.0217 s/op 1.47
compare each validator Uint8Array 1.6716 s/op 1.5816 s/op 1.06
compare ViewDU to Uint8Array 1.3475 s/op 659.26 ms/op 2.04
migrate state 1000000 validators, 24 modified, 0 new 689.91 ms/op 579.25 ms/op 1.19
migrate state 1000000 validators, 1700 modified, 1000 new 823.24 ms/op 814.57 ms/op 1.01
migrate state 1000000 validators, 3400 modified, 2000 new 1.0456 s/op 999.75 ms/op 1.05
migrate state 1500000 validators, 24 modified, 0 new 621.25 ms/op 583.31 ms/op 1.07
migrate state 1500000 validators, 1700 modified, 1000 new 951.58 ms/op 793.70 ms/op 1.20
migrate state 1500000 validators, 3400 modified, 2000 new 1.1062 s/op 1.0114 s/op 1.09
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.0900 ns/op 5.8500 ns/op 0.87
state getBlockRootAtSlot - 250000 vs - 7PWei 1.0223 us/op 612.20 ns/op 1.67
computeProposers - vc 250000 8.2952 ms/op 6.1398 ms/op 1.35
computeEpochShuffling - vc 250000 104.52 ms/op 80.891 ms/op 1.29
getNextSyncCommittee - vc 250000 134.49 ms/op 100.44 ms/op 1.34
computeSigningRoot for AttestationData 21.995 us/op 19.516 us/op 1.13
hash AttestationData serialized data then Buffer.toString(base64) 1.6609 us/op 1.1545 us/op 1.44
toHexString serialized data 992.39 ns/op 765.28 ns/op 1.30
Buffer.toString(base64) 208.49 ns/op 133.41 ns/op 1.56

Please sign in to comment.