mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-29 16:24:26 +01:00
Merge #606
606: Make binaries faster on release profile through better compile options r=Kerollmops a=loiclec Using `codegen-units = 1` and `lto = 'thin'` makes the compile time a bit longer, but also produces faster binaries. I'd like to run milli's benchmark with these options, so that we can see whether it is worth enabling on meilisearch. Co-authored-by: Loïc Lecrenier <loic@meilisearch.com>
This commit is contained in:
commit
f55034ed54
@ -8,6 +8,8 @@ opt-level = 3
|
||||
|
||||
[profile.release]
|
||||
debug = true
|
||||
codegen-units = 1
|
||||
lto = "thin"
|
||||
|
||||
# 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.
|
||||
|
Loading…
Reference in New Issue
Block a user