Skip to content

Conversation

@mordamax
Copy link
Contributor

@mordamax mordamax commented Oct 7, 2022

@mordamax mordamax requested review from a team, athei, ggwpez and koute 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!

--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

4 participants