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

[How-to] Update how to guide to use the define-benchmark syntax instead of add… #1378

Merged
merged 2 commits into from
Aug 11, 2022

Conversation

lisa-parity
Copy link
Contributor

…-benchmark

@netlify
Copy link

netlify bot commented Aug 8, 2022

Deploy Preview for substrate-docs ready!

Name Link
🔨 Latest commit 535f07d
🔍 Latest deploy log https://app.netlify.com/sites/substrate-docs/deploys/62f2b1cacee4fe00089c017f
😎 Deploy Preview https://deploy-preview-1378--substrate-docs.netlify.app/reference/how-to-guides/weights/add-benchmarks
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@lisa-parity lisa-parity linked an issue Aug 8, 2022 that may be closed by this pull request
@lisa-parity
Copy link
Contributor Author

@ggwpez, if you get a change to take a look here is some updated doc to replace add-benchmark (and other changes).

Copy link
Contributor

@ggwpez ggwpez left a comment

Choose a reason for hiding this comment

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

Thanks for the help 👍


1. Build your project with the benchmarks enabled:
1. Change to the root directory for the node template.
Copy link
Contributor

Choose a reason for hiding this comment

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

It is probably more robust to select the exact crate with the -p flag, but not a must.
So rather adding -p node-template to the build command below than changing the directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, that's better. Changed.

Copy link
Contributor Author

@lisa-parity lisa-parity left a comment

Choose a reason for hiding this comment

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

wip


1. Build your project with the benchmarks enabled:
1. Change to the root directory for the node template.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah, that's better. Changed.

@lisa-parity lisa-parity changed the title Update how to guide to use the define-benchmark syntax instead of add… [How-to] Update how to guide to use the define-benchmark syntax instead of add… Aug 9, 2022
@lisa-parity lisa-parity merged commit fb05797 into main Aug 11, 2022
@lisa-parity lisa-parity deleted the LG/update-benchmarking-how-to branch August 11, 2022 16:43
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.

Benchmarks 'how-to guide' uses outdated syntax
2 participants