Skip to content

Commit

Permalink
docs: update RELEASE.md to include coventional commit titles (#6281)
Browse files Browse the repository at this point in the history
Update RELEASE.md to include coventional commit title
  • Loading branch information
philknows authored Jan 10, 2024
1 parent b95cea1 commit 2f9daba
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ To start a new release, one of the Lodestar developers will communicate this via
- This script may alternatively be run on the checked out `HEAD`:
- `git checkout 9fceb02`
- `yarn release:create-rc 1.1.0`
- Open draft PR from `rc/v1.1.0` to `stable` with title `v1.1.0 release`.
- Open draft PR from `rc/v1.1.0` to `stable` with title `chore: v1.1.0 release`.

#### Manual steps (for example version `v1.1.0`, commit `9fceb02`):

Expand All @@ -42,7 +42,7 @@ To start a new release, one of the Lodestar developers will communicate this via
- Commit changes
- `git commit -am "v1.1.0"`
- `git push origin rc/v1.1.0`
- Open draft PR from `rc/v1.1.0` to `stable` with title `v1.1.0 release`.
- Open draft PR from `rc/v1.1.0` to `stable` with title `chore: v1.1.0 release`.

### 2. Tag release candidate

Expand Down Expand Up @@ -76,13 +76,13 @@ For example: After 3-5 days of testing, is performance equal to or better than l
- **Yes**: Continue to the next release step
- **No**: If it a small issue fixable quickly (hot-fix)?
- **Yes**: Merge fix(es) to `unstable`, push the fix(es) to `rc/v1.1.0` branch, go to step 2, incrementing the rc version
- **No**: abort the release. Close the `v1.1.0 release` PR, delete the branch, and start the whole release process over.
- **No**: abort the release. Close the `chore: v1.1.0 release` PR, delete the branch, and start the whole release process over.

### 4. Merge release candidate

- Ensure step 2 testing is successful and there is sufficient consensus to release `v1.1.0`.
- Approving the `v1.1.0 release` PR means a team member marks the release as safe, after personally reviewing and / or testing it.
- Merge `v1.1.0 release` PR to stable **with "merge commit"** strategy to preserve all history.
- Approving the `chore: v1.1.0 release` PR means a team member marks the release as safe, after personally reviewing and / or testing it.
- Merge `chore: v1.1.0 release` PR to stable **with "merge commit"** strategy to preserve all history.
- Merge stable `stable` into `unstable` **with merge commit** strategy. Due to branch protections in `unstable` must open a PR. If there are conflicts, those must be resolved manually. Gitflow may cause changes that conflict between stable and unstable, for example due to a hotfix that is backported. If that happens, disable branch protections in unstable, merge locally fixing conflicts, run lint + tests, push, and re-enable branch protections.

### 5. Tag stable release
Expand Down Expand Up @@ -130,7 +130,7 @@ A similar process for a stable release is used, with the three differences.
- Switch to the hotfix release branch and cherrypick the inclusion(s) from the `unstable` branch to the hotfix release.
- `git checkout rc/v1.1.1`
- `git cherry-pick {commit}`
- Open draft PR from `rc/v1.1.1` to `stable` with the title `v1.1.1 release`.
- Open draft PR from `rc/v1.1.1` to `stable` with the title `chore: v1.1.1 release`.

#### Manual steps (for example version `v1.1.1`, commit `8eb8dce`):

Expand All @@ -144,7 +144,7 @@ A similar process for a stable release is used, with the three differences.
- Commit changes
- `git commit -am "v1.1.1"`
- `git push origin rc/v1.1.1`
Open draft PR from `rc/v1.1.1` to `stable` with the title `v1.1.1 release`.
Open draft PR from `rc/v1.1.1` to `stable` with the title `chore: v1.1.1 release`.

### 2. Tag release candidate

Expand Down

1 comment on commit 2f9daba

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

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

Benchmark suite Current: 2f9daba Previous: b95cea1 Ratio
Map set x1000 53.305 ns/op 16.825 ns/op 3.17
forkChoice updateHead vc 600000 bc 64 eq 300000 73.899 ms/op 17.484 ms/op 4.23

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 2f9daba Previous: b95cea1 Ratio
BeaconState.hashTreeRoot - No change 262.00 ns/op 788.00 ns/op 0.33
Full benchmark results
Benchmark suite Current: 2f9daba Previous: b95cea1 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.0833 ms/op 602.93 us/op 1.80
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 150.56 us/op 54.658 us/op 2.75
BLS verify - blst-native 1.3555 ms/op 1.1436 ms/op 1.19
BLS verifyMultipleSignatures 3 - blst-native 2.8768 ms/op 2.4502 ms/op 1.17
BLS verifyMultipleSignatures 8 - blst-native 6.5073 ms/op 5.3896 ms/op 1.21
BLS verifyMultipleSignatures 32 - blst-native 22.939 ms/op 19.852 ms/op 1.16
BLS verifyMultipleSignatures 64 - blst-native 45.907 ms/op 38.811 ms/op 1.18
BLS verifyMultipleSignatures 128 - blst-native 94.548 ms/op 76.029 ms/op 1.24
BLS deserializing 10000 signatures 989.18 ms/op 823.86 ms/op 1.20
BLS deserializing 100000 signatures 8.9786 s/op 8.9250 s/op 1.01
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3545 ms/op 1.1395 ms/op 1.19
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5316 ms/op 1.4834 ms/op 1.03
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3576 ms/op 2.7484 ms/op 0.86
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6056 ms/op 4.6309 ms/op 0.78
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.0624 ms/op 7.0997 ms/op 0.85
BLS aggregatePubkeys 32 - blst-native 28.375 us/op 24.766 us/op 1.15
BLS aggregatePubkeys 128 - blst-native 105.59 us/op 92.257 us/op 1.14
getAttestationsForBlock 52.173 ms/op 45.873 ms/op 1.14
getSlashingsAndExits - default max 157.43 us/op 152.13 us/op 1.03
getSlashingsAndExits - 2k 443.68 us/op 355.43 us/op 1.25
proposeBlockBody type=full, size=empty 6.3285 ms/op 4.0116 ms/op 1.58
isKnown best case - 1 super set check 482.00 ns/op 396.00 ns/op 1.22
isKnown normal case - 2 super set checks 524.00 ns/op 405.00 ns/op 1.29
isKnown worse case - 16 super set checks 527.00 ns/op 356.00 ns/op 1.48
CheckpointStateCache - add get delete 5.8590 us/op 3.7840 us/op 1.55
validate api signedAggregateAndProof - struct 2.8255 ms/op 2.3447 ms/op 1.21
validate gossip signedAggregateAndProof - struct 2.8599 ms/op 2.3044 ms/op 1.24
validate gossip attestation - vc 640000 1.3989 ms/op 1.1285 ms/op 1.24
batch validate gossip attestation - vc 640000 - chunk 32 172.55 us/op 138.07 us/op 1.25
batch validate gossip attestation - vc 640000 - chunk 64 151.52 us/op 120.93 us/op 1.25
batch validate gossip attestation - vc 640000 - chunk 128 150.81 us/op 113.15 us/op 1.33
batch validate gossip attestation - vc 640000 - chunk 256 137.01 us/op 110.74 us/op 1.24
pickEth1Vote - no votes 1.3510 ms/op 849.67 us/op 1.59
pickEth1Vote - max votes 15.508 ms/op 6.4465 ms/op 2.41
pickEth1Vote - Eth1Data hashTreeRoot value x2048 26.373 ms/op 11.586 ms/op 2.28
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 33.595 ms/op 19.405 ms/op 1.73
pickEth1Vote - Eth1Data fastSerialize value x2048 678.91 us/op 400.47 us/op 1.70
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.2699 ms/op 3.7250 ms/op 1.41
bytes32 toHexString 649.00 ns/op 441.00 ns/op 1.47
bytes32 Buffer.toString(hex) 322.00 ns/op 312.00 ns/op 1.03
bytes32 Buffer.toString(hex) from Uint8Array 524.00 ns/op 433.00 ns/op 1.21
bytes32 Buffer.toString(hex) + 0x 309.00 ns/op 311.00 ns/op 0.99
Object access 1 prop 0.21500 ns/op 0.19400 ns/op 1.11
Map access 1 prop 0.15500 ns/op 0.18600 ns/op 0.83
Object get x1000 8.2010 ns/op 5.4690 ns/op 1.50
Map get x1000 0.86400 ns/op 0.71300 ns/op 1.21
Object set x1000 69.869 ns/op 24.799 ns/op 2.82
Map set x1000 53.305 ns/op 16.825 ns/op 3.17
Return object 10000 times 0.29180 ns/op 0.22310 ns/op 1.31
Throw Error 10000 times 4.0928 us/op 2.7640 us/op 1.48
fastMsgIdFn sha256 / 200 bytes 3.4630 us/op 1.9580 us/op 1.77
fastMsgIdFn h32 xxhash / 200 bytes 357.00 ns/op 285.00 ns/op 1.25
fastMsgIdFn h64 xxhash / 200 bytes 432.00 ns/op 346.00 ns/op 1.25
fastMsgIdFn sha256 / 1000 bytes 11.981 us/op 6.1490 us/op 1.95
fastMsgIdFn h32 xxhash / 1000 bytes 487.00 ns/op 406.00 ns/op 1.20
fastMsgIdFn h64 xxhash / 1000 bytes 487.00 ns/op 404.00 ns/op 1.21
fastMsgIdFn sha256 / 10000 bytes 104.58 us/op 52.844 us/op 1.98
fastMsgIdFn h32 xxhash / 10000 bytes 2.0340 us/op 1.8210 us/op 1.12
fastMsgIdFn h64 xxhash / 10000 bytes 1.4140 us/op 1.2790 us/op 1.11
send data - 1000 256B messages 21.782 ms/op 11.300 ms/op 1.93
send data - 1000 512B messages 30.072 ms/op 15.287 ms/op 1.97
send data - 1000 1024B messages 44.183 ms/op 22.529 ms/op 1.96
send data - 1000 1200B messages 42.696 ms/op 28.098 ms/op 1.52
send data - 1000 2048B messages 51.015 ms/op 33.995 ms/op 1.50
send data - 1000 4096B messages 48.002 ms/op 32.914 ms/op 1.46
send data - 1000 16384B messages 115.19 ms/op 94.498 ms/op 1.22
send data - 1000 65536B messages 509.71 ms/op 397.91 ms/op 1.28
enrSubnets - fastDeserialize 64 bits 1.7370 us/op 1.0860 us/op 1.60
enrSubnets - ssz BitVector 64 bits 565.00 ns/op 443.00 ns/op 1.28
enrSubnets - fastDeserialize 4 bits 243.00 ns/op 203.00 ns/op 1.20
enrSubnets - ssz BitVector 4 bits 621.00 ns/op 446.00 ns/op 1.39
prioritizePeers score -10:0 att 32-0.1 sync 2-0 137.84 us/op 83.446 us/op 1.65
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 151.23 us/op 100.09 us/op 1.51
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 212.44 us/op 127.66 us/op 1.66
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 374.13 us/op 248.45 us/op 1.51
prioritizePeers score 0:0 att 64-1 sync 4-1 440.87 us/op 231.43 us/op 1.90
array of 16000 items push then shift 1.9117 us/op 1.3183 us/op 1.45
LinkedList of 16000 items push then shift 10.527 ns/op 5.8390 ns/op 1.80
array of 16000 items push then pop 121.63 ns/op 87.563 ns/op 1.39
LinkedList of 16000 items push then pop 9.9270 ns/op 6.0120 ns/op 1.65
array of 24000 items push then shift 2.8080 us/op 1.9543 us/op 1.44
LinkedList of 24000 items push then shift 11.091 ns/op 6.2980 ns/op 1.76
array of 24000 items push then pop 171.82 ns/op 90.516 ns/op 1.90
LinkedList of 24000 items push then pop 10.176 ns/op 5.7450 ns/op 1.77
intersect bitArray bitLen 8 7.4910 ns/op 4.9000 ns/op 1.53
intersect array and set length 8 95.657 ns/op 48.758 ns/op 1.96
intersect bitArray bitLen 128 44.265 ns/op 26.830 ns/op 1.65
intersect array and set length 128 1.1487 us/op 1.0432 us/op 1.10
bitArray.getTrueBitIndexes() bitLen 128 1.9450 us/op 1.9370 us/op 1.00
bitArray.getTrueBitIndexes() bitLen 248 3.2420 us/op 2.3300 us/op 1.39
bitArray.getTrueBitIndexes() bitLen 512 6.8840 us/op 6.8400 us/op 1.01
Buffer.concat 32 items 1.1200 us/op 1.5440 us/op 0.73
Uint8Array.set 32 items 2.2580 us/op 1.9660 us/op 1.15
Set add up to 64 items then delete first 5.2696 us/op 1.9381 us/op 2.72
OrderedSet add up to 64 items then delete first 6.8635 us/op 2.7523 us/op 2.49
Set add up to 64 items then delete last 5.5330 us/op 2.2661 us/op 2.44
OrderedSet add up to 64 items then delete last 7.2127 us/op 3.2356 us/op 2.23
Set add up to 64 items then delete middle 5.5118 us/op 2.3823 us/op 2.31
OrderedSet add up to 64 items then delete middle 8.6534 us/op 4.8791 us/op 1.77
Set add up to 128 items then delete first 10.967 us/op 4.8890 us/op 2.24
OrderedSet add up to 128 items then delete first 15.838 us/op 8.3982 us/op 1.89
Set add up to 128 items then delete last 10.974 us/op 5.0982 us/op 2.15
OrderedSet add up to 128 items then delete last 15.219 us/op 8.5576 us/op 1.78
Set add up to 128 items then delete middle 11.079 us/op 4.9799 us/op 2.22
OrderedSet add up to 128 items then delete middle 20.401 us/op 12.652 us/op 1.61
Set add up to 256 items then delete first 22.838 us/op 10.450 us/op 2.19
OrderedSet add up to 256 items then delete first 31.675 us/op 13.286 us/op 2.38
Set add up to 256 items then delete last 21.741 us/op 7.4346 us/op 2.92
OrderedSet add up to 256 items then delete last 31.432 us/op 11.979 us/op 2.62
Set add up to 256 items then delete middle 21.919 us/op 14.597 us/op 1.50
OrderedSet add up to 256 items then delete middle 57.519 us/op 59.208 us/op 0.97
transfer serialized Status (84 B) 1.9060 us/op 2.6180 us/op 0.73
copy serialized Status (84 B) 1.6420 us/op 2.4590 us/op 0.67
transfer serialized SignedVoluntaryExit (112 B) 2.0770 us/op 1.9080 us/op 1.09
copy serialized SignedVoluntaryExit (112 B) 1.7230 us/op 1.8100 us/op 0.95
transfer serialized ProposerSlashing (416 B) 2.7780 us/op 3.6480 us/op 0.76
copy serialized ProposerSlashing (416 B) 2.5280 us/op 3.7530 us/op 0.67
transfer serialized Attestation (485 B) 2.4600 us/op 3.2840 us/op 0.75
copy serialized Attestation (485 B) 2.4240 us/op 3.7460 us/op 0.65
transfer serialized AttesterSlashing (33232 B) 2.6760 us/op 3.0550 us/op 0.88
copy serialized AttesterSlashing (33232 B) 9.3990 us/op 8.6230 us/op 1.09
transfer serialized Small SignedBeaconBlock (128000 B) 3.3390 us/op 3.1700 us/op 1.05
copy serialized Small SignedBeaconBlock (128000 B) 31.232 us/op 15.353 us/op 2.03
transfer serialized Avg SignedBeaconBlock (200000 B) 3.5540 us/op 2.0970 us/op 1.69
copy serialized Avg SignedBeaconBlock (200000 B) 47.474 us/op 18.397 us/op 2.58
transfer serialized BlobsSidecar (524380 B) 5.1780 us/op 3.7590 us/op 1.38
copy serialized BlobsSidecar (524380 B) 266.21 us/op 94.761 us/op 2.81
transfer serialized Big SignedBeaconBlock (1000000 B) 6.6700 us/op 4.2660 us/op 1.56
copy serialized Big SignedBeaconBlock (1000000 B) 280.14 us/op 160.63 us/op 1.74
pass gossip attestations to forkchoice per slot 4.2726 ms/op 3.4409 ms/op 1.24
forkChoice updateHead vc 100000 bc 64 eq 0 740.28 us/op 519.55 us/op 1.42
forkChoice updateHead vc 600000 bc 64 eq 0 7.6021 ms/op 2.8680 ms/op 2.65
forkChoice updateHead vc 1000000 bc 64 eq 0 8.7033 ms/op 4.8285 ms/op 1.80
forkChoice updateHead vc 600000 bc 320 eq 0 4.8677 ms/op 2.7580 ms/op 1.76
forkChoice updateHead vc 600000 bc 1200 eq 0 7.5091 ms/op 2.8846 ms/op 2.60
forkChoice updateHead vc 600000 bc 7200 eq 0 9.3137 ms/op 3.6939 ms/op 2.52
forkChoice updateHead vc 600000 bc 64 eq 1000 17.658 ms/op 11.148 ms/op 1.58
forkChoice updateHead vc 600000 bc 64 eq 10000 16.323 ms/op 10.290 ms/op 1.59
forkChoice updateHead vc 600000 bc 64 eq 300000 73.899 ms/op 17.484 ms/op 4.23
computeDeltas 500000 validators 300 proto nodes 9.1457 ms/op 4.2391 ms/op 2.16
computeDeltas 500000 validators 1200 proto nodes 7.5427 ms/op 3.9649 ms/op 1.90
computeDeltas 500000 validators 7200 proto nodes 7.0774 ms/op 3.8578 ms/op 1.83
computeDeltas 750000 validators 300 proto nodes 10.396 ms/op 6.0519 ms/op 1.72
computeDeltas 750000 validators 1200 proto nodes 9.9185 ms/op 4.7819 ms/op 2.07
computeDeltas 750000 validators 7200 proto nodes 9.8560 ms/op 4.6625 ms/op 2.11
computeDeltas 1400000 validators 300 proto nodes 19.113 ms/op 9.0085 ms/op 2.12
computeDeltas 1400000 validators 1200 proto nodes 19.010 ms/op 8.8490 ms/op 2.15
computeDeltas 1400000 validators 7200 proto nodes 19.462 ms/op 8.9451 ms/op 2.18
computeDeltas 2100000 validators 300 proto nodes 28.722 ms/op 13.487 ms/op 2.13
computeDeltas 2100000 validators 1200 proto nodes 28.869 ms/op 13.375 ms/op 2.16
computeDeltas 2100000 validators 7200 proto nodes 29.428 ms/op 13.342 ms/op 2.21
computeProposerBoostScoreFromBalances 500000 validators 3.8506 ms/op 3.2430 ms/op 1.19
computeProposerBoostScoreFromBalances 750000 validators 3.8079 ms/op 3.2647 ms/op 1.17
computeProposerBoostScoreFromBalances 1400000 validators 3.7889 ms/op 3.2821 ms/op 1.15
computeProposerBoostScoreFromBalances 2100000 validators 3.7992 ms/op 3.3259 ms/op 1.14
altair processAttestation - 250000 vs - 7PWei normalcase 2.9805 ms/op 1.4447 ms/op 2.06
altair processAttestation - 250000 vs - 7PWei worstcase 3.9941 ms/op 2.3322 ms/op 1.71
altair processAttestation - setStatus - 1/6 committees join 158.71 us/op 75.589 us/op 2.10
altair processAttestation - setStatus - 1/3 committees join 303.56 us/op 150.14 us/op 2.02
altair processAttestation - setStatus - 1/2 committees join 402.66 us/op 215.50 us/op 1.87
altair processAttestation - setStatus - 2/3 committees join 499.24 us/op 278.96 us/op 1.79
altair processAttestation - setStatus - 4/5 committees join 704.01 us/op 394.44 us/op 1.78
altair processAttestation - setStatus - 100% committees join 822.41 us/op 481.49 us/op 1.71
altair processBlock - 250000 vs - 7PWei normalcase 10.742 ms/op 9.0695 ms/op 1.18
altair processBlock - 250000 vs - 7PWei normalcase hashState 39.811 ms/op 31.220 ms/op 1.28
altair processBlock - 250000 vs - 7PWei worstcase 39.838 ms/op 35.762 ms/op 1.11
altair processBlock - 250000 vs - 7PWei worstcase hashState 103.03 ms/op 83.926 ms/op 1.23
phase0 processBlock - 250000 vs - 7PWei normalcase 2.9551 ms/op 2.5690 ms/op 1.15
phase0 processBlock - 250000 vs - 7PWei worstcase 32.638 ms/op 27.229 ms/op 1.20
altair processEth1Data - 250000 vs - 7PWei normalcase 685.89 us/op 445.44 us/op 1.54
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.605 us/op 11.272 us/op 0.94
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 68.177 us/op 61.028 us/op 1.12
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 32.281 us/op 22.605 us/op 1.43
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.242 us/op 12.683 us/op 1.12
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 247.99 us/op 125.66 us/op 1.97
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.5248 ms/op 965.32 us/op 1.58
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.9344 ms/op 1.3103 ms/op 1.48
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.0925 ms/op 1.1040 ms/op 1.90
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.3837 ms/op 3.3035 ms/op 1.33
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.8034 ms/op 1.9468 ms/op 1.44
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 7.9550 ms/op 4.3088 ms/op 1.85
Tree 40 250000 create 550.71 ms/op 280.64 ms/op 1.96
Tree 40 250000 get(125000) 214.08 ns/op 119.21 ns/op 1.80
Tree 40 250000 set(125000) 1.1891 us/op 850.90 ns/op 1.40
Tree 40 250000 toArray() 26.095 ms/op 18.789 ms/op 1.39
Tree 40 250000 iterate all - toArray() + loop 24.865 ms/op 19.409 ms/op 1.28
Tree 40 250000 iterate all - get(i) 78.375 ms/op 44.732 ms/op 1.75
MutableVector 250000 create 21.972 ms/op 12.908 ms/op 1.70
MutableVector 250000 get(125000) 6.8290 ns/op 5.5850 ns/op 1.22
MutableVector 250000 set(125000) 561.85 ns/op 224.04 ns/op 2.51
MutableVector 250000 toArray() 4.6263 ms/op 3.6204 ms/op 1.28
MutableVector 250000 iterate all - toArray() + loop 5.4042 ms/op 3.6573 ms/op 1.48
MutableVector 250000 iterate all - get(i) 1.6312 ms/op 1.3227 ms/op 1.23
Array 250000 create 4.6508 ms/op 2.7575 ms/op 1.69
Array 250000 clone - spread 1.6972 ms/op 1.1072 ms/op 1.53
Array 250000 get(125000) 1.6470 ns/op 1.0410 ns/op 1.58
Array 250000 set(125000) 5.4920 ns/op 1.2470 ns/op 4.40
Array 250000 iterate all - loop 178.37 us/op 155.65 us/op 1.15
effectiveBalanceIncrements clone Uint8Array 300000 58.253 us/op 13.793 us/op 4.22
effectiveBalanceIncrements clone MutableVector 300000 413.00 ns/op 408.00 ns/op 1.01
effectiveBalanceIncrements rw all Uint8Array 300000 244.91 us/op 188.10 us/op 1.30
effectiveBalanceIncrements rw all MutableVector 300000 198.99 ms/op 68.419 ms/op 2.91
phase0 afterProcessEpoch - 250000 vs - 7PWei 135.86 ms/op 77.209 ms/op 1.76
phase0 beforeProcessEpoch - 250000 vs - 7PWei 71.441 ms/op 44.298 ms/op 1.61
altair processEpoch - mainnet_e81889 650.15 ms/op 473.11 ms/op 1.37
mainnet_e81889 - altair beforeProcessEpoch 114.76 ms/op 81.665 ms/op 1.41
mainnet_e81889 - altair processJustificationAndFinalization 31.336 us/op 17.110 us/op 1.83
mainnet_e81889 - altair processInactivityUpdates 10.021 ms/op 5.5630 ms/op 1.80
mainnet_e81889 - altair processRewardsAndPenalties 76.470 ms/op 45.280 ms/op 1.69
mainnet_e81889 - altair processRegistryUpdates 4.6300 us/op 3.3040 us/op 1.40
mainnet_e81889 - altair processSlashings 1.0340 us/op 919.00 ns/op 1.13
mainnet_e81889 - altair processEth1DataReset 1.2110 us/op 1.0820 us/op 1.12
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.3501 ms/op 1.4841 ms/op 1.58
mainnet_e81889 - altair processSlashingsReset 11.381 us/op 5.1270 us/op 2.22
mainnet_e81889 - altair processRandaoMixesReset 7.9240 us/op 7.0570 us/op 1.12
mainnet_e81889 - altair processHistoricalRootsUpdate 1.5490 us/op 1.0260 us/op 1.51
mainnet_e81889 - altair processParticipationFlagUpdates 5.4800 us/op 2.0910 us/op 2.62
mainnet_e81889 - altair processSyncCommitteeUpdates 1.4440 us/op 967.00 ns/op 1.49
mainnet_e81889 - altair afterProcessEpoch 137.50 ms/op 83.982 ms/op 1.64
capella processEpoch - mainnet_e217614 2.4550 s/op 2.1842 s/op 1.12
mainnet_e217614 - capella beforeProcessEpoch 590.37 ms/op 435.55 ms/op 1.36
mainnet_e217614 - capella processJustificationAndFinalization 22.970 us/op 17.545 us/op 1.31
mainnet_e217614 - capella processInactivityUpdates 20.502 ms/op 19.452 ms/op 1.05
mainnet_e217614 - capella processRewardsAndPenalties 458.30 ms/op 359.42 ms/op 1.28
mainnet_e217614 - capella processRegistryUpdates 26.122 us/op 27.170 us/op 0.96
mainnet_e217614 - capella processSlashings 760.00 ns/op 620.00 ns/op 1.23
mainnet_e217614 - capella processEth1DataReset 667.00 ns/op 514.00 ns/op 1.30
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.1554 ms/op 3.6881 ms/op 1.40
mainnet_e217614 - capella processSlashingsReset 7.1820 us/op 3.0690 us/op 2.34
mainnet_e217614 - capella processRandaoMixesReset 7.6170 us/op 4.5770 us/op 1.66
mainnet_e217614 - capella processHistoricalRootsUpdate 728.00 ns/op 737.00 ns/op 0.99
mainnet_e217614 - capella processParticipationFlagUpdates 3.0850 us/op 1.3930 us/op 2.21
mainnet_e217614 - capella afterProcessEpoch 314.78 ms/op 229.95 ms/op 1.37
phase0 processEpoch - mainnet_e58758 501.33 ms/op 475.15 ms/op 1.06
mainnet_e58758 - phase0 beforeProcessEpoch 176.22 ms/op 135.72 ms/op 1.30
mainnet_e58758 - phase0 processJustificationAndFinalization 23.579 us/op 19.420 us/op 1.21
mainnet_e58758 - phase0 processRewardsAndPenalties 55.465 ms/op 51.721 ms/op 1.07
mainnet_e58758 - phase0 processRegistryUpdates 20.762 us/op 12.819 us/op 1.62
mainnet_e58758 - phase0 processSlashings 597.00 ns/op 829.00 ns/op 0.72
mainnet_e58758 - phase0 processEth1DataReset 420.00 ns/op 792.00 ns/op 0.53
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1190 ms/op 911.85 us/op 1.23
mainnet_e58758 - phase0 processSlashingsReset 3.4880 us/op 5.4050 us/op 0.65
mainnet_e58758 - phase0 processRandaoMixesReset 3.9270 us/op 5.6840 us/op 0.69
mainnet_e58758 - phase0 processHistoricalRootsUpdate 438.00 ns/op 851.00 ns/op 0.51
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.1100 us/op 4.5210 us/op 1.13
mainnet_e58758 - phase0 afterProcessEpoch 97.547 ms/op 67.031 ms/op 1.46
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3844 ms/op 1.0516 ms/op 1.32
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.6254 ms/op 1.1656 ms/op 1.39
altair processInactivityUpdates - 250000 normalcase 21.967 ms/op 22.499 ms/op 0.98
altair processInactivityUpdates - 250000 worstcase 27.086 ms/op 26.992 ms/op 1.00
phase0 processRegistryUpdates - 250000 normalcase 9.2040 us/op 11.914 us/op 0.77
phase0 processRegistryUpdates - 250000 badcase_full_deposits 383.11 us/op 367.09 us/op 1.04
phase0 processRegistryUpdates - 250000 worstcase 0.5 128.84 ms/op 119.64 ms/op 1.08
altair processRewardsAndPenalties - 250000 normalcase 56.018 ms/op 55.351 ms/op 1.01
altair processRewardsAndPenalties - 250000 worstcase 56.125 ms/op 51.594 ms/op 1.09
phase0 getAttestationDeltas - 250000 normalcase 9.8234 ms/op 6.5917 ms/op 1.49
phase0 getAttestationDeltas - 250000 worstcase 9.0507 ms/op 6.1709 ms/op 1.47
phase0 processSlashings - 250000 worstcase 101.19 us/op 93.974 us/op 1.08
altair processSyncCommitteeUpdates - 250000 158.76 ms/op 121.59 ms/op 1.31
BeaconState.hashTreeRoot - No change 262.00 ns/op 788.00 ns/op 0.33
BeaconState.hashTreeRoot - 1 full validator 140.51 us/op 141.43 us/op 0.99
BeaconState.hashTreeRoot - 32 full validator 1.7516 ms/op 1.9661 ms/op 0.89
BeaconState.hashTreeRoot - 512 full validator 20.753 ms/op 12.237 ms/op 1.70
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 212.75 us/op 190.83 us/op 1.11
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.3311 ms/op 2.8554 ms/op 0.82
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 29.135 ms/op 33.767 ms/op 0.86
BeaconState.hashTreeRoot - 1 balances 136.04 us/op 159.52 us/op 0.85
BeaconState.hashTreeRoot - 32 balances 1.2310 ms/op 1.4683 ms/op 0.84
BeaconState.hashTreeRoot - 512 balances 14.468 ms/op 14.930 ms/op 0.97
BeaconState.hashTreeRoot - 250000 balances 207.87 ms/op 262.92 ms/op 0.79
aggregationBits - 2048 els - zipIndexesInBitList 21.490 us/op 23.901 us/op 0.90
byteArrayEquals 32 76.494 ns/op 63.336 ns/op 1.21
Buffer.compare 32 56.387 ns/op 37.246 ns/op 1.51
byteArrayEquals 1024 2.1245 us/op 1.6962 us/op 1.25
Buffer.compare 1024 72.459 ns/op 41.003 ns/op 1.77
byteArrayEquals 16384 33.591 us/op 27.271 us/op 1.23
Buffer.compare 16384 281.21 ns/op 186.69 ns/op 1.51
byteArrayEquals 123687377 259.70 ms/op 228.15 ms/op 1.14
Buffer.compare 123687377 9.0816 ms/op 6.5540 ms/op 1.39
byteArrayEquals 32 - diff last byte 86.105 ns/op 71.475 ns/op 1.20
Buffer.compare 32 - diff last byte 59.825 ns/op 43.289 ns/op 1.38
byteArrayEquals 1024 - diff last byte 2.1964 us/op 1.8164 us/op 1.21
Buffer.compare 1024 - diff last byte 74.722 ns/op 48.315 ns/op 1.55
byteArrayEquals 16384 - diff last byte 37.832 us/op 31.399 us/op 1.20
Buffer.compare 16384 - diff last byte 288.07 ns/op 236.09 ns/op 1.22
byteArrayEquals 123687377 - diff last byte 270.75 ms/op 219.92 ms/op 1.23
Buffer.compare 123687377 - diff last byte 8.5491 ms/op 6.5134 ms/op 1.31
byteArrayEquals 32 - random bytes 6.0440 ns/op 5.6050 ns/op 1.08
Buffer.compare 32 - random bytes 62.474 ns/op 39.597 ns/op 1.58
byteArrayEquals 1024 - random bytes 6.0800 ns/op 5.6500 ns/op 1.08
Buffer.compare 1024 - random bytes 61.336 ns/op 38.738 ns/op 1.58
byteArrayEquals 16384 - random bytes 6.0170 ns/op 4.9640 ns/op 1.21
Buffer.compare 16384 - random bytes 61.207 ns/op 38.971 ns/op 1.57
byteArrayEquals 123687377 - random bytes 8.7400 ns/op 8.2600 ns/op 1.06
Buffer.compare 123687377 - random bytes 68.810 ns/op 44.340 ns/op 1.55
regular array get 100000 times 45.820 us/op 42.866 us/op 1.07
wrappedArray get 100000 times 45.590 us/op 43.538 us/op 1.05
arrayWithProxy get 100000 times 14.168 ms/op 10.913 ms/op 1.30
ssz.Root.equals 54.334 ns/op 62.887 ns/op 0.86
byteArrayEquals 58.953 ns/op 60.835 ns/op 0.97
Buffer.compare 11.912 ns/op 11.849 ns/op 1.01
shuffle list - 16384 els 7.2580 ms/op 4.8305 ms/op 1.50
shuffle list - 250000 els 104.12 ms/op 69.112 ms/op 1.51
processSlot - 1 slots 18.557 us/op 12.034 us/op 1.54
processSlot - 32 slots 3.3182 ms/op 2.4996 ms/op 1.33
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 57.075 ms/op 57.173 ms/op 1.00
getCommitteeAssignments - req 1 vs - 250000 vc 2.5255 ms/op 2.4356 ms/op 1.04
getCommitteeAssignments - req 100 vs - 250000 vc 3.7268 ms/op 3.6957 ms/op 1.01
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1089 ms/op 3.8823 ms/op 1.06
findModifiedValidators - 10000 modified validators 539.01 ms/op 447.71 ms/op 1.20
findModifiedValidators - 1000 modified validators 432.53 ms/op 368.30 ms/op 1.17
findModifiedValidators - 100 modified validators 436.82 ms/op 365.35 ms/op 1.20
findModifiedValidators - 10 modified validators 423.54 ms/op 354.55 ms/op 1.19
findModifiedValidators - 1 modified validators 415.54 ms/op 388.75 ms/op 1.07
findModifiedValidators - no difference 409.32 ms/op 312.58 ms/op 1.31
compare ViewDUs 4.6927 s/op 4.3839 s/op 1.07
compare each validator Uint8Array 1.8310 s/op 1.5853 s/op 1.15
compare ViewDU to Uint8Array 1.3664 s/op 1.0593 s/op 1.29
migrate state 1000000 validators, 24 modified, 0 new 767.86 ms/op 734.04 ms/op 1.05
migrate state 1000000 validators, 1700 modified, 1000 new 1.1455 s/op 973.20 ms/op 1.18
migrate state 1000000 validators, 3400 modified, 2000 new 1.3654 s/op 1.2344 s/op 1.11
migrate state 1500000 validators, 24 modified, 0 new 759.97 ms/op 823.21 ms/op 0.92
migrate state 1500000 validators, 1700 modified, 1000 new 1.0894 s/op 1.1618 s/op 0.94
migrate state 1500000 validators, 3400 modified, 2000 new 1.3176 s/op 1.4318 s/op 0.92
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.6800 ns/op 6.0900 ns/op 0.77
state getBlockRootAtSlot - 250000 vs - 7PWei 761.77 ns/op 1.3798 us/op 0.55
computeProposers - vc 250000 10.107 ms/op 6.6423 ms/op 1.52
computeEpochShuffling - vc 250000 102.96 ms/op 72.304 ms/op 1.42
getNextSyncCommittee - vc 250000 159.09 ms/op 146.43 ms/op 1.09
computeSigningRoot for AttestationData 29.131 us/op 23.999 us/op 1.21
hash AttestationData serialized data then Buffer.toString(base64) 2.3337 us/op 1.3946 us/op 1.67
toHexString serialized data 1.1162 us/op 837.48 ns/op 1.33
Buffer.toString(base64) 239.71 ns/op 179.54 ns/op 1.34

Please sign in to comment.