Skip to content

bench-bot: example commands #63

@joao-paulo-parity

Description

@joao-paulo-parity

bench-bot

Substrate

/cmd queue -c bench-bot $ pallet runtime pallet_name

Example:

/cmd queue -c bench-bot $ pallet dev pallet_contracts

Polkadot

Pallet

/cmd queue -c bench-bot $ runtime runtime pallet_name

Example:

/cmd queue -c bench-bot $ runtime westend-dev pallet_balances

XCM

/cmd queue -c bench-bot $ xcm runtime pallet_name

Example:

/cmd queue -c bench-bot $ xcm westend-dev pallet_balances

Cumulus

Note: The chain_type argument in the following commands can be one of the folders inside of parachains/runtimes, i.e. as of this writing assets, testing, testing and contracts.

Pallet

/cmd queue -c bench-bot $ pallet runtime chain_type pallet_name

Example:

/cmd queue -c bench-bot $ pallet statemine assets pallet_xcm_benchmarks::generic

XCM

/cmd queue -c bench-bot $ xcm runtime chain_type pallet_name

Example:

/cmd queue -c bench-bot $ xcm statemine assets pallet_xcm_benchmarks::generic


To patch some external branch into the command's branch before running, use the syntax -v PATCH_[repository]=[PR_NUMBER | BRANCH]. This syntax can be used multiple times in case you need to use multiple branches. Examples:

  • Patch Substrate PR number 11756 into the command's branch
    • /cmd queue -v PATCH_substrate=11756 -c bench-bot $ [...args]
  • Patch Substrate branch next into the command's branch
    • /cmd queue -v PATCH_substrate=next -c bench-bot $ [...args]

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions