Skip to content

Commit

Permalink
Added benchmark-machine make command (#2270)
Browse files Browse the repository at this point in the history
* Added benchmark-machine make command

* Changed make command to use acala runtime for machine benchmark

Co-authored-by: Roy Yang <[email protected]>
  • Loading branch information
syan095 and Roy Yang authored Jul 18, 2022
1 parent ebb37bd commit f62b631
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@ benchmark-karura:
benchmark-acala:
cargo run --profile production --features=runtime-benchmarks --features=with-acala-runtime -- benchmark --chain=acala-dev --steps=50 --repeat=20 '--pallet=*' '--extrinsic=*' --execution=wasm --wasm-execution=compiled --heap-pages=4096 --template=./templates/runtime-weight-template.hbs --output=./runtime/acala/src/weights/

.PHONY: benchmark-machine
benchmark-machine:
cargo run --profile production --features=with-acala-runtime -- benchmark machine --chain=acala-dev

.PHONY: clippy-fix
clippy-fix:
CARGO_INCREMENTAL=0 ./orml/scripts/run-clippy.sh --fix -Z unstable-options --broken-code --allow-dirty
Expand Down

0 comments on commit f62b631

Please sign in to comment.