-
Notifications
You must be signed in to change notification settings - Fork 779
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
[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 #4686
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:: MaxExposurePageSize
so that it fits withinBlockWeights::get().get(DispatchClass::Normal).max_extrinsic
.Note that:
VoterList
are kept up to date and sorted at all stake updates.VoterList
scores are not updated at nominator stake update (similar to currently in Polkadot/Kusama)payout_stakers_alive_staked
is used to estimate the upper bond weight of bothCall::payout_stakers
andCall::payout_stakers_by_page
.The results of the test are: