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

feat: increase default gas limit to 36M #7304

Open
wants to merge 1 commit into
base: unstable
Choose a base branch
from

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Dec 16, 2024

Motivation

To scale Ethereum L1 we want to increase the gas limit. I think it's best if clients signal what they consider as a safe limit instead of users having to figure this out themselves via websites like pumpthegas. 36M is pretty conservative but due to further considerations related to block size / gossip limit it's the max gas limit we should advocate for right now.

Description

Increase default gas limit to 36M

Note: This only affects builder blocks as the CL currently has no control over which (target) gas limit the local EL should use until something like ethereum/execution-apis#608 is implemented. Users must set the desired gas limit on the EL client via CLI flag or other means (depends on client).

@nflaig nflaig requested a review from a team as a code owner December 16, 2024 13:01
@nflaig nflaig added the status-do-not-merge Merging this issue will break the build. Do not merge! label Dec 16, 2024
@@ -131,7 +131,7 @@ type ValidatorData = ProposerConfig & {

export const defaultOptions = {
suggestedFeeRecipient: "0x0000000000000000000000000000000000000000",
defaultGasLimit: 30_000_000,
defaultGasLimit: 36_000_000,
Copy link
Member Author

Choose a reason for hiding this comment

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

this is the relevant change, other changes are just examples or test data

Copy link
Member Author

@nflaig nflaig left a comment

Choose a reason for hiding this comment

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

should hold off merging this until our 1.24 release is out

Copy link
Contributor

github-actions bot commented Dec 16, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4d75f7e Previous: ba1d41b Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.8733 ms/op 1.7607 ms/op 1.06
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 42.203 us/op 37.655 us/op 1.12
BLS verify - blst 908.97 us/op 876.12 us/op 1.04
BLS verifyMultipleSignatures 3 - blst 1.3187 ms/op 1.6657 ms/op 0.79
BLS verifyMultipleSignatures 8 - blst 2.1301 ms/op 2.1395 ms/op 1.00
BLS verifyMultipleSignatures 32 - blst 4.4730 ms/op 4.4744 ms/op 1.00
BLS verifyMultipleSignatures 64 - blst 8.3901 ms/op 8.1407 ms/op 1.03
BLS verifyMultipleSignatures 128 - blst 16.049 ms/op 15.629 ms/op 1.03
BLS deserializing 10000 signatures 637.04 ms/op 565.57 ms/op 1.13
BLS deserializing 100000 signatures 6.3640 s/op 5.9869 s/op 1.06
BLS verifyMultipleSignatures - same message - 3 - blst 1.0105 ms/op 913.33 us/op 1.11
BLS verifyMultipleSignatures - same message - 8 - blst 1.0754 ms/op 1.0418 ms/op 1.03
BLS verifyMultipleSignatures - same message - 32 - blst 1.7508 ms/op 1.6477 ms/op 1.06
BLS verifyMultipleSignatures - same message - 64 - blst 2.4647 ms/op 2.4209 ms/op 1.02
BLS verifyMultipleSignatures - same message - 128 - blst 4.1340 ms/op 4.1633 ms/op 0.99
BLS aggregatePubkeys 32 - blst 18.403 us/op 16.818 us/op 1.09
BLS aggregatePubkeys 128 - blst 64.510 us/op 58.227 us/op 1.11
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 56.720 ms/op 90.254 ms/op 0.63
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 49.492 ms/op 60.488 ms/op 0.82
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 42.754 ms/op 36.256 ms/op 1.18
getSlashingsAndExits - default max 79.162 us/op 64.382 us/op 1.23
getSlashingsAndExits - 2k 418.32 us/op 220.26 us/op 1.90
proposeBlockBody type=full, size=empty 7.7106 ms/op 4.8843 ms/op 1.58
isKnown best case - 1 super set check 1.1480 us/op 466.00 ns/op 2.46
isKnown normal case - 2 super set checks 988.00 ns/op 460.00 ns/op 2.15
isKnown worse case - 16 super set checks 979.00 ns/op 460.00 ns/op 2.13
InMemoryCheckpointStateCache - add get delete 4.1920 us/op 2.4720 us/op 1.70
validate api signedAggregateAndProof - struct 1.5969 ms/op 1.7801 ms/op 0.90
validate gossip signedAggregateAndProof - struct 1.5128 ms/op 1.8973 ms/op 0.80
batch validate gossip attestation - vc 640000 - chunk 32 130.71 us/op 116.40 us/op 1.12
batch validate gossip attestation - vc 640000 - chunk 64 113.62 us/op 103.97 us/op 1.09
batch validate gossip attestation - vc 640000 - chunk 128 107.87 us/op 93.027 us/op 1.16
batch validate gossip attestation - vc 640000 - chunk 256 111.02 us/op 90.153 us/op 1.23
pickEth1Vote - no votes 1.0550 ms/op 888.11 us/op 1.19
pickEth1Vote - max votes 8.8174 ms/op 4.4351 ms/op 1.99
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.398 ms/op 9.5468 ms/op 1.82
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.983 ms/op 12.810 ms/op 1.72
pickEth1Vote - Eth1Data fastSerialize value x2048 503.38 us/op 380.73 us/op 1.32
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.3990 ms/op 1.9922 ms/op 1.71
bytes32 toHexString 606.00 ns/op 609.00 ns/op 1.00
bytes32 Buffer.toString(hex) 453.00 ns/op 430.00 ns/op 1.05
bytes32 Buffer.toString(hex) from Uint8Array 625.00 ns/op 526.00 ns/op 1.19
bytes32 Buffer.toString(hex) + 0x 460.00 ns/op 426.00 ns/op 1.08
Object access 1 prop 0.36100 ns/op 0.32000 ns/op 1.13
Map access 1 prop 0.33800 ns/op 0.32200 ns/op 1.05
Object get x1000 5.2940 ns/op 5.5120 ns/op 0.96
Map get x1000 6.0680 ns/op 6.1200 ns/op 0.99
Object set x1000 27.803 ns/op 22.518 ns/op 1.23
Map set x1000 22.032 ns/op 18.814 ns/op 1.17
Return object 10000 times 0.32300 ns/op 0.29580 ns/op 1.09
Throw Error 10000 times 2.7442 us/op 2.6289 us/op 1.04
toHex 139.99 ns/op 112.70 ns/op 1.24
Buffer.from 134.63 ns/op 105.06 ns/op 1.28
shared Buffer 80.196 ns/op 70.159 ns/op 1.14
fastMsgIdFn sha256 / 200 bytes 2.1810 us/op 2.0130 us/op 1.08
fastMsgIdFn h32 xxhash / 200 bytes 526.00 ns/op 401.00 ns/op 1.31
fastMsgIdFn h64 xxhash / 200 bytes 482.00 ns/op 437.00 ns/op 1.10
fastMsgIdFn sha256 / 1000 bytes 6.0130 us/op 5.8980 us/op 1.02
fastMsgIdFn h32 xxhash / 1000 bytes 629.00 ns/op 521.00 ns/op 1.21
fastMsgIdFn h64 xxhash / 1000 bytes 563.00 ns/op 507.00 ns/op 1.11
fastMsgIdFn sha256 / 10000 bytes 51.797 us/op 49.368 us/op 1.05
fastMsgIdFn h32 xxhash / 10000 bytes 2.0130 us/op 1.8700 us/op 1.08
fastMsgIdFn h64 xxhash / 10000 bytes 1.4050 us/op 1.3160 us/op 1.07
send data - 1000 256B messages 11.464 ms/op 9.4730 ms/op 1.21
send data - 1000 512B messages 16.585 ms/op 12.599 ms/op 1.32
send data - 1000 1024B messages 26.551 ms/op 20.328 ms/op 1.31
send data - 1000 1200B messages 26.274 ms/op 21.737 ms/op 1.21
send data - 1000 2048B messages 31.978 ms/op 28.768 ms/op 1.11
send data - 1000 4096B messages 28.007 ms/op 26.073 ms/op 1.07
send data - 1000 16384B messages 73.221 ms/op 60.155 ms/op 1.22
send data - 1000 65536B messages 266.02 ms/op 221.23 ms/op 1.20
enrSubnets - fastDeserialize 64 bits 1.1790 us/op 1.1630 us/op 1.01
enrSubnets - ssz BitVector 64 bits 541.00 ns/op 495.00 ns/op 1.09
enrSubnets - fastDeserialize 4 bits 336.00 ns/op 316.00 ns/op 1.06
enrSubnets - ssz BitVector 4 bits 530.00 ns/op 494.00 ns/op 1.07
prioritizePeers score -10:0 att 32-0.1 sync 2-0 134.99 us/op 141.74 us/op 0.95
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 132.66 us/op 118.03 us/op 1.12
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 250.51 us/op 248.67 us/op 1.01
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 527.01 us/op 480.84 us/op 1.10
prioritizePeers score 0:0 att 64-1 sync 4-1 679.28 us/op 651.16 us/op 1.04
array of 16000 items push then shift 1.2657 us/op 1.2920 us/op 0.98
LinkedList of 16000 items push then shift 7.5260 ns/op 6.3350 ns/op 1.19
array of 16000 items push then pop 89.730 ns/op 78.048 ns/op 1.15
LinkedList of 16000 items push then pop 6.1480 ns/op 6.2110 ns/op 0.99
array of 24000 items push then shift 1.9142 us/op 1.8845 us/op 1.02
LinkedList of 24000 items push then shift 6.4160 ns/op 6.3760 ns/op 1.01
array of 24000 items push then pop 113.57 ns/op 108.27 ns/op 1.05
LinkedList of 24000 items push then pop 6.3110 ns/op 6.3100 ns/op 1.00
intersect bitArray bitLen 8 5.4200 ns/op 5.3150 ns/op 1.02
intersect array and set length 8 38.545 ns/op 40.612 ns/op 0.95
intersect bitArray bitLen 128 26.456 ns/op 26.401 ns/op 1.00
intersect array and set length 128 581.32 ns/op 591.42 ns/op 0.98
bitArray.getTrueBitIndexes() bitLen 128 2.1670 us/op 2.2920 us/op 0.95
bitArray.getTrueBitIndexes() bitLen 248 4.1330 us/op 3.5980 us/op 1.15
bitArray.getTrueBitIndexes() bitLen 512 7.3790 us/op 6.9360 us/op 1.06
Buffer.concat 32 items 1.0610 us/op 1.0130 us/op 1.05
Uint8Array.set 32 items 1.8060 us/op 1.5590 us/op 1.16
Buffer.copy 2.1800 us/op 1.8520 us/op 1.18
Uint8Array.set - with subarray 2.6620 us/op 2.3250 us/op 1.14
Uint8Array.set - without subarray 1.7990 us/op 1.6390 us/op 1.10
getUint32 - dataview 478.00 ns/op 398.00 ns/op 1.20
getUint32 - manual 373.00 ns/op 336.00 ns/op 1.11
Set add up to 64 items then delete first 1.7988 us/op 1.7544 us/op 1.03
OrderedSet add up to 64 items then delete first 2.8026 us/op 2.7372 us/op 1.02
Set add up to 64 items then delete last 2.0888 us/op 2.0175 us/op 1.04
OrderedSet add up to 64 items then delete last 3.1799 us/op 3.1587 us/op 1.01
Set add up to 64 items then delete middle 2.0589 us/op 2.0466 us/op 1.01
OrderedSet add up to 64 items then delete middle 4.5806 us/op 4.5461 us/op 1.01
Set add up to 128 items then delete first 3.9536 us/op 3.9369 us/op 1.00
OrderedSet add up to 128 items then delete first 5.8649 us/op 5.8804 us/op 1.00
Set add up to 128 items then delete last 3.9437 us/op 3.9299 us/op 1.00
OrderedSet add up to 128 items then delete last 6.0762 us/op 6.1137 us/op 0.99
Set add up to 128 items then delete middle 3.9039 us/op 3.9181 us/op 1.00
OrderedSet add up to 128 items then delete middle 12.374 us/op 11.581 us/op 1.07
Set add up to 256 items then delete first 7.9510 us/op 7.7004 us/op 1.03
OrderedSet add up to 256 items then delete first 11.967 us/op 11.595 us/op 1.03
Set add up to 256 items then delete last 7.8698 us/op 7.6905 us/op 1.02
OrderedSet add up to 256 items then delete last 12.470 us/op 12.045 us/op 1.04
Set add up to 256 items then delete middle 7.8874 us/op 7.6572 us/op 1.03
OrderedSet add up to 256 items then delete middle 36.557 us/op 34.531 us/op 1.06
transfer serialized Status (84 B) 1.3890 us/op 1.4910 us/op 0.93
copy serialized Status (84 B) 1.2060 us/op 1.3010 us/op 0.93
transfer serialized SignedVoluntaryExit (112 B) 1.4390 us/op 1.6620 us/op 0.87
copy serialized SignedVoluntaryExit (112 B) 1.1800 us/op 1.3670 us/op 0.86
transfer serialized ProposerSlashing (416 B) 1.5560 us/op 2.1740 us/op 0.72
copy serialized ProposerSlashing (416 B) 1.3490 us/op 2.2130 us/op 0.61
transfer serialized Attestation (485 B) 1.6030 us/op 1.9420 us/op 0.83
copy serialized Attestation (485 B) 1.3570 us/op 1.8440 us/op 0.74
transfer serialized AttesterSlashing (33232 B) 1.6340 us/op 2.0390 us/op 0.80
copy serialized AttesterSlashing (33232 B) 3.5190 us/op 4.1490 us/op 0.85
transfer serialized Small SignedBeaconBlock (128000 B) 1.7760 us/op 2.5710 us/op 0.69
copy serialized Small SignedBeaconBlock (128000 B) 13.803 us/op 9.2250 us/op 1.50
transfer serialized Avg SignedBeaconBlock (200000 B) 1.9870 us/op 2.7750 us/op 0.72
copy serialized Avg SignedBeaconBlock (200000 B) 12.452 us/op 12.577 us/op 0.99
transfer serialized BlobsSidecar (524380 B) 2.3550 us/op 3.2220 us/op 0.73
copy serialized BlobsSidecar (524380 B) 112.61 us/op 68.508 us/op 1.64
transfer serialized Big SignedBeaconBlock (1000000 B) 3.0860 us/op 3.4240 us/op 0.90
copy serialized Big SignedBeaconBlock (1000000 B) 139.69 us/op 199.75 us/op 0.70
pass gossip attestations to forkchoice per slot 2.4772 ms/op 2.2961 ms/op 1.08
forkChoice updateHead vc 100000 bc 64 eq 0 523.81 us/op 355.99 us/op 1.47
forkChoice updateHead vc 600000 bc 64 eq 0 2.3546 ms/op 2.0388 ms/op 1.15
forkChoice updateHead vc 1000000 bc 64 eq 0 3.7864 ms/op 3.8750 ms/op 0.98
forkChoice updateHead vc 600000 bc 320 eq 0 2.1940 ms/op 2.3905 ms/op 0.92
forkChoice updateHead vc 600000 bc 1200 eq 0 2.2797 ms/op 2.0613 ms/op 1.11
forkChoice updateHead vc 600000 bc 7200 eq 0 2.6075 ms/op 2.6537 ms/op 0.98
forkChoice updateHead vc 600000 bc 64 eq 1000 9.3293 ms/op 8.4602 ms/op 1.10
forkChoice updateHead vc 600000 bc 64 eq 10000 9.2997 ms/op 9.2299 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 300000 11.218 ms/op 11.265 ms/op 1.00
computeDeltas 500000 validators 300 proto nodes 3.3868 ms/op 3.1993 ms/op 1.06
computeDeltas 500000 validators 1200 proto nodes 3.3745 ms/op 3.2458 ms/op 1.04
computeDeltas 500000 validators 7200 proto nodes 3.4202 ms/op 3.1807 ms/op 1.08
computeDeltas 750000 validators 300 proto nodes 5.2706 ms/op 4.8855 ms/op 1.08
computeDeltas 750000 validators 1200 proto nodes 5.2417 ms/op 4.8379 ms/op 1.08
computeDeltas 750000 validators 7200 proto nodes 5.1748 ms/op 4.7751 ms/op 1.08
computeDeltas 1400000 validators 300 proto nodes 9.8056 ms/op 8.6338 ms/op 1.14
computeDeltas 1400000 validators 1200 proto nodes 9.6695 ms/op 8.6900 ms/op 1.11
computeDeltas 1400000 validators 7200 proto nodes 9.6327 ms/op 8.5877 ms/op 1.12
computeDeltas 2100000 validators 300 proto nodes 14.465 ms/op 13.422 ms/op 1.08
computeDeltas 2100000 validators 1200 proto nodes 14.360 ms/op 13.574 ms/op 1.06
computeDeltas 2100000 validators 7200 proto nodes 14.028 ms/op 13.370 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei normalcase 1.4434 ms/op 1.4296 ms/op 1.01
altair processAttestation - 250000 vs - 7PWei worstcase 2.1974 ms/op 2.1342 ms/op 1.03
altair processAttestation - setStatus - 1/6 committees join 71.456 us/op 64.088 us/op 1.11
altair processAttestation - setStatus - 1/3 committees join 129.82 us/op 143.60 us/op 0.90
altair processAttestation - setStatus - 1/2 committees join 187.17 us/op 176.08 us/op 1.06
altair processAttestation - setStatus - 2/3 committees join 252.44 us/op 235.72 us/op 1.07
altair processAttestation - setStatus - 4/5 committees join 382.38 us/op 368.62 us/op 1.04
altair processAttestation - setStatus - 100% committees join 484.86 us/op 426.67 us/op 1.14
altair processBlock - 250000 vs - 7PWei normalcase 3.6046 ms/op 3.1448 ms/op 1.15
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.120 ms/op 25.216 ms/op 1.08
altair processBlock - 250000 vs - 7PWei worstcase 38.339 ms/op 37.172 ms/op 1.03
altair processBlock - 250000 vs - 7PWei worstcase hashState 65.463 ms/op 72.035 ms/op 0.91
phase0 processBlock - 250000 vs - 7PWei normalcase 1.7955 ms/op 1.7886 ms/op 1.00
phase0 processBlock - 250000 vs - 7PWei worstcase 24.786 ms/op 21.866 ms/op 1.13
altair processEth1Data - 250000 vs - 7PWei normalcase 245.74 us/op 282.91 us/op 0.87
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 4.6890 us/op 5.1590 us/op 0.91
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 32.304 us/op 17.515 us/op 1.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 4.9290 us/op 8.5710 us/op 0.58
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.0180 us/op 5.4520 us/op 0.92
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 122.94 us/op 64.321 us/op 1.91
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4672 ms/op 1.3461 ms/op 1.09
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.1172 ms/op 1.2180 ms/op 0.92
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.0985 ms/op 1.1567 ms/op 0.95
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.0311 ms/op 2.8185 ms/op 1.08
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.1894 ms/op 1.0497 ms/op 1.13
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.5641 ms/op 2.5519 ms/op 1.40
Tree 40 250000 create 203.83 ms/op 184.58 ms/op 1.10
Tree 40 250000 get(125000) 121.92 ns/op 113.19 ns/op 1.08
Tree 40 250000 set(125000) 564.04 ns/op 562.02 ns/op 1.00
Tree 40 250000 toArray() 17.550 ms/op 9.7692 ms/op 1.80
Tree 40 250000 iterate all - toArray() + loop 14.311 ms/op 9.8879 ms/op 1.45
Tree 40 250000 iterate all - get(i) 47.434 ms/op 40.862 ms/op 1.16
Array 250000 create 2.4568 ms/op 2.3547 ms/op 1.04
Array 250000 clone - spread 1.3615 ms/op 1.3536 ms/op 1.01
Array 250000 get(125000) 0.59300 ns/op 0.57700 ns/op 1.03
Array 250000 set(125000) 0.61200 ns/op 0.58300 ns/op 1.05
Array 250000 iterate all - loop 79.843 us/op 77.369 us/op 1.03
phase0 afterProcessEpoch - 250000 vs - 7PWei 43.088 ms/op 41.600 ms/op 1.04
Array.fill - length 1000000 2.6541 ms/op 2.6117 ms/op 1.02
Array push - length 1000000 14.611 ms/op 14.089 ms/op 1.04
Array.get 0.26270 ns/op 0.23607 ns/op 1.11
Uint8Array.get 0.32960 ns/op 0.31300 ns/op 1.05
phase0 beforeProcessEpoch - 250000 vs - 7PWei 18.570 ms/op 17.116 ms/op 1.08
altair processEpoch - mainnet_e81889 301.14 ms/op 268.07 ms/op 1.12
mainnet_e81889 - altair beforeProcessEpoch 17.227 ms/op 16.048 ms/op 1.07
mainnet_e81889 - altair processJustificationAndFinalization 17.689 us/op 5.7720 us/op 3.06
mainnet_e81889 - altair processInactivityUpdates 4.2545 ms/op 3.8625 ms/op 1.10
mainnet_e81889 - altair processRewardsAndPenalties 44.117 ms/op 60.311 ms/op 0.73
mainnet_e81889 - altair processRegistryUpdates 2.7270 us/op 1.8850 us/op 1.45
mainnet_e81889 - altair processSlashings 863.00 ns/op 737.00 ns/op 1.17
mainnet_e81889 - altair processEth1DataReset 743.00 ns/op 714.00 ns/op 1.04
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.5069 ms/op 1.5505 ms/op 0.97
mainnet_e81889 - altair processSlashingsReset 2.9390 us/op 2.4260 us/op 1.21
mainnet_e81889 - altair processRandaoMixesReset 2.9720 us/op 2.9320 us/op 1.01
mainnet_e81889 - altair processHistoricalRootsUpdate 756.00 ns/op 708.00 ns/op 1.07
mainnet_e81889 - altair processParticipationFlagUpdates 2.8520 us/op 1.8930 us/op 1.51
mainnet_e81889 - altair processSyncCommitteeUpdates 818.00 ns/op 436.00 ns/op 1.88
mainnet_e81889 - altair afterProcessEpoch 44.137 ms/op 42.181 ms/op 1.05
capella processEpoch - mainnet_e217614 1.0163 s/op 985.13 ms/op 1.03
mainnet_e217614 - capella beforeProcessEpoch 72.499 ms/op 65.607 ms/op 1.11
mainnet_e217614 - capella processJustificationAndFinalization 16.561 us/op 7.9580 us/op 2.08
mainnet_e217614 - capella processInactivityUpdates 17.134 ms/op 14.102 ms/op 1.21
mainnet_e217614 - capella processRewardsAndPenalties 240.43 ms/op 223.21 ms/op 1.08
mainnet_e217614 - capella processRegistryUpdates 12.930 us/op 11.436 us/op 1.13
mainnet_e217614 - capella processSlashings 729.00 ns/op 727.00 ns/op 1.00
mainnet_e217614 - capella processEth1DataReset 787.00 ns/op 709.00 ns/op 1.11
mainnet_e217614 - capella processEffectiveBalanceUpdates 16.920 ms/op 12.206 ms/op 1.39
mainnet_e217614 - capella processSlashingsReset 3.1750 us/op 3.4070 us/op 0.93
mainnet_e217614 - capella processRandaoMixesReset 5.4490 us/op 7.6770 us/op 0.71
mainnet_e217614 - capella processHistoricalRootsUpdate 1.7090 us/op 825.00 ns/op 2.07
mainnet_e217614 - capella processParticipationFlagUpdates 2.7270 us/op 2.0430 us/op 1.33
mainnet_e217614 - capella afterProcessEpoch 106.93 ms/op 101.19 ms/op 1.06
phase0 processEpoch - mainnet_e58758 326.96 ms/op 319.24 ms/op 1.02
mainnet_e58758 - phase0 beforeProcessEpoch 77.011 ms/op 81.139 ms/op 0.95
mainnet_e58758 - phase0 processJustificationAndFinalization 19.311 us/op 14.665 us/op 1.32
mainnet_e58758 - phase0 processRewardsAndPenalties 31.549 ms/op 29.741 ms/op 1.06
mainnet_e58758 - phase0 processRegistryUpdates 8.1040 us/op 6.7520 us/op 1.20
mainnet_e58758 - phase0 processSlashings 904.00 ns/op 760.00 ns/op 1.19
mainnet_e58758 - phase0 processEth1DataReset 853.00 ns/op 702.00 ns/op 1.22
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.1143 ms/op 1.4134 ms/op 1.50
mainnet_e58758 - phase0 processSlashingsReset 3.1480 us/op 5.0550 us/op 0.62
mainnet_e58758 - phase0 processRandaoMixesReset 4.4730 us/op 3.6870 us/op 1.21
mainnet_e58758 - phase0 processHistoricalRootsUpdate 725.00 ns/op 726.00 ns/op 1.00
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.4790 us/op 3.2430 us/op 1.38
mainnet_e58758 - phase0 afterProcessEpoch 38.098 ms/op 35.798 ms/op 1.06
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0649 ms/op 1.0347 ms/op 1.03
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.7993 ms/op 1.7198 ms/op 1.05
altair processInactivityUpdates - 250000 normalcase 18.564 ms/op 16.636 ms/op 1.12
altair processInactivityUpdates - 250000 worstcase 18.767 ms/op 15.536 ms/op 1.21
phase0 processRegistryUpdates - 250000 normalcase 6.9490 us/op 6.1970 us/op 1.12
phase0 processRegistryUpdates - 250000 badcase_full_deposits 318.58 us/op 170.59 us/op 1.87
phase0 processRegistryUpdates - 250000 worstcase 0.5 115.89 ms/op 116.59 ms/op 0.99
altair processRewardsAndPenalties - 250000 normalcase 37.646 ms/op 42.943 ms/op 0.88
altair processRewardsAndPenalties - 250000 worstcase 41.731 ms/op 34.620 ms/op 1.21
phase0 getAttestationDeltas - 250000 normalcase 6.3920 ms/op 6.6629 ms/op 0.96
phase0 getAttestationDeltas - 250000 worstcase 6.0018 ms/op 5.8653 ms/op 1.02
phase0 processSlashings - 250000 worstcase 96.710 us/op 96.582 us/op 1.00
altair processSyncCommitteeUpdates - 250000 90.719 ms/op 99.577 ms/op 0.91
BeaconState.hashTreeRoot - No change 428.00 ns/op 424.00 ns/op 1.01
BeaconState.hashTreeRoot - 1 full validator 75.191 us/op 82.275 us/op 0.91
BeaconState.hashTreeRoot - 32 full validator 749.55 us/op 941.80 us/op 0.80
BeaconState.hashTreeRoot - 512 full validator 7.4225 ms/op 7.8018 ms/op 0.95
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 108.09 us/op 118.32 us/op 0.91
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.4569 ms/op 1.4421 ms/op 1.01
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 18.096 ms/op 20.079 ms/op 0.90
BeaconState.hashTreeRoot - 1 balances 68.133 us/op 87.438 us/op 0.78
BeaconState.hashTreeRoot - 32 balances 962.78 us/op 832.97 us/op 1.16
BeaconState.hashTreeRoot - 512 balances 6.4866 ms/op 6.2785 ms/op 1.03
BeaconState.hashTreeRoot - 250000 balances 186.44 ms/op 140.30 ms/op 1.33
aggregationBits - 2048 els - zipIndexesInBitList 23.239 us/op 19.622 us/op 1.18
byteArrayEquals 32 48.375 ns/op 48.282 ns/op 1.00
Buffer.compare 32 15.359 ns/op 16.047 ns/op 0.96
byteArrayEquals 1024 1.2639 us/op 1.2744 us/op 0.99
Buffer.compare 1024 24.260 ns/op 24.772 ns/op 0.98
byteArrayEquals 16384 20.040 us/op 20.267 us/op 0.99
Buffer.compare 16384 165.36 ns/op 168.22 ns/op 0.98
byteArrayEquals 123687377 151.63 ms/op 152.88 ms/op 0.99
Buffer.compare 123687377 3.9561 ms/op 4.0266 ms/op 0.98
byteArrayEquals 32 - diff last byte 46.861 ns/op 47.470 ns/op 0.99
Buffer.compare 32 - diff last byte 15.894 ns/op 16.177 ns/op 0.98
byteArrayEquals 1024 - diff last byte 1.2599 us/op 1.2578 us/op 1.00
Buffer.compare 1024 - diff last byte 26.801 ns/op 24.941 ns/op 1.07
byteArrayEquals 16384 - diff last byte 19.398 us/op 20.101 us/op 0.97
Buffer.compare 16384 - diff last byte 164.85 ns/op 198.15 ns/op 0.83
byteArrayEquals 123687377 - diff last byte 151.83 ms/op 151.42 ms/op 1.00
Buffer.compare 123687377 - diff last byte 4.0353 ms/op 4.7521 ms/op 0.85
byteArrayEquals 32 - random bytes 4.9010 ns/op 4.9890 ns/op 0.98
Buffer.compare 32 - random bytes 16.098 ns/op 16.173 ns/op 1.00
byteArrayEquals 1024 - random bytes 4.8730 ns/op 4.9500 ns/op 0.98
Buffer.compare 1024 - random bytes 15.867 ns/op 16.049 ns/op 0.99
byteArrayEquals 16384 - random bytes 4.9510 ns/op 4.8930 ns/op 1.01
Buffer.compare 16384 - random bytes 16.695 ns/op 16.047 ns/op 1.04
byteArrayEquals 123687377 - random bytes 7.7300 ns/op 7.8700 ns/op 0.98
Buffer.compare 123687377 - random bytes 19.160 ns/op 18.950 ns/op 1.01
regular array get 100000 times 30.713 us/op 31.092 us/op 0.99
wrappedArray get 100000 times 30.694 us/op 31.111 us/op 0.99
arrayWithProxy get 100000 times 9.8811 ms/op 9.8035 ms/op 1.01
ssz.Root.equals 41.725 ns/op 40.307 ns/op 1.04
byteArrayEquals 42.787 ns/op 42.621 ns/op 1.00
Buffer.compare 9.7950 ns/op 9.2320 ns/op 1.06
processSlot - 1 slots 14.198 us/op 15.588 us/op 0.91
processSlot - 32 slots 2.6157 ms/op 2.0459 ms/op 1.28
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 38.467 ms/op 37.009 ms/op 1.04
getCommitteeAssignments - req 1 vs - 250000 vc 1.8215 ms/op 1.8106 ms/op 1.01
getCommitteeAssignments - req 100 vs - 250000 vc 3.5547 ms/op 3.4733 ms/op 1.02
getCommitteeAssignments - req 1000 vs - 250000 vc 3.7631 ms/op 3.7418 ms/op 1.01
findModifiedValidators - 10000 modified validators 234.90 ms/op 230.59 ms/op 1.02
findModifiedValidators - 1000 modified validators 147.37 ms/op 148.75 ms/op 0.99
findModifiedValidators - 100 modified validators 134.80 ms/op 142.53 ms/op 0.95
findModifiedValidators - 10 modified validators 136.50 ms/op 140.58 ms/op 0.97
findModifiedValidators - 1 modified validators 141.68 ms/op 131.24 ms/op 1.08
findModifiedValidators - no difference 162.94 ms/op 137.34 ms/op 1.19
compare ViewDUs 3.0304 s/op 3.0442 s/op 1.00
compare each validator Uint8Array 1.8410 s/op 1.4692 s/op 1.25
compare ViewDU to Uint8Array 988.88 ms/op 690.88 ms/op 1.43
migrate state 1000000 validators, 24 modified, 0 new 729.14 ms/op 686.73 ms/op 1.06
migrate state 1000000 validators, 1700 modified, 1000 new 896.05 ms/op 924.08 ms/op 0.97
migrate state 1000000 validators, 3400 modified, 2000 new 1.2407 s/op 1.1342 s/op 1.09
migrate state 1500000 validators, 24 modified, 0 new 769.65 ms/op 702.53 ms/op 1.10
migrate state 1500000 validators, 1700 modified, 1000 new 1.0109 s/op 935.46 ms/op 1.08
migrate state 1500000 validators, 3400 modified, 2000 new 1.1494 s/op 1.1418 s/op 1.01
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 6.5200 ns/op 5.9400 ns/op 1.10
state getBlockRootAtSlot - 250000 vs - 7PWei 394.79 ns/op 661.70 ns/op 0.60
computeProposers - vc 250000 5.7796 ms/op 5.7746 ms/op 1.00
computeEpochShuffling - vc 250000 35.859 ms/op 34.654 ms/op 1.03
getNextSyncCommittee - vc 250000 95.829 ms/op 103.33 ms/op 0.93
computeSigningRoot for AttestationData 18.298 us/op 24.347 us/op 0.75
hash AttestationData serialized data then Buffer.toString(base64) 1.2068 us/op 1.2092 us/op 1.00
toHexString serialized data 776.28 ns/op 774.12 ns/op 1.00
Buffer.toString(base64) 138.06 ns/op 143.13 ns/op 0.96
nodejs block root to RootHex using toHex 118.25 ns/op 119.99 ns/op 0.99
nodejs block root to RootHex using toRootHex 72.996 ns/op 76.216 ns/op 0.96
browser block root to RootHex using the deprecated toHexString 201.06 ns/op 207.31 ns/op 0.97
browser block root to RootHex using toHex 165.59 ns/op 163.71 ns/op 1.01
browser block root to RootHex using toRootHex 147.07 ns/op 141.92 ns/op 1.04

by benchmarkbot/action

@nflaig nflaig force-pushed the nflaig/increase-gas-limit branch from b831eb5 to 372c9b4 Compare December 16, 2024 14:46
Copy link

codecov bot commented Dec 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.76%. Comparing base (ba1d41b) to head (372c9b4).

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #7304   +/-   ##
=========================================
  Coverage     48.76%   48.76%           
=========================================
  Files           601      601           
  Lines         40203    40203           
  Branches       2061     2061           
=========================================
  Hits          19607    19607           
  Misses        20558    20558           
  Partials         38       38           

@nflaig nflaig removed the status-do-not-merge Merging this issue will break the build. Do not merge! label Dec 21, 2024
@nflaig
Copy link
Member Author

nflaig commented Dec 23, 2024

this can be merged now

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