Skip to content
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

Update benchmarks template and add extra read weight to pallet proxy #2727

Merged
merged 1 commit into from
Mar 28, 2024

Conversation

RomarQ
Copy link
Contributor

@RomarQ RomarQ commented Mar 27, 2024

What does it do?

Adds an extra read to the weight of the extrinsic proxy of pallet_proxy.
The read is not included in the benchmark computation because the benchmark on the proxy pallet is not aware of a filter in the moonbeam runtime.

The workaround in the latest runtimes was to manually add 1 read to the proxy benchmark.

What important points reviewers should know?

The benchmarks will now use an updated template.

@RomarQ RomarQ self-assigned this Mar 27, 2024
@RomarQ RomarQ added D3-trivial PR contains trivial changes in a runtime directory that do not require an audit B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes labels Mar 27, 2024
@RomarQ RomarQ marked this pull request as ready for review March 27, 2024 16:08
@RomarQ RomarQ added the not-breaking Does not need to be mentioned in breaking changes label Mar 27, 2024
Copy link
Contributor

Coverage Report

@@                        Coverage Diff                        @@
##           master   rq/update-benchmarks-template      +/-   ##
=================================================================
- Coverage   72.51%                          72.49%   -0.02%     
  Files         229                             229              
+ Lines       70565                           70653      +88     
=================================================================
+ Hits        51164                           51219      +55     
+ Misses      19401                           19434      +33     
Files Changed Coverage
/pallets/moonbeam-lazy-migrations/src/lib.rs 58.33% (-29.17%) 🔽

Coverage generated Wed Mar 27 16:28:13 UTC 2024

@RomarQ RomarQ merged commit 5b834ca into master Mar 28, 2024
29 of 33 checks passed
@RomarQ RomarQ deleted the rq/update-benchmarks-template branch March 28, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants