Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add --header to benchmark overhead + storage #12204

Merged
merged 5 commits into from
Sep 7, 2022

Conversation

ggwpez
Copy link
Member

@ggwpez ggwpez commented Sep 7, 2022

Add --header to benchmark overhead + storage to swap out the Substrate header for something else.
To be consistent with benchmark pallet it now explicitly requires the Substrate header, otherwise there is none.
Will need a Polkadot follow-up to update the release CI scripts.

Part of paritytech/polkadot-sdk#391, preparation for paritytech/command-bot#102
Partially supersedes #11893

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez ggwpez added A0-please_review Pull request needs code review. B5-clientnoteworthy C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit. labels Sep 7, 2022
utils/frame/benchmarking-cli/src/storage/template.rs Outdated Show resolved Hide resolved
utils/frame/benchmarking-cli/src/overhead/template.rs Outdated Show resolved Hide resolved
ggwpez and others added 2 commits September 7, 2022 21:20
Co-authored-by: Bastian Köcher <info@kchr.de>
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez
Copy link
Member Author

ggwpez commented Sep 7, 2022

bot merge

@paritytech-processbot paritytech-processbot bot merged commit c0e1cdb into master Sep 7, 2022
@paritytech-processbot paritytech-processbot bot deleted the oty-benchmark-add-file-header branch September 7, 2022 21:16
ark0f pushed a commit to gear-tech/substrate that referenced this pull request Feb 27, 2023
* Add header to 'overhead' command

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Add header to 'storage' command

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update READMEs

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <info@kchr.de>

* .as_ref() and fmt

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Bastian Köcher <info@kchr.de>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. C1-low PR touches the given topic and has a low impact on builders. D2-notlive 💤 PR contains changes in a runtime directory that is not deployed to a chain that requires an audit.
Projects
Development

Successfully merging this pull request may close these issues.

3 participants