diff --git a/Makefile b/Makefile index fd4aa6d6c8..0a5b913cf1 100644 --- a/Makefile +++ b/Makefile @@ -66,6 +66,9 @@ doc: ## Run doc gen $(MAKE) -C ./rusk-recovery $@ $(MAKE) -C ./wallet-core/ $@ +bench: ## Bench Rusk + $(MAKE) -C ./rusk bench + run: keys state web-wallet ## Run the server $(MAKE) -C ./rusk/ $@ @@ -79,4 +82,4 @@ COMPILER_VERSION=v0.2.0 setup-compiler: ## Setup the Dusk Contract Compiler @./scripts/setup-compiler.sh $(COMPILER_VERSION) -.PHONY: all abi keys state wasm allcircuits contracts test run help rusk web-wallet setup-compiler +.PHONY: all abi keys state wasm allcircuits contracts test bench run help rusk web-wallet setup-compiler diff --git a/rusk/Makefile b/rusk/Makefile index 43233cf45e..c95a0ef68f 100644 --- a/rusk/Makefile +++ b/rusk/Makefile @@ -48,6 +48,9 @@ build: ## Build rusk binary build-bench: ## Build the benchmarks @cargo bench --features testwallet --no-run +bench: ## Run the benchmarks + @cargo bench --features testwallet + run: @cargo r --release --bin rusk @@ -66,4 +69,4 @@ recovery-state: ## Build network state -- recovery-state \ --init $(INITFILE) -.PHONY: test help clippy build build-bench recovery-keys recovery-state rusk +.PHONY: test help clippy build build-bench bench recovery-keys recovery-state rusk