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]
bench-bot
Substrate
/cmd queue -c bench-bot $ pallet runtime pallet_nameExample:
/cmd queue -c bench-bot $ pallet dev pallet_contractsPolkadot
Pallet
/cmd queue -c bench-bot $ runtime runtime pallet_nameExample:
/cmd queue -c bench-bot $ runtime westend-dev pallet_balancesXCM
/cmd queue -c bench-bot $ xcm runtime pallet_nameExample:
/cmd queue -c bench-bot $ xcm westend-dev pallet_balancesCumulus
Note: The
chain_typeargument in the following commands can be one of the folders inside ofparachains/runtimes, i.e. as of this writingassets,testing,testingandcontracts.Pallet
/cmd queue -c bench-bot $ pallet runtime chain_type pallet_nameExample:
/cmd queue -c bench-bot $ pallet statemine assets pallet_xcm_benchmarks::genericXCM
/cmd queue -c bench-bot $ xcm runtime chain_type pallet_nameExample:
/cmd queue -c bench-bot $ xcm statemine assets pallet_xcm_benchmarks::genericTo 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:/cmd queue -v PATCH_substrate=11756 -c bench-bot $ [...args]nextinto the command's branch/cmd queue -v PATCH_substrate=next -c bench-bot $ [...args]