From adb341f6db1cb507537a8eaf089e0dfdae7abb3e Mon Sep 17 00:00:00 2001 From: Weston Pace Date: Mon, 8 Dec 2025 06:56:38 -0800 Subject: [PATCH] Use cheaper builds for profiling --- .cargo/config.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index 0008c314e72..1d9c9ecc9da 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -9,6 +9,11 @@ debug = true codegen-units = 16 lto = "thin" +[profile.bench] +inherits = "release" +lto = "thin" +codegen-units = 16 + [target.x86_64-unknown-linux-gnu] rustflags = ["-C", "target-cpu=haswell", "-C", "target-feature=+avx2,+fma,+f16c"]