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

Issue 2326143002: Enable incremental linking for blink_core, 32-bit (Closed)

Created:
4 years, 3 months ago by brucedawson
Modified:
3 years, 8 months ago
Reviewers:
Dirk Pranke, scottmg
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable incremental linking for blink_core, 32-bit Incremental linking is enabled by default on debug component builds on Windows but has long been disabled for blink_core because it didn't work. VS 2015 Update 3 fixes some incremental linking bugs and at some point the .ilk file limit was raised from 2 GiB to 4 GiB so incremental linking now works. This takes the elapsed time for these commands: > touch third_party\WebKit\Source\core\html\AutoplayExperimentHelper.cpp > ninja -d keeprsp -C out\Debug_component chrome from ~400 s to ~10 s. Which is faster. Most of the speed up is because incremental linking is faster than full linking. The rest comes because when blink_core.dll is incrementally linked then its import lib (blink_core.dll.lib) is not updated which means that the subsequent 21 build steps (including linking chrome.dll) are completely skipped. On 64-bit builds the .ilk file is still too large and enabling incremental linking doesn't cause build failures but doesn't help, and probably slows down the build (due to creating the huge .ilk file). This change also deletes the /maxilksize flag. Currently this is artificially restricting us to an old/obsolete limit. The .ilk file for blink_core.dll is dangerously close to the old limit, but nowhere near the new limit. BUG=560475 Committed: https://crrev.com/f786d3a73671671237e8ab61d0d97d85a8db7d3c Cr-Commit-Position: refs/heads/master@{#417852}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -10 lines) Patch
M build/config/win/BUILD.gn View 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/BUILD.gn View 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (14 generated)
brucedawson
40x faster incremental builds of blink_core! (some restrictions may apply, 32-bit only, probably requires VS ...
4 years, 3 months ago (2016-09-09 21:20:33 UTC) #6
scottmg
lgtm It's too bad to hear that x64 is that much larger. We'd better get ...
4 years, 3 months ago (2016-09-09 21:28:45 UTC) #7
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/2326143002/1
4 years, 3 months ago (2016-09-09 22:27:05 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/256908)
4 years, 3 months ago (2016-09-09 22:33:53 UTC) #13
brucedawson
Dirk, PTAL.
4 years, 3 months ago (2016-09-09 22:35:53 UTC) #15
Dirk Pranke
lgtm
4 years, 3 months ago (2016-09-10 16:19:35 UTC) #17
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/2326143002/1
4 years, 3 months ago (2016-09-11 00:19:48 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-09-11 01:50:04 UTC) #21
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/f786d3a73671671237e8ab61d0d97d85a8db7d3c Cr-Commit-Position: refs/heads/master@{#417852}
4 years, 3 months ago (2016-09-11 01:52:45 UTC) #23
gab
3 years, 8 months ago (2017-04-26 18:41:29 UTC) #24
Message was sent while issue was closed.
On 2016/09/11 01:52:45, commit-bot: I haz the power wrote:
> Patchset 1 (id:??) landed as
> https://crrev.com/f786d3a73671671237e8ab61d0d97d85a8db7d3c
> Cr-Commit-Position: refs/heads/master@{#417852}

Powered by Google App Engine
This is Rietveld 408576698