Skip to content

bench-bot: example commands #63

Closed
Closed

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]

Activity

  1. joao-paulo-parity commented on Jul 13, 2022

    @joao-paulo-parity
    ContributorAuthor

    Added example for patching feature (#41)

  2. joao-paulo-parity commented on Jul 19, 2022

    @joao-paulo-parity
    ContributorAuthor

    Updated command syntax for Cumulus (#67)

  3. muharem commented on Aug 4, 2022

    @muharem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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