From 98fc0938239754da99c7d2f9f1e3fec951afe04a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Lecrenier?= Date: Wed, 10 Aug 2022 13:54:06 +0200 Subject: [PATCH] Optimize a few performance sensitive dependencies on debug builds --- Cargo.toml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3a8eedc72..34e32a914 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,12 +4,17 @@ members = ["milli", "filter-parser", "flatten-serde-json", "json-depth-checker", default-members = ["milli"] [profile.dev] -opt-level = 0 +opt-level = 0 [profile.release] debug = true codegen-units = 1 +[profile.dev.package.grenad] +opt-level = 3 +[profile.dev.package.roaring] +opt-level = 3 + [profile.dev.package.lindera-ipadic-builder] opt-level = 3 [profile.dev.package.encoding]