mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 13:07:56 +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[@]}
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user