mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Squashed 'bridges/' content from commit 062554430
git-subtree-dir: bridges git-subtree-split: 0625544309ff299307f7e110f252f04eac383102
This commit is contained in:
Executable
+55
@@ -0,0 +1,55 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Runtime benchmarks for the `pallet-bridge-messages` and `pallet-bridge-grandpa` pallets.
|
||||
#
|
||||
# Run this script from root of the repo.
|
||||
|
||||
set -eux
|
||||
|
||||
time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet \
|
||||
--chain=dev \
|
||||
--steps=50 \
|
||||
--repeat=20 \
|
||||
--pallet=pallet_bridge_messages \
|
||||
--extrinsic=* \
|
||||
--execution=wasm \
|
||||
--wasm-execution=Compiled \
|
||||
--heap-pages=4096 \
|
||||
--output=./modules/messages/src/weights.rs \
|
||||
--template=./.maintain/millau-weight-template.hbs
|
||||
|
||||
time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet \
|
||||
--chain=dev \
|
||||
--steps=50 \
|
||||
--repeat=20 \
|
||||
--pallet=pallet_bridge_grandpa \
|
||||
--extrinsic=* \
|
||||
--execution=wasm \
|
||||
--wasm-execution=Compiled \
|
||||
--heap-pages=4096 \
|
||||
--output=./modules/grandpa/src/weights.rs \
|
||||
--template=./.maintain/millau-weight-template.hbs
|
||||
|
||||
time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet \
|
||||
--chain=dev \
|
||||
--steps=50 \
|
||||
--repeat=20 \
|
||||
--pallet=pallet_bridge_parachains \
|
||||
--extrinsic=* \
|
||||
--execution=wasm \
|
||||
--wasm-execution=Compiled \
|
||||
--heap-pages=4096 \
|
||||
--output=./modules/parachains/src/weights.rs \
|
||||
--template=./.maintain/millau-weight-template.hbs
|
||||
|
||||
time cargo run --release -p millau-bridge-node --features=runtime-benchmarks -- benchmark pallet \
|
||||
--chain=dev \
|
||||
--steps=50 \
|
||||
--repeat=20 \
|
||||
--pallet=pallet_bridge_relayers \
|
||||
--extrinsic=* \
|
||||
--execution=wasm \
|
||||
--wasm-execution=Compiled \
|
||||
--heap-pages=4096 \
|
||||
--output=./modules/relayers/src/weights.rs \
|
||||
--template=./.maintain/millau-weight-template.hbs
|
||||
Reference in New Issue
Block a user