chore: add profiling-op target to Makefile (#15032)

This commit is contained in:
Dan Cline
2025-03-13 19:55:29 -04:00
committed by GitHub
parent 62e13dbe6e
commit d00992e811

View File

@@ -345,6 +345,10 @@ update-book-cli: build-debug ## Update book cli documentation.
profiling: ## Builds `reth` with optimisations, but also symbols.
RUSTFLAGS="-C target-cpu=native" cargo build --profile profiling --features jemalloc,asm-keccak
.PHONY: profiling-op
profiling-op: ## Builds `op-reth` with optimisations, but also symbols.
RUSTFLAGS="-C target-cpu=native" cargo build --profile profiling --features jemalloc,asm-keccak --bin op-reth --manifest-path crates/optimism/bin/Cargo.toml
.PHONY: maxperf
maxperf: ## Builds `reth` with the most aggressive optimisations.
RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc,asm-keccak