Skip to content
Snippets Groups Projects
Commit 20fb7425 authored by Squirrel's avatar Squirrel Committed by GitHub
Browse files

updating benchmarking script (#1012)

we should be using production profile for benchmarks.
--raw does not exist: https://github.com/paritytech/substrate/pull/10771
parent 8988ecb9
No related merge requests found
......@@ -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
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment