mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 20:21:06 +00:00
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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user