mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-06-18 20:57:35 +02:00
docs: Recommend using a custom path for the benches' data
This reduces the build time of the `benchmarks` crate from ~220secs to 45secs (according to `cargo build --timings`) on my dev machine Additionally I've introduced a parent folder for the Meili related cache paths - ~/.cache/meili Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
This commit is contained in:
parent
c3368e6859
commit
0e10ff1aa3
@ -57,9 +57,17 @@ This command will be triggered to each PR as a requirement for merging it.
|
|||||||
You can set the `LINDERA_CACHE` environment variable to speed up your successive builds by up to 2 minutes.
|
You can set the `LINDERA_CACHE` environment variable to speed up your successive builds by up to 2 minutes.
|
||||||
It'll store some built artifacts in the directory of your choice.
|
It'll store some built artifacts in the directory of your choice.
|
||||||
|
|
||||||
We recommend using the standard `$HOME/.cache/lindera` directory:
|
We recommend using the `$HOME/.cache/meili/lindera` directory:
|
||||||
```sh
|
```sh
|
||||||
export LINDERA_CACHE=$HOME/.cache/lindera
|
export LINDERA_CACHE=$HOME/.cache/meili/lindera
|
||||||
|
```
|
||||||
|
|
||||||
|
You can set the `MILLI_BENCH_DATASETS_PATH` environment variable to further speed up your builds.
|
||||||
|
It'll store some big files used for the benchmarks in the directory of your choice.
|
||||||
|
|
||||||
|
We recommend using the `$HOME/.cache/meili/benches` directory:
|
||||||
|
```sh
|
||||||
|
export MILLI_BENCH_DATASETS_PATH=$HOME/.cache/meili/benches
|
||||||
```
|
```
|
||||||
|
|
||||||
Furthermore, you can improve incremental compilation by setting the `MEILI_NO_VERGEN` environment variable.
|
Furthermore, you can improve incremental compilation by setting the `MEILI_NO_VERGEN` environment variable.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user