Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
updating benchmarking script
Browse files Browse the repository at this point in the history
we should be using production profile for benchmarks.
--raw does not exist: paritytech/substrate#10771
  • Loading branch information
gilescope committed Feb 21, 2022
1 parent dfe1632 commit 753f269
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/benchmarks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,39 @@ pallets=(

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

0 comments on commit 753f269

Please sign in to comment.