-
Notifications
You must be signed in to change notification settings - Fork 40
feat(bench/pallet): support benchmarking multiple pallets #547
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
feat(bench/pallet): support benchmarking multiple pallets #547
Conversation
AlexD10S
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.
Nice work!
Unit tests failing are not related to this PR. I fixed it in #548 once is merge into main you can rebase and merge this one
e072fe9 to
4fb13c0
Compare
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.
The update_excluded_extrinsics_works unit test is failing: https://github.com/r0gue-io/pop-cli/actions/runs/15891493397/job/44815303172
Codecov ReportAttention: Patch coverage is
@@ Coverage Diff @@
## main #547 +/- ##
==========================================
+ Coverage 79.34% 79.36% +0.01%
==========================================
Files 106 106
Lines 25828 25979 +151
Branches 25828 25979 +151
==========================================
+ Hits 20494 20619 +125
- Misses 3047 3073 +26
Partials 2287 2287
... and 1 file with indirect coverage changes 🚀 New features to boost your workflow:
|
AlexD10S
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.
Great! Thanks for fixing it
Description
PR introduces a new feature to benchmark multiple pallets and exclude extrinsics from benchmarking. Applying changes made to
frame-omni-bencher v0.11.1inpolkadot-sdk: paritytech/polkadot-sdk#8265--palletsoption to selectively run multiple pallets. In the past we only had--palletto run a single one.--exclude-extrinsics [pallet::extrinsic]to add (Pallet,Extrinsic) tuples that should be excluded.How to test the feature?
Run the below command to test: