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

Fix: benchmarking for pallet-data-preservers and pallet-registrar on Dancelight #783

Merged
merged 25 commits into from
Jan 8, 2025

Conversation

chexware
Copy link
Contributor

@chexware chexware commented Dec 11, 2024

This PR adds benchmarking weights for pallet-data-preservers and pallet-registrar to Dancelight.

Changes:

  • Implemented additional benchmarking helper function for RegistrarHandler which reserves ParaId on Dancelight.
  • Updated the ParaId in failing benchmarking cases - Any value lower than 2000 will be overwritten by the current LOWEST_PUBLIC_ID defined in Polkadot SDK and the benchmarks will still fail after reserving a ParaId

@chexware chexware added not-breaking Does not need to be mentioned in breaking changes B0-silent Changes should not be mentioned in any release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit labels Dec 11, 2024
Copy link
Contributor

github-actions bot commented Dec 11, 2024

WASM runtime size check:

Compared to target branch

dancebox runtime: 1416 KB (no changes) ✅

flashbox runtime: 824 KB (no changes) ✅

dancelight runtime: 2152 KB (no changes) ✅

container chain template simple runtime: 1124 KB (no changes) ✅

container chain template frontier runtime: 1400 KB (no changes) ✅

Copy link
Contributor

github-actions bot commented Dec 11, 2024

Coverage Report

(master)

@@                            Coverage Diff                             @@
##           master   aleks-fix-data-preservers-benchmarking      +/-   ##
==========================================================================
- Coverage   65.24%                                   65.15%   -0.09%     
+ Files         329                                      330       +1     
+ Lines       57701                                    57796      +95     
==========================================================================
+ Hits        37646                                    37655       +9     
+ Misses      20055                                    20141      +86     
Files Changed Coverage
/chains/orchestrator-relays/runtime/dancelight/src/weights/runtime_common_paras_registrar.rs 13.64% (+13.64%)

Coverage generated Wed Jan 8 15:58:04 UTC 2025

@chexware chexware marked this pull request as ready for review December 16, 2024 17:15
chexware and others added 3 commits January 3, 2025 10:26
…egistrar and removed DataPreserversBenchmarkHelper
# Conflicts:
#	chains/orchestrator-relays/runtime/dancelight/src/weights/pallet_data_preservers.rs
@chexware chexware requested a review from girazoki January 7, 2025 03:07
@chexware chexware changed the title Fix: data preservers benchmarks Fix: benchmarking for pallet-data-preservers and pallet-registrar on Dancelight Jan 7, 2025
@chexware chexware requested a review from tmpolaczyk January 7, 2025 16:02
Copy link
Contributor

@tmpolaczyk tmpolaczyk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chexware chexware merged commit c76b692 into master Jan 8, 2025
42 checks passed
@chexware chexware deleted the aleks-fix-data-preservers-benchmarking branch January 8, 2025 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B0-silent Changes should not be mentioned in any 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.

3 participants