-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Adding benchmarking for new frame_election_provider_support
#11149
Adding benchmarking for new frame_election_provider_support
#11149
Conversation
`election-provider-support` onchain
|
I have some minor feedback as well, but I am going to save that until this major flaw is solved: the purpose of this pallet is to benchmark these election algorithms alone and isolated. The reason for this is that currently the |
|
Here's some random feedback and how I think this should work out, but this does not compile yet and has some TODOs. If you agree with the overall direction, the branch can be a good guideline: Lastly:
A A TLDR; I think |
|
\tip large |
1 similar comment
|
\tip large |
emostov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks
|
/tip large |
|
/tip large |
|
\tip large |
|
Okay, I will open a manual tip for you @georgesdib. |
|
bot merge |
|
Error: pr-custom-review is not passing for paritytech/polkadot#5241 |
|
bot merge |
|
Error: pr-custom-review is not passing for paritytech/polkadot#5241 |
|
bot merge |
|
Error: pr-custom-review is not passing for paritytech/polkadot#5241 |
|
bot merge |
|
Error: pr-custom-review is not passing for paritytech/polkadot#5241 |
|
bot merge |
|
You skipped the cumulus check, somehow my cumulus CI errors with: Could this be related @georgesdib ? |
Isn't this in from the polkadot codebase? The companion PR is now merged, perhaps the above was run after the substrate PR was merged but not the polkadot PR? |
|
Yes sorry, I think the dependencies just got messed up. Thanks for you contributions! |
…tech#11149) * First stab at adding benchmarking for `election-provider-support` onchain * Adding `BoundedPhragMMS` and fixing stuff * Fixing node runtime * Fixing tests * Finalising all benchmarking stuff * better comments * Better benchmarking config * Better `WeightInfo` and benchmarking * Fixing tests * Adding some documentation * Fixing some typos * Incorporating review feedback * cleanup of rustdocs * rustdoc changes * changes after code review * Fixing some errors. * Fixing dependencies post merge * Bringing back `UnboundedExecution` * Better rustdoc and naming * Cargo.toml formatting
…tech#11149) * First stab at adding benchmarking for `election-provider-support` onchain * Adding `BoundedPhragMMS` and fixing stuff * Fixing node runtime * Fixing tests * Finalising all benchmarking stuff * better comments * Better benchmarking config * Better `WeightInfo` and benchmarking * Fixing tests * Adding some documentation * Fixing some typos * Incorporating review feedback * cleanup of rustdocs * rustdoc changes * changes after code review * Fixing some errors. * Fixing dependencies post merge * Bringing back `UnboundedExecution` * Better rustdoc and naming * Cargo.toml formatting
…tech#11149) * First stab at adding benchmarking for `election-provider-support` onchain * Adding `BoundedPhragMMS` and fixing stuff * Fixing node runtime * Fixing tests * Finalising all benchmarking stuff * better comments * Better benchmarking config * Better `WeightInfo` and benchmarking * Fixing tests * Adding some documentation * Fixing some typos * Incorporating review feedback * cleanup of rustdocs * rustdoc changes * changes after code review * Fixing some errors. * Fixing dependencies post merge * Bringing back `UnboundedExecution` * Better rustdoc and naming * Cargo.toml formatting
Fixes #11111
Created a benchmarking pallet for
frame-election-provider-support, namelySequentialPhragmenandPhragMMS.Few changes to
onchain.rsas well and making the trait always bounded, and addingWeightInfo.Refactoring #11126
Polkadot companion: paritytech/polkadot#5241
skip check-dependent-cumulus
Polkadot address: 131dPecTmpTC1p1ofemufqFBJo9vNbV7dkgN7vWwKnaSMkC4