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"]