From 1479633647a8b4e3ae82fc9f1f4eef6981c4267f Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Thu, 7 May 2026 11:54:04 -0700 Subject: [PATCH] Add a Cargo build profile for benchmarking --- codex-rs/Cargo.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml index f1673d3bab76..2b92e35e3b36 100644 --- a/codex-rs/Cargo.toml +++ b/codex-rs/Cargo.toml @@ -496,6 +496,12 @@ strip = "symbols" # See https://github.com/openai/codex/issues/1411 for details. codegen-units = 1 +[profile.profiling] +inherits = "release" +debug = "full" +lto = false +strip = false + [profile.ci-test] debug = 1 # Reduce debug symbol size inherits = "test"