-
Notifications
You must be signed in to change notification settings - Fork 281
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
Conversation
✅ Deploy Preview for substrate-docs ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@ggwpez, if you get a change to take a look here is some updated doc to replace add-benchmark (and other changes). |
There was a problem hiding this 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 👍
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
|
||
1. Build your project with the benchmarks enabled: | ||
1. Change to the root directory for the node template. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wip
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
content/md/en/docs/reference/how-to-guides/weights/add-benchmarks.md
Outdated
Show resolved
Hide resolved
|
||
1. Build your project with the benchmarks enabled: | ||
1. Change to the root directory for the node template. |
There was a problem hiding this comment.
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.
…-benchmark