Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(92)

Issue 2864383003: build: Enable optimize_for_size unconditionally. (Closed)

Created:
3 years, 7 months ago by pcc1
Modified:
3 years, 7 months ago
Reviewers:
Nico
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

build: Enable optimize_for_size unconditionally. This change causes us to favor size over speed on Linux and Mac, which aligns the build config for those platforms with that of the other supported platforms, and should reduce the binary size impact of enabling ThinLTO. This change is expected to reduce binary size for Linux official builds by about 15%. There may be unacceptable perf regressions associated with this change, but the perf bots should at least let us know where those regressions are. I plan to monitor the Linux and Mac perf bots once it lands. BUG=660216 R=thakis@chromium.org Review-Url: https://codereview.chromium.org/2864383003 Cr-Commit-Position: refs/heads/master@{#470606} Committed: https://chromium.googlesource.com/chromium/src/+/c1269ce7fec8568a1789e07b2b5bb3b630a67f5f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M build/config/compiler/BUILD.gn View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
pcc1
3 years, 7 months ago (2017-05-08 22:30:58 UTC) #1
pcc1
Let me know if there are any perf teams that need to be FYI'd here.
3 years, 7 months ago (2017-05-08 22:32:20 UTC) #2
pcc1
The cast_shell_linux trybot failures appear to be legitimate; taking a look.
3 years, 7 months ago (2017-05-09 00:41:29 UTC) #7
pcc1
Looks like the root cause is crbug.com/576197. If I disable ICF or if I link ...
3 years, 7 months ago (2017-05-09 01:31:45 UTC) #8
Nico
On 2017/05/09 01:31:45, pcc1 wrote: > Looks like the root cause is crbug.com/576197. If I ...
3 years, 7 months ago (2017-05-09 02:18:56 UTC) #9
pcc1
On 2017/05/09 02:18:56, Nico wrote: > On 2017/05/09 01:31:45, pcc1 wrote: > > Looks like ...
3 years, 7 months ago (2017-05-09 02:29:09 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2864383003/1
3 years, 7 months ago (2017-05-09 17:37:55 UTC) #12
pcc1
On 2017/05/09 02:18:56, Nico wrote: > This change here lgtm once the section alignment icf ...
3 years, 7 months ago (2017-05-09 17:38:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, build has not started yet; ...
3 years, 7 months ago (2017-05-10 00:49:34 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2864383003/1
3 years, 7 months ago (2017-05-10 16:34:37 UTC) #21
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/c1269ce7fec8568a1789e07b2b5bb3b630a67f5f
3 years, 7 months ago (2017-05-10 16:41:45 UTC) #24
yhirano
3 years, 7 months ago (2017-05-11 03:20:43 UTC) #25
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2881503002/ by yhirano@chromium.org.

The reason for reverting is: Causes failures on a MSAN bot.
https://uberchromegw.corp.google.com/i/chromium.memory/builders/Linux%20Chrom...
.

Powered by Google App Engine
This is Rietveld 408576698