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

Issue 2010943002: DevTools: Add grouping by Activity to Timeline treeview. (Closed)

Created:
4 years, 7 months ago by paulirish
Modified:
4 years, 6 months ago
Reviewers:
caseq, alph
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, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Add grouping by Activity to Timeline treeview. Allows a user to compare time spent in Painting vs Image Decode, etc. BUG=614935 Committed: https://crrev.com/2baa7280750510db8208cfc0c250a24bb1a88ea8 Cr-Commit-Position: refs/heads/master@{#399131}

Patch Set 1 #

Total comments: 5

Patch Set 2 : rename to JavaScript. semicolons. #

Patch Set 3 : fix double DOM GC. group by eventStyle.title, not event.title #

Total comments: 1

Patch Set 4 : fix annotation #

Patch Set 5 : fix tests #

Patch Set 6 : layout test got resultz #

Total comments: 2

Messages

Total messages: 27 (11 generated)
paulirish
4 years, 7 months ago (2016-05-26 06:41:17 UTC) #2
alph
lgtm https://codereview.chromium.org/2010943002/diff/1/third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js File third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js (right): https://codereview.chromium.org/2010943002/diff/1/third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js#newcode340 third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js:340: case WebInspector.TimelineAggregator.GroupBy.EventName: return node => node.event.name; Can event ...
4 years, 7 months ago (2016-05-26 07:23:21 UTC) #3
paulirish
On 2016/05/26 at 07:23:21, alph wrote: > lgtm > > https://codereview.chromium.org/2010943002/diff/1/third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js > File third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js (right): ...
4 years, 7 months ago (2016-05-26 22:27:46 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010943002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010943002/20001
4 years, 7 months ago (2016-05-26 22:28:47 UTC) #7
paulirish
caseq caught that I had duplicate events. Changed the approach to tweak our categoryMapper to ...
4 years, 7 months ago (2016-05-26 23:48:49 UTC) #10
caseq
https://codereview.chromium.org/2010943002/diff/40001/third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js File third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js (right): https://codereview.chromium.org/2010943002/diff/40001/third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js#newcode221 third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js:221: * @param {{title: string, category: !WebInspector.TimelineCategory}} eventStyleMapper wrong annotation, ...
4 years, 7 months ago (2016-05-26 23:53:42 UTC) #11
paulirish
On 2016/05/26 at 23:53:42, caseq wrote: > https://codereview.chromium.org/2010943002/diff/40001/third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js > File third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js (right): > > https://codereview.chromium.org/2010943002/diff/40001/third_party/WebKit/Source/devtools/front_end/timeline/TimelineProfileTree.js#newcode221 ...
4 years, 7 months ago (2016-05-27 00:53:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010943002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2010943002/60001
4 years, 6 months ago (2016-05-27 06:04:50 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/235024)
4 years, 6 months ago (2016-05-27 07:48:58 UTC) #17
paulirish
alph can you check the latest? Added an extra check in TimelineUIUtils so we dont ...
4 years, 6 months ago (2016-05-28 01:15:26 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2010943002/100001
4 years, 6 months ago (2016-06-10 05:49:49 UTC) #21
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-10 07:24:35 UTC) #22
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-10 07:24:41 UTC) #23
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/2baa7280750510db8208cfc0c250a24bb1a88ea8 Cr-Commit-Position: refs/heads/master@{#399131}
4 years, 6 months ago (2016-06-10 07:27:33 UTC) #25
caseq
https://codereview.chromium.org/2010943002/diff/100001/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js File third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js (right): https://codereview.chromium.org/2010943002/diff/100001/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js#newcode221 third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineProfileTree.js:221: * @param {function(!WebInspector.TracingModel.Event):{title: string, category: !WebInspector.TimelineCategory}} eventStyleMapper You can't ...
4 years, 6 months ago (2016-06-15 10:04:24 UTC) #26
caseq
4 years, 6 months ago (2016-06-15 10:28:10 UTC) #27
Message was sent while issue was closed.
https://codereview.chromium.org/2010943002/diff/100001/third_party/WebKit/Sou...
File third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js
(right):

https://codereview.chromium.org/2010943002/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js:316:
return frame.scriptId !== "0" && frame.url && !frame.url.startsWith("native ");
Also, why this check? Does it work well with eval()?

Powered by Google App Engine
This is Rietveld 408576698