[do not merge] strict vs lazy voter list mode for payout benchs#4686
[do not merge] strict vs lazy voter list mode for payout benchs#4686gpestana wants to merge 7 commits intogpestana/stake-tracker_integrationfrom
Conversation
|
bot bench polkadot-pallet --runtime=westend --pallet=pallet_staking --extrinsic=payout_stakers_alive_staked |
|
@gpestana unknown option '--extrinsic=payout_stakers_alive_staked' |
|
bot bench polkadot-pallet --runtime=westend --pallet=pallet_staking |
|
@gpestana https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6387769 was started for your command Comment |
…=westend --target_dir=polkadot --pallet=pallet_staking
|
@gpestana Command |
|
bot bench polkadot-pallet --pallet=pallet_staking |
|
@gpestana https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6389606 was started for your command Comment |
|
@gpestana Command |
…-tracker_integration-strict-benches
|
bot bench polkadot-pallet --runtime=westend --pallet=pallet_staking |
|
@gpestana https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6393274 was started for your command Comment |
…=westend --target_dir=polkadot --pallet=pallet_staking
|
@gpestana Command |
|
The CI pipeline was cancelled due to failure one of the required jobs. |
|
closing as it's not relevant anymore. |
This PR (pls do not merge) adds the benchmarks for the strict voter mode sorting in the voter list and it adds a test that calculates the highest
T:: MaxExposurePageSizeso that it fits withinBlockWeights::get().get(DispatchClass::Normal).max_extrinsic.Note that:
VoterListare kept up to date and sorted at all stake updates.VoterListscores are not updated at nominator stake update (similar to currently in Polkadot/Kusama)payout_stakers_alive_stakedis used to estimate the upper bond weight of bothCall::payout_stakersandCall::payout_stakers_by_page.The results of the test are: