-
Notifications
You must be signed in to change notification settings - Fork 940
[FRAME] Omni bencher fixes #8265
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
Conversation
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
/cmd bench --runtime westend |
Command "bench --runtime westend" has started 🚀 See logs here |
Command "bench --runtime westend" has failed ❌! See logs here |
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
/cmd bench --runtime westend |
Command "bench --runtime westend" has started 🚀 See logs here |
Command "bench --runtime westend" has failed ❌! See logs here |
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
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.
Would be nice to get a test that let's some benchmark fail and checks in a follow up benchmark that it can not read the data from the previous benchmark. Basically what we have seen in the fellowship runtimes.
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
Signed-off-by: Oliver Tale-Yazdi <[email protected]>
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.
Can you have a look at the PRdoc? It seems to have major version bumps which are not necessary. And it lacks a version bump for the frame-omni-bencher.
Asking because I think we need to backport this to stable2503 in order to benchmark the fellowship runtimes.
We also need a bump for Added the bump for the bencher binary. |
Changes: - Add `--pallets` option to selectively run multiple pallets. In the past we only had `--pallet` to run a single one. - Add `--exclude-extrinsics [pallet::extrinsic]` to add (Pallet,Extrinsic) tuples that should be excluded. - Fix storage overlay reversion *before* the benchmark runs. - Test root hash for V2 benchmarks to be deterministic - <s>Changed DB reps to 1 for speedup since it should not be needed to run multiple times. (TODO test)</s> Checked that it fixes the Kusama benchmark issue when [patching](https://github.com/ggwpez/substrate-scripts/blob/master/diener.py) to a fixed stable2412 fork: (before) ```pre The following 5 benchmarks failed: - pallet_nomination_pools::apply_slash_fail - pallet_nomination_pools::migrate_delegation - pallet_nomination_pools::pool_migrate - pallet_offences::report_offence_babe - pallet_offences::report_offence_grandpa Error: Input("5 benchmarks failed") ``` (after) ```pre The following 1 benchmarks failed: - pallet_nomination_pools::apply_slash_fail Error: Input("1 benchmarks failed") ``` This one needs fixing but is not breaking the other ones anymore. --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
Changes: - Add `--pallets` option to selectively run multiple pallets. In the past we only had `--pallet` to run a single one. - Add `--exclude-extrinsics [pallet::extrinsic]` to add (Pallet,Extrinsic) tuples that should be excluded. - Fix storage overlay reversion *before* the benchmark runs. - Test root hash for V2 benchmarks to be deterministic - <s>Changed DB reps to 1 for speedup since it should not be needed to run multiple times. (TODO test)</s> Checked that it fixes the Kusama benchmark issue when [patching](https://github.com/ggwpez/substrate-scripts/blob/master/diener.py) to a fixed stable2412 fork: (before) ```pre The following 5 benchmarks failed: - pallet_nomination_pools::apply_slash_fail - pallet_nomination_pools::migrate_delegation - pallet_nomination_pools::pool_migrate - pallet_offences::report_offence_babe - pallet_offences::report_offence_grandpa Error: Input("5 benchmarks failed") ``` (after) ```pre The following 1 benchmarks failed: - pallet_nomination_pools::apply_slash_fail Error: Input("1 benchmarks failed") ``` This one needs fixing but is not breaking the other ones anymore. --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
Changes: - Add `--pallets` option to selectively run multiple pallets. In the past we only had `--pallet` to run a single one. - Add `--exclude-extrinsics [pallet::extrinsic]` to add (Pallet,Extrinsic) tuples that should be excluded. - Fix storage overlay reversion *before* the benchmark runs. - Test root hash for V2 benchmarks to be deterministic - <s>Changed DB reps to 1 for speedup since it should not be needed to run multiple times. (TODO test)</s> Checked that it fixes the Kusama benchmark issue when [patching](https://github.com/ggwpez/substrate-scripts/blob/master/diener.py) to a fixed stable2412 fork: (before) ```pre The following 5 benchmarks failed: - pallet_nomination_pools::apply_slash_fail - pallet_nomination_pools::migrate_delegation - pallet_nomination_pools::pool_migrate - pallet_offences::report_offence_babe - pallet_offences::report_offence_grandpa Error: Input("5 benchmarks failed") ``` (after) ```pre The following 1 benchmarks failed: - pallet_nomination_pools::apply_slash_fail Error: Input("1 benchmarks failed") ``` This one needs fixing but is not breaking the other ones anymore. --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
Changes: - Add `--pallets` option to selectively run multiple pallets. In the past we only had `--pallet` to run a single one. - Add `--exclude-extrinsics [pallet::extrinsic]` to add (Pallet,Extrinsic) tuples that should be excluded. - Fix storage overlay reversion *before* the benchmark runs. - Test root hash for V2 benchmarks to be deterministic - <s>Changed DB reps to 1 for speedup since it should not be needed to run multiple times. (TODO test)</s> Checked that it fixes the Kusama benchmark issue when [patching](https://github.com/ggwpez/substrate-scripts/blob/master/diener.py) to a fixed stable2412 fork: (before) ```pre The following 5 benchmarks failed: - pallet_nomination_pools::apply_slash_fail - pallet_nomination_pools::migrate_delegation - pallet_nomination_pools::pool_migrate - pallet_offences::report_offence_babe - pallet_offences::report_offence_grandpa Error: Input("5 benchmarks failed") ``` (after) ```pre The following 1 benchmarks failed: - pallet_nomination_pools::apply_slash_fail Error: Input("1 benchmarks failed") ``` This one needs fixing but is not breaking the other ones anymore. --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alexander Theißen <[email protected]> (cherry picked from commit e000a5c)
Successfully created backport PR for |
Backport #8265 into `stable2503` from ggwpez. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Branislav Kontur <[email protected]> Co-authored-by: Alexander Theißen <[email protected]>
Changes:
--pallets
option to selectively run multiple pallets. In the past we only had--pallet
to run a single one.--exclude-extrinsics [pallet::extrinsic]
to add (Pallet,Extrinsic) tuples that should be excluded.Changed DB reps to 1 for speedup since it should not be needed to run multiple times. (TODO test)Checked that it fixes the Kusama benchmark issue when patching to a fixed stable2412 fork:
(before)
(after)
This one needs fixing but is not breaking the other ones anymore.