From 087f25d0dce2ce9ab5abe44b07709cc8ae5568e1 Mon Sep 17 00:00:00 2001 From: Arthur Pastel Date: Fri, 27 Jun 2025 17:01:39 +0200 Subject: [PATCH] feat: change default profile from release to bench for build command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change cargo codspeed build to default to --profile bench instead of --profile release to align with cargo bench behavior and allow users to leverage bench profile customizations. Fixes COD-393 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- crates/cargo-codspeed/src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cargo-codspeed/src/app.rs b/crates/cargo-codspeed/src/app.rs index c3f18891..a2578ac9 100644 --- a/crates/cargo-codspeed/src/app.rs +++ b/crates/cargo-codspeed/src/app.rs @@ -66,7 +66,7 @@ enum Commands { jobs: Option, /// Build the benchmarks with the specified profile - #[arg(long, default_value = "release")] + #[arg(long, default_value = "bench")] profile: String, }, /// Run the previously built benchmarks