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

Issue 1456883002: Move paint-related timings out of DocumentTiming (Closed)

Created:
5 years, 1 month ago by Kunihiko Sakamoto
Modified:
5 years ago
Reviewers:
kinuko, chrishtr, dglazkov
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, sof, eae+blinkwatch, leviw+renderwatch, slimming-paint-reviews_chromium.org, blink-reviews-dom_chromium.org, dglazkov+blink, dshwang, jchaffraix+rendering, blink-reviews-paint_chromium.org, blink-reviews, do_not_use, bmcquade1, Charlie Harrison, loading-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Move paint-related timings out of DocumentTiming This patch moves paint related timings of DocumentTiming into a new class, PaintTiming, which is a document supplement and created on demand only for visible documents. BUG=544811 Committed: https://crrev.com/ad9c27b059c5d37dc278e0c7a4b8cdb202952491 Cr-Commit-Position: refs/heads/master@{#361307}

Patch Set 1 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -63 lines) Patch
M third_party/WebKit/Source/core/core.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +0 lines, -18 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentTiming.h View 3 chunks +0 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/dom/DocumentTiming.cpp View 1 chunk +0 lines, -21 lines 0 comments Download
M third_party/WebKit/Source/core/layout/compositing/CompositedLayerMapping.cpp View 2 chunks +13 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 2 chunks +5 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 2 chunks +8 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/paint/PaintTiming.h View 1 chunk +48 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/paint/PaintTiming.cpp View 1 chunk +69 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceTiming.h View 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceTiming.cpp View 5 chunks +16 lines, -3 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Kunihiko Sakamoto
PTAL Still PaintTiming belongs to Document (as a supplement) and PaintLayer::paintTiming() is reaching into Document, ...
5 years, 1 month ago (2015-11-19 04:30:33 UTC) #4
dglazkov
On 2015/11/19 at 04:30:33, ksakamoto wrote: > PTAL > > Still PaintTiming belongs to Document ...
5 years, 1 month ago (2015-11-19 05:13:11 UTC) #5
chrishtr
On 2015/11/19 at 05:13:11, dglazkov wrote: > On 2015/11/19 at 04:30:33, ksakamoto wrote: > > ...
5 years, 1 month ago (2015-11-20 00:50:16 UTC) #6
dglazkov
On 2015/11/20 at 00:50:16, chrishtr wrote: > On 2015/11/19 at 05:13:11, dglazkov wrote: > > ...
5 years, 1 month ago (2015-11-20 03:43:53 UTC) #7
kinuko (google)
On 2015/11/20 03:43:53, dglazkov wrote: > On 2015/11/20 at 00:50:16, chrishtr wrote: > > On ...
5 years, 1 month ago (2015-11-20 04:59:26 UTC) #8
chrishtr
On 2015/11/20 at 04:59:26, kinuko wrote: > On 2015/11/20 03:43:53, dglazkov wrote: > > On ...
5 years, 1 month ago (2015-11-20 18:11:27 UTC) #9
Bryan McQuade
On 2015/11/20 18:11:27, chrishtr wrote: > On 2015/11/20 at 04:59:26, kinuko wrote: > > On ...
5 years, 1 month ago (2015-11-20 18:13:19 UTC) #10
dglazkov
On 2015/11/20 at 18:11:27, chrishtr wrote: > On 2015/11/20 at 04:59:26, kinuko wrote: > > ...
5 years, 1 month ago (2015-11-20 18:16:40 UTC) #11
chrishtr
On 2015/11/20 at 18:13:19, bmcquade wrote: > On 2015/11/20 18:11:27, chrishtr wrote: > > On ...
5 years, 1 month ago (2015-11-20 18:17:14 UTC) #12
Kunihiko Sakamoto
Thank you all for the comments. Let me commit this, and keep the tracking bug ...
5 years ago (2015-11-24 06:01:48 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456883002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456883002/20001
5 years ago (2015-11-24 06:04:06 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/100490)
5 years ago (2015-11-24 08:09:27 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1456883002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1456883002/20001
5 years ago (2015-11-24 08:12:11 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:20001)
5 years ago (2015-11-24 10:36:32 UTC) #20
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/ad9c27b059c5d37dc278e0c7a4b8cdb202952491 Cr-Commit-Position: refs/heads/master@{#361307}
5 years ago (2015-11-24 10:37:30 UTC) #21
Mostyn Bramley-Moore
5 years ago (2015-11-24 11:24:05 UTC) #22
Message was sent while issue was closed.
This seems to have broken GCC builds (I work on a downstream embedded linux
project, but I believe some official chromeos builds still use GCC):

FAILED: ccache g++ -MMD -MF
obj/third_party/WebKit/Source/core/paint/webcore_shared.PaintTiming.o.d
-DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -D_FILE_OFFSET_BITS=64 -DDISABLE_NACL
-DCHROMIUM_BUILD -DCOMPONENT_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1
-DUSE_ASH=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_DEFAULT_RENDER_THEME=1
-DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DUSE_CLIPBOARD_AURAX11=1
-DENABLE_ONE_CLICK_SIGNIN -DENABLE_PRE_SYNC_BACKUP -DENABLE_WEBRTC=1
-DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY
-DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1
-DDONT_EMBED_BUILD_METADATA -DDCHECK_ALWAYS_ON=1 -DFIELDTRIAL_TESTING_ENABLED
-DENABLE_TASK_MANAGER=1 -DENABLE_EXTENSIONS=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1
-DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1
-DENABLE_BACKGROUND=1 -DENABLE_GOOGLE_NOW=1 -DENABLE_PRINTING=1
-DENABLE_BASIC_PRINTING=1 -DENABLE_PRINT_PREVIEW=1 -DENABLE_SPELLCHECK=1
-DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1
-DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1
-DV8_USE_EXTERNAL_STARTUP_DATA -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD
-DSAFE_BROWSING_DB_LOCAL -DBLINK_CORE_IMPLEMENTATION=1 -DBLINK_IMPLEMENTATION=1
-DINSIDE_BLINK -DGL_GLEXT_PROTOTYPES -DCHROME_PNG_WRITE_SUPPORT
-DPNG_USER_CONFIG -DUSE_SYSTEM_LIBJPEG -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0
-DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DENABLE_INPUT_MULTIPLE_FIELDS_UI=1
-DENABLE_WEB_AUDIO=1 -DWTF_USE_WEBAUDIO_FFMPEG=1
-DWTF_USE_DEFAULT_RENDER_THEME=1 -DLINK_CORE_MODULES_SEPARATELY
-DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DSKIA_DLL
-DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_GPU=1
-DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_IGNORE_GL_TEXTURE_TARGET
-DUSE_SYSTEM_LIBXML -DV8_SHARED -DUSING_V8_SHARED -DUSE_LIBPCI=1 -DUSE_OPENSSL=1
-DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -D_FORTIFY_SOURCE=2 -Igen
-I../../third_party/WebKit/Source -Igen/blink -I../../third_party/WebKit
-I../../third_party/WebKit/Source/core/testing
-I../../third_party/WebKit/Source/core/testing/v8 -I../.. -I../../skia/config
-I../../third_party/khronos -I../../gpu -Igen/angle
-I../../third_party/angle/include -I../../third_party/ffmpeg
-I../../third_party/iccjpeg -I../../third_party/libpng
-I../../third_party/libwebp -I../../third_party/ots/include
-I../../third_party/zlib -I../../third_party/icu/source/i18n
-I../../third_party/icu/source/common -I../../skia/ext
-I../../third_party/skia/include/core -I../../third_party/skia/include/effects
-I../../third_party/skia/include/pdf -I../../third_party/skia/include/gpu
-I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops
-I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports
-I../../third_party/skia/include/utils -I../../third_party/npapi
-I../../third_party/npapi/bindings -I../../third_party/qcms/src
-I../../third_party/snappy/linux -I../../third_party/snappy/src
-I../../v8/include -fstack-protector --param=ssp-buffer-size=4 -Werror -pthread
-fno-strict-aliasing -Wall -Wno-unused-parameter -Wno-missing-field-initializers
-fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -fno-strict-aliasing
-I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2
-I/usr/include/libxml2 -m64 -march=x86-64 -O2 -fno-ident -fdata-sections
-ffunction-sections -funwind-tables -fno-exceptions -fno-rtti
-fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare
-Wno-c++0x-compat -std=gnu++11 -Wno-narrowing -Wno-literal-suffix  -c
../../third_party/WebKit/Source/core/paint/PaintTiming.cpp -o
obj/third_party/WebKit/Source/core/paint/webcore_shared.PaintTiming.o
In file included from
../../third_party/WebKit/Source/core/paint/PaintTiming.cpp:8:0:
../../third_party/WebKit/Source/core/dom/Document.h:1395:69: error: type
attributes ignored after type is already defined [-Werror=attributes]
cc1plus: all warnings being treated as errors

Powered by Google App Engine
This is Rietveld 408576698