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

Issue 671913005: Implement layout invalidation tracking in devtools (Closed)

Created:
6 years, 2 months ago by pdr.
Modified:
6 years, 2 months ago
CC:
aandrey+blink_chromium.org, apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, devtools-reviews_chromium.org, eustas+blink_chromium.org, loislo+blink_chromium.org, lushnikov+blink_chromium.org, malch+blink_chromium.org, paulirish+reviews_chromium.org, pfeldman+blink_chromium.org, sergeyv+blink_chromium.org, vsevik+blink_chromium.org, yurys+blink_chromium.org
Project:
blink
Visibility:
Public.

Description

Implement layout invalidation tracking in devtools This patch adds layout invalidation tracking to the invalidation tracking experiment. Our full design doc is at: https://docs.google.com/document/d/1BXT3_gD--YdbIYMlTzNGsyUUMBCZJ7V5qGJhMA-pGrs/edit This patch implements the invalidation tracking logic for layout events. All layout invalidations are recorded and when a layout occurs they are collected and displayed to the user. Style invalidations occurring at the same time are not shown. This patch is a fairly straightforward extension of [1] but for layout events. The InspectorTest.findTimelineRecord function has been added for capturing the N-th event of a specific type and all other inspector tests updated to use it. [1] https://src.chromium.org/viewvc/blink?view=rev&revision=184212 BUG=410701 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=184269

Patch Set 1 #

Total comments: 3

Messages

Total messages: 10 (2 generated)
pdr.
PTAL
6 years, 2 months ago (2014-10-23 04:43:00 UTC) #2
kouhei (in TOK)
https://codereview.chromium.org/671913005/diff/1/Source/devtools/front_end/timeline/TracingTimelineModel.js File Source/devtools/front_end/timeline/TracingTimelineModel.js (right): https://codereview.chromium.org/671913005/diff/1/Source/devtools/front_end/timeline/TracingTimelineModel.js#newcode1203 Source/devtools/front_end/timeline/TracingTimelineModel.js:1203: didLayout: function(layoutEvent) I think we should share the logic ...
6 years, 2 months ago (2014-10-23 04:48:38 UTC) #3
pdr.
https://codereview.chromium.org/671913005/diff/1/Source/devtools/front_end/timeline/TracingTimelineModel.js File Source/devtools/front_end/timeline/TracingTimelineModel.js (right): https://codereview.chromium.org/671913005/diff/1/Source/devtools/front_end/timeline/TracingTimelineModel.js#newcode1203 Source/devtools/front_end/timeline/TracingTimelineModel.js:1203: didLayout: function(layoutEvent) On 2014/10/23 at 04:48:38, kouhei wrote: > ...
6 years, 2 months ago (2014-10-23 05:09:44 UTC) #4
kouhei (in TOK)
On 2014/10/23 05:09:44, pdr wrote: > https://codereview.chromium.org/671913005/diff/1/Source/devtools/front_end/timeline/TracingTimelineModel.js > File Source/devtools/front_end/timeline/TracingTimelineModel.js (right): > > https://codereview.chromium.org/671913005/diff/1/Source/devtools/front_end/timeline/TracingTimelineModel.js#newcode1203 > ...
6 years, 2 months ago (2014-10-23 05:11:41 UTC) #5
pdr.
@yurys or @caseq, could you please review the devtools side?
6 years, 2 months ago (2014-10-23 06:40:33 UTC) #6
pfeldman
lgtm
6 years, 2 months ago (2014-10-23 11:52:11 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/671913005/1
6 years, 2 months ago (2014-10-23 13:17:15 UTC) #9
commit-bot: I haz the power
6 years, 2 months ago (2014-10-23 14:24:54 UTC) #10
Message was sent while issue was closed.
Committed patchset #1 (id:1) as 184269

Powered by Google App Engine
This is Rietveld 408576698