Skip to content

Commit d090fee

Browse files
committed
update benchmarking options
1 parent 460601c commit d090fee

File tree

2 files changed

+545
-534
lines changed

2 files changed

+545
-534
lines changed

.github/workflows/060_generate_benchmark_weights.yml

+10-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,16 @@ jobs:
5454
do
5555
rm $weights_rs_file
5656
pal_name=$(awk -F'pallets/|/src' '{print $2}' <<< $weights_rs_file)
57-
./target/release/tfchain benchmark pallet --chain=dev --pallet="$pal_name" \
58-
--extrinsic="*" --steps=50 --repeat=20 --execution=wasm --heap-pages=409 \
59-
--output ./pallets/"$pal_name"/src/weights.rs --template ./.maintain/frame-weight-template.hbs
57+
./target/production/tfchain benchmark pallet \
58+
--chain=dev \
59+
--wasm-execution=compiled \
60+
--pallet="$pal_name" \
61+
--extrinsic="*" \
62+
--steps=50 \
63+
--repeat=20 \
64+
--heap-pages=409 \
65+
--output ./pallets/"$pal_name"/src/weights.rs \
66+
--template ./.maintain/frame-weight-template.hbs
6067
done
6168
6269
- name: Commit & Push changes

0 commit comments

Comments
 (0)