|
|
Created:
3 years, 8 months ago by brucedawson Modified:
3 years, 8 months ago CC:
chromium-reviews Target Ref:
refs/heads/master Project:
chromium Visibility:
Public. |
DescriptionReduce overbuilding due to about_credits.html
Efficiently determining when to build about_credits.html is hard.
Currently it is marked as dirty anytime the root .ninja file is
modified, so after every "gn gen" or modification of any BUILD.gn file
it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux.
This change just makes the script smart enough to not write the file if
its contents have not changed. Thus, 105 of the 106 steps on Windows,
including linking of chrome.exe, can be skipped.
In addition to slightly improving build times this change makes it more
obvious what is going on. It makes it (fairly) clear that
about_credits.html is being regenerated but has not actually changed.
R=agrieve@chromium.org
BUG=692601
Review-Url: https://codereview.chromium.org/2780983004
Cr-Commit-Position: refs/heads/master@{#460807}
Committed: https://chromium.googlesource.com/chromium/src/+/b5acc4c7976d45ace977c14019593c9413d0841d
Patch Set 1 #
Messages
Total messages: 19 (11 generated)
The CQ bit was checked by brucedawson@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== Reduce overbuilding due to about_credits.html Efficiently determining when to build about_credits.html is hard. Currently it is marked as dirty anytime the root .ninja file is modified, so after every "gn gen" or modification of any BUILD.gn file it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux. This change just makes the script smart enough to not write the file if its contents have not changed. Thus, 105 of the 106 steps, including linking of chrome.exe, can be skipped. R=agrieve@chromium.org BUG=692601 ========== to ========== Reduce overbuilding due to about_credits.html Efficiently determining when to build about_credits.html is hard. Currently it is marked as dirty anytime the root .ninja file is modified, so after every "gn gen" or modification of any BUILD.gn file it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux. This change just makes the script smart enough to not write the file if its contents have not changed. Thus, 105 of the 106 steps on Windows, including linking of chrome.exe, can be skipped. R=agrieve@chromium.org BUG=692601 ==========
Description was changed from ========== Reduce overbuilding due to about_credits.html Efficiently determining when to build about_credits.html is hard. Currently it is marked as dirty anytime the root .ninja file is modified, so after every "gn gen" or modification of any BUILD.gn file it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux. This change just makes the script smart enough to not write the file if its contents have not changed. Thus, 105 of the 106 steps on Windows, including linking of chrome.exe, can be skipped. R=agrieve@chromium.org BUG=692601 ========== to ========== Reduce overbuilding due to about_credits.html Efficiently determining when to build about_credits.html is hard. Currently it is marked as dirty anytime the root .ninja file is modified, so after every "gn gen" or modification of any BUILD.gn file it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux. This change just makes the script smart enough to not write the file if its contents have not changed. Thus, 105 of the 106 steps on Windows, including linking of chrome.exe, can be skipped. In addition to slightly improving build times this change makes it more obvious what is going on. It makes it (fairly) clear that about_credits.html is being regenerated but has not actually changed. R=agrieve@chromium.org BUG=692601 ==========
PTAL - description should be self-explanatory
On 2017/03/29 23:45:58, brucedawson wrote: > PTAL - description should be self-explanatory lgtm
The CQ bit was unchecked by brucedawson@chromium.org
The CQ bit was checked by brucedawson@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
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_presub...)
brucedawson@chromium.org changed reviewers: + dpranke@chromium.org
Need owner approval - dpranke@, PTAL.
lgtm
The CQ bit was checked by brucedawson@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch. Bot data: {"patchset_id": 1, "attempt_start_ts": 1490893308508250, "parent_rev": "76a92450937342766d630d01a28402e06e2f0622", "commit_rev": "b5acc4c7976d45ace977c14019593c9413d0841d"}
Message was sent while issue was closed.
Description was changed from ========== Reduce overbuilding due to about_credits.html Efficiently determining when to build about_credits.html is hard. Currently it is marked as dirty anytime the root .ninja file is modified, so after every "gn gen" or modification of any BUILD.gn file it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux. This change just makes the script smart enough to not write the file if its contents have not changed. Thus, 105 of the 106 steps on Windows, including linking of chrome.exe, can be skipped. In addition to slightly improving build times this change makes it more obvious what is going on. It makes it (fairly) clear that about_credits.html is being regenerated but has not actually changed. R=agrieve@chromium.org BUG=692601 ========== to ========== Reduce overbuilding due to about_credits.html Efficiently determining when to build about_credits.html is hard. Currently it is marked as dirty anytime the root .ninja file is modified, so after every "gn gen" or modification of any BUILD.gn file it gets rewritten, triggering 106 steps on Windows, 58 steps on Linux. This change just makes the script smart enough to not write the file if its contents have not changed. Thus, 105 of the 106 steps on Windows, including linking of chrome.exe, can be skipped. In addition to slightly improving build times this change makes it more obvious what is going on. It makes it (fairly) clear that about_credits.html is being regenerated but has not actually changed. R=agrieve@chromium.org BUG=692601 Review-Url: https://codereview.chromium.org/2780983004 Cr-Commit-Position: refs/heads/master@{#460807} Committed: https://chromium.googlesource.com/chromium/src/+/b5acc4c7976d45ace977c1401959... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/b5acc4c7976d45ace977c1401959... |