[ci] fix pallet benchmark script (#5247) (#5292)

This commit is contained in:
Mara Robin B
2022-04-08 14:50:10 +02:00
committed by GitHub
parent 2cc30515d8
commit 11fc94176d
+2 -2
View File
@@ -12,7 +12,7 @@ echo "[+] Running all benchmarks for $runtime"
cargo +nightly build --profile production --locked --features=runtime-benchmarks
./target/production/polkadot benchmark \
./target/production/polkadot benchmark pallet \
--chain "${runtime}-dev" \
--list |\
tail -n+2 |\
@@ -24,7 +24,7 @@ while read -r line; do
pallet="$(echo "$line" | cut -d' ' -f1)";
echo "Runtime: $runtime. Pallet: $pallet";
# '!' has the side effect of bypassing errexit / set -e
! ./target/production/polkadot benchmark \
! ./target/production/polkadot benchmark pallet \
--chain="${runtime}-dev" \
--steps=50 \
--repeat=20 \