Unverified Commit 165d075a authored by Dastan's avatar Dastan Committed by GitHub
Browse files

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: default avatarBastian Köcher <[email protected]>
parent 5a06771e
Pipeline #447610 failed with stages
in 1 hour, 4 minutes, and 53 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment