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: v1.14.0 release #6261

Closed
wants to merge 36 commits into from
Closed

chore: v1.14.0 release #6261

wants to merge 36 commits into from

Conversation

philknows
Copy link
Member

Release for v1.14.0

twoeths and others added 30 commits December 19, 2023 16:01
* Add vitest config

* Migrate unit tests

* Migrate e2e tests

* Revert test-util changes

* Update worker path

* Fix e2e tests

* Fix the validator process crash

* Update single thread value

* Fix the exit hooks

* Remove timeout indentation

* Remvoe some test comments
…6087)

* feat: optimistically verify blocks even before all blobs available

cleanup pr and add metrics to track

simplify

improvements and type fixes

increase bucket precision

time fixes

improve metrics collection

improve metrics collection

some comments improv

fix the missing writing blobs for blobspromise

rebase fixes

rebase fixes

remove artifact

apply feedback

add more meta info to error

separate out the blockinput cache and attach to chain

rename the cache

apply more feedback

add unittest for seengossipblockinput

add comments

* check type fixes
* Migrate reqresp unit tests to vitest

* Fix the build step

* Fix the types

* Fix the source changes

* Remove the  usage in src
* fix: track jobItemWorkReq function time

* docs: add panel for BLS jobItemWorkReq metrics
* Fix operationId of light_client routes

* Fix operationId of bls_to_execution_changes routes

* Update beacon api spec version to 2.4.0

* Push case change

* Remove now useless file

* fix: lints

* fix: filter broken test

* Revert "Fix operationId of light_client routes"

This reverts commit 91cd2af.

* Revert "Fix operationId of bls_to_execution_changes routes"

This reverts commit ad53c2d.

* test: ignore missing routes

* test: allow to filter required properties from testing

* fix: incorrect case

* test: fixed incorrect test filtering

* fix: lints

* fix: cleanup

* test: allow more fine grain API tests filtering

* fix: lints

* test: increase JSON schema validation strictness

* fix: restore removed keyword implementation

* test: improve filtering semantic

* test: add support for JSONPath syntax to filtering

* fix: typo

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

* fix: wording

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

* test: improve semantic

* test: added issue for context

* fix: improved issues references

* fix: incorrect dotted property parsing

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
Migrate db unit tests to vitest
Migrate flare unit tests to vitest
Migrate config unit tests to vitest
* Migrate params tests to vitest

* Fix the assertion message
* Migrate fork-choice unit tests to vitest

* Fix the assertion messages

* Update packages/fork-choice/test/unit/protoArray/computeDeltas.test.ts

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

* Fix assertion message

---------

Co-authored-by: Nico Flaig <nflaig@protonmail.com>
* Migrate utils tests to vitest

* Remove e2e test script
* Add `Eth-Consensus-Version` to produceBlockV3

* Lint

* Lint

