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

feat: XCMP Benchmarking #705

Merged
merged 14 commits into from Dec 14, 2023
Merged

Conversation

apopiak
Copy link
Contributor

@apopiak apopiak commented Nov 17, 2023

Description

Updates polkadot-sdk to the version with proper weight accounting and adjusts config and weights accordingly.
We can only fit about 3 buckets worth of 20 messages each within the weight we have for xcmp processing.
Placing in the deferred queue is cheaper than processing, as it can adjust for the actual amount of messages in the bucket (that we're inserting into) rather than assuming worst case.

Also updates the template for weight file generation to include PoV sizes.

Motivation and Context

We want to make sure that we can fit the deferring as well as the processing of deferred XCMs within the allowed weight limits, so we need somewhat accurate benchmarks for these operations.

How Has This Been Tested?

Adds integration tests that ensure that the processing can happen within the weight limit.

Checklist:

  • I have updated the documentation if necessary.
  • I have added tests to cover my changes, regression test if fixing an issue.
  • This is a breaking change.

@apopiak apopiak marked this pull request as ready for review December 5, 2023 15:37
Copy link

Crate versions that have not been updated:

  • runtime-integration-tests: v1.17.0
  • hydradx-runtime: v195.0.0

Runtime version has not been increased.

@Roznovjak Roznovjak merged commit 8c39131 into polkadot-v1.1.0 Dec 14, 2023
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants