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

try making bench numbers make sense #5526

Merged
merged 12 commits into from
Sep 4, 2024
Merged

Conversation

ordian
Copy link
Member

@ordian ordian commented Aug 29, 2024

Follow-up to #5270. The baseline numbers for Westend were too high to be representative of the reality as it seemed to do with how multi-variate linear regression is calculated.

@ordian ordian added the T12-benchmarks This PR/Issue is related to benchmarking and weights. label Aug 29, 2024
@ordian
Copy link
Member Author

ordian commented Aug 29, 2024

bot bench polkadot-pallet --pallet=polkadot_runtime_parachains::inclusion --runtime=westend
bot bench polkadot-pallet --pallet=polkadot_runtime_parachains::inclusion --runtime=rococo
bot clean

@ordian ordian added the R0-silent Changes should not be mentioned in any release notes label Aug 29, 2024
@mordamax
Copy link
Contributor

/cmd bench --help

@mordamax
Copy link
Contributor

/cmd bench --runtime westend rococo --pallet=polkadot_runtime_parachains::inclusion

command-bot and others added 3 commits August 29, 2024 16:42
…=westend --target_dir=polkadot --pallet=polkadot_runtime_parachains::inclusion
…=rococo --target_dir=polkadot --pallet=polkadot_runtime_parachains::inclusion
@ordian
Copy link
Member Author

ordian commented Aug 30, 2024

bot bench polkadot-pallet --pallet=polkadot_runtime_parachains::inclusion --runtime=westend

command-bot and others added 3 commits August 30, 2024 16:34
@ordian
Copy link
Member Author

ordian commented Aug 31, 2024

bot bench polkadot-pallet --pallet=polkadot_runtime_parachains::inclusion --runtime=westend
bot clean

@command-bot command-bot bot deleted a comment from github-actions bot Aug 31, 2024
@command-bot command-bot bot deleted a comment from github-actions bot Aug 31, 2024
@command-bot command-bot bot deleted a comment from github-actions bot Aug 31, 2024
@mordamax
Copy link
Contributor

/cmd bench --runtime westend rococo --pallet=polkadot_runtime_parachains::inclusion

Copy link

Command "bench --runtime westend rococo --pallet=polkadot_runtime_parachains::inclusion" has started 🚀 See logs here

…=westend --target_dir=polkadot --pallet=polkadot_runtime_parachains::inclusion
@command-bot
Copy link

command-bot bot commented Aug 31, 2024

@ordian Command "$PIPELINE_SCRIPTS_DIR/commands/bench/bench.sh" --subcommand=pallet --runtime=westend --target_dir=polkadot --pallet=polkadot_runtime_parachains::inclusion has finished. Result: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7206900 has finished. If any artifacts were generated, you can download them from https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/7206900/artifacts/download.

@ordian ordian marked this pull request as ready for review August 31, 2024 14:06
@ordian ordian requested a review from sandreim August 31, 2024 14:06
Copy link

Command "bench --runtime westend rococo --pallet=polkadot_runtime_parachains::inclusion" has failed ❌! See logs here

doc:
- audience: Runtime Dev
description: |
This PR works around an issue in multivariate linear regression of weight generation.
Copy link
Member

Choose a reason for hiding this comment

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

Is there an issue for this and shall we reference it from the benchmarks, so the values can be changed back once fixed?

Copy link
Member Author

@ordian ordian Sep 2, 2024

Choose a reason for hiding this comment

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

I'll need to dig a bit deeper to provide meaningful feedback for the issue, but I don't think there's a need to change those values back once fixed. The purpose of linear regression is to find the right correlation and if it can be achieved with just a points, there is no need to add more.

@ordian ordian added this pull request to the merge queue Sep 4, 2024
Merged via the queue into master with commit de0b6f2 Sep 4, 2024
183 of 187 checks passed
@ordian ordian deleted the ao-enact-candidate-weight-followup branch September 4, 2024 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R0-silent Changes should not be mentioned in any release notes T12-benchmarks This PR/Issue is related to benchmarking and weights.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants