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: release v1.24.0 #7325

Merged
merged 51 commits into from
Dec 20, 2024
Merged

chore: release v1.24.0 #7325

merged 51 commits into from
Dec 20, 2024

Conversation

wemeetagain
Copy link
Member

nflaig and others added 30 commits October 30, 2024 18:13
* feat: add keymanager endpoint to retrieve proposer config

* Do not return empty builder config

* Check all builder proposer config values

* Fix settings builder config if undefined

* Fix builder config parsing

* Use ssz type to handle json serialization

Default parsing can't handle BigInt

* Revert "Use ssz type to handle json serialization"

This reverts commit 01fcea7.

* Fix boost factor json serialization

* Remove unused import

* Update test data

* Update proposer config test
* Throw error if pubkey is unknown when getting graffiti

* Consistently validate pubkey and throw 404 if not found
* fix: only return local keys from /eth/v1/keystores

* Fix fetching remote keys in node assertion
* hookup the getblobs api to get bob and proof data from el

remove unused

fix import

metrics overhault, test, debugging testing, some feeback

fix

add nethermind bug dicussion link

fix

resolve conflicts

* deblobs timeout

* fix metric
Revert "feat: asyncAggregateWithRandomness (#7204)"

This reverts commit e31d535.
… branches (#7187)

* initial commit

* Rewrite SyncCommitteeWitnessRepository

* Fix finality branch

* Update unit test

* fix e2e

* Review PR

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* Remove unfinalized pubkey cache

* lint

* Fix unit test
* fix: prune checkpoint states at syncing time

* fix: lint

* fix: check-types in test
* fix: handle outOfRangeData for beaconBlocksMaybeBlobsByRange()

* fix: lint

* fix: archiveBlocks - handle deneb outOfRangeData block
* fix: sync cached balance when adding new validator to registry

* chore: add more comments

* fix: remove persisted checkpoint states from the previous run at startup
* docs update oct 2024 init

* Reconfig quickstart nav and minor fixes

* fix lint

* spelling fixes

* minor fixes and add to wordlist

* prettier fix

* add to wordlist

* sort wordlist

* modify dominance to include lighthouse

* fix typescript casing and add recommendation

* add selection and boost_factor with keymanager notice

* update wordlist

* remove builder enabled and add keymanager api

* spelling

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md)
- [Commits](moxystudio/node-cross-spawn@v7.0.3...v7.0.6)

---
updated-dependencies:
- dependency-name: cross-spawn
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: add error log to notifier if execution client auth failed

* Update packages/beacon-node/src/node/notifier.ts

---------

Co-authored-by: NC <17676176+ensi321@users.noreply.github.com>
* docs: display rcConfig flag on CLI reference page

* Update word list
* feat: add asyncShufflingCalculation to StateTransitionOpts

* feat: add asyncShufflingCalculation to all regen / processSlots consumers

* fix: default to false for async shuffling and remove unnecessary props

* fix: remove unnecessary flags from stateTransition

* feat: implement conditional build of shuffling for prepareNextSlot

* fix: spec test bug where shufflingCache is present from BeaconChain constructor

* feat: sync build next shuffling if not queued async

* fix: use getSync to pull next shuffling correctly

* docs: add comment to prepareNextSlot

* refactor: rename StateCloneOpts to StateRegenerationOpts

* feat: pass asyncShufflingCalculation through to afterProcessEpoch and refactor conditional to run purely sync

* docs: add issue number to comment

* chore: lint
* Revert "chore: pin nodejs version to 22.4 (#6964)"

This reverts commit f20484b.

* Don't revert formatting changes

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Co-authored-by: Cayman <caymannava@gmail.com>
acolytec3 and others added 21 commits December 5, 2024 14:24
* feat: add new getHistoricalSummaries endpoint to debug namespace

* Add JSON response

* Restructure to use stateId and add proof to response

* add test scaffolding

* Address feedback

* Move getHistoricalSummaries to lodestar namespace

* add lodestar namespace unit test

* update route name to lodestar namespace

* cast state object as Capella state

* Lint

* json properties need to be lower case

