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

Issue 2150803002: [DevTools] Add callFrame to CPUProfileNode & SamplingHeapProfileNode (Closed)

Created:
4 years, 5 months ago by kozy
Modified:
4 years, 5 months ago
Reviewers:
alph, dgozman
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, sergeyv+blink_chromium.org, pfeldman, kozyatinskiy+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 callFrame to CPUProfileNode & SamplingHeapProfileNode - functionName, scriptId, url, lineNumber, columnNumber -> callFrame (Runtime.CallFrame); - callFrame.lineNumber & callFrame.columnNumber are 0-based - fix closure compiler types in CPUProfileDataModel.js R=dgozman@chromium.org,alph@chromium.org BUG=591496 Committed: https://crrev.com/4aab40a95c7c9f01d7c258c1095b13f5c75300eb Cr-Commit-Position: refs/heads/master@{#405670}

Patch Set 1 : a #

Total comments: 8

Patch Set 2 : addressed comments #

Total comments: 6

Patch Set 3 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+649 lines, -450 lines) Patch
M third_party/WebKit/LayoutTests/inspector-protocol/cpu-profiler/console-profile.html View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/sampling-heap-profiler.html View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector-protocol/heap-profiler/sampling-heap-profiler-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-large-tree-search.html View 2 chunks +21 lines, -12 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-bottom-up-times.html View 2 chunks +56 lines, -32 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-flame-chart-overview.html View 10 chunks +427 lines, -305 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/profiler/cpu-profiler-native-nodes-filter.html View 2 chunks +62 lines, -42 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-js/timeline-js-line-level-profile.html View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/trace-event-self-time.html View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/CPUProfileView.js View 1 6 chunks +14 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js View 1 2 3 chunks +14 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/profiler/ProfileView.js View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/CPUProfileDataModel.js View 1 2 2 chunks +14 lines, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js View 1 2 6 chunks +9 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8HeapProfilerAgentImpl.cpp View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/V8ProfilerAgentImpl.cpp View 1 2 1 chunk +6 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/v8_inspector/js_protocol.json View 1 2 2 chunks +2 lines, -10 lines 0 comments Download

Messages

Total messages: 28 (17 generated)
kozy
Alexei and Dmitry, please take a look!
4 years, 5 months ago (2016-07-14 00:21:44 UTC) #2
dgozman
looks good, deferring to alph@ https://codereview.chromium.org/2150803002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js File third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js (right): https://codereview.chromium.org/2150803002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js#newcode16 third_party/WebKit/Source/devtools/front_end/sdk/ProfileTreeModel.js:16: lineNumber: callFrame.lineNumber + 1, ...
4 years, 5 months ago (2016-07-14 15:58:28 UTC) #8
alph
https://codereview.chromium.org/2150803002/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js File third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js (right): https://codereview.chromium.org/2150803002/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js#newcode224 third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js:224: WebInspector.ProfileNode.call(this, node.callFrame); I guess we need to retain backward ...
4 years, 5 months ago (2016-07-14 17:56:00 UTC) #9
kozy
All done. Please take a look! https://codereview.chromium.org/2150803002/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js File third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js (right): https://codereview.chromium.org/2150803002/diff/20001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js#newcode224 third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js:224: WebInspector.ProfileNode.call(this, node.callFrame); On ...
4 years, 5 months ago (2016-07-14 21:35:04 UTC) #11
alph
lgtm https://codereview.chromium.org/2150803002/diff/40001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js File third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js (right): https://codereview.chromium.org/2150803002/diff/40001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js#newcode229 third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js:229: WebInspector.ProfileNode.call(this, { functionName: frame.functionName, scriptId: frame.scriptId, url: frame.url, ...
4 years, 5 months ago (2016-07-14 21:53:29 UTC) #13
kozy
All done! Dmitry, please take a look on protocol.json. https://codereview.chromium.org/2150803002/diff/40001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js File third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js (right): https://codereview.chromium.org/2150803002/diff/40001/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js#newcode229 third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js:229: ...
4 years, 5 months ago (2016-07-15 00:19:02 UTC) #16
dgozman
protocol lgtm
4 years, 5 months ago (2016-07-15 00:23:47 UTC) #19
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/2150803002/60001
4 years, 5 months ago (2016-07-15 00:32:50 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 5 months ago (2016-07-15 01:37:32 UTC) #25
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 01:37:44 UTC) #26
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 01:38:51 UTC) #28
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4aab40a95c7c9f01d7c258c1095b13f5c75300eb
Cr-Commit-Position: refs/heads/master@{#405670}

Powered by Google App Engine
This is Rietveld 408576698