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

Add DCAP and pallet_xcm benchmarks #210

Merged
merged 9 commits into from
May 18, 2023
Merged

Add DCAP and pallet_xcm benchmarks #210

merged 9 commits into from
May 18, 2023

Conversation

clangenb
Copy link
Contributor

@clangenb clangenb commented May 17, 2023

@clangenb clangenb requested review from coax1d and OverOrion May 17, 2023 13:29
Copy link
Contributor

@OverOrion OverOrion left a comment

Choose a reason for hiding this comment

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

LGTM!

@clangenb clangenb merged commit 938ddd0 into master May 18, 2023
@clangenb clangenb deleted the cl/rerun-benchmarks branch June 8, 2023 09:06
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 18_446_744_073_709_551 nanoseconds.
Weight::from_ref_time(18_446_744_073_709_551_000)
Copy link
Collaborator

Choose a reason for hiding this comment

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

this shouldn't have slipped our reviews. very funny execution time indeed. this most likely breaks receiving XCM messages and makes everything overweight. CC @clangenb

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, interesting. Funnily, moonbeam has the same weird weight for teleport assets, but their execute() weight seems fine: https://github.com/moonbeam-foundation/moonbeam/blob/d4fdae0cf795ebb48b7a2a9c2167c7dae56e782f/runtime/common/src/weights/pallet_xcm.rs#L75

Copy link
Collaborator

Choose a reason for hiding this comment

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

fixing this doesn't solve our problem, unfortunately. but needs fixing anyway

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.

add benchmarked xcm weights
3 participants