Fixup benches after dir re-org (#1300)

* Fixup after dir re-org

* Update scripts/benchmarks-ci.sh

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update scripts/benchmarks-ci.sh

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update scripts/benchmarks-ci.sh

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* fix typo

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
This commit is contained in:
Squirrel
2022-06-01 08:40:03 +01:00
committed by Chevdor
parent 9c1470893c
commit ebf737be77
3 changed files with 12 additions and 11 deletions
+6 -5
View File
@@ -2,10 +2,11 @@
steps=50
repeat=20
chainName=$1
category=$1
runtimeName=$2
benhcmarkOutput=./parachains/runtimes/$chainName/src/weights
benhcmarkChainName="$chainName-dev"
benchmarkOutput=./parachains/runtimes/$category/$runtimeName/src/weights
benchmarkRuntimeName="$runtimeName-dev"
pallets=(
pallet_assets
@@ -24,7 +25,7 @@ pallets=(
for p in ${pallets[@]}
do
./artifacts/polkadot-parachain benchmark pallet \
--chain=$benhcmarkChainName \
--chain=$benchmarkRuntimeName \
--execution=wasm \
--wasm-execution=compiled \
--pallet=$p \
@@ -33,5 +34,5 @@ do
--repeat=$repeat \
--json \
--header=./file_header.txt \
--output=$benhcmarkOutput
--output=$benchmarkOutput
done