updating benchmarking script (#1012)

we should be using production profile for benchmarks.
--raw does not exist: https://github.com/paritytech/substrate/pull/10771
This commit is contained in:
Squirrel
2022-02-21 15:18:56 +00:00
committed by GitHub
parent dfe16328b0
commit 8cf65b2e3c
+6 -6
View File
@@ -26,7 +26,7 @@ pallets=(
for p in ${pallets[@]}
do
./target/release/polkadot-collator benchmark \
./target/production/polkadot-collator benchmark \
--chain=$statemineChain \
--execution=wasm \
--wasm-execution=compiled \
@@ -34,11 +34,11 @@ do
--extrinsic='*' \
--steps=$steps \
--repeat=$repeat \
--raw \
--json \
--header=./file_header.txt \
--output=$statemineOutput
./target/release/polkadot-collator benchmark \
./target/production/polkadot-collator benchmark \
--chain=$statemintChain \
--execution=wasm \
--wasm-execution=compiled \
@@ -46,11 +46,11 @@ do
--extrinsic='*' \
--steps=$steps \
--repeat=$repeat \
--raw \
--json \
--header=./file_header.txt \
--output=$statemintOutput
./target/release/polkadot-collator benchmark \
./target/production/polkadot-collator benchmark \
--chain=$westmintChain \
--execution=wasm \
--wasm-execution=compiled \
@@ -58,7 +58,7 @@ do
--extrinsic='*' \
--steps=$steps \
--repeat=$repeat \
--raw \
--json \
--header=./file_header.txt \
--output=$westmintOutput
done