* Add header
…res (#6089)

modify the api

fix validator handling

fix val build

refactor the beacon node impl for the new blobs architecture

get the build working with no blobs

fix the blob sidecars transmisssion

relocate compute blob sidecars

relocate verify merkle branch

verify inclusion proof

fix tests and types

fix unit test

update the spec test versions

skip newly required merkle proof runner

change the minimal/mainnet preset based constant strategy

add other constants to tests

apply feedback

apply feedback

relocate utils
* Restore yarn warnings lint script to previous version

* Add vite package resolution

* Update vite-plugin-node-polyfills package to 0.18.0
* Upgrade vitest

* Change the browser version to fix the download error

* Add a browser version fix

* Fix the browser download path

* Fix the browser download version
* Migrate logger tests to vitest

* Remove lint comment
* docs: add google landing page for old layout until reindexed

* docs: fix broken links

* docs: add SECURITY to docs site pages

* chore: lint docs

* docs: remove committed security.md

* docs: fix mkdocs warnings
* Migrate type tests to vitest

* Fix the npm scripts
* fix: correct createFromState() with cached current shuffling

* chore: fix lint
…d and selected blocks (#6227)

* feat: allow validator to request blinded versions for locally produced and selected blocks

lint

fix the types and tests

* add blinded local combinations to sim

* debug and fix issues
- typo in "one peers" was corrected to "once peers"
nflaig and others added 6 commits January 2, 2024 09:56
* refactor: type safe metric labels

* Update metrics after merging unstable

* Remove collect method from GaugeExtra

* Remove startTimer method from Gauge interface

* Default to NoLabels to fix type issues

* Allow to partially set labels in startTimer

* Fix type compatibility with prom-client Histogram

* Sort metric types

* chore: update prom-client to v15.1.0 (#6230)

* Add metric type tests
* feat: implement LRUBlockStateCache

* feat: implement PersistentCheckpointStateCache

* feat: implement findSeedStateToReload

* fix: add missing catch()

* fix: import path in state-transition

* fix: model CacheItem and type in PersistentCheckpointStateCache

* refactor: use for loop in PersistentCheckpointStateCache.processState

* chore: move test code to beforeAll() in persistentCheckpointsCache.test.ts

* feat: do not prune persisted state when reload

* fix: fifo instead of lru BlockStateCache

* fix: do not prune the last added item in FIFOBlockStateCache

* fix: sync epochIndex and cache in PersistentCheckpointStateCache

* chore: cleanup persistent checkpoint cache types

* chore: tweak comments

* chore: tweak more comments

* chore: reword persistent apis

* chore: add type to cpStateCache size metrics

* fix: metrics labels after rebasing from unstable

---------

Co-authored-by: Cayman <caymannava@gmail.com>
Copy link
Contributor

github-actions bot commented Jan 8, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 488e432 Previous: - Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 967.65 us/op
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 139.41 us/op
BLS verify - blst-native 1.5004 ms/op
BLS verifyMultipleSignatures 3 - blst-native 3.2527 ms/op
BLS verifyMultipleSignatures 8 - blst-native 6.7828 ms/op
BLS verifyMultipleSignatures 32 - blst-native 25.077 ms/op
BLS verifyMultipleSignatures 64 - blst-native 52.011 ms/op
BLS verifyMultipleSignatures 128 - blst-native 104.46 ms/op
BLS deserializing 10000 signatures 1.1154 s/op
BLS deserializing 100000 signatures 11.110 s/op
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.6735 ms/op
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.7528 ms/op
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.9609 ms/op
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.1104 ms/op
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.5556 ms/op
BLS aggregatePubkeys 32 - blst-native 31.693 us/op
BLS aggregatePubkeys 128 - blst-native 117.81 us/op
getAttestationsForBlock 83.647 ms/op
getSlashingsAndExits - default max 442.63 us/op
getSlashingsAndExits - 2k 613.97 us/op
proposeBlockBody type=full, size=empty 7.3019 ms/op
isKnown best case - 1 super set check 557.00 ns/op
isKnown normal case - 2 super set checks 469.00 ns/op
isKnown worse case - 16 super set checks 562.00 ns/op
CheckpointStateCache - add get delete 6.7600 us/op
validate api signedAggregateAndProof - struct 3.1113 ms/op
validate gossip signedAggregateAndProof - struct 3.1631 ms/op
validate gossip attestation - vc 640000 1.6416 ms/op
batch validate gossip attestation - vc 640000 - chunk 32 218.84 us/op
batch validate gossip attestation - vc 640000 - chunk 64 181.88 us/op
batch validate gossip attestation - vc 640000 - chunk 128 174.82 us/op
batch validate gossip attestation - vc 640000 - chunk 256 162.43 us/op
pickEth1Vote - no votes 1.3305 ms/op
pickEth1Vote - max votes 12.509 ms/op
pickEth1Vote - Eth1Data hashTreeRoot value x2048 21.581 ms/op
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 28.698 ms/op
pickEth1Vote - Eth1Data fastSerialize value x2048 734.21 us/op
pickEth1Vote - Eth1Data fastSerialize tree x2048 9.8395 ms/op
bytes32 toHexString 814.00 ns/op
bytes32 Buffer.toString(hex) 356.00 ns/op
bytes32 Buffer.toString(hex) from Uint8Array 507.00 ns/op
bytes32 Buffer.toString(hex) + 0x 354.00 ns/op
Object access 1 prop 0.24300 ns/op
Map access 1 prop 0.16200 ns/op
Object get x1000 8.6200 ns/op
Map get x1000 0.90200 ns/op
Object set x1000 75.161 ns/op
Map set x1000 57.256 ns/op
Return object 10000 times 0.30240 ns/op
Throw Error 10000 times 4.5655 us/op
fastMsgIdFn sha256 / 200 bytes 3.6980 us/op
fastMsgIdFn h32 xxhash / 200 bytes 371.00 ns/op
fastMsgIdFn h64 xxhash / 200 bytes 412.00 ns/op
fastMsgIdFn sha256 / 1000 bytes 12.133 us/op
fastMsgIdFn h32 xxhash / 1000 bytes 516.00 ns/op
fastMsgIdFn h64 xxhash / 1000 bytes 523.00 ns/op
fastMsgIdFn sha256 / 10000 bytes 115.28 us/op
fastMsgIdFn h32 xxhash / 10000 bytes 2.2340 us/op
fastMsgIdFn h64 xxhash / 10000 bytes 1.5300 us/op
send data - 1000 256B messages 24.969 ms/op
send data - 1000 512B messages 29.549 ms/op
send data - 1000 1024B messages 46.187 ms/op
send data - 1000 1200B messages 41.418 ms/op
send data - 1000 2048B messages 52.989 ms/op
send data - 1000 4096B messages 48.978 ms/op
send data - 1000 16384B messages 130.61 ms/op
send data - 1000 65536B messages 649.33 ms/op
enrSubnets - fastDeserialize 64 bits 2.7010 us/op
enrSubnets - ssz BitVector 64 bits 694.00 ns/op
enrSubnets - fastDeserialize 4 bits 320.00 ns/op
enrSubnets - ssz BitVector 4 bits 619.00 ns/op
prioritizePeers score -10:0 att 32-0.1 sync 2-0 140.20 us/op
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 178.46 us/op
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 227.54 us/op
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 382.78 us/op
prioritizePeers score 0:0 att 64-1 sync 4-1 474.02 us/op
array of 16000 items push then shift 2.1186 us/op
LinkedList of 16000 items push then shift 11.740 ns/op
array of 16000 items push then pop 133.01 ns/op
LinkedList of 16000 items push then pop 11.374 ns/op
array of 24000 items push then shift 2.9457 us/op
LinkedList of 24000 items push then shift 13.028 ns/op
array of 24000 items push then pop 199.21 ns/op
LinkedList of 24000 items push then pop 10.610 ns/op
intersect bitArray bitLen 8 7.7130 ns/op
intersect array and set length 8 114.92 ns/op
intersect bitArray bitLen 128 41.619 ns/op
intersect array and set length 128 1.2383 us/op
bitArray.getTrueBitIndexes() bitLen 128 1.7140 us/op
bitArray.getTrueBitIndexes() bitLen 248 3.2220 us/op
bitArray.getTrueBitIndexes() bitLen 512 6.1200 us/op
Buffer.concat 32 items 1.0830 us/op
Uint8Array.set 32 items 2.1110 us/op
Set add up to 64 items then delete first 5.4523 us/op
OrderedSet add up to 64 items then delete first 7.4616 us/op
Set add up to 64 items then delete last 5.7958 us/op
OrderedSet add up to 64 items then delete last 7.4744 us/op
Set add up to 64 items then delete middle 5.4931 us/op
OrderedSet add up to 64 items then delete middle 8.9266 us/op
Set add up to 128 items then delete first 11.415 us/op
OrderedSet add up to 128 items then delete first 15.699 us/op
Set add up to 128 items then delete last 11.502 us/op
OrderedSet add up to 128 items then delete last 16.003 us/op
Set add up to 128 items then delete middle 12.004 us/op
OrderedSet add up to 128 items then delete middle 21.788 us/op
Set add up to 256 items then delete first 22.909 us/op
OrderedSet add up to 256 items then delete first 28.869 us/op
Set add up to 256 items then delete last 22.016 us/op
OrderedSet add up to 256 items then delete last 29.900 us/op
Set add up to 256 items then delete middle 22.428 us/op
OrderedSet add up to 256 items then delete middle 53.667 us/op
transfer serialized Status (84 B) 2.4060 us/op
copy serialized Status (84 B) 1.9330 us/op
transfer serialized SignedVoluntaryExit (112 B) 2.3850 us/op
copy serialized SignedVoluntaryExit (112 B) 1.9310 us/op
transfer serialized ProposerSlashing (416 B) 3.5070 us/op
copy serialized ProposerSlashing (416 B) 3.2840 us/op
transfer serialized Attestation (485 B) 3.3890 us/op
copy serialized Attestation (485 B) 3.4460 us/op
transfer serialized AttesterSlashing (33232 B) 3.5940 us/op
copy serialized AttesterSlashing (33232 B) 9.3700 us/op
transfer serialized Small SignedBeaconBlock (128000 B) 3.8620 us/op
copy serialized Small SignedBeaconBlock (128000 B) 20.181 us/op
transfer serialized Avg SignedBeaconBlock (200000 B) 3.7390 us/op
copy serialized Avg SignedBeaconBlock (200000 B) 60.817 us/op
transfer serialized BlobsSidecar (524380 B) 4.9250 us/op
copy serialized BlobsSidecar (524380 B) 122.96 us/op
transfer serialized Big SignedBeaconBlock (1000000 B) 3.7510 us/op
copy serialized Big SignedBeaconBlock (1000000 B) 173.33 us/op
pass gossip attestations to forkchoice per slot 5.2445 ms/op
forkChoice updateHead vc 100000 bc 64 eq 0 782.04 us/op
forkChoice updateHead vc 600000 bc 64 eq 0 5.6956 ms/op
forkChoice updateHead vc 1000000 bc 64 eq 0 7.6436 ms/op
forkChoice updateHead vc 600000 bc 320 eq 0 4.9250 ms/op
forkChoice updateHead vc 600000 bc 1200 eq 0 4.9268 ms/op
forkChoice updateHead vc 600000 bc 7200 eq 0 6.6829 ms/op
forkChoice updateHead vc 600000 bc 64 eq 1000 12.314 ms/op
forkChoice updateHead vc 600000 bc 64 eq 10000 14.268 ms/op
forkChoice updateHead vc 600000 bc 64 eq 300000 31.592 ms/op
computeDeltas 500000 validators 300 proto nodes 8.2392 ms/op
computeDeltas 500000 validators 1200 proto nodes 7.8864 ms/op
computeDeltas 500000 validators 7200 proto nodes 7.8338 ms/op
computeDeltas 750000 validators 300 proto nodes 11.577 ms/op
computeDeltas 750000 validators 1200 proto nodes 11.913 ms/op
computeDeltas 750000 validators 7200 proto nodes 10.868 ms/op
computeDeltas 1400000 validators 300 proto nodes 21.650 ms/op
computeDeltas 1400000 validators 1200 proto nodes 20.145 ms/op
computeDeltas 1400000 validators 7200 proto nodes 20.587 ms/op
computeDeltas 2100000 validators 300 proto nodes 31.450 ms/op
computeDeltas 2100000 validators 1200 proto nodes 31.323 ms/op
computeDeltas 2100000 validators 7200 proto nodes 32.738 ms/op
computeProposerBoostScoreFromBalances 500000 validators 4.4556 ms/op
computeProposerBoostScoreFromBalances 750000 validators 4.3012 ms/op
computeProposerBoostScoreFromBalances 1400000 validators 4.6993 ms/op
computeProposerBoostScoreFromBalances 2100000 validators 5.0618 ms/op
altair processAttestation - 250000 vs - 7PWei normalcase 5.0471 ms/op
altair processAttestation - 250000 vs - 7PWei worstcase 6.6922 ms/op
altair processAttestation - setStatus - 1/6 committees join 212.50 us/op
altair processAttestation - setStatus - 1/3 committees join 373.58 us/op
altair processAttestation - setStatus - 1/2 committees join 468.74 us/op
altair processAttestation - setStatus - 2/3 committees join 608.42 us/op
altair processAttestation - setStatus - 4/5 committees join 835.68 us/op
altair processAttestation - setStatus - 100% committees join 1.0733 ms/op
altair processBlock - 250000 vs - 7PWei normalcase 13.572 ms/op
altair processBlock - 250000 vs - 7PWei normalcase hashState 54.956 ms/op
altair processBlock - 250000 vs - 7PWei worstcase 56.547 ms/op
altair processBlock - 250000 vs - 7PWei worstcase hashState 148.83 ms/op
phase0 processBlock - 250000 vs - 7PWei normalcase 4.9257 ms/op
phase0 processBlock - 250000 vs - 7PWei worstcase 47.197 ms/op
altair processEth1Data - 250000 vs - 7PWei normalcase 933.06 us/op
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 17.660 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 97.097 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 27.395 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 26.458 us/op
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 336.81 us/op
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 3.4058 ms/op
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.9932 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 3.0699 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 6.8449 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.9906 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 9.1594 ms/op
Tree 40 250000 create 903.23 ms/op
Tree 40 250000 get(125000) 253.13 ns/op
Tree 40 250000 set(125000) 4.0307 us/op
Tree 40 250000 toArray() 36.545 ms/op
Tree 40 250000 iterate all - toArray() + loop 50.409 ms/op
Tree 40 250000 iterate all - get(i) 123.84 ms/op
MutableVector 250000 create 24.954 ms/op
MutableVector 250000 get(125000) 7.9200 ns/op
MutableVector 250000 set(125000) 1.1801 us/op
MutableVector 250000 toArray() 8.8229 ms/op
MutableVector 250000 iterate all - toArray() + loop 9.0257 ms/op
MutableVector 250000 iterate all - get(i) 1.8465 ms/op
Array 250000 create 5.6976 ms/op
Array 250000 clone - spread 7.8433 ms/op
Array 250000 get(125000) 3.5170 ns/op
Array 250000 set(125000) 7.0280 ns/op
Array 250000 iterate all - loop 208.74 us/op
effectiveBalanceIncrements clone Uint8Array 300000 153.64 us/op
effectiveBalanceIncrements clone MutableVector 300000 2.2160 us/op
effectiveBalanceIncrements rw all Uint8Array 300000 264.57 us/op
effectiveBalanceIncrements rw all MutableVector 300000 327.94 ms/op
phase0 afterProcessEpoch - 250000 vs - 7PWei 136.54 ms/op
phase0 beforeProcessEpoch - 250000 vs - 7PWei 85.371 ms/op
altair processEpoch - mainnet_e81889 745.81 ms/op
mainnet_e81889 - altair beforeProcessEpoch 132.72 ms/op
mainnet_e81889 - altair processJustificationAndFinalization 38.171 us/op
mainnet_e81889 - altair processInactivityUpdates 10.388 ms/op
mainnet_e81889 - altair processRewardsAndPenalties 87.644 ms/op
mainnet_e81889 - altair processRegistryUpdates 6.2390 us/op
mainnet_e81889 - altair processSlashings 1.0600 us/op
mainnet_e81889 - altair processEth1DataReset 1.1570 us/op
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.7241 ms/op
mainnet_e81889 - altair processSlashingsReset 8.0090 us/op
mainnet_e81889 - altair processRandaoMixesReset 8.6740 us/op
mainnet_e81889 - altair processHistoricalRootsUpdate 1.6190 us/op
mainnet_e81889 - altair processParticipationFlagUpdates 4.9830 us/op
mainnet_e81889 - altair processSyncCommitteeUpdates 1.3480 us/op
mainnet_e81889 - altair afterProcessEpoch 146.06 ms/op
capella processEpoch - mainnet_e217614 3.1118 s/op
mainnet_e217614 - capella beforeProcessEpoch 739.08 ms/op
mainnet_e217614 - capella processJustificationAndFinalization 27.646 us/op
mainnet_e217614 - capella processInactivityUpdates 33.633 ms/op
mainnet_e217614 - capella processRewardsAndPenalties 555.79 ms/op
mainnet_e217614 - capella processRegistryUpdates 29.420 us/op
mainnet_e217614 - capella processSlashings 1.0290 us/op
mainnet_e217614 - capella processEth1DataReset 972.00 ns/op
mainnet_e217614 - capella processEffectiveBalanceUpdates 8.2315 ms/op
mainnet_e217614 - capella processSlashingsReset 7.5740 us/op
mainnet_e217614 - capella processRandaoMixesReset 8.7530 us/op
mainnet_e217614 - capella processHistoricalRootsUpdate 975.00 ns/op
mainnet_e217614 - capella processParticipationFlagUpdates 4.0510 us/op
mainnet_e217614 - capella afterProcessEpoch 437.48 ms/op
phase0 processEpoch - mainnet_e58758 820.18 ms/op
mainnet_e58758 - phase0 beforeProcessEpoch 267.78 ms/op
mainnet_e58758 - phase0 processJustificationAndFinalization 38.538 us/op
mainnet_e58758 - phase0 processRewardsAndPenalties 105.62 ms/op
mainnet_e58758 - phase0 processRegistryUpdates 27.412 us/op
mainnet_e58758 - phase0 processSlashings 1.7360 us/op
mainnet_e58758 - phase0 processEth1DataReset 1.4090 us/op
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.2971 ms/op
mainnet_e58758 - phase0 processSlashingsReset 8.4250 us/op
mainnet_e58758 - phase0 processRandaoMixesReset 10.456 us/op
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.3260 us/op
mainnet_e58758 - phase0 processParticipationRecordUpdates 10.820 us/op
mainnet_e58758 - phase0 afterProcessEpoch 117.56 ms/op
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.8790 ms/op
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.6915 ms/op
altair processInactivityUpdates - 250000 normalcase 39.192 ms/op
altair processInactivityUpdates - 250000 worstcase 38.132 ms/op
phase0 processRegistryUpdates - 250000 normalcase 13.994 us/op
phase0 processRegistryUpdates - 250000 badcase_full_deposits 423.46 us/op
phase0 processRegistryUpdates - 250000 worstcase 0.5 158.65 ms/op
altair processRewardsAndPenalties - 250000 normalcase 69.507 ms/op
altair processRewardsAndPenalties - 250000 worstcase 68.757 ms/op
phase0 getAttestationDeltas - 250000 normalcase 10.210 ms/op
phase0 getAttestationDeltas - 250000 worstcase 9.3543 ms/op
phase0 processSlashings - 250000 worstcase 126.44 us/op
altair processSyncCommitteeUpdates - 250000 203.91 ms/op
BeaconState.hashTreeRoot - No change 294.00 ns/op
BeaconState.hashTreeRoot - 1 full validator 170.13 us/op
BeaconState.hashTreeRoot - 32 full validator 1.5555 ms/op
BeaconState.hashTreeRoot - 512 full validator 16.708 ms/op
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 183.45 us/op
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.1321 ms/op
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 38.373 ms/op
BeaconState.hashTreeRoot - 1 balances 186.59 us/op
BeaconState.hashTreeRoot - 32 balances 1.4141 ms/op
BeaconState.hashTreeRoot - 512 balances 15.033 ms/op
BeaconState.hashTreeRoot - 250000 balances 223.01 ms/op
aggregationBits - 2048 els - zipIndexesInBitList 26.864 us/op
byteArrayEquals 32 85.543 ns/op
Buffer.compare 32 63.901 ns/op
byteArrayEquals 1024 2.3188 us/op
Buffer.compare 1024 81.268 ns/op
byteArrayEquals 16384 36.753 us/op
Buffer.compare 16384 286.83 ns/op
byteArrayEquals 123687377 258.50 ms/op
Buffer.compare 123687377 8.7792 ms/op
byteArrayEquals 32 - diff last byte 77.582 ns/op
Buffer.compare 32 - diff last byte 59.912 ns/op
byteArrayEquals 1024 - diff last byte 2.1347 us/op
Buffer.compare 1024 - diff last byte 76.284 ns/op
byteArrayEquals 16384 - diff last byte 36.189 us/op
Buffer.compare 16384 - diff last byte 290.28 ns/op
byteArrayEquals 123687377 - diff last byte 266.05 ms/op
Buffer.compare 123687377 - diff last byte 9.1432 ms/op
byteArrayEquals 32 - random bytes 6.9120 ns/op
Buffer.compare 32 - random bytes 68.960 ns/op
byteArrayEquals 1024 - random bytes 7.2540 ns/op
Buffer.compare 1024 - random bytes 69.457 ns/op
byteArrayEquals 16384 - random bytes 7.1220 ns/op
Buffer.compare 16384 - random bytes 67.221 ns/op
byteArrayEquals 123687377 - random bytes 12.020 ns/op
Buffer.compare 123687377 - random bytes 78.210 ns/op
regular array get 100000 times 48.611 us/op
wrappedArray get 100000 times 49.476 us/op
arrayWithProxy get 100000 times 15.109 ms/op
ssz.Root.equals 58.428 ns/op
byteArrayEquals 57.826 ns/op
Buffer.compare 13.335 ns/op
shuffle list - 16384 els 8.3893 ms/op
shuffle list - 250000 els 113.15 ms/op
processSlot - 1 slots 27.397 us/op
processSlot - 32 slots 4.1048 ms/op
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 66.770 ms/op
getCommitteeAssignments - req 1 vs - 250000 vc 2.7392 ms/op
getCommitteeAssignments - req 100 vs - 250000 vc 4.1451 ms/op
getCommitteeAssignments - req 1000 vs - 250000 vc 4.7346 ms/op
findModifiedValidators - 10000 modified validators 625.91 ms/op
findModifiedValidators - 1000 modified validators 591.43 ms/op
findModifiedValidators - 100 modified validators 553.52 ms/op
findModifiedValidators - 10 modified validators 520.82 ms/op
findModifiedValidators - 1 modified validators 531.29 ms/op
findModifiedValidators - no difference 525.72 ms/op
compare ViewDUs 6.3629 s/op
compare each validator Uint8Array 2.4620 s/op
compare ViewDU to Uint8Array 1.5224 s/op
migrate state 1000000 validators, 24 modified, 0 new 1.3695 s/op
migrate state 1000000 validators, 1700 modified, 1000 new 1.9228 s/op
migrate state 1000000 validators, 3400 modified, 2000 new 1.6356 s/op
migrate state 1500000 validators, 24 modified, 0 new 905.45 ms/op
migrate state 1500000 validators, 1700 modified, 1000 new 1.2248 s/op
migrate state 1500000 validators, 3400 modified, 2000 new 1.4390 s/op
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.9700 ns/op
state getBlockRootAtSlot - 250000 vs - 7PWei 782.60 ns/op
computeProposers - vc 250000 10.400 ms/op
computeEpochShuffling - vc 250000 107.81 ms/op
getNextSyncCommittee - vc 250000 164.96 ms/op
computeSigningRoot for AttestationData 25.978 us/op
hash AttestationData serialized data then Buffer.toString(base64) 2.4863 us/op
toHexString serialized data 1.2504 us/op
Buffer.toString(base64) 273.34 ns/op

by benchmarkbot/action

@philknows philknows closed this Jan 10, 2024
@philknows philknows deleted the rc/v1.14.0 branch January 10, 2024 16:54
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.

9 participants