mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 10:07:40 +08:00
a3622eda46
642: Remove LTO in release profile r=Kerollmops a=loiclec Since we can't enable it in Meilisearch (see https://github.com/meilisearch/meilisearch/pull/2717 ), we should not enable it in milli either. The goal is for milli's benchmarks to accurately represent its performance within meilisearch. Co-authored-by: Loïc Lecrenier <loic@meilisearch.com>
23 lines
566 B
TOML
23 lines
566 B
TOML
[workspace]
|
|
resolver = "2"
|
|
members = ["milli", "filter-parser", "flatten-serde-json", "json-depth-checker", "benchmarks", "cli"]
|
|
default-members = ["milli"]
|
|
|
|
[profile.dev]
|
|
opt-level = 3
|
|
|
|
[profile.release]
|
|
debug = true
|
|
codegen-units = 1
|
|
|
|
# Make sure that the build scripts and proc-macros are compiled with
|
|
# all the optimizations. It speeds up the zip crate that we use in the build.rs.
|
|
[profile.dev.build-override]
|
|
opt-level = 3
|
|
[profile.release.build-override]
|
|
opt-level = 3
|
|
[profile.bench.build-override]
|
|
opt-level = 3
|
|
[profile.test.build-override]
|
|
opt-level = 3
|