mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2024-12-14 11:58:02 +00:00
Doc: Warn people about benchmarking/deploying without LTO (#1396)
This commit is contained in:
parent
f97dbad6f9
commit
23f1a77d4c
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
Dragonfly runs on linux. We advice running it on linux version 5.11 or later
|
||||
but you can also run Dragonfly on older kernels as well.
|
||||
|
||||
> :warning: **Dragonfly releases are compiled with LTO (link time optimization)**:
|
||||
Depending on the workload this can notably improve performance. If you want to
|
||||
benchmark Dragonfly or use it in production, you should enable LTO by giving
|
||||
`blaze.sh` the `-DCMAKE_CXX_FLAGS="-flto"` argument.
|
||||
|
||||
## Step 1 - install dependencies
|
||||
|
||||
|
|
Loading…
Reference in a new issue