Skip to content

Commit

Permalink
update benchmarking options
Browse files Browse the repository at this point in the history
  • Loading branch information
renauter committed Feb 20, 2024
1 parent 460601c commit d090fee
Show file tree
Hide file tree
Showing 2 changed files with 545 additions and 534 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/060_generate_benchmark_weights.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,16 @@ jobs:
do
rm $weights_rs_file
pal_name=$(awk -F'pallets/|/src' '{print $2}' <<< $weights_rs_file)
./target/release/tfchain benchmark pallet --chain=dev --pallet="$pal_name" \
--extrinsic="*" --steps=50 --repeat=20 --execution=wasm --heap-pages=409 \
--output ./pallets/"$pal_name"/src/weights.rs --template ./.maintain/frame-weight-template.hbs
./target/production/tfchain benchmark pallet \
--chain=dev \
--wasm-execution=compiled \
--pallet="$pal_name" \
--extrinsic="*" \
--steps=50 \
--repeat=20 \
--heap-pages=409 \
--output ./pallets/"$pal_name"/src/weights.rs \
--template ./.maintain/frame-weight-template.hbs
done
- name: Commit & Push changes
Expand Down
Loading

0 comments on commit d090fee

Please sign in to comment.