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

Issue 1259563002: Revert of Precompile more in Blink in Windows for faster compilations (Closed)

Created:
5 years, 5 months ago by Daniel Bratell
Modified:
5 years, 3 months ago
CC:
blink-reviews, blink-reviews-wtf_chromium.org, Mikhail, haraken, tasak (please_use_google.com)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Revert of Precompile more in Blink in Windows for faster compilations (patchset #1 id:1 of https://codereview.chromium.org/1227953008/) Reason for revert: A chromium build bot broke with bad headers again. (see bug) The pch file does not seem to be recompiled when it should be. BUG=511945 Original issue's description: > Precompile more in Blink in Windows for faster compilations > > One reason Blink is slow to compile is that there is a lot of code > included in every compilation unit since everything depends on either > LayoutObject.h or Document.h and those in turn include huge portions > of the rest of Blink. > > By precompiling LayoutObject.h and Document.h the compilation of core and > modules in Blink can be 4 times faster (4 minutes instead of > 19 minutes on my computer). > > The downside is that it will introduce Document.h and LayoutObject.h > also in compilation units that didn't expect it, for instance > XPathGrammer.y that suddenly will have both blink::Path and > blink::XPath::Path in scope (and blink::Filter / blink::XPath::Filter) > > Note that distributed compilation system disables precompiled headers > globally so this will *not* make trybots faster. > > This is a new attempt at this change after bug 511945 scared us into > reverting it. We still do not know the exact cause of 511945 but we > are making another attempt with this. > > BUG=495697 > R=thakis@chromium.org,sigbjornf@chromium.org > > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=199168 TBR=brucedawson@chromium.org,jam@chromium.org,scottmg@chromium.org,thakis@chromium.org,sigbjornf@opera.com,tasak@google.com,haraken@chromium.org,philipj@opera.com BUG=495697 Committed: https://crrev.com/40cb189af4e1836ee908d289a40f95db307f2012 git-svn-id: svn://svn.chromium.org/blink/trunk@199436 bbb929c8-8fbe-4397-9dbb-9b2b20218538

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -86 lines) Patch
M Source/core/DEPS View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/core.gyp View 4 chunks +4 lines, -4 lines 0 comments Download
M Source/core/frame/Frame.h View 2 chunks +1 line, -1 line 0 comments Download
D Source/core/win/Precompile-core.h View 1 chunk +0 lines, -33 lines 0 comments Download
D Source/core/win/Precompile-core.cpp View 1 chunk +0 lines, -9 lines 0 comments Download
D Source/core/win/precompile-core.gypi View 1 chunk +0 lines, -29 lines 0 comments Download
M Source/core/xml/XPathGrammar.y View 2 chunks +3 lines, -3 lines 0 comments Download
M Source/modules/modules.gyp View 1 chunk +1 line, -1 line 0 comments Download
M Tools/Scripts/webkitpy/style/checkers/cpp.py View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
Daniel Bratell
Created Revert of Precompile more in Blink in Windows for faster compilations
5 years, 5 months ago (2015-07-24 09:47:20 UTC) #1
sof
lgtm
5 years, 5 months ago (2015-07-24 09:49:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1259563002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1259563002/1
5 years, 5 months ago (2015-07-24 09:50:48 UTC) #4
philipj_slow
lgtm
5 years, 5 months ago (2015-07-24 09:51:57 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://src.chromium.org/viewvc/blink?view=rev&revision=199436
5 years, 5 months ago (2015-07-24 11:28:00 UTC) #6
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 11:46:13 UTC) #7
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/40cb189af4e1836ee908d289a40f95db307f2012

Powered by Google App Engine
This is Rietveld 408576698