Skip to content

Commit

Permalink
feat: add make profiling to Makefile (paradigmxyz#13996)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rjected authored Jan 27, 2025
1 parent 07e9c1b commit bdb3969
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 @@ -354,6 +354,10 @@ update-book-cli: build-debug ## Update book cli documentation.
@echo "Updating book cli doc..."
@./book/cli/update.sh $(CARGO_TARGET_DIR)/debug/reth

.PHONY: profiling
profiling: ## Builds `reth` with optimisations, but also symbols.
RUSTFLAGS="-C target-cpu=native" cargo build --profile profiling --features jemalloc,asm-keccak

.PHONY: maxperf
maxperf: ## Builds `reth` with the most aggressive optimisations.
RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc,asm-keccak
Expand Down

0 comments on commit bdb3969

Please sign in to comment.