From 6e5a572c0b12dcca68769255eb3d280005f1fe0b Mon Sep 17 00:00:00 2001 From: Martin Pugh Date: Wed, 4 Aug 2021 15:29:11 +0200 Subject: [PATCH] [CI] Fix listing pallets for benchmarks jobs (#3570) * fix listing pallets for benchmarks * fix indent --- polkadot/scripts/run_benches_for_runtime.sh | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/polkadot/scripts/run_benches_for_runtime.sh b/polkadot/scripts/run_benches_for_runtime.sh index 874e54a3b0..5498b596a6 100755 --- a/polkadot/scripts/run_benches_for_runtime.sh +++ b/polkadot/scripts/run_benches_for_runtime.sh @@ -12,12 +12,9 @@ echo "[+] Running all benchmarks for $runtime" # shellcheck disable=SC2086 cargo +nightly run $standard_args benchmark \ --chain "${runtime}-dev" \ - --execution=wasm \ - --wasm-execution=compiled \ - --pallet "*" \ - --extrinsic "*" \ - --repeat 0 | \ - sed -r -e 's/Pallet: "([a-z_:]+)".*/\1/' | \ + --list |\ + tail -n+2 |\ + cut -d',' -f1 |\ uniq | \ grep -v frame_system > "${runtime}_pallets"