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[@]} for p in ${pallets[@]}
do do
./target/release/polkadot-collator benchmark \ ./target/production/polkadot-collator benchmark \
--chain=$statemineChain \ --chain=$statemineChain \
--execution=wasm \ --execution=wasm \
--wasm-execution=compiled \ --wasm-execution=compiled \
@@ -34,11 +34,11 @@ do
--extrinsic='*' \ --extrinsic='*' \
--steps=$steps \ --steps=$steps \
--repeat=$repeat \ --repeat=$repeat \
--raw \ --json \
--header=./file_header.txt \ --header=./file_header.txt \
--output=$statemineOutput --output=$statemineOutput
./target/release/polkadot-collator benchmark \ ./target/production/polkadot-collator benchmark \
--chain=$statemintChain \ --chain=$statemintChain \
--execution=wasm \ --execution=wasm \
--wasm-execution=compiled \ --wasm-execution=compiled \
@@ -46,11 +46,11 @@ do
--extrinsic='*' \ --extrinsic='*' \
--steps=$steps \ --steps=$steps \
--repeat=$repeat \ --repeat=$repeat \
--raw \ --json \
--header=./file_header.txt \ --header=./file_header.txt \
--output=$statemintOutput --output=$statemintOutput
./target/release/polkadot-collator benchmark \ ./target/production/polkadot-collator benchmark \
--chain=$westmintChain \ --chain=$westmintChain \
--execution=wasm \ --execution=wasm \
--wasm-execution=compiled \ --wasm-execution=compiled \
@@ -58,7 +58,7 @@ do
--extrinsic='*' \ --extrinsic='*' \
--steps=$steps \ --steps=$steps \
--repeat=$repeat \ --repeat=$repeat \
--raw \ --json \
--header=./file_header.txt \ --header=./file_header.txt \
--output=$westmintOutput --output=$westmintOutput
done done