Files
pezkuwi-subxt/prdoc/pr_3395.prdoc
T
Dastan 165d075a5f benchmarking-cli: add --list-pallets and --all options (#3395)
closes #2844 

- adds `list-pallets` option which prints all unique available pallets
for benchmarking
```bash
./target/release/node benchmark pallet --list=pallets
```
- adds `all` option which runs benchmarks for all available pallets and
extrinsics (equivalent to `--pallet * --extrinsic *`)
```bash
./target/release/node benchmark pallet --all
```

- use the `list=pallets` syntax in `run_all_benchmarks.sh` script

cc ggwpez

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
2024-02-21 14:56:09 +00:00

15 lines
669 B
Plaintext

# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json
title: "`benchmarking-cli` `pallet` subcommand: refactor `--list` and add `--all` option"
doc:
- audience: Node Dev
description: |
`pallet` subcommand's `--list` now accepts two values: "all" and "pallets". The former will list all available benchmarks, the latter will list only pallets.
Also adds `--all` to run all the available benchmarks and `--no-csv-header` to omit the csv-style header in the output.
NOTE: changes are backward compatible.
crates:
- name: frame-benchmarking-cli