Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
pandres95 committed Mar 16, 2024
1 parent 55e830f commit 5a7caf0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/benchmarking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:
push:
branches: [master]
pull_request:
branches: ['feat/ci-benchmarking']
branches:
- feat/ci-benchmarking

jobs:
benchmark:
Expand Down
6 changes: 4 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ benchmark pallet="" extrinsic="*":
--chain kreivo-local \
--pallet '{{pallet}}' --extrinsic '{{extrinsic}}' \
--log state=trace,benchmark=trace \
--steps 50 \ # Modify the range of values to test for this extrinsic
--repeat 20 \ # Adjust the number of times we repeat a benchmark
# Modify the range of values to test for this extrinsic
--steps 50 \
# Adjust the number of times we repeat a benchmark
--repeat 20 \
--output runtime/kreivo/src/weights/{{pallet}}.rs > benchmark_logs/{{pallet}}.txt

build-container:
Expand Down

0 comments on commit 5a7caf0

Please sign in to comment.