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

Commit

Permalink
[ci] update block- and extrinsic base weights
Browse files Browse the repository at this point in the history
  • Loading branch information
coderobe committed Mar 29, 2022
1 parent a30aa47 commit 2858f6b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/run_benches_for_runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,12 @@ while read -r line; do
--output="./runtime/${runtime}/src/weights/${pallet/::/_}.rs"
done < "${runtime}_pallets"
rm "${runtime}_pallets"

# Benchmark base weights
./target/production/polkadot benchmark-overhead \
--chain="${runtime}-dev" \
--execution=wasm \
--wasm-execution=compiled \
--weight-path="runtime/${runtime}/constants/src/weights/" \
--warmup=10 \
--repeat=100

0 comments on commit 2858f6b

Please sign in to comment.