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

Issue 664033002: [Invalidation Tracking] Trace ScheduleStyleInvalidation (Closed)

Created:
6 years, 2 months ago by kouhei (in TOK)
Modified:
6 years, 2 months ago
Reviewers:
haraken, caseq, pdr., rune
CC:
aandrey+blink_chromium.org, darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, caseq+blink_chromium.org, devtools-reviews_chromium.org, dglazkov+blink, ed+blinkwatch_opera.com, eustas+blink_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, paulirish+reviews_chromium.org, pfeldman+blink_chromium.org, rwlbuis, rune+blink, sergeyv+blink_chromium.org, vsevik+blink_chromium.org, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

[Invalidation Tracking] Trace ScheduleStyleInvalidation This patch adds a set of trace events to track reason when RuleFeatureSet schedules StyleInvalidator invocations. These schedules are later consumed by StyleInvalidator to setNeedsStyleRecalc for nodes invalidated by the selector changes. These trace events are postprocessed in devtools and connected to StyleInvalidator invalidate events by joining their DescendantInvalidationSet ids. BUG=410701 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184231

Patch Set 1 #

Patch Set 2 : no regression :) #

Total comments: 3

Patch Set 3 : no optimization #

Total comments: 2

Patch Set 4 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+181 lines, -7 lines) Patch
M Source/core/css/RuleFeature.cpp View 1 2 2 chunks +17 lines, -7 lines 0 comments Download
M Source/core/inspector/InspectorTraceEvents.h View 1 2 3 3 chunks +25 lines, -0 lines 0 comments Download
M Source/core/inspector/InspectorTraceEvents.cpp View 1 2 3 1 chunk +139 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
kouhei (in TOK)
pdr: Would you take a high level look? This regresses CSS benchmarks by 1.5%, so ...
6 years, 2 months ago (2014-10-20 06:50:58 UTC) #2
kouhei (in TOK)
Uploaded updated patch w/o regression. PTAL.
6 years, 2 months ago (2014-10-20 07:02:45 UTC) #3
rune
https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp#newcode203 Source/core/css/RuleFeature.cpp:203: s_tracingEnabled = TRACE_EVENT_API_GET_CATEGORY_ENABLED(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking")); This looks like a strange place ...
6 years, 2 months ago (2014-10-20 07:24:03 UTC) #5
kouhei (in TOK)
https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp#newcode203 Source/core/css/RuleFeature.cpp:203: s_tracingEnabled = TRACE_EVENT_API_GET_CATEGORY_ENABLED(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking")); On 2014/10/20 07:24:03, rune wrote: > ...
6 years, 2 months ago (2014-10-20 09:06:20 UTC) #6
rune
https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp File Source/core/css/RuleFeature.cpp (right): https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp#newcode203 Source/core/css/RuleFeature.cpp:203: s_tracingEnabled = TRACE_EVENT_API_GET_CATEGORY_ENABLED(TRACE_DISABLED_BY_DEFAULT("devtools.timeline.invalidationTracking")); On 2014/10/20 09:06:20, kouhei wrote: > ...
6 years, 2 months ago (2014-10-20 09:18:18 UTC) #7
kouhei (in TOK)
On 2014/10/20 09:18:18, rune wrote: > https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp > File Source/core/css/RuleFeature.cpp (right): > > https://codereview.chromium.org/664033002/diff/20001/Source/core/css/RuleFeature.cpp#newcode203 > ...
6 years, 2 months ago (2014-10-20 09:24:31 UTC) #8
rune
On 2014/10/20 09:24:31, kouhei wrote: > On 2014/10/20 09:18:18, rune wrote: > > Yes, I ...
6 years, 2 months ago (2014-10-20 09:31:04 UTC) #9
kouhei (in TOK)
On 2014/10/20 09:31:04, rune wrote: > On 2014/10/20 09:24:31, kouhei wrote: > > On 2014/10/20 ...
6 years, 2 months ago (2014-10-20 10:40:05 UTC) #10
kouhei (in TOK)
PTAL > Thanks for the clarification. I'll try that and investigate more tomorrow. I run ...
6 years, 2 months ago (2014-10-22 01:40:49 UTC) #11
rune
core/css lgtm
6 years, 2 months ago (2014-10-22 07:11:51 UTC) #12
kouhei (in TOK)
caseq, pdr: Would you approve core/inspector? > core/css lgtm Thanks!
6 years, 2 months ago (2014-10-22 07:13:23 UTC) #13
pdr.
LGTM https://codereview.chromium.org/664033002/diff/40001/Source/core/inspector/InspectorTraceEvents.cpp File Source/core/inspector/InspectorTraceEvents.cpp (right): https://codereview.chromium.org/664033002/diff/40001/Source/core/inspector/InspectorTraceEvents.cpp#newcode171 Source/core/inspector/InspectorTraceEvents.cpp:171: /* blocked on https://codereview.chromium.org/654013003/ This should have landed ...
6 years, 2 months ago (2014-10-22 17:14:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/664033002/60001
6 years, 2 months ago (2014-10-23 02:11:01 UTC) #16
kouhei (in TOK)
https://codereview.chromium.org/664033002/diff/40001/Source/core/inspector/InspectorTraceEvents.cpp File Source/core/inspector/InspectorTraceEvents.cpp (right): https://codereview.chromium.org/664033002/diff/40001/Source/core/inspector/InspectorTraceEvents.cpp#newcode171 Source/core/inspector/InspectorTraceEvents.cpp:171: /* blocked on https://codereview.chromium.org/654013003/ On 2014/10/22 17:14:35, pdr wrote: ...
6 years, 2 months ago (2014-10-23 03:23:32 UTC) #17
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 03:53:25 UTC) #18
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as 184231

Powered by Google App Engine
This is Rietveld 408576698