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: update release script to bump packages commit conventionally #6524

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

philknows
Copy link
Member

Motivation

The release script currently creates an additional commit to bump the versioning but the commit itself does not conform to conventional commits.

Description

Allows the script to automatically mark the version bump commit as a chore:

@philknows philknows requested a review from a team as a code owner March 8, 2024 15:52
Copy link

codecov bot commented Mar 8, 2024

Codecov Report

Merging #6524 (a2d1b5b) into unstable (cae26be) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6524   +/-   ##
=========================================
  Coverage     61.53%   61.53%           
=========================================
  Files           556      556           
  Lines         58647    58647           
  Branches       1847     1847           
=========================================
  Hits          36087    36087           
  Misses        22520    22520           
  Partials         40       40           

@philknows philknows merged commit 4857f43 into unstable Mar 8, 2024
18 of 20 checks passed
@philknows philknows deleted the philknows/update-release-script branch March 8, 2024 16:15
Copy link
Member

@nflaig nflaig left a comment

Choose a reason for hiding this comment

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

Ah was just about to comment, I guess it's too late 😅

@@ -110,7 +110,7 @@ shell(`git checkout -b ${rcBranchName} ${commit}`);
shell(`lerna version ${packageVersion} --no-git-tag-version --force-publish --yes`);

// Commit changes
shell(`git commit -am "v${versionMMP}"`);
shell(`git commit -am "chore: v${versionMMP}"`);
Copy link
Member

Choose a reason for hiding this comment

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

Might wanna use a more descriptive commit message in general

Suggested change
shell(`git commit -am "chore: v${versionMMP}"`);
shell(`git commit -am "chore: bump package versions to ${versionMMP}"`);

In the end this is not the commit that is referenced in the release as it will be the merged commit from the PR

Copy link
Contributor

github-actions bot commented Mar 8, 2024

