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

Issue 502993005: Enable incremental linking for static_library too (Closed)

Created:
6 years, 4 months ago by scottmg
Modified:
6 years, 3 months ago
Reviewers:
jam
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Enable incremental linking for static_library too Timings on z620: Without: GYP_DEFINES=component=static_library chromium_win_pch=0 incremental_chrome_dll=0 touch content\app\main.cc (causes chrome.dll, chrome_child.dll, and unit_tests.exe to relink) tim ninja -C out\Release unit_tests [19/19] LINK_EMBED unit_tests.exe real: 4m46.828s With: GYP_DEFINES=component=static_library branding=Chrome chromium_win_pch=0 incremental_chrome_dll=1 touch content\app\content_main.cc && tim ninja -C out\Release unit_tests ninja: Entering directory `out\Release' [19/19] LINK_EMBED unit_tests.exe real: 0m43.625s This is basically best case, and the actual performance on bots will differ based on their config and the number of files that change from run-to-run, but it seems worth enabling to see what happens, at least. R=jam@chromium.org BUG=404809, 402270 Committed: https://crrev.com/6922bc1d4b0a2f4604598082a877d3add6d86d1c Cr-Commit-Position: refs/heads/master@{#295786}

Patch Set 1 #

Patch Set 2 : turn on #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -5 lines) Patch
M build/common.gypi View 1 2 chunks +16 lines, -5 lines 0 comments Download
M chrome/chrome_dll.gypi View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (3 generated)
scottmg
6 years, 4 months ago (2014-08-25 23:15:56 UTC) #1
jam
lgtm, looks great, thanks.
6 years, 3 months ago (2014-08-26 06:27:40 UTC) #2
scottmg
The CQ bit was checked by scottmg@chromium.org
6 years, 3 months ago (2014-08-27 03:06:51 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/502993005/20001
6 years, 3 months ago (2014-08-27 03:07:58 UTC) #4
scottmg
The CQ bit was unchecked by scottmg@chromium.org
6 years, 3 months ago (2014-08-27 03:08:53 UTC) #5
scottmg
The CQ bit was checked by scottmg@chromium.org
6 years, 3 months ago (2014-08-27 04:00:10 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/502993005/20001
6 years, 3 months ago (2014-08-27 04:00:55 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 3 months ago (2014-08-27 05:23:29 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-27 05:52:55 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/3390)
6 years, 3 months ago (2014-08-27 05:52:56 UTC) #10
scottmg
Patchset #3 (id:40001) has been deleted
6 years, 3 months ago (2014-08-28 01:33:35 UTC) #11
scottmg
The CQ bit was checked by scottmg@chromium.org
6 years, 3 months ago (2014-08-28 18:58:12 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/502993005/20001
6 years, 3 months ago (2014-08-28 18:59:16 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-28 20:10:11 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-28 21:21:04 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/4152)
6 years, 3 months ago (2014-08-28 21:21:04 UTC) #16
scottmg
The CQ bit was checked by scottmg@chromium.org
6 years, 3 months ago (2014-08-28 23:12:40 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/502993005/20001
6 years, 3 months ago (2014-08-28 23:13:47 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-29 00:28:13 UTC) #19
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 3 months ago (2014-08-29 02:01:33 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/4297)
6 years, 3 months ago (2014-08-29 02:01:34 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/502993005/20001
6 years, 3 months ago (2014-09-08 18:48:28 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_swarming on tryserver.chromium.win (http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_swarming/builds/7115)
6 years, 3 months ago (2014-09-08 21:15:46 UTC) #25
scottmg
At long last, crbug.com/251251 is addressed (the win x64 try failure), so I'm going to ...
6 years, 3 months ago (2014-09-19 20:33:39 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/502993005/20001
6 years, 3 months ago (2014-09-19 20:34:39 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:20001) as bcf20d36d904f2adb48e509cd9aeb2664b7b89f4
6 years, 3 months ago (2014-09-19 21:35:38 UTC) #29
commit-bot: I haz the power
Failed to apply patch for build/common.gypi: While running git apply --index -p1; error: patch failed: ...
6 years, 3 months ago (2014-09-19 21:35:42 UTC) #30
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/6922bc1d4b0a2f4604598082a877d3add6d86d1c Cr-Commit-Position: refs/heads/master@{#295786}
6 years, 3 months ago (2014-09-19 21:36:17 UTC) #31
scottmg
6 years, 3 months ago (2014-09-19 23:47:43 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/591723003/ by scottmg@chromium.org.

The reason for reverting is: Does not appear to work well for waterfall
workload, see number of instances of "performing full link" in
http://build.chromium.org/p/chromium.win/builders/Win%20Builder/builds/2780/s...

Might still be worth investigating if it's worthwhile on trybots where less
things might change per-job? But doesn't seem that likely..

Powered by Google App Engine
This is Rietveld 408576698