-
-
Notifications
You must be signed in to change notification settings - Fork 312
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
deps: upgrade typescript to 5.4 #6552
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nazarhussain
changed the title
dep: upgrade typescript to 5.4
deps: upgrade typescript to 5.4
Mar 15, 2024
|
Benchmark suite | Current: 967b47f | Previous: 30d347d | Ratio |
---|---|---|---|
getSlashingsAndExits - 2k | 4.5804 ms/op | 647.92 us/op | 7.07 |
Full benchmark results
Benchmark suite | Current: 967b47f | Previous: 30d347d | Ratio |
---|---|---|---|
getPubkeys - index2pubkey - req 1000 vs - 250000 vc | 575.66 us/op | 613.34 us/op | 0.94 |
getPubkeys - validatorsArr - req 1000 vs - 250000 vc | 125.99 us/op | 135.55 us/op | 0.93 |
BLS verify - blst-native | 1.3662 ms/op | 1.4424 ms/op | 0.95 |
BLS verifyMultipleSignatures 3 - blst-native | 2.8757 ms/op | 3.1719 ms/op | 0.91 |
BLS verifyMultipleSignatures 8 - blst-native | 6.3118 ms/op | 6.3607 ms/op | 0.99 |
BLS verifyMultipleSignatures 32 - blst-native | 23.144 ms/op | 23.896 ms/op | 0.97 |
BLS verifyMultipleSignatures 64 - blst-native | 45.749 ms/op | 48.418 ms/op | 0.94 |
BLS verifyMultipleSignatures 128 - blst-native | 90.667 ms/op | 104.92 ms/op | 0.86 |
BLS deserializing 10000 signatures | 927.11 ms/op | 1.0126 s/op | 0.92 |
BLS deserializing 100000 signatures | 9.1867 s/op | 9.6155 s/op | 0.96 |
BLS verifyMultipleSignatures - same message - 3 - blst-native | 1.3563 ms/op | 1.3965 ms/op | 0.97 |
BLS verifyMultipleSignatures - same message - 8 - blst-native | 1.5124 ms/op | 1.6346 ms/op | 0.93 |
BLS verifyMultipleSignatures - same message - 32 - blst-native | 2.3679 ms/op | 2.4605 ms/op | 0.96 |
BLS verifyMultipleSignatures - same message - 64 - blst-native | 3.5056 ms/op | 3.6875 ms/op | 0.95 |
BLS verifyMultipleSignatures - same message - 128 - blst-native | 5.7448 ms/op | 5.9505 ms/op | 0.97 |
BLS aggregatePubkeys 32 - blst-native | 25.982 us/op | 27.117 us/op | 0.96 |
BLS aggregatePubkeys 128 - blst-native | 100.67 us/op | 105.74 us/op | 0.95 |
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 | 64.582 ms/op | 79.504 ms/op | 0.81 |
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 | 59.920 ms/op | 65.196 ms/op | 0.92 |
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 | 44.573 ms/op | 53.384 ms/op | 0.83 |
getSlashingsAndExits - default max | 178.72 us/op | 342.71 us/op | 0.52 |
getSlashingsAndExits - 2k | 4.5804 ms/op | 647.92 us/op | 7.07 |
proposeBlockBody type=full, size=empty | 5.8202 ms/op | 6.7986 ms/op | 0.86 |
isKnown best case - 1 super set check | 312.00 ns/op | 634.00 ns/op | 0.49 |
isKnown normal case - 2 super set checks | 293.00 ns/op | 625.00 ns/op | 0.47 |
isKnown worse case - 16 super set checks | 298.00 ns/op | 748.00 ns/op | 0.40 |
CheckpointStateCache - add get delete | 6.1300 us/op | 8.8930 us/op | 0.69 |
validate api signedAggregateAndProof - struct | 2.7608 ms/op | 3.0011 ms/op | 0.92 |
validate gossip signedAggregateAndProof - struct | 2.7740 ms/op | 2.9346 ms/op | 0.95 |
validate gossip attestation - vc 640000 | 1.3450 ms/op | 1.4825 ms/op | 0.91 |
batch validate gossip attestation - vc 640000 - chunk 32 | 166.51 us/op | 181.28 us/op | 0.92 |
batch validate gossip attestation - vc 640000 - chunk 64 | 160.33 us/op | 155.18 us/op | 1.03 |
batch validate gossip attestation - vc 640000 - chunk 128 | 159.00 us/op | 156.22 us/op | 1.02 |
batch validate gossip attestation - vc 640000 - chunk 256 | 173.13 us/op | 162.55 us/op | 1.07 |
pickEth1Vote - no votes | 1.6976 ms/op | 1.4471 ms/op | 1.17 |
pickEth1Vote - max votes | 20.899 ms/op | 12.410 ms/op | 1.68 |
pickEth1Vote - Eth1Data hashTreeRoot value x2048 | 26.840 ms/op | 24.653 ms/op | 1.09 |
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 | 36.421 ms/op | 35.233 ms/op | 1.03 |
pickEth1Vote - Eth1Data fastSerialize value x2048 | 1.2125 ms/op | 953.66 us/op | 1.27 |
pickEth1Vote - Eth1Data fastSerialize tree x2048 | 8.4400 ms/op | 6.0002 ms/op | 1.41 |
bytes32 toHexString | 1.2370 us/op | 929.00 ns/op | 1.33 |
bytes32 Buffer.toString(hex) | 531.00 ns/op | 339.00 ns/op | 1.57 |
bytes32 Buffer.toString(hex) from Uint8Array | 881.00 ns/op | 579.00 ns/op | 1.52 |
bytes32 Buffer.toString(hex) + 0x | 550.00 ns/op | 353.00 ns/op | 1.56 |
Object access 1 prop | 0.31900 ns/op | 0.24000 ns/op | 1.33 |
Map access 1 prop | 0.25000 ns/op | 0.18400 ns/op | 1.36 |
Object get x1000 | 12.219 ns/op | 8.3970 ns/op | 1.46 |
Map get x1000 | 1.3270 ns/op | 0.99800 ns/op | 1.33 |
Object set x1000 | 94.136 ns/op | 84.033 ns/op | 1.12 |
Map set x1000 | 72.033 ns/op | 66.266 ns/op | 1.09 |
Return object 10000 times | 0.46990 ns/op | 0.28890 ns/op | 1.63 |
Throw Error 10000 times | 6.2514 us/op | 4.5554 us/op | 1.37 |
fastMsgIdFn sha256 / 200 bytes | 4.7780 us/op | 4.0910 us/op | 1.17 |
fastMsgIdFn h32 xxhash / 200 bytes | 567.00 ns/op | 427.00 ns/op | 1.33 |
fastMsgIdFn h64 xxhash / 200 bytes | 720.00 ns/op | 456.00 ns/op | 1.58 |
fastMsgIdFn sha256 / 1000 bytes | 17.175 us/op | 13.102 us/op | 1.31 |
fastMsgIdFn h32 xxhash / 1000 bytes | 850.00 ns/op | 543.00 ns/op | 1.57 |
fastMsgIdFn h64 xxhash / 1000 bytes | 898.00 ns/op | 598.00 ns/op | 1.50 |
fastMsgIdFn sha256 / 10000 bytes | 143.29 us/op | 120.35 us/op | 1.19 |
fastMsgIdFn h32 xxhash / 10000 bytes | 2.6820 us/op | 2.5050 us/op | 1.07 |
fastMsgIdFn h64 xxhash / 10000 bytes | 1.8940 us/op | 1.6780 us/op | 1.13 |
send data - 1000 256B messages | 30.889 ms/op | 25.991 ms/op | 1.19 |
send data - 1000 512B messages | 50.272 ms/op | 33.049 ms/op | 1.52 |
send data - 1000 1024B messages | 59.806 ms/op | 53.948 ms/op | 1.11 |
send data - 1000 1200B messages | 70.039 ms/op | 61.253 ms/op | 1.14 |
send data - 1000 2048B messages | 81.961 ms/op | 62.167 ms/op | 1.32 |
send data - 1000 4096B messages | 78.973 ms/op | 49.412 ms/op | 1.60 |
send data - 1000 16384B messages | 174.76 ms/op | 121.59 ms/op | 1.44 |
send data - 1000 65536B messages | 654.09 ms/op | 520.54 ms/op | 1.26 |
enrSubnets - fastDeserialize 64 bits | 2.5850 us/op | 1.2280 us/op | 2.11 |
enrSubnets - ssz BitVector 64 bits | 709.00 ns/op | 417.00 ns/op | 1.70 |
enrSubnets - fastDeserialize 4 bits | 331.00 ns/op | 173.00 ns/op | 1.91 |
enrSubnets - ssz BitVector 4 bits | 791.00 ns/op | 419.00 ns/op | 1.89 |
prioritizePeers score -10:0 att 32-0.1 sync 2-0 | 173.66 us/op | 98.789 us/op | 1.76 |
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 | 203.03 us/op | 134.98 us/op | 1.50 |
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 | 239.78 us/op | 173.45 us/op | 1.38 |
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 | 376.41 us/op | 295.58 us/op | 1.27 |
prioritizePeers score 0:0 att 64-1 sync 4-1 | 390.66 us/op | 356.23 us/op | 1.10 |
array of 16000 items push then shift | 1.7891 us/op | 1.6319 us/op | 1.10 |
LinkedList of 16000 items push then shift | 10.066 ns/op | 8.9200 ns/op | 1.13 |
array of 16000 items push then pop | 119.89 ns/op | 90.828 ns/op | 1.32 |
LinkedList of 16000 items push then pop | 9.6670 ns/op | 9.2550 ns/op | 1.04 |
array of 24000 items push then shift | 2.7375 us/op | 2.4847 us/op | 1.10 |
LinkedList of 24000 items push then shift | 9.6830 ns/op | 9.1470 ns/op | 1.06 |
array of 24000 items push then pop | 175.97 ns/op | 129.00 ns/op | 1.36 |
LinkedList of 24000 items push then pop | 9.2020 ns/op | 8.7920 ns/op | 1.05 |
intersect bitArray bitLen 8 | 6.2440 ns/op | 5.8950 ns/op | 1.06 |
intersect array and set length 8 | 71.603 ns/op | 64.757 ns/op | 1.11 |
intersect bitArray bitLen 128 | 39.021 ns/op | 35.996 ns/op | 1.08 |
intersect array and set length 128 | 1.1868 us/op | 863.34 ns/op | 1.37 |
bitArray.getTrueBitIndexes() bitLen 128 | 1.8720 us/op | 1.4130 us/op | 1.32 |
bitArray.getTrueBitIndexes() bitLen 248 | 3.1270 us/op | 2.5060 us/op | 1.25 |
bitArray.getTrueBitIndexes() bitLen 512 | 6.4200 us/op | 4.7650 us/op | 1.35 |
Buffer.concat 32 items | 1.1120 us/op | 992.00 ns/op | 1.12 |
Uint8Array.set 32 items | 1.9470 us/op | 1.7360 us/op | 1.12 |
Set add up to 64 items then delete first | 5.1877 us/op | 4.4206 us/op | 1.17 |
OrderedSet add up to 64 items then delete first | 7.0958 us/op | 5.6065 us/op | 1.27 |
Set add up to 64 items then delete last | 5.5894 us/op | 4.9519 us/op | 1.13 |
OrderedSet add up to 64 items then delete last | 7.3275 us/op | 6.4759 us/op | 1.13 |
Set add up to 64 items then delete middle | 5.4572 us/op | 5.4119 us/op | 1.01 |
OrderedSet add up to 64 items then delete middle | 8.7612 us/op | 8.4436 us/op | 1.04 |
Set add up to 128 items then delete first | 11.214 us/op | 10.974 us/op | 1.02 |
OrderedSet add up to 128 items then delete first | 14.884 us/op | 13.468 us/op | 1.11 |
Set add up to 128 items then delete last | 10.396 us/op | 10.613 us/op | 0.98 |
OrderedSet add up to 128 items then delete last | 15.445 us/op | 15.037 us/op | 1.03 |
Set add up to 128 items then delete middle | 11.134 us/op | 10.414 us/op | 1.07 |
OrderedSet add up to 128 items then delete middle | 20.828 us/op | 18.050 us/op | 1.15 |
Set add up to 256 items then delete first | 21.601 us/op | 19.689 us/op | 1.10 |
OrderedSet add up to 256 items then delete first | 29.413 us/op | 24.834 us/op | 1.18 |
Set add up to 256 items then delete last | 22.037 us/op | 19.965 us/op | 1.10 |
OrderedSet add up to 256 items then delete last | 30.343 us/op | 24.946 us/op | 1.22 |
Set add up to 256 items then delete middle | 22.056 us/op | 20.911 us/op | 1.05 |
OrderedSet add up to 256 items then delete middle | 52.964 us/op | 48.036 us/op | 1.10 |
transfer serialized Status (84 B) | 1.9710 us/op | 1.8120 us/op | 1.09 |
copy serialized Status (84 B) | 1.4770 us/op | 1.3780 us/op | 1.07 |
transfer serialized SignedVoluntaryExit (112 B) | 2.1770 us/op | 1.9420 us/op | 1.12 |
copy serialized SignedVoluntaryExit (112 B) | 1.5650 us/op | 1.5460 us/op | 1.01 |
transfer serialized ProposerSlashing (416 B) | 2.8690 us/op | 2.4210 us/op | 1.19 |
copy serialized ProposerSlashing (416 B) | 2.9360 us/op | 2.0530 us/op | 1.43 |
transfer serialized Attestation (485 B) | 2.5340 us/op | 3.2260 us/op | 0.79 |
copy serialized Attestation (485 B) | 2.6520 us/op | 2.2870 us/op | 1.16 |
transfer serialized AttesterSlashing (33232 B) | 2.9320 us/op | 2.6490 us/op | 1.11 |
copy serialized AttesterSlashing (33232 B) | 8.7970 us/op | 7.1250 us/op | 1.23 |
transfer serialized Small SignedBeaconBlock (128000 B) | 2.7550 us/op | 3.4820 us/op | 0.79 |
copy serialized Small SignedBeaconBlock (128000 B) | 31.476 us/op | 19.771 us/op | 1.59 |
transfer serialized Avg SignedBeaconBlock (200000 B) | 3.1040 us/op | 3.6770 us/op | 0.84 |
copy serialized Avg SignedBeaconBlock (200000 B) | 41.183 us/op | 30.664 us/op | 1.34 |
transfer serialized BlobsSidecar (524380 B) | 3.3760 us/op | 3.6960 us/op | 0.91 |
copy serialized BlobsSidecar (524380 B) | 116.62 us/op | 96.083 us/op | 1.21 |
transfer serialized Big SignedBeaconBlock (1000000 B) | 3.4660 us/op | 3.5370 us/op | 0.98 |
copy serialized Big SignedBeaconBlock (1000000 B) | 183.16 us/op | 181.27 us/op | 1.01 |
pass gossip attestations to forkchoice per slot | 4.1865 ms/op | 4.7464 ms/op | 0.88 |
forkChoice updateHead vc 100000 bc 64 eq 0 | 728.62 us/op | 754.80 us/op | 0.97 |
forkChoice updateHead vc 600000 bc 64 eq 0 | 6.6470 ms/op | 6.8560 ms/op | 0.97 |
forkChoice updateHead vc 1000000 bc 64 eq 0 | 7.5230 ms/op | 8.3082 ms/op | 0.91 |
forkChoice updateHead vc 600000 bc 320 eq 0 | 4.5831 ms/op | 4.6675 ms/op | 0.98 |
forkChoice updateHead vc 600000 bc 1200 eq 0 | 5.2554 ms/op | 4.8891 ms/op | 1.07 |
forkChoice updateHead vc 600000 bc 7200 eq 0 | 6.5279 ms/op | 7.0563 ms/op | 0.93 |
forkChoice updateHead vc 600000 bc 64 eq 1000 | 13.355 ms/op | 12.766 ms/op | 1.05 |
forkChoice updateHead vc 600000 bc 64 eq 10000 | 14.509 ms/op | 13.263 ms/op | 1.09 |
forkChoice updateHead vc 600000 bc 64 eq 300000 | 26.181 ms/op | 21.063 ms/op | 1.24 |
computeDeltas 500000 validators 300 proto nodes | 7.4032 ms/op | 7.5273 ms/op | 0.98 |
computeDeltas 500000 validators 1200 proto nodes | 7.1182 ms/op | 7.4067 ms/op | 0.96 |
computeDeltas 500000 validators 7200 proto nodes | 6.9582 ms/op | 6.8944 ms/op | 1.01 |
computeDeltas 750000 validators 300 proto nodes | 9.7977 ms/op | 10.672 ms/op | 0.92 |
computeDeltas 750000 validators 1200 proto nodes | 9.8290 ms/op | 10.378 ms/op | 0.95 |
computeDeltas 750000 validators 7200 proto nodes | 9.6979 ms/op | 10.189 ms/op | 0.95 |
computeDeltas 1400000 validators 300 proto nodes | 18.678 ms/op | 21.615 ms/op | 0.86 |
computeDeltas 1400000 validators 1200 proto nodes | 18.524 ms/op | 21.533 ms/op | 0.86 |
computeDeltas 1400000 validators 7200 proto nodes | 18.338 ms/op | 22.253 ms/op | 0.82 |
computeDeltas 2100000 validators 300 proto nodes | 27.335 ms/op | 32.441 ms/op | 0.84 |
computeDeltas 2100000 validators 1200 proto nodes | 29.204 ms/op | 31.957 ms/op | 0.91 |
computeDeltas 2100000 validators 7200 proto nodes | 29.386 ms/op | 34.114 ms/op | 0.86 |
altair processAttestation - 250000 vs - 7PWei normalcase | 3.0846 ms/op | 3.4623 ms/op | 0.89 |
altair processAttestation - 250000 vs - 7PWei worstcase | 4.2071 ms/op | 5.0574 ms/op | 0.83 |
altair processAttestation - setStatus - 1/6 committees join | 190.33 us/op | 214.05 us/op | 0.89 |
altair processAttestation - setStatus - 1/3 committees join | 369.09 us/op | 438.67 us/op | 0.84 |
altair processAttestation - setStatus - 1/2 committees join | 489.08 us/op | 633.90 us/op | 0.77 |
altair processAttestation - setStatus - 2/3 committees join | 651.72 us/op | 707.69 us/op | 0.92 |
altair processAttestation - setStatus - 4/5 committees join | 841.27 us/op | 1.0624 ms/op | 0.79 |
altair processAttestation - setStatus - 100% committees join | 1.0805 ms/op | 1.1025 ms/op | 0.98 |
altair processBlock - 250000 vs - 7PWei normalcase | 12.408 ms/op | 12.780 ms/op | 0.97 |
altair processBlock - 250000 vs - 7PWei normalcase hashState | 41.247 ms/op | 42.296 ms/op | 0.98 |
altair processBlock - 250000 vs - 7PWei worstcase | 41.874 ms/op | 51.156 ms/op | 0.82 |
altair processBlock - 250000 vs - 7PWei worstcase hashState | 109.97 ms/op | 125.16 ms/op | 0.88 |
phase0 processBlock - 250000 vs - 7PWei normalcase | 3.0238 ms/op | 4.4179 ms/op | 0.68 |
phase0 processBlock - 250000 vs - 7PWei worstcase | 32.940 ms/op | 41.948 ms/op | 0.79 |
altair processEth1Data - 250000 vs - 7PWei normalcase | 732.73 us/op | 789.68 us/op | 0.93 |
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 | 14.347 us/op | 21.420 us/op | 0.67 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 | 90.516 us/op | 70.533 us/op | 1.28 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 | 31.796 us/op | 30.090 us/op | 1.06 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 | 11.850 us/op | 24.640 us/op | 0.48 |
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 | 196.92 us/op | 201.81 us/op | 0.98 |
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 | 1.9663 ms/op | 1.6953 ms/op | 1.16 |
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 | 2.0905 ms/op | 2.7625 ms/op | 0.76 |
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 | 2.3947 ms/op | 2.2803 ms/op | 1.05 |
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 | 4.6338 ms/op | 5.5456 ms/op | 0.84 |
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 | 2.6964 ms/op | 3.0996 ms/op | 0.87 |
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 | 5.5130 ms/op | 7.0466 ms/op | 0.78 |
Tree 40 250000 create | 389.18 ms/op | 598.16 ms/op | 0.65 |
Tree 40 250000 get(125000) | 205.13 ns/op | 230.75 ns/op | 0.89 |
Tree 40 250000 set(125000) | 1.0831 us/op | 1.5979 us/op | 0.68 |
Tree 40 250000 toArray() | 21.078 ms/op | 26.490 ms/op | 0.80 |
Tree 40 250000 iterate all - toArray() + loop | 20.586 ms/op | 29.353 ms/op | 0.70 |
Tree 40 250000 iterate all - get(i) | 71.985 ms/op | 83.643 ms/op | 0.86 |
MutableVector 250000 create | 13.807 ms/op | 17.584 ms/op | 0.79 |
MutableVector 250000 get(125000) | 6.8330 ns/op | 7.1030 ns/op | 0.96 |
MutableVector 250000 set(125000) | 282.04 ns/op | 547.36 ns/op | 0.52 |
MutableVector 250000 toArray() | 4.0623 ms/op | 4.3912 ms/op | 0.93 |
MutableVector 250000 iterate all - toArray() + loop | 3.9220 ms/op | 4.7697 ms/op | 0.82 |
MutableVector 250000 iterate all - get(i) | 1.5866 ms/op | 1.6118 ms/op | 0.98 |
Array 250000 create | 3.5155 ms/op | 3.9774 ms/op | 0.88 |
Array 250000 clone - spread | 1.3738 ms/op | 1.4693 ms/op | 0.93 |
Array 250000 get(125000) | 1.1640 ns/op | 1.2850 ns/op | 0.91 |
Array 250000 set(125000) | 4.3920 ns/op | 4.9820 ns/op | 0.88 |
Array 250000 iterate all - loop | 176.23 us/op | 180.43 us/op | 0.98 |
effectiveBalanceIncrements clone Uint8Array 300000 | 34.258 us/op | 51.058 us/op | 0.67 |
effectiveBalanceIncrements clone MutableVector 300000 | 400.00 ns/op | 468.00 ns/op | 0.85 |
effectiveBalanceIncrements rw all Uint8Array 300000 | 213.06 us/op | 210.10 us/op | 1.01 |
effectiveBalanceIncrements rw all MutableVector 300000 | 91.538 ms/op | 101.05 ms/op | 0.91 |
phase0 afterProcessEpoch - 250000 vs - 7PWei | 117.34 ms/op | 124.54 ms/op | 0.94 |
phase0 beforeProcessEpoch - 250000 vs - 7PWei | 57.974 ms/op | 68.793 ms/op | 0.84 |
altair processEpoch - mainnet_e81889 | 480.50 ms/op | 498.69 ms/op | 0.96 |
mainnet_e81889 - altair beforeProcessEpoch | 84.886 ms/op | 93.002 ms/op | 0.91 |
mainnet_e81889 - altair processJustificationAndFinalization | 14.805 us/op | 20.016 us/op | 0.74 |
mainnet_e81889 - altair processInactivityUpdates | 6.2651 ms/op | 8.1375 ms/op | 0.77 |
mainnet_e81889 - altair processRewardsAndPenalties | 67.398 ms/op | 67.131 ms/op | 1.00 |
mainnet_e81889 - altair processRegistryUpdates | 3.1180 us/op | 6.6160 us/op | 0.47 |
mainnet_e81889 - altair processSlashings | 456.00 ns/op | 920.00 ns/op | 0.50 |
mainnet_e81889 - altair processEth1DataReset | 605.00 ns/op | 1.1240 us/op | 0.54 |
mainnet_e81889 - altair processEffectiveBalanceUpdates | 1.5618 ms/op | 1.8321 ms/op | 0.85 |
mainnet_e81889 - altair processSlashingsReset | 3.8950 us/op | 8.6520 us/op | 0.45 |
mainnet_e81889 - altair processRandaoMixesReset | 7.8890 us/op | 7.9730 us/op | 0.99 |
mainnet_e81889 - altair processHistoricalRootsUpdate | 892.00 ns/op | 1.1150 us/op | 0.80 |
mainnet_e81889 - altair processParticipationFlagUpdates | 3.7960 us/op | 4.8380 us/op | 0.78 |
mainnet_e81889 - altair processSyncCommitteeUpdates | 1.0120 us/op | 1.4610 us/op | 0.69 |
mainnet_e81889 - altair afterProcessEpoch | 123.67 ms/op | 130.21 ms/op | 0.95 |
capella processEpoch - mainnet_e217614 | 1.9089 s/op | 2.1085 s/op | 0.91 |
mainnet_e217614 - capella beforeProcessEpoch | 487.83 ms/op | 595.45 ms/op | 0.82 |
mainnet_e217614 - capella processJustificationAndFinalization | 16.011 us/op | 23.846 us/op | 0.67 |
mainnet_e217614 - capella processInactivityUpdates | 20.266 ms/op | 32.287 ms/op | 0.63 |
mainnet_e217614 - capella processRewardsAndPenalties | 485.38 ms/op | 433.80 ms/op | 1.12 |
mainnet_e217614 - capella processRegistryUpdates | 21.050 us/op | 37.533 us/op | 0.56 |
mainnet_e217614 - capella processSlashings | 738.00 ns/op | 1.0630 us/op | 0.69 |
mainnet_e217614 - capella processEth1DataReset | 610.00 ns/op | 1.0240 us/op | 0.60 |
mainnet_e217614 - capella processEffectiveBalanceUpdates | 8.8151 ms/op | 10.447 ms/op | 0.84 |
mainnet_e217614 - capella processSlashingsReset | 5.5340 us/op | 4.1340 us/op | 1.34 |
mainnet_e217614 - capella processRandaoMixesReset | 5.4160 us/op | 8.9350 us/op | 0.61 |
mainnet_e217614 - capella processHistoricalRootsUpdate | 748.00 ns/op | 1.0490 us/op | 0.71 |
mainnet_e217614 - capella processParticipationFlagUpdates | 2.0530 us/op | 2.4780 us/op | 0.83 |
mainnet_e217614 - capella afterProcessEpoch | 302.83 ms/op | 329.74 ms/op | 0.92 |
phase0 processEpoch - mainnet_e58758 | 494.69 ms/op | 599.64 ms/op | 0.82 |
mainnet_e58758 - phase0 beforeProcessEpoch | 157.71 ms/op | 190.45 ms/op | 0.83 |
mainnet_e58758 - phase0 processJustificationAndFinalization | 16.742 us/op | 31.475 us/op | 0.53 |
mainnet_e58758 - phase0 processRewardsAndPenalties | 62.996 ms/op | 67.400 ms/op | 0.93 |
mainnet_e58758 - phase0 processRegistryUpdates | 10.108 us/op | 18.779 us/op | 0.54 |
mainnet_e58758 - phase0 processSlashings | 1.0410 us/op | 1.1000 us/op | 0.95 |
mainnet_e58758 - phase0 processEth1DataReset | 421.00 ns/op | 989.00 ns/op | 0.43 |
mainnet_e58758 - phase0 processEffectiveBalanceUpdates | 1.8171 ms/op | 1.4040 ms/op | 1.29 |
mainnet_e58758 - phase0 processSlashingsReset | 3.2440 us/op | 5.7510 us/op | 0.56 |
mainnet_e58758 - phase0 processRandaoMixesReset | 6.0150 us/op | 7.0910 us/op | 0.85 |
mainnet_e58758 - phase0 processHistoricalRootsUpdate | 727.00 ns/op | 801.00 ns/op | 0.91 |
mainnet_e58758 - phase0 processParticipationRecordUpdates | 4.8600 us/op | 9.4400 us/op | 0.51 |
mainnet_e58758 - phase0 afterProcessEpoch | 99.882 ms/op | 110.67 ms/op | 0.90 |
phase0 processEffectiveBalanceUpdates - 250000 normalcase | 1.9866 ms/op | 1.6310 ms/op | 1.22 |
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 | 1.5631 ms/op | 1.8752 ms/op | 0.83 |
altair processInactivityUpdates - 250000 normalcase | 24.588 ms/op | 41.438 ms/op | 0.59 |
altair processInactivityUpdates - 250000 worstcase | 29.270 ms/op | 39.676 ms/op | 0.74 |
phase0 processRegistryUpdates - 250000 normalcase | 11.214 us/op | 12.499 us/op | 0.90 |
phase0 processRegistryUpdates - 250000 badcase_full_deposits | 642.70 us/op | 428.95 us/op | 1.50 |
phase0 processRegistryUpdates - 250000 worstcase 0.5 | 149.97 ms/op | 150.81 ms/op | 0.99 |
altair processRewardsAndPenalties - 250000 normalcase | 64.105 ms/op | 67.928 ms/op | 0.94 |
altair processRewardsAndPenalties - 250000 worstcase | 64.874 ms/op | 63.856 ms/op | 1.02 |
phase0 getAttestationDeltas - 250000 normalcase | 8.9100 ms/op | 12.111 ms/op | 0.74 |
phase0 getAttestationDeltas - 250000 worstcase | 9.3067 ms/op | 11.825 ms/op | 0.79 |
phase0 processSlashings - 250000 worstcase | 86.911 us/op | 112.72 us/op | 0.77 |
altair processSyncCommitteeUpdates - 250000 | 159.30 ms/op | 182.77 ms/op | 0.87 |
BeaconState.hashTreeRoot - No change | 525.00 ns/op | 901.00 ns/op | 0.58 |
BeaconState.hashTreeRoot - 1 full validator | 120.00 us/op | 178.00 us/op | 0.67 |
BeaconState.hashTreeRoot - 32 full validator | 1.3331 ms/op | 1.7865 ms/op | 0.75 |
BeaconState.hashTreeRoot - 512 full validator | 14.928 ms/op | 20.213 ms/op | 0.74 |
BeaconState.hashTreeRoot - 1 validator.effectiveBalance | 161.82 us/op | 195.21 us/op | 0.83 |
BeaconState.hashTreeRoot - 32 validator.effectiveBalance | 2.4093 ms/op | 2.5414 ms/op | 0.95 |
BeaconState.hashTreeRoot - 512 validator.effectiveBalance | 33.647 ms/op | 31.721 ms/op | 1.06 |
BeaconState.hashTreeRoot - 1 balances | 157.65 us/op | 145.49 us/op | 1.08 |
BeaconState.hashTreeRoot - 32 balances | 1.5427 ms/op | 1.2485 ms/op | 1.24 |
BeaconState.hashTreeRoot - 512 balances | 15.038 ms/op | 13.550 ms/op | 1.11 |
BeaconState.hashTreeRoot - 250000 balances | 228.31 ms/op | 223.96 ms/op | 1.02 |
aggregationBits - 2048 els - zipIndexesInBitList | 28.959 us/op | 34.626 us/op | 0.84 |
byteArrayEquals 32 | 75.661 ns/op | 81.127 ns/op | 0.93 |
Buffer.compare 32 | 57.570 ns/op | 60.817 ns/op | 0.95 |
byteArrayEquals 1024 | 2.0634 us/op | 2.1930 us/op | 0.94 |
Buffer.compare 1024 | 72.652 ns/op | 75.575 ns/op | 0.96 |
byteArrayEquals 16384 | 32.856 us/op | 34.530 us/op | 0.95 |
Buffer.compare 16384 | 252.18 ns/op | 283.78 ns/op | 0.89 |
byteArrayEquals 123687377 | 250.27 ms/op | 267.32 ms/op | 0.94 |
Buffer.compare 123687377 | 7.2197 ms/op | 9.5739 ms/op | 0.75 |
byteArrayEquals 32 - diff last byte | 73.265 ns/op | 93.648 ns/op | 0.78 |
Buffer.compare 32 - diff last byte | 58.690 ns/op | 64.079 ns/op | 0.92 |
byteArrayEquals 1024 - diff last byte | 2.1070 us/op | 2.2746 us/op | 0.93 |
Buffer.compare 1024 - diff last byte | 74.166 ns/op | 82.480 ns/op | 0.90 |
byteArrayEquals 16384 - diff last byte | 33.598 us/op | 36.225 us/op | 0.93 |
Buffer.compare 16384 - diff last byte | 288.00 ns/op | 302.64 ns/op | 0.95 |
byteArrayEquals 123687377 - diff last byte | 249.28 ms/op | 302.20 ms/op | 0.82 |
Buffer.compare 123687377 - diff last byte | 7.5492 ms/op | 9.3600 ms/op | 0.81 |
byteArrayEquals 32 - random bytes | 6.1540 ns/op | 7.0160 ns/op | 0.88 |
Buffer.compare 32 - random bytes | 62.326 ns/op | 67.647 ns/op | 0.92 |
byteArrayEquals 1024 - random bytes | 5.8350 ns/op | 7.0150 ns/op | 0.83 |
Buffer.compare 1024 - random bytes | 63.563 ns/op | 75.458 ns/op | 0.84 |
byteArrayEquals 16384 - random bytes | 6.4290 ns/op | 6.9890 ns/op | 0.92 |
Buffer.compare 16384 - random bytes | 64.598 ns/op | 74.911 ns/op | 0.86 |
byteArrayEquals 123687377 - random bytes | 9.2800 ns/op | 16.540 ns/op | 0.56 |
Buffer.compare 123687377 - random bytes | 72.150 ns/op | 86.900 ns/op | 0.83 |
regular array get 100000 times | 45.795 us/op | 51.543 us/op | 0.89 |
wrappedArray get 100000 times | 45.975 us/op | 57.112 us/op | 0.80 |
arrayWithProxy get 100000 times | 14.590 ms/op | 15.807 ms/op | 0.92 |
ssz.Root.equals | 54.451 ns/op | 62.478 ns/op | 0.87 |
byteArrayEquals | 54.189 ns/op | 61.535 ns/op | 0.88 |
Buffer.compare | 11.679 ns/op | 13.573 ns/op | 0.86 |
shuffle list - 16384 els | 8.6828 ms/op | 9.7446 ms/op | 0.89 |
shuffle list - 250000 els | 127.26 ms/op | 139.82 ms/op | 0.91 |
processSlot - 1 slots | 19.834 us/op | 23.728 us/op | 0.84 |
processSlot - 32 slots | 4.0254 ms/op | 3.8091 ms/op | 1.06 |
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei | 59.226 ms/op | 61.862 ms/op | 0.96 |
getCommitteeAssignments - req 1 vs - 250000 vc | 2.7235 ms/op | 2.8629 ms/op | 0.95 |
getCommitteeAssignments - req 100 vs - 250000 vc | 3.9490 ms/op | 4.2981 ms/op | 0.92 |
getCommitteeAssignments - req 1000 vs - 250000 vc | 4.3351 ms/op | 4.5547 ms/op | 0.95 |
findModifiedValidators - 10000 modified validators | 552.68 ms/op | 634.80 ms/op | 0.87 |
findModifiedValidators - 1000 modified validators | 432.43 ms/op | 465.23 ms/op | 0.93 |
findModifiedValidators - 100 modified validators | 448.69 ms/op | 440.70 ms/op | 1.02 |
findModifiedValidators - 10 modified validators | 411.89 ms/op | 456.84 ms/op | 0.90 |
findModifiedValidators - 1 modified validators | 442.53 ms/op | 441.75 ms/op | 1.00 |
findModifiedValidators - no difference | 436.24 ms/op | 450.12 ms/op | 0.97 |
compare ViewDUs | 4.9486 s/op | 6.3048 s/op | 0.78 |
compare each validator Uint8Array | 1.5593 s/op | 1.8497 s/op | 0.84 |
compare ViewDU to Uint8Array | 1.1639 s/op | 1.5313 s/op | 0.76 |
migrate state 1000000 validators, 24 modified, 0 new | 809.96 ms/op | 835.10 ms/op | 0.97 |
migrate state 1000000 validators, 1700 modified, 1000 new | 1.1549 s/op | 1.1160 s/op | 1.03 |
migrate state 1000000 validators, 3400 modified, 2000 new | 1.4270 s/op | 1.3660 s/op | 1.04 |
migrate state 1500000 validators, 24 modified, 0 new | 872.23 ms/op | 848.13 ms/op | 1.03 |
migrate state 1500000 validators, 1700 modified, 1000 new | 1.0655 s/op | 1.2125 s/op | 0.88 |
migrate state 1500000 validators, 3400 modified, 2000 new | 1.3850 s/op | 1.4029 s/op | 0.99 |
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei | 4.3900 ns/op | 4.7400 ns/op | 0.93 |
state getBlockRootAtSlot - 250000 vs - 7PWei | 754.10 ns/op | 993.60 ns/op | 0.76 |
computeProposers - vc 250000 | 10.133 ms/op | 10.159 ms/op | 1.00 |
computeEpochShuffling - vc 250000 | 127.69 ms/op | 129.98 ms/op | 0.98 |
getNextSyncCommittee - vc 250000 | 153.52 ms/op | 176.26 ms/op | 0.87 |
computeSigningRoot for AttestationData | 25.111 us/op | 25.973 us/op | 0.97 |
hash AttestationData serialized data then Buffer.toString(base64) | 2.4087 us/op | 2.3719 us/op | 1.02 |
toHexString serialized data | 1.1926 us/op | 1.1286 us/op | 1.06 |
Buffer.toString(base64) | 246.64 ns/op | 259.31 ns/op | 0.95 |
by benchmarkbot/action
jeluard
approved these changes
Mar 18, 2024
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## unstable #6552 +/- ##
=========================================
Coverage 61.46% 61.46%
=========================================
Files 556 556
Lines 58652 58652
Branches 1848 1848
=========================================
Hits 36051 36051
Misses 22561 22561
Partials 40 40 |
🎉 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Keep the dependencies up-to-date.
Description
We can utilize following new feature onward:
let
variables can be inferred from the last assignment.General observation is the language server is bit faster so better integration with IDEs.
Steps to test or reproduce