mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-29 23:07:57 +00:00
Fix Benchmarks for Statemine-V4 release (#639)
* register validators * register_as_candidate & leave_intent fixed * new_session benchmark fixed * intent_leave_modified * clean up * clean up * benchmark script updated * update cargo.lock * done Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
This commit is contained in:
+21
-2
@@ -2,10 +2,15 @@
|
||||
|
||||
steps=50
|
||||
repeat=20
|
||||
statemineOutput=./polkadot-parachains/statemine-runtime/src/weights
|
||||
statemintOutput=./polkadot-parachains/statemint-runtime/src/weights
|
||||
|
||||
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
|
||||
@@ -15,6 +20,7 @@ pallets=(
|
||||
pallet_session
|
||||
pallet_timestamp
|
||||
pallet_utility
|
||||
pallet_uniques
|
||||
)
|
||||
|
||||
for p in ${pallets[@]}
|
||||
@@ -28,6 +34,7 @@ do
|
||||
--steps=$steps \
|
||||
--repeat=$repeat \
|
||||
--raw \
|
||||
--header=./file_header.txt \
|
||||
--output=$statemineOutput
|
||||
|
||||
./target/release/polkadot-collator benchmark \
|
||||
@@ -39,6 +46,18 @@ do
|
||||
--steps=$steps \
|
||||
--repeat=$repeat \
|
||||
--raw \
|
||||
--header=./file_header.txt \
|
||||
--output=$statemintOutput
|
||||
|
||||
./target/release/polkadot-collator benchmark \
|
||||
--chain=$westmintChain \
|
||||
--execution=wasm \
|
||||
--wasm-execution=compiled \
|
||||
--pallet=$p \
|
||||
--extrinsic='*' \
|
||||
--steps=$steps \
|
||||
--repeat=$repeat \
|
||||
--raw \
|
||||
--header=./file_header.txt \
|
||||
--output=$westmintOutput
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user