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.25.0 release #7351

Draft
wants to merge 12 commits into
base: stable
Choose a base branch
from
Draft

chore: v1.25.0 release #7351

wants to merge 12 commits into from

Conversation

philknows
Copy link
Member

Motivation

Releasing new version 1.25.0

dependabot bot and others added 12 commits December 20, 2024 20:00
Bumps [systeminformation](https://github.com/sebhildebrandt/systeminformation) from 5.22.9 to 5.23.8.
- [Changelog](https://github.com/sebhildebrandt/systeminformation/blob/master/CHANGELOG.md)
- [Commits](sebhildebrandt/systeminformation@v5.22.9...v5.23.8)

---
updated-dependencies:
- dependency-name: systeminformation
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: use stable firefox release in browser tests

* Update browser version for driver

---------

Co-authored-by: Nazar Hussain <[email protected]>
…7200)

Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases)
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/v2.0.7/CHANGELOG.md)
- [Commits](chimurai/http-proxy-middleware@v2.0.6...v2.0.7)

---
updated-dependencies:
- dependency-name: http-proxy-middleware
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore: fix beacon proposer cache unit tests

* Assign values to named constants
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* refactor: use `SubnetID` type from CL spec instead of `number`

* Consistently use SubnetID for sync committee
* refactor: update snappy frame decompress

* chore: fix lint errors

* chore: separate code paths for ChunkTypes
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 65.30612% with 34 lines in your changes missing coverage. Please review.

Project coverage is 48.76%. Comparing base (ca315d4) to head (e30fd40).

Additional details and impacted files
@@           Coverage Diff           @@
##           stable    #7351   +/-   ##
=======================================
  Coverage   48.76%   48.76%           
=======================================
  Files         601      601           
  Lines       40222    40243   +21     
  Branches     2061     2067    +6     
