meilisearch/MeiliSearch

Enable LTO again

Offen

#2.718 geöffnet am 29.08.2022

 (7 Kommentare) (1 Reaktion) (0 zugewiesene Personen)Rust (2.542 Forks)batch import
enhancementhelp wantedperformancetech discussion

Repository-Metriken

Stars
 (57.572 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

We first enabled LTO in this PR https://github.com/meilisearch/meilisearch/pull/2690 to improve the performance of the search engine.

Then, we had to disable LTO in this PR https://github.com/meilisearch/meilisearch/pull/2717 because we were not able to compile the aarch64 binary anymore. See: https://github.com/meilisearch/meilisearch/actions/runs/2948932141

We would introduce LTO again and prevent using it when compiling the aarch64 binary. Some beginning of solution here

If anyone has a better solution, we would happy to read you!

Contributor Guide