diff --git a/Cargo.toml b/Cargo.toml index 12e39fd63..6e52d9dc7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -90,3 +90,8 @@ codegen-units = 1 # Compile crates one after another so the compiler can optimiz lto = true # Enables link to optimizations opt-level = "s" # Optimize for binary size debug = true # Enable debug symbols, for profiling + +[profile.bench] +codegen-units = 256 +lto = false +opt-level = 3 \ No newline at end of file