=======================================
+ Hits        19614    19626   +12     
- Misses      20570    20579    +9     
  Partials       38       38           

Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4e0ae2a Previous: - Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.6727 ms/op
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 51.892 us/op
BLS verify - blst 821.00 us/op
BLS verifyMultipleSignatures 3 - blst 1.1546 ms/op
BLS verifyMultipleSignatures 8 - blst 1.5975 ms/op
BLS verifyMultipleSignatures 32 - blst 4.7320 ms/op
BLS verifyMultipleSignatures 64 - blst 8.9376 ms/op
BLS verifyMultipleSignatures 128 - blst 16.980 ms/op
BLS deserializing 10000 signatures 677.83 ms/op
BLS deserializing 100000 signatures 6.8145 s/op
BLS verifyMultipleSignatures - same message - 3 - blst 912.36 us/op
BLS verifyMultipleSignatures - same message - 8 - blst 1.0429 ms/op
BLS verifyMultipleSignatures - same message - 32 - blst 1.6927 ms/op
BLS verifyMultipleSignatures - same message - 64 - blst 2.5644 ms/op
BLS verifyMultipleSignatures - same message - 128 - blst 4.3207 ms/op
BLS aggregatePubkeys 32 - blst 19.699 us/op
BLS aggregatePubkeys 128 - blst 70.040 us/op
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 56.475 ms/op
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 58.051 ms/op
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 43.096 ms/op
getSlashingsAndExits - default max 110.72 us/op
getSlashingsAndExits - 2k 419.63 us/op
proposeBlockBody type=full, size=empty 6.6436 ms/op
isKnown best case - 1 super set check 329.00 ns/op
isKnown normal case - 2 super set checks 329.00 ns/op
isKnown worse case - 16 super set checks 296.00 ns/op
InMemoryCheckpointStateCache - add get delete 3.1240 us/op
validate api signedAggregateAndProof - struct 1.3470 ms/op
validate gossip signedAggregateAndProof - struct 1.5478 ms/op
batch validate gossip attestation - vc 640000 - chunk 32 124.72 us/op
batch validate gossip attestation - vc 640000 - chunk 64 110.79 us/op
batch validate gossip attestation - vc 640000 - chunk 128 107.72 us/op
batch validate gossip attestation - vc 640000 - chunk 256 107.12 us/op
pickEth1Vote - no votes 1.0390 ms/op
pickEth1Vote - max votes 6.7972 ms/op
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.942 ms/op
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 18.996 ms/op
pickEth1Vote - Eth1Data fastSerialize value x2048 503.14 us/op
pickEth1Vote - Eth1Data fastSerialize tree x2048 2.6393 ms/op
bytes32 toHexString 458.00 ns/op
bytes32 Buffer.toString(hex) 242.00 ns/op
bytes32 Buffer.toString(hex) from Uint8Array 350.00 ns/op
bytes32 Buffer.toString(hex) + 0x 244.00 ns/op
Object access 1 prop 0.13300 ns/op
Map access 1 prop 0.13000 ns/op
Object get x1000 5.7470 ns/op
Map get x1000 6.4580 ns/op
Object set x1000 33.812 ns/op
Map set x1000 23.461 ns/op
Return object 10000 times 0.29880 ns/op
Throw Error 10000 times 3.4435 us/op
toHex 162.74 ns/op
Buffer.from 130.90 ns/op
shared Buffer 90.240 ns/op
fastMsgIdFn sha256 / 200 bytes 2.9120 us/op
fastMsgIdFn h32 xxhash / 200 bytes 243.00 ns/op
fastMsgIdFn h64 xxhash / 200 bytes 281.00 ns/op
fastMsgIdFn sha256 / 1000 bytes 9.9250 us/op
fastMsgIdFn h32 xxhash / 1000 bytes 404.00 ns/op
fastMsgIdFn h64 xxhash / 1000 bytes 343.00 ns/op
fastMsgIdFn sha256 / 10000 bytes 88.658 us/op
fastMsgIdFn h32 xxhash / 10000 bytes 1.9100 us/op
fastMsgIdFn h64 xxhash / 10000 bytes 1.2320 us/op
send data - 1000 256B messages 12.562 ms/op
send data - 1000 512B messages 16.265 ms/op
send data - 1000 1024B messages 27.389 ms/op
send data - 1000 1200B messages 26.327 ms/op
send data - 1000 2048B messages 39.656 ms/op
send data - 1000 4096B messages 32.421 ms/op
send data - 1000 16384B messages 80.631 ms/op
send data - 1000 65536B messages 231.24 ms/op
enrSubnets - fastDeserialize 64 bits 1.4290 us/op
enrSubnets - ssz BitVector 64 bits 467.00 ns/op
enrSubnets - fastDeserialize 4 bits 205.00 ns/op
enrSubnets - ssz BitVector 4 bits 429.00 ns/op
prioritizePeers score -10:0 att 32-0.1 sync 2-0 182.42 us/op
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 184.12 us/op
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 255.63 us/op
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 442.22 us/op
prioritizePeers score 0:0 att 64-1 sync 4-1 542.64 us/op
array of 16000 items push then shift 1.7076 us/op
LinkedList of 16000 items push then shift 7.5030 ns/op
array of 16000 items push then pop 122.61 ns/op
LinkedList of 16000 items push then pop 7.3990 ns/op
array of 24000 items push then shift 2.4768 us/op
LinkedList of 24000 items push then shift 8.4460 ns/op
array of 24000 items push then pop 184.92 ns/op
LinkedList of 24000 items push then pop 7.3560 ns/op
intersect bitArray bitLen 8 6.6920 ns/op
intersect array and set length 8 46.413 ns/op
intersect bitArray bitLen 128 30.582 ns/op
intersect array and set length 128 707.63 ns/op
bitArray.getTrueBitIndexes() bitLen 128 1.6020 us/op
bitArray.getTrueBitIndexes() bitLen 248 2.7250 us/op
bitArray.getTrueBitIndexes() bitLen 512 5.5730 us/op
Buffer.concat 32 items 822.00 ns/op
Uint8Array.set 32 items 1.6420 us/op
Buffer.copy 2.7740 us/op
Uint8Array.set - with subarray 2.7410 us/op
Uint8Array.set - without subarray 1.5690 us/op
getUint32 - dataview 248.00 ns/op
getUint32 - manual 198.00 ns/op
Set add up to 64 items then delete first 2.5392 us/op
OrderedSet add up to 64 items then delete first 3.8468 us/op
Set add up to 64 items then delete last 2.9069 us/op
OrderedSet add up to 64 items then delete last 4.2320 us/op
Set add up to 64 items then delete middle 3.2125 us/op
OrderedSet add up to 64 items then delete middle 6.3292 us/op
Set add up to 128 items then delete first 6.2300 us/op
OrderedSet add up to 128 items then delete first 10.888 us/op
Set add up to 128 items then delete last 6.2408 us/op
OrderedSet add up to 128 items then delete last 8.6910 us/op
Set add up to 128 items then delete middle 6.3177 us/op
OrderedSet add up to 128 items then delete middle 16.258 us/op
Set add up to 256 items then delete first 13.394 us/op
OrderedSet add up to 256 items then delete first 20.868 us/op
Set add up to 256 items then delete last 11.960 us/op
OrderedSet add up to 256 items then delete last 17.976 us/op
Set add up to 256 items then delete middle 12.762 us/op
OrderedSet add up to 256 items then delete middle 47.434 us/op
transfer serialized Status (84 B) 2.8980 us/op
copy serialized Status (84 B) 1.4740 us/op
transfer serialized SignedVoluntaryExit (112 B) 3.0240 us/op
copy serialized SignedVoluntaryExit (112 B) 1.5750 us/op
transfer serialized ProposerSlashing (416 B) 3.2390 us/op
copy serialized ProposerSlashing (416 B) 1.9440 us/op
transfer serialized Attestation (485 B) 3.2460 us/op
copy serialized Attestation (485 B) 2.0200 us/op
transfer serialized AttesterSlashing (33232 B) 3.1180 us/op
copy serialized AttesterSlashing (33232 B) 6.7310 us/op
transfer serialized Small SignedBeaconBlock (128000 B) 3.2140 us/op
copy serialized Small SignedBeaconBlock (128000 B) 22.684 us/op
transfer serialized Avg SignedBeaconBlock (200000 B) 4.1120 us/op
copy serialized Avg SignedBeaconBlock (200000 B) 33.496 us/op
transfer serialized BlobsSidecar (524380 B) 4.7090 us/op
copy serialized BlobsSidecar (524380 B) 102.03 us/op
transfer serialized Big SignedBeaconBlock (1000000 B) 5.6360 us/op
copy serialized Big SignedBeaconBlock (1000000 B) 186.04 us/op
pass gossip attestations to forkchoice per slot 2.8287 ms/op
forkChoice updateHead vc 100000 bc 64 eq 0 458.92 us/op
forkChoice updateHead vc 600000 bc 64 eq 0 3.5383 ms/op
forkChoice updateHead vc 1000000 bc 64 eq 0 7.7442 ms/op
forkChoice updateHead vc 600000 bc 320 eq 0 3.9388 ms/op
forkChoice updateHead vc 600000 bc 1200 eq 0 4.5287 ms/op
forkChoice updateHead vc 600000 bc 7200 eq 0 3.9716 ms/op
forkChoice updateHead vc 600000 bc 64 eq 1000 10.748 ms/op
forkChoice updateHead vc 600000 bc 64 eq 10000 10.324 ms/op
forkChoice updateHead vc 600000 bc 64 eq 300000 22.589 ms/op
computeDeltas 500000 validators 300 proto nodes 4.3463 ms/op
computeDeltas 500000 validators 1200 proto nodes 4.3085 ms/op
computeDeltas 500000 validators 7200 proto nodes 4.1166 ms/op
computeDeltas 750000 validators 300 proto nodes 6.2035 ms/op
computeDeltas 750000 validators 1200 proto nodes 6.2169 ms/op
computeDeltas 750000 validators 7200 proto nodes 6.1847 ms/op
computeDeltas 1400000 validators 300 proto nodes 11.711 ms/op
computeDeltas 1400000 validators 1200 proto nodes 11.549 ms/op
computeDeltas 1400000 validators 7200 proto nodes 12.300 ms/op
computeDeltas 2100000 validators 300 proto nodes 17.999 ms/op
computeDeltas 2100000 validators 1200 proto nodes 18.261 ms/op
computeDeltas 2100000 validators 7200 proto nodes 17.981 ms/op
altair processAttestation - 250000 vs - 7PWei normalcase 2.6322 ms/op
altair processAttestation - 250000 vs - 7PWei worstcase 3.7754 ms/op
altair processAttestation - setStatus - 1/6 committees join 134.07 us/op
altair processAttestation - setStatus - 1/3 committees join 233.01 us/op
altair processAttestation - setStatus - 1/2 committees join 350.84 us/op
altair processAttestation - setStatus - 2/3 committees join 459.78 us/op
altair processAttestation - setStatus - 4/5 committees join 665.02 us/op
altair processAttestation - setStatus - 100% committees join 748.01 us/op
altair processBlock - 250000 vs - 7PWei normalcase 6.7403 ms/op
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.375 ms/op
altair processBlock - 250000 vs - 7PWei worstcase 38.380 ms/op
altair processBlock - 250000 vs - 7PWei worstcase hashState 75.187 ms/op
phase0 processBlock - 250000 vs - 7PWei normalcase 2.2630 ms/op
phase0 processBlock - 250000 vs - 7PWei worstcase 24.995 ms/op
altair processEth1Data - 250000 vs - 7PWei normalcase 440.95 us/op
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 9.6890 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 66.773 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 23.604 us/op
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 12.472 us/op
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 222.48 us/op
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3646 ms/op
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.6670 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6158 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.7482 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.9178 ms/op
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.4847 ms/op
Tree 40 250000 create 243.73 ms/op
Tree 40 250000 get(125000) 160.00 ns/op
Tree 40 250000 set(125000) 831.69 ns/op
Tree 40 250000 toArray() 23.282 ms/op
Tree 40 250000 iterate all - toArray() + loop 22.250 ms/op
Tree 40 250000 iterate all - get(i) 59.261 ms/op
Array 250000 create 4.7691 ms/op
Array 250000 clone - spread 1.4774 ms/op
Array 250000 get(125000) 0.45500 ns/op
Array 250000 set(125000) 0.49600 ns/op
Array 250000 iterate all - loop 111.83 us/op
phase0 afterProcessEpoch - 250000 vs - 7PWei 55.836 ms/op
Array.fill - length 1000000 3.6432 ms/op
Array push - length 1000000 18.704 ms/op
Array.get 0.28936 ns/op
Uint8Array.get 0.45576 ns/op
phase0 beforeProcessEpoch - 250000 vs - 7PWei 20.736 ms/op
altair processEpoch - mainnet_e81889 260.32 ms/op
mainnet_e81889 - altair beforeProcessEpoch 19.759 ms/op
mainnet_e81889 - altair processJustificationAndFinalization 29.559 us/op
mainnet_e81889 - altair processInactivityUpdates 7.8555 ms/op
mainnet_e81889 - altair processRewardsAndPenalties 45.194 ms/op
mainnet_e81889 - altair processRegistryUpdates 4.0090 us/op
mainnet_e81889 - altair processSlashings 925.00 ns/op
mainnet_e81889 - altair processEth1DataReset 708.00 ns/op
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.5617 ms/op
mainnet_e81889 - altair processSlashingsReset 5.5050 us/op
mainnet_e81889 - altair processRandaoMixesReset 5.5070 us/op
mainnet_e81889 - altair processHistoricalRootsUpdate 932.00 ns/op
mainnet_e81889 - altair processParticipationFlagUpdates 2.8190 us/op
mainnet_e81889 - altair processSyncCommitteeUpdates 656.00 ns/op
mainnet_e81889 - altair afterProcessEpoch 55.331 ms/op
capella processEpoch - mainnet_e217614 1.0836 s/op
mainnet_e217614 - capella beforeProcessEpoch 69.589 ms/op
mainnet_e217614 - capella processJustificationAndFinalization 16.247 us/op
mainnet_e217614 - capella processInactivityUpdates 16.880 ms/op
mainnet_e217614 - capella processRewardsAndPenalties 211.82 ms/op
mainnet_e217614 - capella processRegistryUpdates 15.335 us/op
mainnet_e217614 - capella processSlashings 797.00 ns/op
mainnet_e217614 - capella processEth1DataReset 402.00 ns/op
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.5106 ms/op
mainnet_e217614 - capella processSlashingsReset 4.1630 us/op
mainnet_e217614 - capella processRandaoMixesReset 5.4670 us/op
mainnet_e217614 - capella processHistoricalRootsUpdate 605.00 ns/op
mainnet_e217614 - capella processParticipationFlagUpdates 1.9980 us/op
mainnet_e217614 - capella afterProcessEpoch 126.38 ms/op
phase0 processEpoch - mainnet_e58758 368.91 ms/op
mainnet_e58758 - phase0 beforeProcessEpoch 89.190 ms/op
mainnet_e58758 - phase0 processJustificationAndFinalization 16.124 us/op
mainnet_e58758 - phase0 processRewardsAndPenalties 29.375 ms/op
mainnet_e58758 - phase0 processRegistryUpdates 8.3200 us/op
mainnet_e58758 - phase0 processSlashings 539.00 ns/op
mainnet_e58758 - phase0 processEth1DataReset 421.00 ns/op
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1543 ms/op
mainnet_e58758 - phase0 processSlashingsReset 4.2650 us/op
mainnet_e58758 - phase0 processRandaoMixesReset 4.6960 us/op
mainnet_e58758 - phase0 processHistoricalRootsUpdate 409.00 ns/op
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.1850 us/op
mainnet_e58758 - phase0 afterProcessEpoch 43.514 ms/op
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3331 ms/op
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.8515 ms/op
altair processInactivityUpdates - 250000 normalcase 16.549 ms/op
altair processInactivityUpdates - 250000 worstcase 15.991 ms/op
phase0 processRegistryUpdates - 250000 normalcase 9.1580 us/op
phase0 processRegistryUpdates - 250000 badcase_full_deposits 308.20 us/op
phase0 processRegistryUpdates - 250000 worstcase 0.5 124.45 ms/op
altair processRewardsAndPenalties - 250000 normalcase 38.423 ms/op
altair processRewardsAndPenalties - 250000 worstcase 34.363 ms/op
phase0 getAttestationDeltas - 250000 normalcase 6.8159 ms/op
phase0 getAttestationDeltas - 250000 worstcase 7.0792 ms/op
phase0 processSlashings - 250000 worstcase 94.573 us/op
altair processSyncCommitteeUpdates - 250000 150.25 ms/op
BeaconState.hashTreeRoot - No change 258.00 ns/op
BeaconState.hashTreeRoot - 1 full validator 108.36 us/op
BeaconState.hashTreeRoot - 32 full validator 1.3858 ms/op
BeaconState.hashTreeRoot - 512 full validator 11.863 ms/op
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 112.10 us/op
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 4.6693 ms/op
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 42.518 ms/op
BeaconState.hashTreeRoot - 1 balances 160.58 us/op
BeaconState.hashTreeRoot - 32 balances 1.2415 ms/op
BeaconState.hashTreeRoot - 512 balances 9.9202 ms/op
BeaconState.hashTreeRoot - 250000 balances 211.04 ms/op
aggregationBits - 2048 els - zipIndexesInBitList 30.688 us/op
byteArrayEquals 32 54.573 ns/op
Buffer.compare 32 19.071 ns/op
byteArrayEquals 1024 1.6290 us/op
Buffer.compare 1024 28.551 ns/op
byteArrayEquals 16384 25.551 us/op
Buffer.compare 16384 206.47 ns/op
byteArrayEquals 123687377 193.46 ms/op
Buffer.compare 123687377 7.5885 ms/op
byteArrayEquals 32 - diff last byte 53.999 ns/op
Buffer.compare 32 - diff last byte 17.562 ns/op
byteArrayEquals 1024 - diff last byte 1.5773 us/op
Buffer.compare 1024 - diff last byte 26.112 ns/op
byteArrayEquals 16384 - diff last byte 25.273 us/op
Buffer.compare 16384 - diff last byte 191.60 ns/op
byteArrayEquals 123687377 - diff last byte 189.54 ms/op
Buffer.compare 123687377 - diff last byte 6.1556 ms/op
byteArrayEquals 32 - random bytes 5.0870 ns/op
Buffer.compare 32 - random bytes 16.824 ns/op
byteArrayEquals 1024 - random bytes 5.0610 ns/op
Buffer.compare 1024 - random bytes 16.884 ns/op
byteArrayEquals 16384 - random bytes 5.0540 ns/op
Buffer.compare 16384 - random bytes 16.952 ns/op
byteArrayEquals 123687377 - random bytes 6.3800 ns/op
Buffer.compare 123687377 - random bytes 18.070 ns/op
regular array get 100000 times 33.017 us/op
wrappedArray get 100000 times 32.763 us/op
arrayWithProxy get 100000 times 12.577 ms/op
ssz.Root.equals 45.481 ns/op
byteArrayEquals 44.818 ns/op
Buffer.compare 10.228 ns/op
processSlot - 1 slots 13.652 us/op
processSlot - 32 slots 2.7693 ms/op
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 35.124 ms/op
getCommitteeAssignments - req 1 vs - 250000 vc 2.1505 ms/op
getCommitteeAssignments - req 100 vs - 250000 vc 4.1445 ms/op
getCommitteeAssignments - req 1000 vs - 250000 vc 4.5476 ms/op
findModifiedValidators - 10000 modified validators 254.48 ms/op
findModifiedValidators - 1000 modified validators 173.82 ms/op
findModifiedValidators - 100 modified validators 182.31 ms/op
findModifiedValidators - 10 modified validators 174.08 ms/op
findModifiedValidators - 1 modified validators 169.94 ms/op
findModifiedValidators - no difference 183.65 ms/op
compare ViewDUs 3.4903 s/op
compare each validator Uint8Array 1.7164 s/op
compare ViewDU to Uint8Array 1.2015 s/op
migrate state 1000000 validators, 24 modified, 0 new 719.81 ms/op
migrate state 1000000 validators, 1700 modified, 1000 new 944.50 ms/op
migrate state 1000000 validators, 3400 modified, 2000 new 1.1285 s/op
migrate state 1500000 validators, 24 modified, 0 new 685.44 ms/op
migrate state 1500000 validators, 1700 modified, 1000 new 972.83 ms/op
migrate state 1500000 validators, 3400 modified, 2000 new 1.1320 s/op
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.4100 ns/op
state getBlockRootAtSlot - 250000 vs - 7PWei 562.54 ns/op
computeProposers - vc 250000 8.1724 ms/op
computeEpochShuffling - vc 250000 42.765 ms/op
getNextSyncCommittee - vc 250000 139.39 ms/op
computeSigningRoot for AttestationData 22.315 us/op
hash AttestationData serialized data then Buffer.toString(base64) 2.0779 us/op
toHexString serialized data 886.89 ns/op
Buffer.toString(base64) 181.23 ns/op
nodejs block root to RootHex using toHex 150.36 ns/op
nodejs block root to RootHex using toRootHex 91.506 ns/op
browser block root to RootHex using the deprecated toHexString 229.78 ns/op
browser block root to RootHex using toHex 183.82 ns/op
browser block root to RootHex using toRootHex 164.72 ns/op

by benchmarkbot/action

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.

3 participants