From 7cc9052442745b7513abd7af94d5ba6877c717f1 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Tue, 26 Sep 2023 14:06:42 +0000 Subject: [PATCH] fix: bench profile production --- --- a/Makefile +++ b/Makefile @@ -90,7 +90,7 @@ .PHONY: _bench _bench: - cargo run --release --features runtime-benchmarks,$(RUNTIME) -- \ + cargo run --profile production --features runtime-benchmarks,$(RUNTIME) -- \ benchmark pallet --pallet pallet-$(if $(PALLET),$(PALLET),$(error Must set PALLET)) \ --wasm-execution compiled --extrinsic '*' \ $(if $(TEMPLATE),$(TEMPLATE),--template=.maintain/frame-weight-template.hbs) --steps=50 --repeat=80 --heap-pages=4096 \ -- gitstuff