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

Issue 1880113003: Enable /GL for all targets in Official (behind a flag) (Closed)

Created:
4 years, 8 months ago by Sébastien Marchand
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable /GL for all targets in Official (behind a flag) This is controlled by the full_wpo_on_official GYP/GN flag. The plan is to use this flag to do an experiment on Dev. I've done some local tests regarding the impact on the delta patches (I checked out 2 different revisions of Chrome and did 2 builds for each one, one WPO and one not), here's the numbers: Normal 1 (non-WPO): chrome.dll: 35274.5 KB chrome_child.dll: 43636 KB Normal 2 (non-WPO) : chrome.dll: 35405 KB chrome_child.dll: 43792 KB WPO 1: chrome.dll: 34944.5 KB (-330 KB) chrome_child.dll: 44569 KB (+933 KB) WPO 2: chrome.dll: 35066 KB (-339 KB) chrome_child.dll 44710.5 KB (+918.5 KB) non-WPO 1 -> non-WPO 2: patch: 6205.23 KB patch.7z: 2765.42 KB WPO 1 -> WPO 2: patch: 6640.88 KB (+435.65 KB) patch.7z: 2951.07 KB (+185.65 KB) BUG=490934 Committed: https://crrev.com/ea6b4cf8e486d9e8321030cde31024e7662130d5 Cr-Commit-Position: refs/heads/master@{#390779}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : GN files. #

Patch Set 4 : GN files. #

Patch Set 5 : Only add the new optimize_no_wpo config. #

Patch Set 6 : Rebase - Add a flag to enable this. #

Total comments: 4

Patch Set 7 : Fix nits. #

Patch Set 8 : Fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -6 lines) Patch
M build/common.gypi View 1 2 3 4 5 3 chunks +15 lines, -0 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +3 lines, -6 lines 0 comments Download
M build/config/compiler/compiler.gni View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/mesa/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/yasm/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (14 generated)
Sébastien Marchand
PTAL (won't land this before getting approval).
4 years, 8 months ago (2016-04-18 16:34:56 UTC) #4
scottmg
Corresponding GN change? (VCLinkerTool is always on from what I can see, so this lgtm.)
4 years, 8 months ago (2016-04-18 16:47:26 UTC) #6
Sébastien Marchand
Dang, Bruce sent me a reminder about this last week, so I've no excuse :), ...
4 years, 8 months ago (2016-04-18 16:49:16 UTC) #7
Sébastien Marchand
Here's the GN config for this, after landing this I'll need to land a change ...
4 years, 7 months ago (2016-04-26 21:33:22 UTC) #8
scottmg
lgtm, but I guess that means is_official_build GN will be broken until ffmpeg lands and ...
4 years, 7 months ago (2016-04-26 21:39:10 UTC) #9
brucedawson
On 2016/04/26 21:39:10, scottmg wrote: > lgtm, but I guess that means is_official_build GN will ...
4 years, 7 months ago (2016-04-26 21:41:04 UTC) #10
Sébastien Marchand
Yeah, I'll split this in several CL to avoid breaking this config :)
4 years, 7 months ago (2016-04-26 21:42:49 UTC) #11
Sébastien Marchand
PTAL.
4 years, 7 months ago (2016-04-28 21:40:58 UTC) #18
DaleCurtis
lgtm
4 years, 7 months ago (2016-04-28 21:51:05 UTC) #19
piman
4 years, 7 months ago (2016-04-28 23:32:44 UTC) #20
piman
lgtm
4 years, 7 months ago (2016-04-28 23:32:45 UTC) #21
brucedawson
Did you try adding /LTCG to the arflags and linker flags for the gn build, ...
4 years, 7 months ago (2016-04-29 00:06:13 UTC) #22
Sébastien Marchand
No, I'll tune the arflags/ldflags in a follow up CL (I'll clean it for all ...
4 years, 7 months ago (2016-04-29 14:15:39 UTC) #23
brucedawson
lgtm
4 years, 7 months ago (2016-04-29 20:25:21 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1880113003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1880113003/180001
4 years, 7 months ago (2016-04-29 20:48:16 UTC) #27
commit-bot: I haz the power
Committed patchset #8 (id:180001)
4 years, 7 months ago (2016-04-29 22:06:40 UTC) #29
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:29:31 UTC) #30
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ea6b4cf8e486d9e8321030cde31024e7662130d5
Cr-Commit-Position: refs/heads/master@{#390779}

Powered by Google App Engine
This is Rietveld 408576698