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

move json-file to common args #82

Merged
merged 1 commit into from
Oct 11, 2022
Merged

move json-file to common args #82

merged 1 commit into from
Oct 11, 2022

Conversation

mordamax
Copy link
Contributor

@mordamax mordamax commented Oct 7, 2022

@mordamax mordamax requested review from koute, athei, ggwpez and a team October 7, 2022 21:04
@mordamax mordamax requested a review from a team as a code owner October 7, 2022 21:04
Copy link

@koute koute 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 doing this; this will be very useful!

@@ -27,6 +27,7 @@ bench_pallet_common_args=(
--execution=wasm
--wasm-execution=compiled
--heap-pages=4096
--json-file="${ARTIFACTS_DIR}/bench.json"
Copy link

Choose a reason for hiding this comment

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

If multiple pallets are queued won't this just keep only the result for the last pallet?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you mean

/cmd ...
/cmd ...

@koute or could you please provide the example of this case?
Thx

Copy link
Member

Choose a reason for hiding this comment

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

You can currently only benchmark one pallet at a time with this command.
The exception is that when that pallet has multiple instances, in which case it would behave the same as it does now (but I dont know how).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@koute ^^

@mordamax mordamax requested a review from koute October 10, 2022 10:01
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.

bench-bot: provide raw .json benchmark results as artifacts
3 participants