diff options
author | 2016-09-07 19:04:36 -0700 | |
---|---|---|
committer | 2016-09-07 19:04:36 -0700 | |
commit | 5e3a63075397f641536b2e463ad25d87bec6b112 (patch) | |
tree | deceabf862a52327d03abfcafea5ffdbfcbc336c /src/opts/SkColor_opts_SSE2.h | |
parent | 48ba2b8550d0d243dddf728b602995b01bc137e1 (diff) |
GN: default to -O1
In a GN world we are no longer tied to the Debug/Release dichotomy of
GYP, and extra_cflags makes it trivially easy to override any flags we
set by default. These two together mean we don't have to make the default
Debug build pointlessly unoptimized.
-O1 takes negligibly longer to compile than -O0, doesn't make debugging
difficult, and the code is considerably better. DM runs ~4x faster this way.
Backstory: I just re-noticed we do this for our Debug MSAN builds, which has
had a serious wall-time slimming effect. I was about to restore it to my GN
MSAN builds when I realized, hey, maybe we should do this for all builds.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2322753002
Review-Url: https://codereview.chromium.org/2322753002
Diffstat (limited to 'src/opts/SkColor_opts_SSE2.h')
0 files changed, 0 insertions, 0 deletions