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: remove not yet relevant prover options #6440

Merged
merged 1 commit into from
Feb 16, 2024

Conversation

jeluard
Copy link
Contributor

@jeluard jeluard commented Feb 16, 2024

Motivation

Make sure prover CLI does not expose options not yet implemented.

Description

The beaconBootnodes option should not be exposed by the prover CLI as it's not yet implemented.

@jeluard jeluard requested a review from a team as a code owner February 16, 2024 13:41
@jeluard jeluard force-pushed the jeluard/prover-remove-beaconbootnodes branch 2 times, most recently from a9e0313 to 81fd4e6 Compare February 16, 2024 13:56
Copy link

codecov bot commented Feb 16, 2024

Codecov Report

Merging #6440 (9913d5f) into unstable (d01c542) will not change coverage.
Report is 2 commits behind head on unstable.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #6440   +/-   ##
=========================================
  Coverage     61.70%   61.70%           
=========================================
  Files           553      553           
  Lines         57858    57858           
  Branches       1829     1829           
=========================================
  Hits          35702    35702           
  Misses        22119    22119           
  Partials         37       37           

@jeluard jeluard force-pushed the jeluard/prover-remove-beaconbootnodes branch from 81fd4e6 to 39f2648 Compare February 16, 2024 14:13
@jeluard jeluard force-pushed the jeluard/prover-remove-beaconbootnodes branch from 39f2648 to 9913d5f Compare February 16, 2024 14:55
@nflaig nflaig changed the title chore: remove not yet relevant option chore: remove not yet relevant prover options Feb 16, 2024
@nflaig nflaig merged commit 227930c into unstable Feb 16, 2024
19 of 21 checks passed
@nflaig nflaig deleted the jeluard/prover-remove-beaconbootnodes branch February 16, 2024 15:21
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 894edd9 Previous: 17b4fde Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 494.85 us/op 805.33 us/op 0.61
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 77.740 us/op 82.811 us/op 0.94
BLS verify - blst-native 1.1075 ms/op 1.3043 ms/op 0.85
BLS verifyMultipleSignatures 3 - blst-native 2.3757 ms/op 2.7328 ms/op 0.87
BLS verifyMultipleSignatures 8 - blst-native 5.1911 ms/op 5.9744 ms/op 0.87
BLS verifyMultipleSignatures 32 - blst-native 19.032 ms/op 22.375 ms/op 0.85
BLS verifyMultipleSignatures 64 - blst-native 37.425 ms/op 43.548 ms/op 0.86
BLS verifyMultipleSignatures 128 - blst-native 77.330 ms/op 86.800 ms/op 0.89
BLS deserializing 10000 signatures 808.71 ms/op 921.26 ms/op 0.88
BLS deserializing 100000 signatures 8.7439 s/op 9.3566 s/op 0.93
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2021 ms/op 1.3415 ms/op 0.90
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4784 ms/op 1.5093 ms/op 0.98
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.0612 ms/op 3.0449 ms/op 0.68
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.0565 ms/op 3.3856 ms/op 0.90
BLS verifyMultipleSignatures - same message - 128 - blst-native 7.5917 ms/op 7.6453 ms/op 0.99
BLS aggregatePubkeys 32 - blst-native 23.212 us/op 27.431 us/op 0.85
BLS aggregatePubkeys 128 - blst-native 90.734 us/op 100.30 us/op 0.90
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 45.134 ms/op 57.766 ms/op 0.78
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 42.414 ms/op 52.546 ms/op 0.81
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 26.506 ms/op 32.120 ms/op 0.83
getSlashingsAndExits - default max 120.51 us/op 163.73 us/op 0.74
getSlashingsAndExits - 2k 537.96 us/op 480.82 us/op 1.12
proposeBlockBody type=full, size=empty 4.0598 ms/op 5.3928 ms/op 0.75
isKnown best case - 1 super set check 423.00 ns/op 333.00 ns/op 1.27
isKnown normal case - 2 super set checks 364.00 ns/op 290.00 ns/op 1.26
isKnown worse case - 16 super set checks 363.00 ns/op 298.00 ns/op 1.22
CheckpointStateCache - add get delete 5.0990 us/op 5.4970 us/op 0.93
validate api signedAggregateAndProof - struct 2.4455 ms/op 2.7741 ms/op 0.88
validate gossip signedAggregateAndProof - struct 2.4295 ms/op 2.7581 ms/op 0.88
validate gossip attestation - vc 640000 1.1552 ms/op 1.3502 ms/op 0.86
batch validate gossip attestation - vc 640000 - chunk 32 141.43 us/op 167.52 us/op 0.84
batch validate gossip attestation - vc 640000 - chunk 64 124.08 us/op 153.79 us/op 0.81
batch validate gossip attestation - vc 640000 - chunk 128 113.19 us/op 149.13 us/op 0.76
batch validate gossip attestation - vc 640000 - chunk 256 118.73 us/op 143.98 us/op 0.82
pickEth1Vote - no votes 989.56 us/op 1.4839 ms/op 0.67
pickEth1Vote - max votes 9.5232 ms/op 15.479 ms/op 0.62
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.239 ms/op 21.457 ms/op 0.66
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 25.671 ms/op 31.013 ms/op 0.83
pickEth1Vote - Eth1Data fastSerialize value x2048 455.99 us/op 749.57 us/op 0.61
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.2632 ms/op 5.3742 ms/op 0.98
bytes32 toHexString 709.00 ns/op 594.00 ns/op 1.19
bytes32 Buffer.toString(hex) 394.00 ns/op 304.00 ns/op 1.30
bytes32 Buffer.toString(hex) from Uint8Array 548.00 ns/op 530.00 ns/op 1.03
bytes32 Buffer.toString(hex) + 0x 360.00 ns/op 314.00 ns/op 1.15
Object access 1 prop 0.25000 ns/op 0.20000 ns/op 1.25
Map access 1 prop 0.19700 ns/op 0.14800 ns/op 1.33
Object get x1000 5.2240 ns/op 7.2790 ns/op 0.72
Map get x1000 0.86500 ns/op 0.84100 ns/op 1.03
Object set x1000 42.017 ns/op 66.063 ns/op 0.64
Map set x1000 21.852 ns/op 54.336 ns/op 0.40
Return object 10000 times 0.25020 ns/op 0.26520 ns/op 0.94
Throw Error 10000 times 2.7865 us/op 4.0217 us/op 0.69
fastMsgIdFn sha256 / 200 bytes 2.1950 us/op 3.5180 us/op 0.62
fastMsgIdFn h32 xxhash / 200 bytes 380.00 ns/op 349.00 ns/op 1.09
fastMsgIdFn h64 xxhash / 200 bytes 425.00 ns/op 403.00 ns/op 1.05
fastMsgIdFn sha256 / 1000 bytes 6.6990 us/op 11.708 us/op 0.57
fastMsgIdFn h32 xxhash / 1000 bytes 532.00 ns/op 477.00 ns/op 1.12
fastMsgIdFn h64 xxhash / 1000 bytes 461.00 ns/op 459.00 ns/op 1.00
fastMsgIdFn sha256 / 10000 bytes 53.686 us/op 106.57 us/op 0.50
fastMsgIdFn h32 xxhash / 10000 bytes 1.8960 us/op 2.0260 us/op 0.94
fastMsgIdFn h64 xxhash / 10000 bytes 1.2930 us/op 1.4010 us/op 0.92
send data - 1000 256B messages 15.280 ms/op 25.410 ms/op 0.60
send data - 1000 512B messages 17.503 ms/op 33.117 ms/op 0.53
send data - 1000 1024B messages 30.540 ms/op 49.220 ms/op 0.62
send data - 1000 1200B messages 29.485 ms/op 48.343 ms/op 0.61
send data - 1000 2048B messages 39.260 ms/op 60.707 ms/op 0.65
send data - 1000 4096B messages 38.944 ms/op 53.741 ms/op 0.72
send data - 1000 16384B messages 97.740 ms/op 142.12 ms/op 0.69
send data - 1000 65536B messages 448.97 ms/op 617.97 ms/op 0.73
enrSubnets - fastDeserialize 64 bits 1.7140 us/op 1.9390 us/op 0.88
enrSubnets - ssz BitVector 64 bits 667.00 ns/op 585.00 ns/op 1.14
enrSubnets - fastDeserialize 4 bits 296.00 ns/op 256.00 ns/op 1.16
enrSubnets - ssz BitVector 4 bits 642.00 ns/op 593.00 ns/op 1.08
prioritizePeers score -10:0 att 32-0.1 sync 2-0 90.862 us/op 130.79 us/op 0.69
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 106.77 us/op 146.64 us/op 0.73
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 165.24 us/op 209.12 us/op 0.79
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 298.51 us/op 336.32 us/op 0.89
prioritizePeers score 0:0 att 64-1 sync 4-1 337.19 us/op 381.11 us/op 0.88
array of 16000 items push then shift 1.5620 us/op 1.6744 us/op 0.93
LinkedList of 16000 items push then shift 7.7790 ns/op 9.4460 ns/op 0.82
array of 16000 items push then pop 125.68 ns/op 104.81 ns/op 1.20
LinkedList of 16000 items push then pop 6.6250 ns/op 8.8430 ns/op 0.75
array of 24000 items push then shift 2.0861 us/op 2.4344 us/op 0.86
LinkedList of 24000 items push then shift 6.3240 ns/op 9.0750 ns/op 0.70
array of 24000 items push then pop 142.12 ns/op 147.11 ns/op 0.97
LinkedList of 24000 items push then pop 6.2250 ns/op 8.9400 ns/op 0.70
intersect bitArray bitLen 8 5.5450 ns/op 5.9390 ns/op 0.93
intersect array and set length 8 57.812 ns/op 87.379 ns/op 0.66
intersect bitArray bitLen 128 34.950 ns/op 36.722 ns/op 0.95
intersect array and set length 128 1.2258 us/op 1.2084 us/op 1.01
bitArray.getTrueBitIndexes() bitLen 128 2.1460 us/op 2.1820 us/op 0.98
bitArray.getTrueBitIndexes() bitLen 248 3.8080 us/op 3.1180 us/op 1.22
bitArray.getTrueBitIndexes() bitLen 512 8.2300 us/op 5.3050 us/op 1.55
Buffer.concat 32 items 1.7540 us/op 1.1020 us/op 1.59
Uint8Array.set 32 items 2.7650 us/op 2.8200 us/op 0.98
Set add up to 64 items then delete first 3.0068 us/op 5.0883 us/op 0.59
OrderedSet add up to 64 items then delete first 3.4818 us/op 6.7557 us/op 0.52
Set add up to 64 items then delete last 2.9129 us/op 5.2594 us/op 0.55
OrderedSet add up to 64 items then delete last 3.3269 us/op 7.2413 us/op 0.46
Set add up to 64 items then delete middle 2.1976 us/op 5.3759 us/op 0.41
OrderedSet add up to 64 items then delete middle 4.4005 us/op 8.6286 us/op 0.51
Set add up to 128 items then delete first 4.0683 us/op 10.836 us/op 0.38
OrderedSet add up to 128 items then delete first 7.5183 us/op 14.995 us/op 0.50
Set add up to 128 items then delete last 3.9207 us/op 10.841 us/op 0.36
OrderedSet add up to 128 items then delete last 6.0023 us/op 14.485 us/op 0.41
Set add up to 128 items then delete middle 4.2633 us/op 10.783 us/op 0.40
OrderedSet add up to 128 items then delete middle 11.858 us/op 20.003 us/op 0.59
Set add up to 256 items then delete first 8.2873 us/op 22.166 us/op 0.37
OrderedSet add up to 256 items then delete first 13.946 us/op 31.465 us/op 0.44
Set add up to 256 items then delete last 8.2548 us/op 21.619 us/op 0.38
OrderedSet add up to 256 items then delete last 14.641 us/op 28.461 us/op 0.51
Set add up to 256 items then delete middle 10.763 us/op 21.814 us/op 0.49
OrderedSet add up to 256 items then delete middle 40.232 us/op 52.481 us/op 0.77
transfer serialized Status (84 B) 1.6850 us/op 2.0860 us/op 0.81
copy serialized Status (84 B) 1.2520 us/op 1.5320 us/op 0.82
transfer serialized SignedVoluntaryExit (112 B) 1.7120 us/op 2.2820 us/op 0.75
copy serialized SignedVoluntaryExit (112 B) 1.2870 us/op 1.6230 us/op 0.79
transfer serialized ProposerSlashing (416 B) 2.0710 us/op 2.7820 us/op 0.74
copy serialized ProposerSlashing (416 B) 1.8190 us/op 2.5540 us/op 0.71
transfer serialized Attestation (485 B) 1.9650 us/op 3.2330 us/op 0.61
copy serialized Attestation (485 B) 1.9930 us/op 2.3090 us/op 0.86
transfer serialized AttesterSlashing (33232 B) 2.1550 us/op 2.4310 us/op 0.89
copy serialized AttesterSlashing (33232 B) 9.6520 us/op 9.0210 us/op 1.07
transfer serialized Small SignedBeaconBlock (128000 B) 2.2600 us/op 2.9160 us/op 0.78
copy serialized Small SignedBeaconBlock (128000 B) 31.076 us/op 22.788 us/op 1.36
transfer serialized Avg SignedBeaconBlock (200000 B) 3.2060 us/op 3.0470 us/op 1.05
copy serialized Avg SignedBeaconBlock (200000 B) 52.208 us/op 32.196 us/op 1.62
transfer serialized BlobsSidecar (524380 B) 3.6240 us/op 2.8850 us/op 1.26
copy serialized BlobsSidecar (524380 B) 84.645 us/op 119.42 us/op 0.71
transfer serialized Big SignedBeaconBlock (1000000 B) 3.7560 us/op 2.9730 us/op 1.26
copy serialized Big SignedBeaconBlock (1000000 B) 143.39 us/op 202.54 us/op 0.71
pass gossip attestations to forkchoice per slot 3.0653 ms/op 3.9453 ms/op 0.78
forkChoice updateHead vc 100000 bc 64 eq 0 458.49 us/op 684.15 us/op 0.67
forkChoice updateHead vc 600000 bc 64 eq 0 2.6508 ms/op 5.9038 ms/op 0.45
forkChoice updateHead vc 1000000 bc 64 eq 0 4.3910 ms/op 7.8908 ms/op 0.56
forkChoice updateHead vc 600000 bc 320 eq 0 2.7354 ms/op 4.6978 ms/op 0.58
forkChoice updateHead vc 600000 bc 1200 eq 0 2.7167 ms/op 4.4772 ms/op 0.61
forkChoice updateHead vc 600000 bc 7200 eq 0 4.4566 ms/op 6.1444 ms/op 0.73
forkChoice updateHead vc 600000 bc 64 eq 1000 10.119 ms/op 11.545 ms/op 0.88
forkChoice updateHead vc 600000 bc 64 eq 10000 12.143 ms/op 12.272 ms/op 0.99
forkChoice updateHead vc 600000 bc 64 eq 300000 15.068 ms/op 20.062 ms/op 0.75
computeDeltas 500000 validators 300 proto nodes 3.4267 ms/op 7.2324 ms/op 0.47
computeDeltas 500000 validators 1200 proto nodes 3.3598 ms/op 7.0840 ms/op 0.47
computeDeltas 500000 validators 7200 proto nodes 3.0852 ms/op 6.6028 ms/op 0.47
computeDeltas 750000 validators 300 proto nodes 4.6545 ms/op 9.9195 ms/op 0.47
computeDeltas 750000 validators 1200 proto nodes 4.5348 ms/op 9.7930 ms/op 0.46
computeDeltas 750000 validators 7200 proto nodes 4.6560 ms/op 9.5110 ms/op 0.49
computeDeltas 1400000 validators 300 proto nodes 8.8441 ms/op 19.072 ms/op 0.46
computeDeltas 1400000 validators 1200 proto nodes 8.9841 ms/op 18.547 ms/op 0.48
computeDeltas 1400000 validators 7200 proto nodes 9.0987 ms/op 18.930 ms/op 0.48
computeDeltas 2100000 validators 300 proto nodes 14.172 ms/op 29.318 ms/op 0.48
computeDeltas 2100000 validators 1200 proto nodes 14.002 ms/op 28.302 ms/op 0.49
computeDeltas 2100000 validators 7200 proto nodes 14.464 ms/op 29.316 ms/op 0.49
altair processAttestation - 250000 vs - 7PWei normalcase 1.9268 ms/op 3.0745 ms/op 0.63
altair processAttestation - 250000 vs - 7PWei worstcase 2.3138 ms/op 3.4600 ms/op 0.67
altair processAttestation - setStatus - 1/6 committees join 76.748 us/op 190.87 us/op 0.40
altair processAttestation - setStatus - 1/3 committees join 177.63 us/op 360.48 us/op 0.49
altair processAttestation - setStatus - 1/2 committees join 255.18 us/op 489.30 us/op 0.52
altair processAttestation - setStatus - 2/3 committees join 341.45 us/op 594.09 us/op 0.57
altair processAttestation - setStatus - 4/5 committees join 499.75 us/op 820.50 us/op 0.61
altair processAttestation - setStatus - 100% committees join 555.50 us/op 932.91 us/op 0.60
altair processBlock - 250000 vs - 7PWei normalcase 8.1334 ms/op 10.255 ms/op 0.79
altair processBlock - 250000 vs - 7PWei normalcase hashState 28.511 ms/op 37.169 ms/op 0.77
altair processBlock - 250000 vs - 7PWei worstcase 33.881 ms/op 43.352 ms/op 0.78
altair processBlock - 250000 vs - 7PWei worstcase hashState 89.035 ms/op 101.59 ms/op 0.88
phase0 processBlock - 250000 vs - 7PWei normalcase 2.8228 ms/op 2.8481 ms/op 0.99
phase0 processBlock - 250000 vs - 7PWei worstcase 28.944 ms/op 29.384 ms/op 0.99
altair processEth1Data - 250000 vs - 7PWei normalcase 572.12 us/op 593.46 us/op 0.96
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 16.311 us/op 11.121 us/op 1.47
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 67.775 us/op 69.692 us/op 0.97
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 27.412 us/op 18.628 us/op 1.47
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 16.077 us/op 13.472 us/op 1.19
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 157.61 us/op 194.22 us/op 0.81
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.0487 ms/op 1.4001 ms/op 0.75
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8489 ms/op 2.1920 ms/op 0.84
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5044 ms/op 2.1238 ms/op 0.71
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.4347 ms/op 4.1352 ms/op 1.07
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2100 ms/op 2.9392 ms/op 0.75
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.8134 ms/op 6.2369 ms/op 0.77
Tree 40 250000 create 379.47 ms/op 507.90 ms/op 0.75
Tree 40 250000 get(125000) 128.03 ns/op 217.48 ns/op 0.59
Tree 40 250000 set(125000) 754.65 ns/op 1.0997 us/op 0.69
Tree 40 250000 toArray() 23.819 ms/op 24.768 ms/op 0.96
Tree 40 250000 iterate all - toArray() + loop 23.921 ms/op 25.122 ms/op 0.95
Tree 40 250000 iterate all - get(i) 57.669 ms/op 83.619 ms/op 0.69
MutableVector 250000 create 12.049 ms/op 17.652 ms/op 0.68
MutableVector 250000 get(125000) 6.4090 ns/op 6.6490 ns/op 0.96
MutableVector 250000 set(125000) 852.05 ns/op 373.89 ns/op 2.28
MutableVector 250000 toArray() 4.5170 ms/op 4.4012 ms/op 1.03
MutableVector 250000 iterate all - toArray() + loop 4.5731 ms/op 4.4954 ms/op 1.02
MutableVector 250000 iterate all - get(i) 1.3798 ms/op 1.7801 ms/op 0.78
Array 250000 create 3.7627 ms/op 4.0544 ms/op 0.93
Array 250000 clone - spread 1.3149 ms/op 1.7882 ms/op 0.74
Array 250000 get(125000) 1.0330 ns/op 1.4090 ns/op 0.73
Array 250000 set(125000) 1.3250 ns/op 4.9070 ns/op 0.27
Array 250000 iterate all - loop 169.74 us/op 171.93 us/op 0.99
effectiveBalanceIncrements clone Uint8Array 300000 15.728 us/op 58.067 us/op 0.27
effectiveBalanceIncrements clone MutableVector 300000 410.00 ns/op 499.00 ns/op 0.82
effectiveBalanceIncrements rw all Uint8Array 300000 194.08 us/op 206.49 us/op 0.94
effectiveBalanceIncrements rw all MutableVector 300000 68.822 ms/op 120.04 ms/op 0.57
phase0 afterProcessEpoch - 250000 vs - 7PWei 83.125 ms/op 119.81 ms/op 0.69
phase0 beforeProcessEpoch - 250000 vs - 7PWei 64.219 ms/op 49.369 ms/op 1.30
altair processEpoch - mainnet_e81889 480.45 ms/op 574.25 ms/op 0.84
mainnet_e81889 - altair beforeProcessEpoch 92.441 ms/op 105.50 ms/op 0.88
mainnet_e81889 - altair processJustificationAndFinalization 18.243 us/op 25.540 us/op 0.71
mainnet_e81889 - altair processInactivityUpdates 7.7016 ms/op 8.3847 ms/op 0.92
mainnet_e81889 - altair processRewardsAndPenalties 52.181 ms/op 71.872 ms/op 0.73
mainnet_e81889 - altair processRegistryUpdates 2.6140 us/op 5.3160 us/op 0.49
mainnet_e81889 - altair processSlashings 799.00 ns/op 959.00 ns/op 0.83
mainnet_e81889 - altair processEth1DataReset 1.0250 us/op 1.0520 us/op 0.97
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2870 ms/op 2.7906 ms/op 0.46
mainnet_e81889 - altair processSlashingsReset 4.1060 us/op 8.5350 us/op 0.48
mainnet_e81889 - altair processRandaoMixesReset 7.6270 us/op 12.136 us/op 0.63
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1310 us/op 1.9280 us/op 0.59
mainnet_e81889 - altair processParticipationFlagUpdates 3.0830 us/op 4.5410 us/op 0.68
mainnet_e81889 - altair processSyncCommitteeUpdates 896.00 ns/op 1.4020 us/op 0.64
mainnet_e81889 - altair afterProcessEpoch 85.661 ms/op 147.01 ms/op 0.58
capella processEpoch - mainnet_e217614 2.2789 s/op 2.7845 s/op 0.82
mainnet_e217614 - capella beforeProcessEpoch 473.97 ms/op 506.07 ms/op 0.94
mainnet_e217614 - capella processJustificationAndFinalization 15.195 us/op 16.182 us/op 0.94
mainnet_e217614 - capella processInactivityUpdates 23.161 ms/op 21.503 ms/op 1.08
mainnet_e217614 - capella processRewardsAndPenalties 415.73 ms/op 456.35 ms/op 0.91
mainnet_e217614 - capella processRegistryUpdates 17.305 us/op 26.873 us/op 0.64
mainnet_e217614 - capella processSlashings 788.00 ns/op 565.00 ns/op 1.39
mainnet_e217614 - capella processEth1DataReset 613.00 ns/op 505.00 ns/op 1.21
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.5536 ms/op 5.9549 ms/op 0.60
mainnet_e217614 - capella processSlashingsReset 4.7440 us/op 3.1580 us/op 1.50
mainnet_e217614 - capella processRandaoMixesReset 5.3410 us/op 4.4120 us/op 1.21
mainnet_e217614 - capella processHistoricalRootsUpdate 904.00 ns/op 757.00 ns/op 1.19
mainnet_e217614 - capella processParticipationFlagUpdates 1.9880 us/op 1.2820 us/op 1.55
mainnet_e217614 - capella afterProcessEpoch 224.95 ms/op 310.59 ms/op 0.72
phase0 processEpoch - mainnet_e58758 449.27 ms/op 463.12 ms/op 0.97
mainnet_e58758 - phase0 beforeProcessEpoch 143.10 ms/op 133.23 ms/op 1.07
mainnet_e58758 - phase0 processJustificationAndFinalization 15.633 us/op 15.674 us/op 1.00
mainnet_e58758 - phase0 processRewardsAndPenalties 50.064 ms/op 34.777 ms/op 1.44
mainnet_e58758 - phase0 processRegistryUpdates 10.876 us/op 13.958 us/op 0.78
mainnet_e58758 - phase0 processSlashings 932.00 ns/op 773.00 ns/op 1.21
mainnet_e58758 - phase0 processEth1DataReset 510.00 ns/op 459.00 ns/op 1.11
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0373 ms/op 1.1863 ms/op 0.87
mainnet_e58758 - phase0 processSlashingsReset 4.3640 us/op 5.8910 us/op 0.74
mainnet_e58758 - phase0 processRandaoMixesReset 5.1020 us/op 5.8830 us/op 0.87
mainnet_e58758 - phase0 processHistoricalRootsUpdate 764.00 ns/op 804.00 ns/op 0.95
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.8700 us/op 4.9910 us/op 0.78
mainnet_e58758 - phase0 afterProcessEpoch 63.989 ms/op 100.84 ms/op 0.63
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0583 ms/op 1.4185 ms/op 0.75
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.1469 ms/op 1.5416 ms/op 0.74
altair processInactivityUpdates - 250000 normalcase 23.650 ms/op 31.852 ms/op 0.74
altair processInactivityUpdates - 250000 worstcase 28.464 ms/op 29.057 ms/op 0.98
phase0 processRegistryUpdates - 250000 normalcase 10.144 us/op 10.207 us/op 0.99
phase0 processRegistryUpdates - 250000 badcase_full_deposits 400.82 us/op 542.80 us/op 0.74
phase0 processRegistryUpdates - 250000 worstcase 0.5 128.27 ms/op 171.79 ms/op 0.75
altair processRewardsAndPenalties - 250000 normalcase 49.386 ms/op 60.932 ms/op 0.81
altair processRewardsAndPenalties - 250000 worstcase 58.329 ms/op 63.567 ms/op 0.92
phase0 getAttestationDeltas - 250000 normalcase 8.7576 ms/op 8.9505 ms/op 0.98
phase0 getAttestationDeltas - 250000 worstcase 6.7223 ms/op 11.329 ms/op 0.59
phase0 processSlashings - 250000 worstcase 87.795 us/op 104.92 us/op 0.84
altair processSyncCommitteeUpdates - 250000 116.11 ms/op 159.30 ms/op 0.73
BeaconState.hashTreeRoot - No change 461.00 ns/op 413.00 ns/op 1.12
BeaconState.hashTreeRoot - 1 full validator 148.30 us/op 133.08 us/op 1.11
BeaconState.hashTreeRoot - 32 full validator 1.9226 ms/op 1.2048 ms/op 1.60
BeaconState.hashTreeRoot - 512 full validator 16.201 ms/op 13.083 ms/op 1.24
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 126.66 us/op 140.31 us/op 0.90
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.8002 ms/op 2.1503 ms/op 0.84
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 32.194 ms/op 29.781 ms/op 1.08
BeaconState.hashTreeRoot - 1 balances 109.81 us/op 117.99 us/op 0.93
BeaconState.hashTreeRoot - 32 balances 1.5612 ms/op 1.0370 ms/op 1.51
BeaconState.hashTreeRoot - 512 balances 8.7242 ms/op 11.159 ms/op 0.78
BeaconState.hashTreeRoot - 250000 balances 219.20 ms/op 209.96 ms/op 1.04
aggregationBits - 2048 els - zipIndexesInBitList 24.607 us/op 17.921 us/op 1.37
byteArrayEquals 32 68.053 ns/op 75.374 ns/op 0.90
Buffer.compare 32 39.303 ns/op 56.421 ns/op 0.70
byteArrayEquals 1024 1.7963 us/op 2.0549 us/op 0.87
Buffer.compare 1024 45.358 ns/op 70.413 ns/op 0.64
byteArrayEquals 16384 26.661 us/op 32.656 us/op 0.82
Buffer.compare 16384 212.42 ns/op 273.57 ns/op 0.78
byteArrayEquals 123687377 208.20 ms/op 246.17 ms/op 0.85
Buffer.compare 123687377 6.0408 ms/op 7.7392 ms/op 0.78
byteArrayEquals 32 - diff last byte 67.623 ns/op 72.226 ns/op 0.94
Buffer.compare 32 - diff last byte 42.320 ns/op 56.495 ns/op 0.75
byteArrayEquals 1024 - diff last byte 1.9090 us/op 2.0051 us/op 0.95
Buffer.compare 1024 - diff last byte 48.286 ns/op 69.950 ns/op 0.69
byteArrayEquals 16384 - diff last byte 28.680 us/op 33.219 us/op 0.86
Buffer.compare 16384 - diff last byte 221.40 ns/op 269.41 ns/op 0.82
byteArrayEquals 123687377 - diff last byte 226.76 ms/op 244.74 ms/op 0.93
Buffer.compare 123687377 - diff last byte 14.420 ms/op 6.8856 ms/op 2.09
byteArrayEquals 32 - random bytes 7.2580 ns/op 5.2340 ns/op 1.39
Buffer.compare 32 - random bytes 45.932 ns/op 62.764 ns/op 0.73
byteArrayEquals 1024 - random bytes 6.7160 ns/op 6.3350 ns/op 1.06
Buffer.compare 1024 - random bytes 42.959 ns/op 61.573 ns/op 0.70
byteArrayEquals 16384 - random bytes 6.4660 ns/op 6.0610 ns/op 1.07
Buffer.compare 16384 - random bytes 44.584 ns/op 61.948 ns/op 0.72
byteArrayEquals 123687377 - random bytes 9.2900 ns/op 8.8600 ns/op 1.05
Buffer.compare 123687377 - random bytes 62.060 ns/op 69.670 ns/op 0.89
regular array get 100000 times 47.714 us/op 45.885 us/op 1.04
wrappedArray get 100000 times 46.110 us/op 45.529 us/op 1.01
arrayWithProxy get 100000 times 11.285 ms/op 14.075 ms/op 0.80
ssz.Root.equals 60.567 ns/op 54.654 ns/op 1.11
byteArrayEquals 58.498 ns/op 54.140 ns/op 1.08
Buffer.compare 12.497 ns/op 11.710 ns/op 1.07
shuffle list - 16384 els 6.6138 ms/op 7.0571 ms/op 0.94
shuffle list - 250000 els 87.237 ms/op 104.35 ms/op 0.84
processSlot - 1 slots 31.719 us/op 18.790 us/op 1.69
processSlot - 32 slots 5.3331 ms/op 3.4321 ms/op 1.55
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 71.405 ms/op 58.602 ms/op 1.22
getCommitteeAssignments - req 1 vs - 250000 vc 2.5210 ms/op 2.5312 ms/op 1.00
getCommitteeAssignments - req 100 vs - 250000 vc 3.7176 ms/op 3.7161 ms/op 1.00
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0918 ms/op 4.0331 ms/op 1.01
findModifiedValidators - 10000 modified validators 648.21 ms/op 530.05 ms/op 1.22
findModifiedValidators - 1000 modified validators 491.64 ms/op 454.68 ms/op 1.08
findModifiedValidators - 100 modified validators 501.90 ms/op 397.42 ms/op 1.26
findModifiedValidators - 10 modified validators 503.52 ms/op 418.54 ms/op 1.20
findModifiedValidators - 1 modified validators 412.18 ms/op 422.13 ms/op 0.98
findModifiedValidators - no difference 371.34 ms/op 422.90 ms/op 0.88
compare ViewDUs 4.6713 s/op 4.5308 s/op 1.03
compare each validator Uint8Array 1.5359 s/op 1.3448 s/op 1.14
compare ViewDU to Uint8Array 1.1466 s/op 1.2192 s/op 0.94
migrate state 1000000 validators, 24 modified, 0 new 690.95 ms/op 776.51 ms/op 0.89
migrate state 1000000 validators, 1700 modified, 1000 new 1.0046 s/op 1.0889 s/op 0.92
migrate state 1000000 validators, 3400 modified, 2000 new 1.2870 s/op 1.3130 s/op 0.98
migrate state 1500000 validators, 24 modified, 0 new 699.27 ms/op 830.78 ms/op 0.84
migrate state 1500000 validators, 1700 modified, 1000 new 1.0948 s/op 1.1111 s/op 0.99
migrate state 1500000 validators, 3400 modified, 2000 new 1.2604 s/op 1.3225 s/op 0.95
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.1700 ns/op 4.3100 ns/op 1.20
state getBlockRootAtSlot - 250000 vs - 7PWei 538.63 ns/op 703.63 ns/op 0.77
computeProposers - vc 250000 6.2179 ms/op 9.6704 ms/op 0.64
computeEpochShuffling - vc 250000 71.537 ms/op 102.77 ms/op 0.70
getNextSyncCommittee - vc 250000 135.78 ms/op 167.12 ms/op 0.81
computeSigningRoot for AttestationData 30.946 us/op 28.081 us/op 1.10
hash AttestationData serialized data then Buffer.toString(base64) 1.3428 us/op 2.3445 us/op 0.57
toHexString serialized data 853.32 ns/op 1.1251 us/op 0.76
Buffer.toString(base64) 193.16 ns/op 257.02 ns/op 0.75

by benchmarkbot/action

@wemeetagain
Copy link
Member

🎉 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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants