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

Issue 2551403002: [DevTools] ElementsBreadcrumbs Perf Improvements & Cleanup (Closed)

Created:
4 years ago by phulce
Modified:
4 years ago
Reviewers:
paulirish, lushnikov
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] ElementsBreadcrumbs Perf Improvements & Cleanup Reduces the number of layouts performed. Moves update to be run in a requestAnimationFrame callback. Cleans up the code a bit to move pieces of the massive update functions into their own methods for a clearer breakdown of where time is spent. BUG=657141 R=lushnikov,paulirish Committed: https://crrev.com/bd86a87396a5ddb188b44744b5a46b111b7bf6aa Cr-Commit-Position: refs/heads/master@{#437742}

Patch Set 1 #

Patch Set 2 : remove comments #

Patch Set 3 : Include performance improvements #

Total comments: 8

Patch Set 4 : address feedback #

Total comments: 14

Patch Set 5 : address more feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -86 lines) Patch
M third_party/WebKit/LayoutTests/inspector/elements/breadcrumb-updates.html View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/elements/shadow/breadcrumb-shadow-roots.html View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js View 1 2 3 4 7 chunks +107 lines, -84 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
phulce
4 years ago (2016-12-06 00:15:02 UTC) #2
phulce
4 years ago (2016-12-06 21:09:00 UTC) #3
phulce
Updated to include the perf improvements since they were smaller than expected Screenshots of the ...
4 years ago (2016-12-07 23:27:42 UTC) #7
lushnikov
oops missed your patch a bunch of intermediate comments for now https://codereview.chromium.org/2551403002/diff/40001/third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js (right): ...
4 years ago (2016-12-08 05:37:03 UTC) #8
phulce
https://codereview.chromium.org/2551403002/diff/40001/third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js (right): https://codereview.chromium.org/2551403002/diff/40001/third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js#newcode103 third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js:103: } else { On 2016/12/08 05:37:03, lushnikov wrote: > ...
4 years ago (2016-12-08 19:03:27 UTC) #9
lushnikov
https://codereview.chromium.org/2551403002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js (right): https://codereview.chromium.org/2551403002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js#newcode98 third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js:98: _determineElementTitle(domNode, crumbElement) { I would expect this method to ...
4 years ago (2016-12-08 21:20:43 UTC) #10
phulce
https://codereview.chromium.org/2551403002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js File third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js (right): https://codereview.chromium.org/2551403002/diff/60001/third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js#newcode98 third_party/WebKit/Source/devtools/front_end/elements/ElementsBreadcrumbs.js:98: _determineElementTitle(domNode, crumbElement) { On 2016/12/08 21:20:43, lushnikov wrote: > ...
4 years ago (2016-12-09 00:46:30 UTC) #11
lushnikov
lgtm
4 years ago (2016-12-09 19:25:16 UTC) #12
paulirish
lgtm the move to rAF helps a lot. nice work. :)
4 years ago (2016-12-10 01:09:13 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2551403002/80001
4 years ago (2016-12-10 01:10:22 UTC) #15
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years ago (2016-12-10 03:47:05 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-12 15:06:05 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bd86a87396a5ddb188b44744b5a46b111b7bf6aa
Cr-Commit-Position: refs/heads/master@{#437742}

Powered by Google App Engine
This is Rietveld 408576698