mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-25 12:57:58 +00:00
8d44f9bcae
* rename polkadot-collator to polkadot-parachain Not every node has to be a collator. * Update README.md Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * rename docker file * Update .github/workflows/extrinsic-ordering-check-from-bin.yml Co-authored-by: Chevdor <chevdor@users.noreply.github.com> * Versioning scheme that tracks polkadot relay chain but allows for patch releases by having a 0 at the end. (`-patch1` patch naming schemes were discussed but they were judged to cause downstream packagers pain.) * update name * update lock file Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
66 lines
1.5 KiB
Bash
Executable File
66 lines
1.5 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
steps=50
|
|
repeat=20
|
|
|
|
statemineOutput=./polkadot-parachains/statemine/src/weights
|
|
statemintOutput=./polkadot-parachains/statemint/src/weights
|
|
westmintOutput=./polkadot-parachains/westmint/src/weights
|
|
|
|
statemineChain=statemine-dev
|
|
statemintChain=statemint-dev
|
|
westmintChain=westmint-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
|
|
./target/production/polkadot-parachain benchmark pallet \
|
|
--chain=$statemineChain \
|
|
--execution=wasm \
|
|
--wasm-execution=compiled \
|
|
--pallet=$p \
|
|
--extrinsic='*' \
|
|
--steps=$steps \
|
|
--repeat=$repeat \
|
|
--json-file=./bench-statemine.json \
|
|
--header=./file_header.txt \
|
|
--output=$statemineOutput
|
|
|
|
./target/production/polkadot-parachain benchmark pallet \
|
|
--chain=$statemintChain \
|
|
--execution=wasm \
|
|
--wasm-execution=compiled \
|
|
--pallet=$p \
|
|
--extrinsic='*' \
|
|
--steps=$steps \
|
|
--repeat=$repeat \
|
|
--json-file=./bench-statemint.json \
|
|
--header=./file_header.txt \
|
|
--output=$statemintOutput
|
|
|
|
./target/production/polkadot-parachain benchmark pallet \
|
|
--chain=$westmintChain \
|
|
--execution=wasm \
|
|
--wasm-execution=compiled \
|
|
--pallet=$p \
|
|
--extrinsic='*' \
|
|
--steps=$steps \
|
|
--repeat=$repeat \
|
|
--json-file=./bench-westmint.json \
|
|
--header=./file_header.txt \
|
|
--output=$westmintOutput
|
|
done
|