-
-
Notifications
You must be signed in to change notification settings - Fork 289
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: fixed incorrect link #6427
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
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## unstable #6427 +/- ##
=========================================
Coverage 61.72% 61.72%
=========================================
Files 553 553
Lines 57862 57862
Branches 1829 1829
=========================================
Hits 35717 35717
Misses 22108 22108
Partials 37 37 |
nazarhussain
approved these changes
Feb 14, 2024
|
Benchmark suite | Current: 013e605 | Previous: ae61683 | Ratio |
---|---|---|---|
Set add up to 256 items then delete last | 22.580 us/op | 7.5088 us/op | 3.01 |
Full benchmark results
Benchmark suite | Current: 013e605 | Previous: ae61683 | Ratio |
---|---|---|---|
getPubkeys - index2pubkey - req 1000 vs - 250000 vc | 632.41 us/op | 1.2980 ms/op | 0.49 |
getPubkeys - validatorsArr - req 1000 vs - 250000 vc | 125.35 us/op | 159.80 us/op | 0.78 |
BLS verify - blst-native | 1.5182 ms/op | 1.2267 ms/op | 1.24 |
BLS verifyMultipleSignatures 3 - blst-native | 3.0898 ms/op | 3.0641 ms/op | 1.01 |
BLS verifyMultipleSignatures 8 - blst-native | 6.7387 ms/op | 6.1065 ms/op | 1.10 |
BLS verifyMultipleSignatures 32 - blst-native | 23.881 ms/op | 20.730 ms/op | 1.15 |
BLS verifyMultipleSignatures 64 - blst-native | 45.997 ms/op | 40.419 ms/op | 1.14 |
BLS verifyMultipleSignatures 128 - blst-native | 91.097 ms/op | 82.610 ms/op | 1.10 |
BLS deserializing 10000 signatures | 994.83 ms/op | 908.07 ms/op | 1.10 |
BLS deserializing 100000 signatures | 9.2034 s/op | 8.3275 s/op | 1.11 |
BLS verifyMultipleSignatures - same message - 3 - blst-native | 1.4133 ms/op | 1.1633 ms/op | 1.21 |
BLS verifyMultipleSignatures - same message - 8 - blst-native | 1.5712 ms/op | 1.3148 ms/op | 1.19 |
BLS verifyMultipleSignatures - same message - 32 - blst-native | 2.4136 ms/op | 2.0819 ms/op | 1.16 |
BLS verifyMultipleSignatures - same message - 64 - blst-native | 3.5920 ms/op | 3.0810 ms/op | 1.17 |
BLS verifyMultipleSignatures - same message - 128 - blst-native | 5.8356 ms/op | 5.0756 ms/op | 1.15 |
BLS aggregatePubkeys 32 - blst-native | 26.835 us/op | 26.029 us/op | 1.03 |
BLS aggregatePubkeys 128 - blst-native | 105.33 us/op | 90.059 us/op | 1.17 |
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 | 64.393 ms/op | 47.447 ms/op | 1.36 |
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 | 61.529 ms/op | 68.497 ms/op | 0.90 |
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 | 41.306 ms/op | 50.427 ms/op | 0.82 |
getSlashingsAndExits - default max | 161.75 us/op | 187.00 us/op | 0.87 |
getSlashingsAndExits - 2k | 385.69 us/op | 637.75 us/op | 0.60 |
proposeBlockBody type=full, size=empty | 5.8967 ms/op | 5.2996 ms/op | 1.11 |
isKnown best case - 1 super set check | 333.00 ns/op | 355.00 ns/op | 0.94 |
isKnown normal case - 2 super set checks | 479.00 ns/op | 465.00 ns/op | 1.03 |
isKnown worse case - 16 super set checks | 408.00 ns/op | 340.00 ns/op | 1.20 |
CheckpointStateCache - add get delete | 5.5860 us/op | 3.9760 us/op | 1.40 |
validate api signedAggregateAndProof - struct | 2.8223 ms/op | 2.4670 ms/op | 1.14 |
validate gossip signedAggregateAndProof - struct | 2.8696 ms/op | 2.5403 ms/op | 1.13 |
validate gossip attestation - vc 640000 | 1.4017 ms/op | 1.1608 ms/op | 1.21 |
batch validate gossip attestation - vc 640000 - chunk 32 | 171.39 us/op | 137.34 us/op | 1.25 |
batch validate gossip attestation - vc 640000 - chunk 64 | 158.14 us/op | 129.98 us/op | 1.22 |
batch validate gossip attestation - vc 640000 - chunk 128 | 158.86 us/op | 124.25 us/op | 1.28 |
batch validate gossip attestation - vc 640000 - chunk 256 | 150.42 us/op | 123.78 us/op | 1.22 |
pickEth1Vote - no votes | 1.4791 ms/op | 1.0295 ms/op | 1.44 |
pickEth1Vote - max votes | 13.534 ms/op | 9.8945 ms/op | 1.37 |
pickEth1Vote - Eth1Data hashTreeRoot value x2048 | 23.185 ms/op | 15.045 ms/op | 1.54 |
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 | 34.487 ms/op | 22.799 ms/op | 1.51 |
pickEth1Vote - Eth1Data fastSerialize value x2048 | 843.04 us/op | 504.83 us/op | 1.67 |
pickEth1Vote - Eth1Data fastSerialize tree x2048 | 6.1457 ms/op | 4.9517 ms/op | 1.24 |
bytes32 toHexString | 841.00 ns/op | 618.00 ns/op | 1.36 |
bytes32 Buffer.toString(hex) | 303.00 ns/op | 435.00 ns/op | 0.70 |
bytes32 Buffer.toString(hex) from Uint8Array | 575.00 ns/op | 565.00 ns/op | 1.02 |
bytes32 Buffer.toString(hex) + 0x | 320.00 ns/op | 416.00 ns/op | 0.77 |
Object access 1 prop | 0.24100 ns/op | 0.27500 ns/op | 0.88 |
Map access 1 prop | 0.17200 ns/op | 0.24500 ns/op | 0.70 |
Object get x1000 | 7.8140 ns/op | 5.7280 ns/op | 1.36 |
Map get x1000 | 0.99600 ns/op | 0.84700 ns/op | 1.18 |
Object set x1000 | 77.162 ns/op | 46.230 ns/op | 1.67 |
Map set x1000 | 62.277 ns/op | 21.558 ns/op | 2.89 |
Return object 10000 times | 0.28460 ns/op | 0.25040 ns/op | 1.14 |
Throw Error 10000 times | 4.3560 us/op | 3.4169 us/op | 1.27 |
fastMsgIdFn sha256 / 200 bytes | 3.7310 us/op | 2.7790 us/op | 1.34 |
fastMsgIdFn h32 xxhash / 200 bytes | 408.00 ns/op | 394.00 ns/op | 1.04 |
fastMsgIdFn h64 xxhash / 200 bytes | 453.00 ns/op | 618.00 ns/op | 0.73 |
fastMsgIdFn sha256 / 1000 bytes | 12.876 us/op | 7.6660 us/op | 1.68 |
fastMsgIdFn h32 xxhash / 1000 bytes | 577.00 ns/op | 617.00 ns/op | 0.94 |
fastMsgIdFn h64 xxhash / 1000 bytes | 527.00 ns/op | 510.00 ns/op | 1.03 |
fastMsgIdFn sha256 / 10000 bytes | 111.78 us/op | 81.026 us/op | 1.38 |
fastMsgIdFn h32 xxhash / 10000 bytes | 2.1120 us/op | 2.3910 us/op | 0.88 |
fastMsgIdFn h64 xxhash / 10000 bytes | 1.4290 us/op | 1.4600 us/op | 0.98 |
send data - 1000 256B messages | 23.243 ms/op | 25.918 ms/op | 0.90 |
send data - 1000 512B messages | 30.045 ms/op | 21.928 ms/op | 1.37 |
send data - 1000 1024B messages | 44.582 ms/op | 37.339 ms/op | 1.19 |
send data - 1000 1200B messages | 43.810 ms/op | 35.842 ms/op | 1.22 |
send data - 1000 2048B messages | 54.165 ms/op | 55.144 ms/op | 0.98 |
send data - 1000 4096B messages | 47.282 ms/op | 49.895 ms/op | 0.95 |
send data - 1000 16384B messages | 120.37 ms/op | 127.49 ms/op | 0.94 |
send data - 1000 65536B messages | 540.14 ms/op | 582.56 ms/op | 0.93 |
enrSubnets - fastDeserialize 64 bits | 1.6330 us/op | 1.2380 us/op | 1.32 |
enrSubnets - ssz BitVector 64 bits | 552.00 ns/op | 507.00 ns/op | 1.09 |
enrSubnets - fastDeserialize 4 bits | 244.00 ns/op | 244.00 ns/op | 1.00 |
enrSubnets - ssz BitVector 4 bits | 562.00 ns/op | 488.00 ns/op | 1.15 |
prioritizePeers score -10:0 att 32-0.1 sync 2-0 | 119.38 us/op | 85.422 us/op | 1.40 |
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 | 161.98 us/op | 106.49 us/op | 1.52 |
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 | 205.63 us/op | 139.65 us/op | 1.47 |
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 | 363.05 us/op | 254.48 us/op | 1.43 |
prioritizePeers score 0:0 att 64-1 sync 4-1 | 401.32 us/op | 258.89 us/op | 1.55 |
array of 16000 items push then shift | 1.8303 us/op | 1.3161 us/op | 1.39 |
LinkedList of 16000 items push then shift | 10.497 ns/op | 8.8780 ns/op | 1.18 |
array of 16000 items push then pop | 121.03 ns/op | 113.96 ns/op | 1.06 |
LinkedList of 16000 items push then pop | 9.5330 ns/op | 8.2990 ns/op | 1.15 |
array of 24000 items push then shift | 2.7835 us/op | 1.9336 us/op | 1.44 |
LinkedList of 24000 items push then shift | 10.326 ns/op | 7.2160 ns/op | 1.43 |
array of 24000 items push then pop | 159.66 ns/op | 132.59 ns/op | 1.20 |
LinkedList of 24000 items push then pop | 9.4440 ns/op | 5.7900 ns/op | 1.63 |
intersect bitArray bitLen 8 | 6.6720 ns/op | 4.8010 ns/op | 1.39 |
intersect array and set length 8 | 95.151 ns/op | 48.553 ns/op | 1.96 |
intersect bitArray bitLen 128 | 39.797 ns/op | 29.827 ns/op | 1.33 |
intersect array and set length 128 | 1.0997 us/op | 697.74 ns/op | 1.58 |
bitArray.getTrueBitIndexes() bitLen 128 | 1.7950 us/op | 1.2800 us/op | 1.40 |
bitArray.getTrueBitIndexes() bitLen 248 | 2.9390 us/op | 2.1210 us/op | 1.39 |
bitArray.getTrueBitIndexes() bitLen 512 | 5.6230 us/op | 4.1100 us/op | 1.37 |
Buffer.concat 32 items | 1.1040 us/op | 895.00 ns/op | 1.23 |
Uint8Array.set 32 items | 1.9260 us/op | 1.9040 us/op | 1.01 |
Set add up to 64 items then delete first | 4.9433 us/op | 2.0486 us/op | 2.41 |
OrderedSet add up to 64 items then delete first | 5.7995 us/op | 2.9307 us/op | 1.98 |
Set add up to 64 items then delete last | 5.0240 us/op | 2.4561 us/op | 2.05 |
OrderedSet add up to 64 items then delete last | 5.9469 us/op | 3.0626 us/op | 1.94 |
Set add up to 64 items then delete middle | 4.8334 us/op | 1.9869 us/op | 2.43 |
OrderedSet add up to 64 items then delete middle | 7.3928 us/op | 4.2781 us/op | 1.73 |
Set add up to 128 items then delete first | 10.962 us/op | 3.9225 us/op | 2.79 |
OrderedSet add up to 128 items then delete first | 14.751 us/op | 6.1964 us/op | 2.38 |
Set add up to 128 items then delete last | 10.479 us/op | 3.8126 us/op | 2.75 |
OrderedSet add up to 128 items then delete last | 14.325 us/op | 5.7548 us/op | 2.49 |
Set add up to 128 items then delete middle | 11.029 us/op | 3.8189 us/op | 2.89 |
OrderedSet add up to 128 items then delete middle | 20.652 us/op | 10.802 us/op | 1.91 |
Set add up to 256 items then delete first | 23.520 us/op | 7.9836 us/op | 2.95 |
OrderedSet add up to 256 items then delete first | 32.794 us/op | 12.541 us/op | 2.61 |
Set add up to 256 items then delete last | 22.580 us/op | 7.5088 us/op | 3.01 |
OrderedSet add up to 256 items then delete last | 29.617 us/op | 11.765 us/op | 2.52 |
Set add up to 256 items then delete middle | 20.840 us/op | 7.5480 us/op | 2.76 |
OrderedSet add up to 256 items then delete middle | 53.182 us/op | 32.454 us/op | 1.64 |
transfer serialized Status (84 B) | 2.0330 us/op | 1.4670 us/op | 1.39 |
copy serialized Status (84 B) | 1.5780 us/op | 1.2030 us/op | 1.31 |
transfer serialized SignedVoluntaryExit (112 B) | 2.2050 us/op | 1.5030 us/op | 1.47 |
copy serialized SignedVoluntaryExit (112 B) | 1.5870 us/op | 1.2150 us/op | 1.31 |
transfer serialized ProposerSlashing (416 B) | 3.3550 us/op | 1.7460 us/op | 1.92 |
copy serialized ProposerSlashing (416 B) | 2.3740 us/op | 1.4350 us/op | 1.65 |
transfer serialized Attestation (485 B) | 2.7150 us/op | 1.7030 us/op | 1.59 |
copy serialized Attestation (485 B) | 2.3490 us/op | 1.4670 us/op | 1.60 |
transfer serialized AttesterSlashing (33232 B) | 2.8210 us/op | 1.6940 us/op | 1.67 |
copy serialized AttesterSlashing (33232 B) | 7.6040 us/op | 3.6430 us/op | 2.09 |
transfer serialized Small SignedBeaconBlock (128000 B) | 2.8060 us/op | 1.8180 us/op | 1.54 |
copy serialized Small SignedBeaconBlock (128000 B) | 21.193 us/op | 8.7580 us/op | 2.42 |
transfer serialized Avg SignedBeaconBlock (200000 B) | 3.4720 us/op | 2.0300 us/op | 1.71 |
copy serialized Avg SignedBeaconBlock (200000 B) | 30.990 us/op | 13.413 us/op | 2.31 |
transfer serialized BlobsSidecar (524380 B) | 3.4010 us/op | 2.7040 us/op | 1.26 |
copy serialized BlobsSidecar (524380 B) | 187.46 us/op | 182.86 us/op | 1.03 |
transfer serialized Big SignedBeaconBlock (1000000 B) | 3.6560 us/op | 2.7010 us/op | 1.35 |
copy serialized Big SignedBeaconBlock (1000000 B) | 190.42 us/op | 143.17 us/op | 1.33 |
pass gossip attestations to forkchoice per slot | 5.0039 ms/op | 2.7168 ms/op | 1.84 |
forkChoice updateHead vc 100000 bc 64 eq 0 | 733.58 us/op | 489.31 us/op | 1.50 |
forkChoice updateHead vc 600000 bc 64 eq 0 | 4.5951 ms/op | 2.6051 ms/op | 1.76 |
forkChoice updateHead vc 1000000 bc 64 eq 0 | 8.3135 ms/op | 4.4416 ms/op | 1.87 |
forkChoice updateHead vc 600000 bc 320 eq 0 | 4.3882 ms/op | 2.6922 ms/op | 1.63 |
forkChoice updateHead vc 600000 bc 1200 eq 0 | 4.5639 ms/op | 2.9057 ms/op | 1.57 |
forkChoice updateHead vc 600000 bc 7200 eq 0 | 6.2990 ms/op | 3.7629 ms/op | 1.67 |
forkChoice updateHead vc 600000 bc 64 eq 1000 | 12.108 ms/op | 10.116 ms/op | 1.20 |
forkChoice updateHead vc 600000 bc 64 eq 10000 | 13.131 ms/op | 10.102 ms/op | 1.30 |
forkChoice updateHead vc 600000 bc 64 eq 300000 | 18.198 ms/op | 13.517 ms/op | 1.35 |
computeDeltas 500000 validators 300 proto nodes | 7.1336 ms/op | 3.1751 ms/op | 2.25 |
computeDeltas 500000 validators 1200 proto nodes | 7.4129 ms/op | 3.0940 ms/op | 2.40 |
computeDeltas 500000 validators 7200 proto nodes | 7.2839 ms/op | 3.2320 ms/op | 2.25 |
computeDeltas 750000 validators 300 proto nodes | 10.615 ms/op | 5.0125 ms/op | 2.12 |
computeDeltas 750000 validators 1200 proto nodes | 10.188 ms/op | 4.7849 ms/op | 2.13 |
computeDeltas 750000 validators 7200 proto nodes | 9.7226 ms/op | 4.6341 ms/op | 2.10 |
computeDeltas 1400000 validators 300 proto nodes | 18.394 ms/op | 9.2630 ms/op | 1.99 |
computeDeltas 1400000 validators 1200 proto nodes | 18.812 ms/op | 8.9564 ms/op | 2.10 |
computeDeltas 1400000 validators 7200 proto nodes | 18.946 ms/op | 9.3646 ms/op | 2.02 |
computeDeltas 2100000 validators 300 proto nodes | 28.445 ms/op | 13.526 ms/op | 2.10 |
computeDeltas 2100000 validators 1200 proto nodes | 28.798 ms/op | 14.249 ms/op | 2.02 |
computeDeltas 2100000 validators 7200 proto nodes | 29.131 ms/op | 14.315 ms/op | 2.04 |
altair processAttestation - 250000 vs - 7PWei normalcase | 2.3937 ms/op | 1.6663 ms/op | 1.44 |
altair processAttestation - 250000 vs - 7PWei worstcase | 3.6703 ms/op | 2.2919 ms/op | 1.60 |
altair processAttestation - setStatus - 1/6 committees join | 187.29 us/op | 154.87 us/op | 1.21 |
altair processAttestation - setStatus - 1/3 committees join | 357.74 us/op | 242.17 us/op | 1.48 |
altair processAttestation - setStatus - 1/2 committees join | 504.40 us/op | 315.88 us/op | 1.60 |
altair processAttestation - setStatus - 2/3 committees join | 607.09 us/op | 443.07 us/op | 1.37 |
altair processAttestation - setStatus - 4/5 committees join | 812.55 us/op | 545.73 us/op | 1.49 |
altair processAttestation - setStatus - 100% committees join | 986.48 us/op | 629.71 us/op | 1.57 |
altair processBlock - 250000 vs - 7PWei normalcase | 10.404 ms/op | 9.6636 ms/op | 1.08 |
altair processBlock - 250000 vs - 7PWei normalcase hashState | 34.323 ms/op | 37.480 ms/op | 0.92 |
altair processBlock - 250000 vs - 7PWei worstcase | 42.361 ms/op | 36.650 ms/op | 1.16 |
altair processBlock - 250000 vs - 7PWei worstcase hashState | 92.803 ms/op | 93.528 ms/op | 0.99 |
phase0 processBlock - 250000 vs - 7PWei normalcase | 3.1699 ms/op | 2.5750 ms/op | 1.23 |
phase0 processBlock - 250000 vs - 7PWei worstcase | 32.514 ms/op | 29.921 ms/op | 1.09 |
altair processEth1Data - 250000 vs - 7PWei normalcase | 705.81 us/op | 296.71 us/op | 2.38 |
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 | 17.775 us/op | 12.596 us/op | 1.41 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 | 91.485 us/op | 68.063 us/op | 1.34 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 | 20.179 us/op | 14.653 us/op | 1.38 |
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 | 17.935 us/op | 9.9880 us/op | 1.80 |
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 | 217.63 us/op | 137.57 us/op | 1.58 |
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 | 1.6140 ms/op | 1.0356 ms/op | 1.56 |
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 | 1.8827 ms/op | 1.3562 ms/op | 1.39 |
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 | 2.0907 ms/op | 1.4440 ms/op | 1.45 |
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 | 3.8789 ms/op | 4.3710 ms/op | 0.89 |
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 | 3.1990 ms/op | 2.0251 ms/op | 1.58 |
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 | 5.7470 ms/op | 4.3621 ms/op | 1.32 |
Tree 40 250000 create | 412.56 ms/op | 322.35 ms/op | 1.28 |
Tree 40 250000 get(125000) | 225.24 ns/op | 119.61 ns/op | 1.88 |
Tree 40 250000 set(125000) | 1.1950 us/op | 696.04 ns/op | 1.72 |
Tree 40 250000 toArray() | 23.826 ms/op | 22.077 ms/op | 1.08 |
Tree 40 250000 iterate all - toArray() + loop | 24.746 ms/op | 21.360 ms/op | 1.16 |
Tree 40 250000 iterate all - get(i) | 77.240 ms/op | 49.989 ms/op | 1.55 |
MutableVector 250000 create | 16.360 ms/op | 14.432 ms/op | 1.13 |
MutableVector 250000 get(125000) | 6.7670 ns/op | 5.7040 ns/op | 1.19 |
MutableVector 250000 set(125000) | 319.73 ns/op | 335.73 ns/op | 0.95 |
MutableVector 250000 toArray() | 3.8849 ms/op | 2.8819 ms/op | 1.35 |
MutableVector 250000 iterate all - toArray() + loop | 4.2411 ms/op | 3.0012 ms/op | 1.41 |
MutableVector 250000 iterate all - get(i) | 1.6335 ms/op | 1.3655 ms/op | 1.20 |
Array 250000 create | 3.4984 ms/op | 2.5035 ms/op | 1.40 |
Array 250000 clone - spread | 1.5279 ms/op | 1.1606 ms/op | 1.32 |
Array 250000 get(125000) | 1.2320 ns/op | 1.0650 ns/op | 1.16 |
Array 250000 set(125000) | 4.4500 ns/op | 1.2870 ns/op | 3.46 |
Array 250000 iterate all - loop | 172.77 us/op | 156.36 us/op | 1.10 |
effectiveBalanceIncrements clone Uint8Array 300000 | 53.561 us/op | 14.456 us/op | 3.71 |
effectiveBalanceIncrements clone MutableVector 300000 | 470.00 ns/op | 429.00 ns/op | 1.10 |
effectiveBalanceIncrements rw all Uint8Array 300000 | 217.40 us/op | 187.55 us/op | 1.16 |
effectiveBalanceIncrements rw all MutableVector 300000 | 104.62 ms/op | 66.956 ms/op | 1.56 |
phase0 afterProcessEpoch - 250000 vs - 7PWei | 121.48 ms/op | 75.530 ms/op | 1.61 |
phase0 beforeProcessEpoch - 250000 vs - 7PWei | 40.855 ms/op | 48.102 ms/op | 0.85 |
altair processEpoch - mainnet_e81889 | 540.82 ms/op | 401.18 ms/op | 1.35 |
mainnet_e81889 - altair beforeProcessEpoch | 87.913 ms/op | 67.617 ms/op | 1.30 |
mainnet_e81889 - altair processJustificationAndFinalization | 15.420 us/op | 14.794 us/op | 1.04 |
mainnet_e81889 - altair processInactivityUpdates | 6.4021 ms/op | 5.3336 ms/op | 1.20 |
mainnet_e81889 - altair processRewardsAndPenalties | 65.150 ms/op | 61.277 ms/op | 1.06 |
mainnet_e81889 - altair processRegistryUpdates | 2.5180 us/op | 1.9050 us/op | 1.32 |
mainnet_e81889 - altair processSlashings | 462.00 ns/op | 660.00 ns/op | 0.70 |
mainnet_e81889 - altair processEth1DataReset | 496.00 ns/op | 942.00 ns/op | 0.53 |
mainnet_e81889 - altair processEffectiveBalanceUpdates | 1.5275 ms/op | 1.3069 ms/op | 1.17 |
mainnet_e81889 - altair processSlashingsReset | 4.6590 us/op | 4.2270 us/op | 1.10 |
mainnet_e81889 - altair processRandaoMixesReset | 3.8690 us/op | 4.9040 us/op | 0.79 |
mainnet_e81889 - altair processHistoricalRootsUpdate | 753.00 ns/op | 1.2670 us/op | 0.59 |
mainnet_e81889 - altair processParticipationFlagUpdates | 4.1430 us/op | 3.1130 us/op | 1.33 |
mainnet_e81889 - altair processSyncCommitteeUpdates | 723.00 ns/op | 1.1960 us/op | 0.60 |
mainnet_e81889 - altair afterProcessEpoch | 121.99 ms/op | 85.255 ms/op | 1.43 |
capella processEpoch - mainnet_e217614 | 2.0681 s/op | 2.4800 s/op | 0.83 |
mainnet_e217614 - capella beforeProcessEpoch | 479.83 ms/op | 530.43 ms/op | 0.90 |
mainnet_e217614 - capella processJustificationAndFinalization | 14.577 us/op | 23.222 us/op | 0.63 |
mainnet_e217614 - capella processInactivityUpdates | 22.171 ms/op | 19.862 ms/op | 1.12 |
mainnet_e217614 - capella processRewardsAndPenalties | 436.87 ms/op | 398.11 ms/op | 1.10 |
mainnet_e217614 - capella processRegistryUpdates | 24.608 us/op | 21.885 us/op | 1.12 |
mainnet_e217614 - capella processSlashings | 486.00 ns/op | 810.00 ns/op | 0.60 |
mainnet_e217614 - capella processEth1DataReset | 573.00 ns/op | 763.00 ns/op | 0.75 |
mainnet_e217614 - capella processEffectiveBalanceUpdates | 4.7219 ms/op | 4.3839 ms/op | 1.08 |
mainnet_e217614 - capella processSlashingsReset | 3.9500 us/op | 4.2660 us/op | 0.93 |
mainnet_e217614 - capella processRandaoMixesReset | 5.9420 us/op | 5.2940 us/op | 1.12 |
mainnet_e217614 - capella processHistoricalRootsUpdate | 1.5270 us/op | 985.00 ns/op | 1.55 |
mainnet_e217614 - capella processParticipationFlagUpdates | 2.3350 us/op | 2.1730 us/op | 1.07 |
mainnet_e217614 - capella afterProcessEpoch | 358.30 ms/op | 240.13 ms/op | 1.49 |
phase0 processEpoch - mainnet_e58758 | 516.06 ms/op | 425.95 ms/op | 1.21 |
mainnet_e58758 - phase0 beforeProcessEpoch | 166.60 ms/op | 123.18 ms/op | 1.35 |
mainnet_e58758 - phase0 processJustificationAndFinalization | 36.543 us/op | 14.471 us/op | 2.53 |
mainnet_e58758 - phase0 processRewardsAndPenalties | 61.362 ms/op | 54.296 ms/op | 1.13 |
mainnet_e58758 - phase0 processRegistryUpdates | 15.648 us/op | 8.8470 us/op | 1.77 |
mainnet_e58758 - phase0 processSlashings | 891.00 ns/op | 570.00 ns/op | 1.56 |
mainnet_e58758 - phase0 processEth1DataReset | 1.0670 us/op | 525.00 ns/op | 2.03 |
mainnet_e58758 - phase0 processEffectiveBalanceUpdates | 1.3255 ms/op | 1.4905 ms/op | 0.89 |
mainnet_e58758 - phase0 processSlashingsReset | 7.1550 us/op | 2.5960 us/op | 2.76 |
mainnet_e58758 - phase0 processRandaoMixesReset | 4.6210 us/op | 3.2610 us/op | 1.42 |
mainnet_e58758 - phase0 processHistoricalRootsUpdate | 621.00 ns/op | 642.00 ns/op | 0.97 |
mainnet_e58758 - phase0 processParticipationRecordUpdates | 11.965 us/op | 4.0190 us/op | 2.98 |
mainnet_e58758 - phase0 afterProcessEpoch | 106.38 ms/op | 63.962 ms/op | 1.66 |
phase0 processEffectiveBalanceUpdates - 250000 normalcase | 1.5473 ms/op | 1.0628 ms/op | 1.46 |
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 | 1.9298 ms/op | 1.1808 ms/op | 1.63 |
altair processInactivityUpdates - 250000 normalcase | 30.492 ms/op | 21.238 ms/op | 1.44 |
altair processInactivityUpdates - 250000 worstcase | 33.594 ms/op | 22.956 ms/op | 1.46 |
phase0 processRegistryUpdates - 250000 normalcase | 13.156 us/op | 9.2550 us/op | 1.42 |
phase0 processRegistryUpdates - 250000 badcase_full_deposits | 493.33 us/op | 470.12 us/op | 1.05 |
phase0 processRegistryUpdates - 250000 worstcase 0.5 | 152.25 ms/op | 134.84 ms/op | 1.13 |
altair processRewardsAndPenalties - 250000 normalcase | 67.122 ms/op | 56.833 ms/op | 1.18 |
altair processRewardsAndPenalties - 250000 worstcase | 65.440 ms/op | 53.585 ms/op | 1.22 |
phase0 getAttestationDeltas - 250000 normalcase | 10.721 ms/op | 6.0717 ms/op | 1.77 |
phase0 getAttestationDeltas - 250000 worstcase | 11.504 ms/op | 9.5738 ms/op | 1.20 |
phase0 processSlashings - 250000 worstcase | 122.95 us/op | 97.996 us/op | 1.25 |
altair processSyncCommitteeUpdates - 250000 | 181.35 ms/op | 131.45 ms/op | 1.38 |
BeaconState.hashTreeRoot - No change | 730.00 ns/op | 405.00 ns/op | 1.80 |
BeaconState.hashTreeRoot - 1 full validator | 148.25 us/op | 86.517 us/op | 1.71 |
BeaconState.hashTreeRoot - 32 full validator | 1.9119 ms/op | 1.0095 ms/op | 1.89 |
BeaconState.hashTreeRoot - 512 full validator | 17.942 ms/op | 11.948 ms/op | 1.50 |
BeaconState.hashTreeRoot - 1 validator.effectiveBalance | 178.07 us/op | 161.07 us/op | 1.11 |
BeaconState.hashTreeRoot - 32 validator.effectiveBalance | 2.4049 ms/op | 1.9885 ms/op | 1.21 |
BeaconState.hashTreeRoot - 512 validator.effectiveBalance | 33.024 ms/op | 32.109 ms/op | 1.03 |
BeaconState.hashTreeRoot - 1 balances | 142.92 us/op | 140.33 us/op | 1.02 |
BeaconState.hashTreeRoot - 32 balances | 1.2857 ms/op | 1.3130 ms/op | 0.98 |
BeaconState.hashTreeRoot - 512 balances | 13.428 ms/op | 14.163 ms/op | 0.95 |
BeaconState.hashTreeRoot - 250000 balances | 226.28 ms/op | 209.13 ms/op | 1.08 |
aggregationBits - 2048 els - zipIndexesInBitList | 28.519 us/op | 19.061 us/op | 1.50 |
byteArrayEquals 32 | 86.956 ns/op | 64.571 ns/op | 1.35 |
Buffer.compare 32 | 65.090 ns/op | 39.042 ns/op | 1.67 |
byteArrayEquals 1024 | 2.3400 us/op | 1.7098 us/op | 1.37 |
Buffer.compare 1024 | 79.060 ns/op | 43.481 ns/op | 1.82 |
byteArrayEquals 16384 | 36.557 us/op | 27.205 us/op | 1.34 |
Buffer.compare 16384 | 302.63 ns/op | 236.50 ns/op | 1.28 |
byteArrayEquals 123687377 | 275.42 ms/op | 209.60 ms/op | 1.31 |
Buffer.compare 123687377 | 8.7658 ms/op | 7.3516 ms/op | 1.19 |
byteArrayEquals 32 - diff last byte | 84.635 ns/op | 73.111 ns/op | 1.16 |
Buffer.compare 32 - diff last byte | 62.753 ns/op | 41.293 ns/op | 1.52 |
byteArrayEquals 1024 - diff last byte | 2.2806 us/op | 1.8387 us/op | 1.24 |
Buffer.compare 1024 - diff last byte | 81.018 ns/op | 47.488 ns/op | 1.71 |
byteArrayEquals 16384 - diff last byte | 36.124 us/op | 28.884 us/op | 1.25 |
Buffer.compare 16384 - diff last byte | 272.61 ns/op | 219.00 ns/op | 1.24 |
byteArrayEquals 123687377 - diff last byte | 280.06 ms/op | 212.38 ms/op | 1.32 |
Buffer.compare 123687377 - diff last byte | 8.4214 ms/op | 6.4707 ms/op | 1.30 |
byteArrayEquals 32 - random bytes | 6.9800 ns/op | 5.0150 ns/op | 1.39 |
Buffer.compare 32 - random bytes | 65.635 ns/op | 40.623 ns/op | 1.62 |
byteArrayEquals 1024 - random bytes | 6.2990 ns/op | 4.9840 ns/op | 1.26 |
Buffer.compare 1024 - random bytes | 65.415 ns/op | 40.394 ns/op | 1.62 |
byteArrayEquals 16384 - random bytes | 6.2030 ns/op | 4.7890 ns/op | 1.30 |
Buffer.compare 16384 - random bytes | 64.793 ns/op | 39.094 ns/op | 1.66 |
byteArrayEquals 123687377 - random bytes | 8.9500 ns/op | 8.3100 ns/op | 1.08 |
Buffer.compare 123687377 - random bytes | 70.950 ns/op | 50.220 ns/op | 1.41 |
regular array get 100000 times | 47.375 us/op | 43.806 us/op | 1.08 |
wrappedArray get 100000 times | 47.260 us/op | 44.811 us/op | 1.05 |
arrayWithProxy get 100000 times | 15.046 ms/op | 10.285 ms/op | 1.46 |
ssz.Root.equals | 57.815 ns/op | 56.272 ns/op | 1.03 |
byteArrayEquals | 56.873 ns/op | 56.293 ns/op | 1.01 |
Buffer.compare | 12.131 ns/op | 10.735 ns/op | 1.13 |
shuffle list - 16384 els | 7.4518 ms/op | 4.8128 ms/op | 1.55 |
shuffle list - 250000 els | 109.58 ms/op | 70.994 ms/op | 1.54 |
processSlot - 1 slots | 18.699 us/op | 19.445 us/op | 0.96 |
processSlot - 32 slots | 3.5573 ms/op | 3.0863 ms/op | 1.15 |
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei | 64.265 ms/op | 53.845 ms/op | 1.19 |
getCommitteeAssignments - req 1 vs - 250000 vc | 2.5622 ms/op | 2.2481 ms/op | 1.14 |
getCommitteeAssignments - req 100 vs - 250000 vc | 3.7893 ms/op | 3.4329 ms/op | 1.10 |
getCommitteeAssignments - req 1000 vs - 250000 vc | 4.3585 ms/op | 3.7274 ms/op | 1.17 |
findModifiedValidators - 10000 modified validators | 576.02 ms/op | 450.94 ms/op | 1.28 |
findModifiedValidators - 1000 modified validators | 466.38 ms/op | 348.16 ms/op | 1.34 |
findModifiedValidators - 100 modified validators | 444.85 ms/op | 327.73 ms/op | 1.36 |
findModifiedValidators - 10 modified validators | 425.38 ms/op | 316.58 ms/op | 1.34 |
findModifiedValidators - 1 modified validators | 424.19 ms/op | 339.52 ms/op | 1.25 |
findModifiedValidators - no difference | 412.16 ms/op | 333.80 ms/op | 1.23 |
compare ViewDUs | 4.6740 s/op | 4.4357 s/op | 1.05 |
compare each validator Uint8Array | 1.5804 s/op | 1.4655 s/op | 1.08 |
compare ViewDU to Uint8Array | 1.3004 s/op | 1.1366 s/op | 1.14 |
migrate state 1000000 validators, 24 modified, 0 new | 799.77 ms/op | 620.37 ms/op | 1.29 |
migrate state 1000000 validators, 1700 modified, 1000 new | 1.1294 s/op | 818.64 ms/op | 1.38 |
migrate state 1000000 validators, 3400 modified, 2000 new | 1.4054 s/op | 990.23 ms/op | 1.42 |
migrate state 1500000 validators, 24 modified, 0 new | 807.25 ms/op | 665.63 ms/op | 1.21 |
migrate state 1500000 validators, 1700 modified, 1000 new | 1.1848 s/op | 940.39 ms/op | 1.26 |
migrate state 1500000 validators, 3400 modified, 2000 new | 1.3804 s/op | 1.1316 s/op | 1.22 |
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei | 4.4700 ns/op | 4.5200 ns/op | 0.99 |
state getBlockRootAtSlot - 250000 vs - 7PWei | 547.33 ns/op | 874.60 ns/op | 0.63 |
computeProposers - vc 250000 | 9.0335 ms/op | 6.3375 ms/op | 1.43 |
computeEpochShuffling - vc 250000 | 106.05 ms/op | 66.689 ms/op | 1.59 |
getNextSyncCommittee - vc 250000 | 151.08 ms/op | 111.28 ms/op | 1.36 |
computeSigningRoot for AttestationData | 23.221 us/op | 26.246 us/op | 0.88 |
hash AttestationData serialized data then Buffer.toString(base64) | 2.3774 us/op | 1.2130 us/op | 1.96 |
toHexString serialized data | 1.0938 us/op | 815.32 ns/op | 1.34 |
Buffer.toString(base64) | 221.95 ns/op | 154.32 ns/op | 1.44 |
by benchmarkbot/action
🎉 This PR is included in v1.16.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
Fix an incorrect link.