Files
pezkuwi-subxt/scripts/benchmarks-ci.sh
T
Squirrel 9405a969f0 dir restructure to support more CGP (#1266)
* rerame res to chain-specs

* split polkadot-parachains dir

* rename dir parachains-common to common

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-20 13:43:04 +01:00

38 lines
676 B
Bash
Executable File

#!/bin/bash
steps=50
repeat=20
chainName=$1
benhcmarkOutput=./parachains/runtimes/$chainName/src/weights
benhcmarkChainName="$chainName-dev"
pallets=(
pallet_assets
pallet_balances
pallet_collator_selection
pallet_multisig
pallet_proxy
pallet_session
pallet_timestamp
pallet_utility
pallet_uniques
cumulus_pallet_xcmp_queue
frame_system
)
for p in ${pallets[@]}
do
./artifacts/polkadot-parachain benchmark pallet \
--chain=$benhcmarkChainName \
--execution=wasm \
--wasm-execution=compiled \
--pallet=$p \
--extrinsic='*' \
--steps=$steps \
--repeat=$repeat \
--json \
--header=./file_header.txt \
--output=$benhcmarkOutput
done