# shop developer recipes # Build every crate. build: cargo build --workspace --all-targets # Format, lint, deny. check: cargo fmt --all -- --check cargo clippy --workspace --all-targets -- -D warnings cargo deny check # Run the perf harness against the machine baseline. Baseline path: # _private/docs/shop/bench-baselines/-latest.json # Gates fail with nonzero exit — do not merge on breach. bench baseline="_private/docs/shop/bench-baselines/latest.json": cargo run --profile profiling -p shop-bench -- run --baseline {{baseline}} # Capture a fresh baseline. Overwrites the target path. bench-save out="_private/docs/shop/bench-baselines/latest.json": cargo run --profile profiling -p shop-bench -- save --out {{out}} # List registered workloads. bench-list: cargo run -p shop-bench -- list