⚠️ 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: fc5faf9 Previous: cae26be Ratio
forkChoice updateHead vc 600000 bc 64 eq 300000 56.582 ms/op 16.052 ms/op 3.53
Full benchmark results
Benchmark suite Current: fc5faf9 Previous: cae26be Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 574.51 us/op 872.87 us/op 0.66
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 134.84 us/op 105.08 us/op 1.28
BLS verify - blst-native 1.4520 ms/op 1.2985 ms/op 1.12
BLS verifyMultipleSignatures 3 - blst-native 3.0153 ms/op 2.7427 ms/op 1.10
BLS verifyMultipleSignatures 8 - blst-native 6.5330 ms/op 6.0248 ms/op 1.08
BLS verifyMultipleSignatures 32 - blst-native 24.723 ms/op 22.151 ms/op 1.12
BLS verifyMultipleSignatures 64 - blst-native 51.459 ms/op 43.605 ms/op 1.18
BLS verifyMultipleSignatures 128 - blst-native 97.633 ms/op 86.640 ms/op 1.13
BLS deserializing 10000 signatures 1.0162 s/op 903.18 ms/op 1.13
BLS deserializing 100000 signatures 10.030 s/op 9.5274 s/op 1.05
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.5102 ms/op 1.3354 ms/op 1.13
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.6179 ms/op 1.5327 ms/op 1.06
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5101 ms/op 3.0421 ms/op 0.83
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.0592 ms/op 3.7916 ms/op 1.07
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.3904 ms/op 7.6011 ms/op 0.84
BLS aggregatePubkeys 32 - blst-native 29.316 us/op 28.590 us/op 1.03
BLS aggregatePubkeys 128 - blst-native 110.42 us/op 106.97 us/op 1.03
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 113.26 ms/op 67.921 ms/op 1.67
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 93.499 ms/op 61.063 ms/op 1.53
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 64.718 ms/op 34.269 ms/op 1.89
getSlashingsAndExits - default max 382.61 us/op 202.46 us/op 1.89
getSlashingsAndExits - 2k 578.45 us/op 1.0821 ms/op 0.53
proposeBlockBody type=full, size=empty 6.4679 ms/op 5.7834 ms/op 1.12
isKnown best case - 1 super set check 620.00 ns/op 549.00 ns/op 1.13
isKnown normal case - 2 super set checks 675.00 ns/op 445.00 ns/op 1.52
isKnown worse case - 16 super set checks 640.00 ns/op 480.00 ns/op 1.33
CheckpointStateCache - add get delete 7.5470 us/op 8.8900 us/op 0.85
validate api signedAggregateAndProof - struct 2.9431 ms/op 3.1476 ms/op 0.94
validate gossip signedAggregateAndProof - struct 2.8330 ms/op 2.8660 ms/op 0.99
validate gossip attestation - vc 640000 1.4197 ms/op 1.3866 ms/op 1.02
batch validate gossip attestation - vc 640000 - chunk 32 201.04 us/op 163.56 us/op 1.23
batch validate gossip attestation - vc 640000 - chunk 64 212.93 us/op 141.80 us/op 1.50
batch validate gossip attestation - vc 640000 - chunk 128 208.21 us/op 134.91 us/op 1.54
batch validate gossip attestation - vc 640000 - chunk 256 155.25 us/op 128.64 us/op 1.21
pickEth1Vote - no votes 1.4817 ms/op 1.2527 ms/op 1.18
pickEth1Vote - max votes 19.416 ms/op 9.0505 ms/op 2.15
pickEth1Vote - Eth1Data hashTreeRoot value x2048 26.215 ms/op 16.003 ms/op 1.64
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 47.647 ms/op 24.349 ms/op 1.96
pickEth1Vote - Eth1Data fastSerialize value x2048 778.23 us/op 663.37 us/op 1.17
pickEth1Vote - Eth1Data fastSerialize tree x2048 10.366 ms/op 4.4169 ms/op 2.35
bytes32 toHexString 1.0240 us/op 481.00 ns/op 2.13
bytes32 Buffer.toString(hex) 415.00 ns/op 286.00 ns/op 1.45
bytes32 Buffer.toString(hex) from Uint8Array 633.00 ns/op 420.00 ns/op 1.51
bytes32 Buffer.toString(hex) + 0x 388.00 ns/op 286.00 ns/op 1.36
Object access 1 prop 0.27500 ns/op 0.15900 ns/op 1.73
Map access 1 prop 0.18700 ns/op 0.14300 ns/op 1.31
Object get x1000 9.2380 ns/op 6.8550 ns/op 1.35
Map get x1000 1.1030 ns/op 0.76000 ns/op 1.45
Object set x1000 96.709 ns/op 49.629 ns/op 1.95
Map set x1000 68.498 ns/op 38.803 ns/op 1.77
Return object 10000 times 0.34550 ns/op 0.23460 ns/op 1.47
Throw Error 10000 times 4.5589 us/op 3.8154 us/op 1.19
fastMsgIdFn sha256 / 200 bytes 3.7640 us/op 3.1870 us/op 1.18
fastMsgIdFn h32 xxhash / 200 bytes 429.00 ns/op 275.00 ns/op 1.56
fastMsgIdFn h64 xxhash / 200 bytes 454.00 ns/op 331.00 ns/op 1.37
fastMsgIdFn sha256 / 1000 bytes 13.274 us/op 10.957 us/op 1.21
fastMsgIdFn h32 xxhash / 1000 bytes 539.00 ns/op 397.00 ns/op 1.36
fastMsgIdFn h64 xxhash / 1000 bytes 526.00 ns/op 404.00 ns/op 1.30
fastMsgIdFn sha256 / 10000 bytes 119.27 us/op 99.860 us/op 1.19
fastMsgIdFn h32 xxhash / 10000 bytes 2.3030 us/op 1.8920 us/op 1.22
fastMsgIdFn h64 xxhash / 10000 bytes 1.5620 us/op 1.3080 us/op 1.19
send data - 1000 256B messages 28.920 ms/op 17.930 ms/op 1.61
send data - 1000 512B messages 39.274 ms/op 25.647 ms/op 1.53
send data - 1000 1024B messages 57.943 ms/op 40.055 ms/op 1.45
send data - 1000 1200B messages 55.018 ms/op 37.543 ms/op 1.47
send data - 1000 2048B messages 74.527 ms/op 47.279 ms/op 1.58
send data - 1000 4096B messages 60.795 ms/op 42.378 ms/op 1.43
send data - 1000 16384B messages 162.26 ms/op 114.90 ms/op 1.41
send data - 1000 65536B messages 764.74 ms/op 453.34 ms/op 1.69
enrSubnets - fastDeserialize 64 bits 2.0480 us/op 1.2140 us/op 1.69
enrSubnets - ssz BitVector 64 bits 695.00 ns/op 418.00 ns/op 1.66
enrSubnets - fastDeserialize 4 bits 275.00 ns/op 163.00 ns/op 1.69
enrSubnets - ssz BitVector 4 bits 617.00 ns/op 413.00 ns/op 1.49
prioritizePeers score -10:0 att 32-0.1 sync 2-0 133.17 us/op 102.60 us/op 1.30
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 169.97 us/op 123.89 us/op 1.37
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 239.07 us/op 155.95 us/op 1.53
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 380.08 us/op 283.67 us/op 1.34
prioritizePeers score 0:0 att 64-1 sync 4-1 416.44 us/op 341.66 us/op 1.22
array of 16000 items push then shift 1.9178 us/op 1.5799 us/op 1.21
LinkedList of 16000 items push then shift 12.352 ns/op 8.8580 ns/op 1.39
array of 16000 items push then pop 146.16 ns/op 57.105 ns/op 2.56
LinkedList of 16000 items push then pop 14.206 ns/op 8.6090 ns/op 1.65
array of 24000 items push then shift 2.7437 us/op 2.3991 us/op 1.14
LinkedList of 24000 items push then shift 13.642 ns/op 8.7500 ns/op 1.56
array of 24000 items push then pop 208.07 ns/op 119.45 ns/op 1.74
LinkedList of 24000 items push then pop 12.005 ns/op 8.6410 ns/op 1.39
intersect bitArray bitLen 8 8.5570 ns/op 5.9390 ns/op 1.44
intersect array and set length 8 115.63 ns/op 63.251 ns/op 1.83
intersect bitArray bitLen 128 43.349 ns/op 35.396 ns/op 1.22
intersect array and set length 128 1.2206 us/op 848.83 ns/op 1.44
bitArray.getTrueBitIndexes() bitLen 128 2.1750 us/op 1.3960 us/op 1.56
bitArray.getTrueBitIndexes() bitLen 248 3.4320 us/op 2.5990 us/op 1.32
bitArray.getTrueBitIndexes() bitLen 512 7.1420 us/op 5.1310 us/op 1.39
Buffer.concat 32 items 1.3550 us/op 1.0080 us/op 1.34
Uint8Array.set 32 items 3.1480 us/op 1.8500 us/op 1.70
Set add up to 64 items then delete first 5.6187 us/op 4.3885 us/op 1.28
OrderedSet add up to 64 items then delete first 7.6043 us/op 5.5593 us/op 1.37
Set add up to 64 items then delete last 6.0362 us/op 4.7751 us/op 1.26
OrderedSet add up to 64 items then delete last 7.9880 us/op 5.8093 us/op 1.38
Set add up to 64 items then delete middle 5.9316 us/op 4.6252 us/op 1.28
OrderedSet add up to 64 items then delete middle 9.4071 us/op 7.0239 us/op 1.34
Set add up to 128 items then delete first 11.961 us/op 9.2877 us/op 1.29
OrderedSet add up to 128 items then delete first 17.404 us/op 12.609 us/op 1.38
Set add up to 128 items then delete last 11.882 us/op 8.9729 us/op 1.32
OrderedSet add up to 128 items then delete last 17.689 us/op 11.372 us/op 1.56
Set add up to 128 items then delete middle 12.039 us/op 9.0455 us/op 1.33
OrderedSet add up to 128 items then delete middle 23.158 us/op 16.873 us/op 1.37
Set add up to 256 items then delete first 24.641 us/op 19.167 us/op 1.29
OrderedSet add up to 256 items then delete first 34.225 us/op 26.035 us/op 1.31
Set add up to 256 items then delete last 22.420 us/op 17.966 us/op 1.25
OrderedSet add up to 256 items then delete last 29.818 us/op 23.282 us/op 1.28
Set add up to 256 items then delete middle 22.126 us/op 18.104 us/op 1.22
OrderedSet add up to 256 items then delete middle 52.911 us/op 48.064 us/op 1.10
transfer serialized Status (84 B) 2.2320 us/op 1.6500 us/op 1.35
copy serialized Status (84 B) 1.6390 us/op 1.2270 us/op 1.34
transfer serialized SignedVoluntaryExit (112 B) 2.3430 us/op 1.8260 us/op 1.28
copy serialized SignedVoluntaryExit (112 B) 2.0590 us/op 1.3140 us/op 1.57
transfer serialized ProposerSlashing (416 B) 4.1680 us/op 1.9850 us/op 2.10
copy serialized ProposerSlashing (416 B) 3.0210 us/op 2.2870 us/op 1.32
transfer serialized Attestation (485 B) 3.8940 us/op 2.8440 us/op 1.37
copy serialized Attestation (485 B) 2.8880 us/op 3.0410 us/op 0.95
transfer serialized AttesterSlashing (33232 B) 3.3790 us/op 3.1210 us/op 1.08
copy serialized AttesterSlashing (33232 B) 13.005 us/op 6.2980 us/op 2.06
transfer serialized Small SignedBeaconBlock (128000 B) 5.3020 us/op 3.3500 us/op 1.58
copy serialized Small SignedBeaconBlock (128000 B) 43.456 us/op 25.957 us/op 1.67
transfer serialized Avg SignedBeaconBlock (200000 B) 4.8720 us/op 3.5050 us/op 1.39
copy serialized Avg SignedBeaconBlock (200000 B) 54.938 us/op 22.860 us/op 2.40
transfer serialized BlobsSidecar (524380 B) 5.1730 us/op 3.2860 us/op 1.57
copy serialized BlobsSidecar (524380 B) 151.16 us/op 142.42 us/op 1.06
transfer serialized Big SignedBeaconBlock (1000000 B) 5.7520 us/op 3.5350 us/op 1.63
copy serialized Big SignedBeaconBlock (1000000 B) 287.00 us/op 244.08 us/op 1.18
pass gossip attestations to forkchoice per slot 5.0140 ms/op 3.7169 ms/op 1.35
forkChoice updateHead vc 100000 bc 64 eq 0 741.81 us/op 804.70 us/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 0 5.0872 ms/op 4.2754 ms/op 1.19
forkChoice updateHead vc 1000000 bc 64 eq 0 9.3829 ms/op 6.9537 ms/op 1.35
forkChoice updateHead vc 600000 bc 320 eq 0 6.2177 ms/op 4.2003 ms/op 1.48
forkChoice updateHead vc 600000 bc 1200 eq 0 6.2955 ms/op 4.4940 ms/op 1.40
forkChoice updateHead vc 600000 bc 7200 eq 0 7.0190 ms/op 5.4286 ms/op 1.29
forkChoice updateHead vc 600000 bc 64 eq 1000 13.846 ms/op 10.870 ms/op 1.27
forkChoice updateHead vc 600000 bc 64 eq 10000 14.078 ms/op 11.881 ms/op 1.18
forkChoice updateHead vc 600000 bc 64 eq 300000 56.582 ms/op 16.052 ms/op 3.53
computeDeltas 500000 validators 300 proto nodes 7.9079 ms/op 6.9494 ms/op 1.14
computeDeltas 500000 validators 1200 proto nodes 8.0449 ms/op 6.7827 ms/op 1.19
computeDeltas 500000 validators 7200 proto nodes 8.5196 ms/op 6.8486 ms/op 1.24
computeDeltas 750000 validators 300 proto nodes 10.991 ms/op 10.191 ms/op 1.08
computeDeltas 750000 validators 1200 proto nodes 10.588 ms/op 10.318 ms/op 1.03
computeDeltas 750000 validators 7200 proto nodes 10.531 ms/op 10.207 ms/op 1.03
computeDeltas 1400000 validators 300 proto nodes 19.912 ms/op 19.212 ms/op 1.04
computeDeltas 1400000 validators 1200 proto nodes 20.897 ms/op 19.115 ms/op 1.09
computeDeltas 1400000 validators 7200 proto nodes 21.144 ms/op 19.524 ms/op 1.08
computeDeltas 2100000 validators 300 proto nodes 29.788 ms/op 28.433 ms/op 1.05
computeDeltas 2100000 validators 1200 proto nodes 28.846 ms/op 28.487 ms/op 1.01
computeDeltas 2100000 validators 7200 proto nodes 29.312 ms/op 27.906 ms/op 1.05
altair processAttestation - 250000 vs - 7PWei normalcase 3.6645 ms/op 3.6152 ms/op 1.01
altair processAttestation - 250000 vs - 7PWei worstcase 4.4918 ms/op 4.9090 ms/op 0.92
altair processAttestation - setStatus - 1/6 committees join 188.44 us/op 221.84 us/op 0.85
altair processAttestation - setStatus - 1/3 committees join 366.83 us/op 445.78 us/op 0.82
altair processAttestation - setStatus - 1/2 committees join 451.88 us/op 659.61 us/op 0.69
altair processAttestation - setStatus - 2/3 committees join 578.15 us/op 725.76 us/op 0.80
altair processAttestation - setStatus - 4/5 committees join 811.96 us/op 1.0850 ms/op 0.75
altair processAttestation - setStatus - 100% committees join 855.51 us/op 1.2231 ms/op 0.70
altair processBlock - 250000 vs - 7PWei normalcase 12.055 ms/op 8.7121 ms/op 1.38
altair processBlock - 250000 vs - 7PWei normalcase hashState 38.010 ms/op 37.988 ms/op 1.00
altair processBlock - 250000 vs - 7PWei worstcase 47.480 ms/op 47.083 ms/op 1.01
altair processBlock - 250000 vs - 7PWei worstcase hashState 106.78 ms/op 101.84 ms/op 1.05
phase0 processBlock - 250000 vs - 7PWei normalcase 3.4248 ms/op 3.6020 ms/op 0.95
phase0 processBlock - 250000 vs - 7PWei worstcase 33.507 ms/op 34.011 ms/op 0.99
altair processEth1Data - 250000 vs - 7PWei normalcase 815.47 us/op 648.42 us/op 1.26
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 17.521 us/op 16.433 us/op 1.07
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 96.157 us/op 76.624 us/op 1.25
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 33.602 us/op 20.857 us/op 1.61
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.445 us/op 20.219 us/op 0.71
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 259.91 us/op 221.82 us/op 1.17
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.8179 ms/op 1.5620 ms/op 1.16
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8443 ms/op 2.0154 ms/op 0.92
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.2964 ms/op 2.2580 ms/op 1.02
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.5293 ms/op 3.7752 ms/op 1.20
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.8727 ms/op 3.0075 ms/op 0.96
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 7.1846 ms/op 5.3780 ms/op 1.34
Tree 40 250000 create 487.39 ms/op 470.96 ms/op 1.03
Tree 40 250000 get(125000) 216.79 ns/op 211.69 ns/op 1.02
Tree 40 250000 set(125000) 1.4244 us/op 1.1440 us/op 1.25
Tree 40 250000 toArray() 22.709 ms/op 23.931 ms/op 0.95
Tree 40 250000 iterate all - toArray() + loop 23.952 ms/op 24.075 ms/op 0.99
Tree 40 250000 iterate all - get(i) 76.095 ms/op 77.169 ms/op 0.99
MutableVector 250000 create 18.143 ms/op 16.697 ms/op 1.09
MutableVector 250000 get(125000) 6.8740 ns/op 6.7160 ns/op 1.02
MutableVector 250000 set(125000) 324.48 ns/op 311.53 ns/op 1.04
MutableVector 250000 toArray() 4.5968 ms/op 3.1524 ms/op 1.46
MutableVector 250000 iterate all - toArray() + loop 4.8132 ms/op 3.4024 ms/op 1.41
MutableVector 250000 iterate all - get(i) 1.7123 ms/op 1.5654 ms/op 1.09
Array 250000 create 4.1395 ms/op 2.9971 ms/op 1.38
Array 250000 clone - spread 1.4584 ms/op 1.4663 ms/op 0.99
Array 250000 get(125000) 1.5250 ns/op 1.2110 ns/op 1.26
Array 250000 set(125000) 4.6960 ns/op 4.5320 ns/op 1.04
Array 250000 iterate all - loop 172.78 us/op 168.85 us/op 1.02
effectiveBalanceIncrements clone Uint8Array 300000 49.065 us/op 45.093 us/op 1.09
effectiveBalanceIncrements clone MutableVector 300000 361.00 ns/op 437.00 ns/op 0.83
effectiveBalanceIncrements rw all Uint8Array 300000 206.63 us/op 202.69 us/op 1.02
effectiveBalanceIncrements rw all MutableVector 300000 101.51 ms/op 94.412 ms/op 1.08
phase0 afterProcessEpoch - 250000 vs - 7PWei 121.02 ms/op 115.85 ms/op 1.04
phase0 beforeProcessEpoch - 250000 vs - 7PWei 51.813 ms/op 41.654 ms/op 1.24
altair processEpoch - mainnet_e81889 705.34 ms/op 535.26 ms/op 1.32
mainnet_e81889 - altair beforeProcessEpoch 136.87 ms/op 85.629 ms/op 1.60
mainnet_e81889 - altair processJustificationAndFinalization 34.210 us/op 27.474 us/op 1.25
mainnet_e81889 - altair processInactivityUpdates 11.958 ms/op 6.4009 ms/op 1.87
mainnet_e81889 - altair processRewardsAndPenalties 64.984 ms/op 69.679 ms/op 0.93
mainnet_e81889 - altair processRegistryUpdates 6.5610 us/op 2.7620 us/op 2.38
mainnet_e81889 - altair processSlashings 1.1480 us/op 718.00 ns/op 1.60
mainnet_e81889 - altair processEth1DataReset 1.5400 us/op 852.00 ns/op 1.81
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.4162 ms/op 2.6561 ms/op 0.91
mainnet_e81889 - altair processSlashingsReset 8.6620 us/op 4.3970 us/op 1.97
mainnet_e81889 - altair processRandaoMixesReset 10.436 us/op 6.8030 us/op 1.53
mainnet_e81889 - altair processHistoricalRootsUpdate 1.6330 us/op 1.1500 us/op 1.42
mainnet_e81889 - altair processParticipationFlagUpdates 3.9920 us/op 2.1630 us/op 1.85
mainnet_e81889 - altair processSyncCommitteeUpdates 1.4910 us/op 1.1510 us/op 1.30
mainnet_e81889 - altair afterProcessEpoch 129.40 ms/op 123.91 ms/op 1.04
capella processEpoch - mainnet_e217614 2.0808 s/op 2.1879 s/op 0.95
mainnet_e217614 - capella beforeProcessEpoch 525.09 ms/op 554.04 ms/op 0.95
mainnet_e217614 - capella processJustificationAndFinalization 18.170 us/op 20.631 us/op 0.88
mainnet_e217614 - capella processInactivityUpdates 21.727 ms/op 20.145 ms/op 1.08
mainnet_e217614 - capella processRewardsAndPenalties 486.21 ms/op 403.73 ms/op 1.20
mainnet_e217614 - capella processRegistryUpdates 28.823 us/op 40.843 us/op 0.71
mainnet_e217614 - capella processSlashings 632.00 ns/op 1.0770 us/op 0.59
mainnet_e217614 - capella processEth1DataReset 805.00 ns/op 836.00 ns/op 0.96
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.3698 ms/op 10.888 ms/op 0.40
mainnet_e217614 - capella processSlashingsReset 5.0100 us/op 4.3750 us/op 1.15
mainnet_e217614 - capella processRandaoMixesReset 5.8240 us/op 7.8210 us/op 0.74
mainnet_e217614 - capella processHistoricalRootsUpdate 736.00 ns/op 726.00 ns/op 1.01
mainnet_e217614 - capella processParticipationFlagUpdates 2.0790 us/op 2.9870 us/op 0.70
mainnet_e217614 - capella afterProcessEpoch 318.23 ms/op 315.34 ms/op 1.01
phase0 processEpoch - mainnet_e58758 510.17 ms/op 595.68 ms/op 0.86
mainnet_e58758 - phase0 beforeProcessEpoch 148.57 ms/op 192.11 ms/op 0.77
mainnet_e58758 - phase0 processJustificationAndFinalization 25.264 us/op 26.099 us/op 0.97
mainnet_e58758 - phase0 processRewardsAndPenalties 59.987 ms/op 59.971 ms/op 1.00
mainnet_e58758 - phase0 processRegistryUpdates 17.579 us/op 18.135 us/op 0.97
mainnet_e58758 - phase0 processSlashings 1.0640 us/op 844.00 ns/op 1.26
mainnet_e58758 - phase0 processEth1DataReset 745.00 ns/op 625.00 ns/op 1.19
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.2665 ms/op 2.1424 ms/op 1.06
mainnet_e58758 - phase0 processSlashingsReset 4.1190 us/op 4.4440 us/op 0.93
mainnet_e58758 - phase0 processRandaoMixesReset 8.6140 us/op 5.8200 us/op 1.48
mainnet_e58758 - phase0 processHistoricalRootsUpdate 842.00 ns/op 678.00 ns/op 1.24
mainnet_e58758 - phase0 processParticipationRecordUpdates 6.6490 us/op 5.7710 us/op 1.15
mainnet_e58758 - phase0 afterProcessEpoch 105.25 ms/op 105.42 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4316 ms/op 1.6423 ms/op 0.87
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.2073 ms/op 1.5094 ms/op 1.46
altair processInactivityUpdates - 250000 normalcase 34.383 ms/op 31.340 ms/op 1.10
altair processInactivityUpdates - 250000 worstcase 30.658 ms/op 33.571 ms/op 0.91
phase0 processRegistryUpdates - 250000 normalcase 16.394 us/op 16.009 us/op 1.02
phase0 processRegistryUpdates - 250000 badcase_full_deposits 641.99 us/op 468.49 us/op 1.37
phase0 processRegistryUpdates - 250000 worstcase 0.5 168.16 ms/op 179.33 ms/op 0.94
altair processRewardsAndPenalties - 250000 normalcase 75.318 ms/op 52.523 ms/op 1.43
altair processRewardsAndPenalties - 250000 worstcase 71.367 ms/op 66.929 ms/op 1.07
phase0 getAttestationDeltas - 250000 normalcase 11.969 ms/op 11.117 ms/op 1.08
phase0 getAttestationDeltas - 250000 worstcase 11.016 ms/op 11.901 ms/op 0.93
phase0 processSlashings - 250000 worstcase 161.75 us/op 169.56 us/op 0.95
altair processSyncCommitteeUpdates - 250000 182.21 ms/op 174.00 ms/op 1.05
BeaconState.hashTreeRoot - No change 810.00 ns/op 617.00 ns/op 1.31
BeaconState.hashTreeRoot - 1 full validator 159.89 us/op 153.32 us/op 1.04
BeaconState.hashTreeRoot - 32 full validator 2.0307 ms/op 1.6869 ms/op 1.20
BeaconState.hashTreeRoot - 512 full validator 22.681 ms/op 15.858 ms/op 1.43
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 244.37 us/op 175.09 us/op 1.40
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.1598 ms/op 2.4096 ms/op 1.31
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 41.280 ms/op 32.891 ms/op 1.26
BeaconState.hashTreeRoot - 1 balances 176.12 us/op 142.40 us/op 1.24
BeaconState.hashTreeRoot - 32 balances 1.6018 ms/op 1.3603 ms/op 1.18
BeaconState.hashTreeRoot - 512 balances 16.463 ms/op 14.248 ms/op 1.16
BeaconState.hashTreeRoot - 250000 balances 276.13 ms/op 235.65 ms/op 1.17
aggregationBits - 2048 els - zipIndexesInBitList 53.100 us/op 74.245 us/op 0.72
byteArrayEquals 32 87.875 ns/op 76.036 ns/op 1.16
Buffer.compare 32 104.12 ns/op 55.388 ns/op 1.88
byteArrayEquals 1024 2.3687 us/op 2.0712 us/op 1.14
Buffer.compare 1024 78.742 ns/op 72.473 ns/op 1.09
byteArrayEquals 16384 38.017 us/op 33.169 us/op 1.15
Buffer.compare 16384 324.42 ns/op 273.90 ns/op 1.18
byteArrayEquals 123687377 276.89 ms/op 256.50 ms/op 1.08
Buffer.compare 123687377 7.5150 ms/op 7.7967 ms/op 0.96
byteArrayEquals 32 - diff last byte 76.961 ns/op 74.538 ns/op 1.03
Buffer.compare 32 - diff last byte 58.363 ns/op 57.946 ns/op 1.01
byteArrayEquals 1024 - diff last byte 2.0800 us/op 2.0676 us/op 1.01
Buffer.compare 1024 - diff last byte 73.655 ns/op 73.595 ns/op 1.00
byteArrayEquals 16384 - diff last byte 33.252 us/op 32.891 us/op 1.01
Buffer.compare 16384 - diff last byte 280.26 ns/op 275.74 ns/op 1.02
byteArrayEquals 123687377 - diff last byte 249.42 ms/op 247.71 ms/op 1.01
Buffer.compare 123687377 - diff last byte 7.8752 ms/op 7.5059 ms/op 1.05
byteArrayEquals 32 - random bytes 5.3990 ns/op 5.7730 ns/op 0.94
Buffer.compare 32 - random bytes 62.171 ns/op 63.027 ns/op 0.99
byteArrayEquals 1024 - random bytes 5.9340 ns/op 5.6130 ns/op 1.06
Buffer.compare 1024 - random bytes 63.826 ns/op 65.038 ns/op 0.98
byteArrayEquals 16384 - random bytes 6.1920 ns/op 5.5370 ns/op 1.12
Buffer.compare 16384 - random bytes 65.017 ns/op 62.394 ns/op 1.04
byteArrayEquals 123687377 - random bytes 9.3800 ns/op 8.8500 ns/op 1.06
Buffer.compare 123687377 - random bytes 69.520 ns/op 70.900 ns/op 0.98
regular array get 100000 times 47.011 us/op 46.523 us/op 1.01
wrappedArray get 100000 times 46.529 us/op 46.794 us/op 0.99
arrayWithProxy get 100000 times 14.791 ms/op 15.702 ms/op 0.94
ssz.Root.equals 58.137 ns/op 55.493 ns/op 1.05
byteArrayEquals 55.014 ns/op 54.322 ns/op 1.01
Buffer.compare 11.466 ns/op 11.991 ns/op 0.96
shuffle list - 16384 els 8.8460 ms/op 8.7131 ms/op 1.02
shuffle list - 250000 els 129.45 ms/op 128.06 ms/op 1.01
processSlot - 1 slots 15.509 us/op 17.999 us/op 0.86
processSlot - 32 slots 2.9706 ms/op 3.3857 ms/op 0.88
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 59.218 ms/op 62.116 ms/op 0.95
getCommitteeAssignments - req 1 vs - 250000 vc 2.7292 ms/op 2.7230 ms/op 1.00
getCommitteeAssignments - req 100 vs - 250000 vc 3.9244 ms/op 3.9411 ms/op 1.00
getCommitteeAssignments - req 1000 vs - 250000 vc 4.2334 ms/op 4.2980 ms/op 0.98
findModifiedValidators - 10000 modified validators 546.85 ms/op 539.19 ms/op 1.01
findModifiedValidators - 1000 modified validators 466.78 ms/op 440.87 ms/op 1.06
findModifiedValidators - 100 modified validators 423.63 ms/op 417.58 ms/op 1.01
findModifiedValidators - 10 modified validators 474.13 ms/op 435.50 ms/op 1.09
findModifiedValidators - 1 modified validators 492.01 ms/op 409.34 ms/op 1.20
findModifiedValidators - no difference 518.03 ms/op 400.07 ms/op 1.29
compare ViewDUs 5.5755 s/op 4.9477 s/op 1.13
compare each validator Uint8Array 2.0835 s/op 1.8725 s/op 1.11
compare ViewDU to Uint8Array 1.5595 s/op 1.1097 s/op 1.41
migrate state 1000000 validators, 24 modified, 0 new 1.1770 s/op 808.72 ms/op 1.46
migrate state 1000000 validators, 1700 modified, 1000 new 1.4686 s/op 1.0909 s/op 1.35
migrate state 1000000 validators, 3400 modified, 2000 new 1.7253 s/op 1.3499 s/op 1.28
migrate state 1500000 validators, 24 modified, 0 new 1.0072 s/op 807.25 ms/op 1.25
migrate state 1500000 validators, 1700 modified, 1000 new 1.2488 s/op 1.1809 s/op 1.06
migrate state 1500000 validators, 3400 modified, 2000 new 1.6452 s/op 1.4008 s/op 1.17
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.0800 ns/op 4.4100 ns/op 1.15
state getBlockRootAtSlot - 250000 vs - 7PWei 1.2252 us/op 878.96 ns/op 1.39
computeProposers - vc 250000 12.059 ms/op 9.5050 ms/op 1.27
computeEpochShuffling - vc 250000 141.14 ms/op 121.76 ms/op 1.16
getNextSyncCommittee - vc 250000 190.73 ms/op 159.92 ms/op 1.19
computeSigningRoot for AttestationData 37.922 us/op 25.229 us/op 1.50
hash AttestationData serialized data then Buffer.toString(base64) 2.6098 us/op 2.3180 us/op 1.13
toHexString serialized data 1.7673 us/op 1.0993 us/op 1.61
Buffer.toString(base64) 288.76 ns/op 232.76 ns/op 1.24

by benchmarkbot/action

@wemeetagain
Copy link
Member

🎉 This PR is included in v1.18.0 🎉

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.

4 participants