* Make it v1 since it's now part of lodestar namespace

* Group with other /lodestar endpoints

* Simplify beacon node impl

* Rename return type

* Update test description

* Fix variable name

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* fix: check pubkey or validator index known to a state

* chore: add more comments
* feat: lodestar_setup

* feat: script_updates + docs

* feat: script_addition_in_docs + command_update

* Remove duplicate script from docs folder

* Minor script updates

* Update script to prepare docs and ignore copied file

* Update installation page

* Wording

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* Create giraffeBanners.ts

* Wire in banner

* Fix file name

* lint

* Address @nflaig's comment

---------

Co-authored-by: NC <17676176+ensi321@users.noreply.github.com>
Revert "chore: unpin nodejs version from 22.4 (#6982)"

This reverts commit 69ae688.
* feat: expose DOMAIN_APPLICATION_MASK in config/spec api

* Lint
…igurable (#7294)

* Init commit

* Fix check-types

* Add comment on how MAX_REQUEST_BLOB_SIDECARS is calculated

* Ensure proper config object is passed

* Address comment

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
feat: use BLOB_SIDECAR_SUBNET_COUNT to configure blob subnets
…dy (#7300)

* chore: log sync aggregate participants when producing beacon block body

* Use isForkLightClient instead of ForkSeq

* Fix produce block unit tests
* chore: fix format of printed graffiti from hex to utf-8

* Use Buffer.from no copy with offset
* batch commit typos and update contributor readme

* update donation text

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

* correct spelling

Co-authored-by: Nico Flaig <nflaig@protonmail.com>

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* chore: remove trailing null bytes from printed graffiti

* Use replaceAll instead of regex
Revert "chore: pin nodejs version to 22.4 (#7291)"

This reverts commit 99794d3.
@wemeetagain wemeetagain requested a review from a team as a code owner December 20, 2024 15:17
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 8662804 Previous: - Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.7609 ms/op
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 67.640 us/op
BLS verify - blst 950.79 us/op
BLS verifyMultipleSignatures 3 - blst 1.3677 ms/op
BLS verifyMultipleSignatures 8 - blst 1.9970 ms/op
BLS verifyMultipleSignatures 32 - blst 5.9195 ms/op
BLS verifyMultipleSignatures 64 - blst 10.704 ms/op
BLS verifyMultipleSignatures 128 - blst 17.807 ms/op
BLS deserializing 10000 signatures 693.95 ms/op
BLS deserializing 100000 signatures 7.1448 s/op
BLS verifyMultipleSignatures - same message - 3 - blst 1.0543 ms/op
BLS verifyMultipleSignatures - same message - 8 - blst 1.2046 ms/op
BLS verifyMultipleSignatures - same message - 32 - blst 1.7947 ms/op
BLS verifyMultipleSignatures - same message - 64 - blst 2.7649 ms/op
BLS verifyMultipleSignatures - same message - 128 - blst 4.5004 ms/op
BLS aggregatePubkeys 32 - blst 21.140 us/op
BLS aggregatePubkeys 128 - blst 72.085 us/op
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 60.736 ms/op
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 61.419 ms/op
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 52.459 ms/op
getSlashingsAndExits - default max 103.38 us/op
getSlashingsAndExits - 2k 504.49 us/op
proposeBlockBody type=full, size=empty 7.2138 ms/op
isKnown best case - 1 super set check 432.00 ns/op
isKnown normal case - 2 super set checks 349.00 ns/op
isKnown worse case - 16 super set checks 330.00 ns/op
InMemoryCheckpointStateCache - add get delete 3.8540 us/op
validate api signedAggregateAndProof - struct 1.7170 ms/op
validate gossip signedAggregateAndProof - struct 1.6794 ms/op
batch validate gossip attestation - vc 640000 - chunk 32 151.73 us/op
batch validate gossip attestation - vc 640000 - chunk 64 141.29 us/op
batch validate gossip attestation - vc 640000 - chunk 128 138.31 us/op
batch validate gossip attestation - vc 640000 - chunk 256 137.47 us/op
pickEth1Vote - no votes 1.3269 ms/op
pickEth1Vote - max votes 9.5455 ms/op
pickEth1Vote - Eth1Data hashTreeRoot value x2048 19.116 ms/op
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.155 ms/op
pickEth1Vote - Eth1Data fastSerialize value x2048 595.73 us/op
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.7695 ms/op
bytes32 toHexString 761.00 ns/op
bytes32 Buffer.toString(hex) 293.00 ns/op
bytes32 Buffer.toString(hex) from Uint8Array 570.00 ns/op
bytes32 Buffer.toString(hex) + 0x 283.00 ns/op
Object access 1 prop 0.23200 ns/op
Map access 1 prop 0.14900 ns/op
Object get x1000 7.0770 ns/op
Map get x1000 7.1600 ns/op
Object set x1000 71.113 ns/op
Map set x1000 45.723 ns/op
Return object 10000 times 0.33730 ns/op
Throw Error 10000 times 3.8732 us/op
toHex 184.03 ns/op
Buffer.from 179.92 ns/op
shared Buffer 105.04 ns/op
fastMsgIdFn sha256 / 200 bytes 2.7210 us/op
fastMsgIdFn h32 xxhash / 200 bytes 349.00 ns/op
fastMsgIdFn h64 xxhash / 200 bytes 312.00 ns/op
fastMsgIdFn sha256 / 1000 bytes 8.5150 us/op
fastMsgIdFn h32 xxhash / 1000 bytes 482.00 ns/op
fastMsgIdFn h64 xxhash / 1000 bytes 393.00 ns/op
fastMsgIdFn sha256 / 10000 bytes 72.011 us/op
fastMsgIdFn h32 xxhash / 10000 bytes 2.0800 us/op
fastMsgIdFn h64 xxhash / 10000 bytes 1.3610 us/op
send data - 1000 256B messages 16.516 ms/op
send data - 1000 512B messages 23.077 ms/op
send data - 1000 1024B messages 33.524 ms/op
send data - 1000 1200B messages 38.447 ms/op
send data - 1000 2048B messages 47.405 ms/op
send data - 1000 4096B messages 36.516 ms/op
send data - 1000 16384B messages 78.519 ms/op
send data - 1000 65536B messages 243.61 ms/op
enrSubnets - fastDeserialize 64 bits 1.4680 us/op
enrSubnets - ssz BitVector 64 bits 463.00 ns/op
enrSubnets - fastDeserialize 4 bits 194.00 ns/op
enrSubnets - ssz BitVector 4 bits 478.00 ns/op
prioritizePeers score -10:0 att 32-0.1 sync 2-0 175.52 us/op
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 196.82 us/op
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 283.12 us/op
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 498.59 us/op
prioritizePeers score 0:0 att 64-1 sync 4-1 631.69 us/op
array of 16000 items push then shift 1.8471 us/op
LinkedList of 16000 items push then shift 8.1980 ns/op
array of 16000 items push then pop 132.75 ns/op
LinkedList of 16000 items push then pop 7.9680 ns/op
array of 24000 items push then shift 2.5946 us/op
LinkedList of 24000 items push then shift 8.5880 ns/op
array of 24000 items push then pop 193.97 ns/op
LinkedList of 24000 items push then pop 8.4750 ns/op
intersect bitArray bitLen 8 7.4490 ns/op
intersect array and set length 8 55.040 ns/op
intersect bitArray bitLen 128 32.762 ns/op
intersect array and set length 128 921.89 ns/op
bitArray.getTrueBitIndexes() bitLen 128 1.6450 us/op
bitArray.getTrueBitIndexes() bitLen 248 2.9090 us/op
bitArray.getTrueBitIndexes() bitLen 512 5.7970 us/op
Buffer.concat 32 items 886.00 ns/op
Uint8Array.set 32 items 2.0360 us/op
Buffer.copy 3.2020 us/op
Uint8Array.set - with subarray 3.2380 us/op
Uint8Array.set - without subarray 2.0470 us/op
getUint32 - dataview 315.00 ns/op
getUint32 - manual 243.00 ns/op
Set add up to 64 items then delete first 2.9081 us/op
OrderedSet add up to 64 items then delete first 4.0757 us/op
Set add up to 64 items then delete last 2.9653 us/op
OrderedSet add up to 64 items then delete last 4.7238 us/op
Set add up to 64 items then delete middle 3.1496 us/op
OrderedSet add up to 64 items then delete middle 6.3078 us/op
Set add up to 128 items then delete first 6.3295 us/op
OrderedSet add up to 128 items then delete first 9.8666 us/op
Set add up to 128 items then delete last 6.6711 us/op
OrderedSet add up to 128 items then delete last 9.9160 us/op
Set add up to 128 items then delete middle 5.6747 us/op
OrderedSet add up to 128 items then delete middle 17.054 us/op
Set add up to 256 items then delete first 12.938 us/op
OrderedSet add up to 256 items then delete first 20.466 us/op
Set add up to 256 items then delete last 12.885 us/op
OrderedSet add up to 256 items then delete last 17.429 us/op
Set add up to 256 items then delete middle 11.674 us/op
OrderedSet add up to 256 items then delete middle 48.579 us/op
transfer serialized Status (84 B) 2.9990 us/op
copy serialized Status (84 B) 1.5060 us/op
transfer serialized SignedVoluntaryExit (112 B) 3.1640 us/op
copy serialized SignedVoluntaryExit (112 B) 1.7330 us/op
transfer serialized ProposerSlashing (416 B) 4.7690 us/op
copy serialized ProposerSlashing (416 B) 2.3380 us/op
transfer serialized Attestation (485 B) 4.2460 us/op
copy serialized Attestation (485 B) 2.7120 us/op
transfer serialized AttesterSlashing (33232 B) 4.4090 us/op
copy serialized AttesterSlashing (33232 B) 7.9340 us/op
transfer serialized Small SignedBeaconBlock (128000 B) 4.9510 us/op
copy serialized Small SignedBeaconBlock (128000 B) 25.410 us/op
transfer serialized Avg SignedBeaconBlock (200000 B) 5.6800 us/op
copy serialized Avg SignedBeaconBlock (200000 B) 26.365 us/op
transfer serialized BlobsSidecar (524380 B) 6.3840 us/op
copy serialized BlobsSidecar (524380 B) 148.53 us/op
transfer serialized Big SignedBeaconBlock (1000000 B) 6.3420 us/op
copy serialized Big SignedBeaconBlock (1000000 B) 148.00 us/op
pass gossip attestations to forkchoice per slot 3.1151 ms/op
forkChoice updateHead vc 100000 bc 64 eq 0 591.98 us/op
forkChoice updateHead vc 600000 bc 64 eq 0 3.4938 ms/op
forkChoice updateHead vc 1000000 bc 64 eq 0 5.7179 ms/op
forkChoice updateHead vc 600000 bc 320 eq 0 3.1781 ms/op
forkChoice updateHead vc 600000 bc 1200 eq 0 3.0902 ms/op
forkChoice updateHead vc 600000 bc 7200 eq 0 4.5799 ms/op
forkChoice updateHead vc 600000 bc 64 eq 1000 11.069 ms/op
forkChoice updateHead vc 600000 bc 64 eq 10000 11.093 ms/op
forkChoice updateHead vc 600000 bc 64 eq 300000 20.365 ms/op
computeDeltas 500000 validators 300 proto nodes 4.5729 ms/op
computeDeltas 500000 validators 1200 proto nodes 4.6984 ms/op
computeDeltas 500000 validators 7200 proto nodes 4.5832 ms/op
computeDeltas 750000 validators 300 proto nodes 6.4071 ms/op
computeDeltas 750000 validators 1200 proto nodes 6.6319 ms/op
computeDeltas 750000 validators 7200 proto nodes 6.4707 ms/op
computeDeltas 1400000 validators 300 proto nodes 12.075 ms/op
computeDeltas 1400000 validators 1200 proto nodes 12.756 ms/op
computeDeltas 1400000 validators 7200 proto nodes 12.421 ms/op
computeDeltas 2100000 validators 300 proto nodes 18.797 ms/op
computeDeltas 2100000 validators 1200 proto nodes 17.829 ms/op
computeDeltas 2100000 validators 7200 proto nodes 18.273 ms/op
altair processAttestation - 250000 vs - 7PWei normalcase 2.6329 ms/op
altair processAttestation - 250000 vs - 7PWei worstcase 4.0553 ms/op
altair processAttestation - setStatus - 1/6 committees join 156.08 us/op
altair processAttestation - setStatus - 1/3 committees join 272.35 us/op
altair processAttestation - setStatus - 1/2 committees join 377.44 us/op
altair processAttestation - setStatus - 2/3 committees join 474.07 us/op
altair processAttestation - setStatus - 4/5 committees join 710.33 us/op
altair processAttestation - setStatus - 100% committees join 793.99 us/op
altair processBlock - 250000 vs - 7PWei normalcase 6.0434 ms/op
altair processBlock - 250000 vs - 7PWei normalcase hashState 32.120 ms/op
altair processBlock - 250000 vs - 7PWei worstcase 40.410 ms/op
altair processBlock - 250000 vs - 7PWei worstcase hashState 94.601 ms/op
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3258 ms/op
phase0 processBlock - 250000 vs - 7PWei worstcase 26.491 ms/op
altair processEth1Data - 250000 vs - 7PWei normalcase 468.57 us/op
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 11.122 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 73.816 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 13.979 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 7.6900 us/op
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 202.94 us/op
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4574 ms/op
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.7919 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.2105 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.4984 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.7259 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.4411 ms/op
Tree 40 250000 create 241.75 ms/op
Tree 40 250000 get(125000) 165.17 ns/op
Tree 40 250000 set(125000) 883.35 ns/op
Tree 40 250000 toArray() 25.266 ms/op
Tree 40 250000 iterate all - toArray() + loop 22.521 ms/op
Tree 40 250000 iterate all - get(i) 58.882 ms/op
Array 250000 create 3.2160 ms/op
Array 250000 clone - spread 1.5323 ms/op
Array 250000 get(125000) 0.45500 ns/op
Array 250000 set(125000) 0.47700 ns/op
Array 250000 iterate all - loop 96.121 us/op
phase0 afterProcessEpoch - 250000 vs - 7PWei 55.667 ms/op
Array.fill - length 1000000 3.6889 ms/op
Array push - length 1000000 17.708 ms/op
Array.get 0.29589 ns/op
Uint8Array.get 0.46809 ns/op
phase0 beforeProcessEpoch - 250000 vs - 7PWei 21.708 ms/op
altair processEpoch - mainnet_e81889 294.09 ms/op
mainnet_e81889 - altair beforeProcessEpoch 22.059 ms/op
mainnet_e81889 - altair processJustificationAndFinalization 19.985 us/op
mainnet_e81889 - altair processInactivityUpdates 5.6345 ms/op
mainnet_e81889 - altair processRewardsAndPenalties 48.398 ms/op
mainnet_e81889 - altair processRegistryUpdates 4.1170 us/op
mainnet_e81889 - altair processSlashings 730.00 ns/op
mainnet_e81889 - altair processEth1DataReset 696.00 ns/op
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.8478 ms/op
mainnet_e81889 - altair processSlashingsReset 3.4600 us/op
mainnet_e81889 - altair processRandaoMixesReset 6.0820 us/op
mainnet_e81889 - altair processHistoricalRootsUpdate 876.00 ns/op
mainnet_e81889 - altair processParticipationFlagUpdates 2.6440 us/op
mainnet_e81889 - altair processSyncCommitteeUpdates 1.0920 us/op
mainnet_e81889 - altair afterProcessEpoch 54.364 ms/op
capella processEpoch - mainnet_e217614 1.0934 s/op
mainnet_e217614 - capella beforeProcessEpoch 72.035 ms/op
mainnet_e217614 - capella processJustificationAndFinalization 18.665 us/op
mainnet_e217614 - capella processInactivityUpdates 17.893 ms/op
mainnet_e217614 - capella processRewardsAndPenalties 243.54 ms/op
mainnet_e217614 - capella processRegistryUpdates 23.538 us/op
mainnet_e217614 - capella processSlashings 701.00 ns/op
mainnet_e217614 - capella processEth1DataReset 670.00 ns/op
mainnet_e217614 - capella processEffectiveBalanceUpdates 13.744 ms/op
mainnet_e217614 - capella processSlashingsReset 5.7830 us/op
mainnet_e217614 - capella processRandaoMixesReset 6.1770 us/op
mainnet_e217614 - capella processHistoricalRootsUpdate 1.1110 us/op
mainnet_e217614 - capella processParticipationFlagUpdates 2.8060 us/op
mainnet_e217614 - capella afterProcessEpoch 128.58 ms/op
phase0 processEpoch - mainnet_e58758 357.12 ms/op
mainnet_e58758 - phase0 beforeProcessEpoch 83.477 ms/op
mainnet_e58758 - phase0 processJustificationAndFinalization 24.831 us/op
mainnet_e58758 - phase0 processRewardsAndPenalties 31.318 ms/op
mainnet_e58758 - phase0 processRegistryUpdates 10.092 us/op
mainnet_e58758 - phase0 processSlashings 728.00 ns/op
mainnet_e58758 - phase0 processEth1DataReset 451.00 ns/op
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.4769 ms/op
mainnet_e58758 - phase0 processSlashingsReset 2.9570 us/op
mainnet_e58758 - phase0 processRandaoMixesReset 4.8000 us/op
mainnet_e58758 - phase0 processHistoricalRootsUpdate 510.00 ns/op
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.3260 us/op
mainnet_e58758 - phase0 afterProcessEpoch 48.969 ms/op
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4311 ms/op
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.9356 ms/op
altair processInactivityUpdates - 250000 normalcase 18.901 ms/op
altair processInactivityUpdates - 250000 worstcase 19.722 ms/op
phase0 processRegistryUpdates - 250000 normalcase 9.7180 us/op
phase0 processRegistryUpdates - 250000 badcase_full_deposits 394.46 us/op
phase0 processRegistryUpdates - 250000 worstcase 0.5 128.44 ms/op
altair processRewardsAndPenalties - 250000 normalcase 40.846 ms/op
altair processRewardsAndPenalties - 250000 worstcase 42.501 ms/op
phase0 getAttestationDeltas - 250000 normalcase 9.4795 ms/op
phase0 getAttestationDeltas - 250000 worstcase 8.7076 ms/op
phase0 processSlashings - 250000 worstcase 118.38 us/op
altair processSyncCommitteeUpdates - 250000 136.18 ms/op
BeaconState.hashTreeRoot - No change 303.00 ns/op
BeaconState.hashTreeRoot - 1 full validator 137.99 us/op
BeaconState.hashTreeRoot - 32 full validator 1.6745 ms/op
BeaconState.hashTreeRoot - 512 full validator 14.472 ms/op
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 188.73 us/op
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.2191 ms/op
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.427 ms/op
BeaconState.hashTreeRoot - 1 balances 109.58 us/op
BeaconState.hashTreeRoot - 32 balances 1.0001 ms/op
BeaconState.hashTreeRoot - 512 balances 10.003 ms/op
BeaconState.hashTreeRoot - 250000 balances 204.81 ms/op
aggregationBits - 2048 els - zipIndexesInBitList 39.310 us/op
byteArrayEquals 32 61.669 ns/op
Buffer.compare 32 19.682 ns/op
byteArrayEquals 1024 1.7688 us/op
Buffer.compare 1024 27.690 ns/op
byteArrayEquals 16384 28.848 us/op
Buffer.compare 16384 215.16 ns/op
byteArrayEquals 123687377 215.17 ms/op
Buffer.compare 123687377 9.3183 ms/op
byteArrayEquals 32 - diff last byte 58.798 ns/op
Buffer.compare 32 - diff last byte 20.479 ns/op
byteArrayEquals 1024 - diff last byte 1.9495 us/op
Buffer.compare 1024 - diff last byte 30.406 ns/op
byteArrayEquals 16384 - diff last byte 28.975 us/op
Buffer.compare 16384 - diff last byte 242.55 ns/op
byteArrayEquals 123687377 - diff last byte 215.56 ms/op
Buffer.compare 123687377 - diff last byte 7.8437 ms/op
byteArrayEquals 32 - random bytes 5.4830 ns/op
Buffer.compare 32 - random bytes 18.048 ns/op
byteArrayEquals 1024 - random bytes 5.3230 ns/op
Buffer.compare 1024 - random bytes 18.018 ns/op
byteArrayEquals 16384 - random bytes 5.3960 ns/op
Buffer.compare 16384 - random bytes 17.900 ns/op
byteArrayEquals 123687377 - random bytes 6.8000 ns/op
Buffer.compare 123687377 - random bytes 19.850 ns/op
regular array get 100000 times 41.167 us/op
wrappedArray get 100000 times 34.234 us/op
arrayWithProxy get 100000 times 13.264 ms/op
ssz.Root.equals 49.217 ns/op
byteArrayEquals 47.776 ns/op
Buffer.compare 11.186 ns/op
processSlot - 1 slots 14.154 us/op
processSlot - 32 slots 2.9172 ms/op
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 38.803 ms/op
getCommitteeAssignments - req 1 vs - 250000 vc 2.3597 ms/op
getCommitteeAssignments - req 100 vs - 250000 vc 4.6417 ms/op
getCommitteeAssignments - req 1000 vs - 250000 vc 4.7502 ms/op
findModifiedValidators - 10000 modified validators 258.20 ms/op
findModifiedValidators - 1000 modified validators 188.74 ms/op
findModifiedValidators - 100 modified validators 165.67 ms/op
findModifiedValidators - 10 modified validators 153.63 ms/op
findModifiedValidators - 1 modified validators 204.45 ms/op
findModifiedValidators - no difference 223.65 ms/op
compare ViewDUs 3.4918 s/op
compare each validator Uint8Array 1.4871 s/op
compare ViewDU to Uint8Array 1.2607 s/op
migrate state 1000000 validators, 24 modified, 0 new 879.04 ms/op
migrate state 1000000 validators, 1700 modified, 1000 new 1.1498 s/op
migrate state 1000000 validators, 3400 modified, 2000 new 1.4513 s/op
migrate state 1500000 validators, 24 modified, 0 new 904.65 ms/op
migrate state 1500000 validators, 1700 modified, 1000 new 1.2049 s/op
migrate state 1500000 validators, 3400 modified, 2000 new 1.4665 s/op
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.4500 ns/op
state getBlockRootAtSlot - 250000 vs - 7PWei 706.31 ns/op
computeProposers - vc 250000 8.4354 ms/op
computeEpochShuffling - vc 250000 47.335 ms/op
getNextSyncCommittee - vc 250000 165.01 ms/op
computeSigningRoot for AttestationData 29.039 us/op
hash AttestationData serialized data then Buffer.toString(base64) 1.8052 us/op
toHexString serialized data 1.1349 us/op
Buffer.toString(base64) 216.22 ns/op
nodejs block root to RootHex using toHex 183.96 ns/op
nodejs block root to RootHex using toRootHex 104.88 ns/op
browser block root to RootHex using the deprecated toHexString 270.66 ns/op
browser block root to RootHex using toHex 223.76 ns/op
browser block root to RootHex using toRootHex 186.09 ns/op

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 11f35a8 into stable Dec 20, 2024
29 of 31 checks passed
@wemeetagain wemeetagain deleted the rc/v1.24.0 branch December 20, 2024 17:09
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

Attention: Patch coverage is 47.66031% with 302 lines in your changes missing coverage. Please review.

Project coverage is 48.76%. Comparing base (f778821) to head (ca315d4).
Report is 51 commits behind head on stable.

Additional details and impacted files
@@            Coverage Diff             @@
##           stable    #7325      +/-   ##
==========================================
+ Coverage   48.71%   48.76%   +0.05%     
==========================================
  Files         599      601       +2     
  Lines       39972    40222     +250     
  Branches     2058     2061       +3     
==========================================
+ Hits        19472    19614     +142     
- Misses      20460    20570     +110     
+ Partials       40       38       -2     

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.