mirror of
https://github.com/redis/redis.git
synced 2026-05-28 04:02:46 -04:00
Adding of O3 on linking stage for OPTIMIZATION=-O3 cases (#12339)
Added missing O3 flag to linking stage in default option "-O3 -flto".
Flags doesn't lead to significant changes in performance:
- +0.21% in geomean for all benchmarks on ICX bare-metal (256 cpus)
- +0.33% in geomean for all benchmarks on m6i.2xlarge (16 cpus)
Checked on redis from Mar'30 (commit 1f76bb17dd ). Comparison file is attached.
This commit is contained in:
parent
ef4bb4e374
commit
b2cdf6bcc3
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ ifeq ($(OPTIMIZATION),-O3)
|
|||
else
|
||||
REDIS_CFLAGS+=-flto=auto
|
||||
endif
|
||||
REDIS_LDFLAGS+=-flto
|
||||
REDIS_LDFLAGS+=-O3 -flto
|
||||
endif
|
||||
DEPENDENCY_TARGETS=hiredis linenoise lua hdr_histogram fpconv
|
||||
NODEPS:=clean distclean
|
||||
|
|
|
|||
Loading…
Reference in a new issue