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

Issue 1353653003: DevTools: cleanup timeline concise record details generation (Closed)

Created:
5 years, 3 months ago by caseq
Modified:
5 years, 3 months ago
Reviewers:
alph, yurys
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-animation_chromium.org, caseq+blink_chromium.org, devtools-reviews_chromium.org, Eric Willigers, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, rjwright, sergeyv+blink_chromium.org, shans, yurys+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: cleanup timeline concise record details generation - never expose timer/animation frames ids, they're not meaningful most of the time, fallback to script URLs instead; - expose short rather than full URLs; - add test coverage. BUG= Committed: https://crrev.com/414e603979c23cc66e38e778ba9ecc10b1b987fc Cr-Commit-Position: refs/heads/master@{#350413}

Patch Set 1 #

Patch Set 2 : fixed WS urls to be those of WS, not script #

Total comments: 4

Patch Set 3 : omit details for unnamed (VMxxxx) scripts #

Total comments: 1

Patch Set 4 : re-uploading after blink repo merge #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+121 lines, -80 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js View 1 2 3 3 chunks +20 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/tracing/timeline-xhr-event.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/tracing/timeline-xhr-event-expected.txt View 1 2 3 5 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/tracing/websocket/timeline-websocket-event.html View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/inspector/tracing/websocket/timeline-websocket-event-expected.txt View 1 2 3 4 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/hit-test-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-animation-frame.html View 1 2 3 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-animation-frame-expected.txt View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-event-dispatch-expected.txt View 1 2 3 5 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-injected-script-eval-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-layout-expected.txt View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-mark-timeline-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-model-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt View 1 2 3 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-parse-html.html View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-parse-html-expected.txt View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-recalculate-styles-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-receive-response-event.html View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-script-id.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-script-id-expected.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-time-stamp.html View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-time-stamp-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-timer.html View 1 2 3 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-timer-expected.txt View 1 2 3 7 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineModel.js View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js View 1 2 3 5 chunks +31 lines, -58 lines 1 comment Download

Messages

Total messages: 26 (11 generated)
caseq
5 years, 3 months ago (2015-09-18 22:28:58 UTC) #2
yurys
https://codereview.chromium.org/1353653003/diff/20001/LayoutTests/inspector/tracing/timeline-injected-script-eval-expected.txt File LayoutTests/inspector/tracing/timeline-injected-script-eval-expected.txt (right): https://codereview.chromium.org/1353653003/diff/20001/LayoutTests/inspector/tracing/timeline-injected-script-eval-expected.txt#newcode19 LayoutTests/inspector/tracing/timeline-injected-script-eval-expected.txt:19: Text details for FunctionCall: VM693:1 This is bound to ...
5 years, 3 months ago (2015-09-21 18:49:33 UTC) #3
caseq
ptal On 2015/09/21 18:49:33, yurys wrote: > https://codereview.chromium.org/1353653003/diff/20001/LayoutTests/inspector/tracing/timeline-injected-script-eval-expected.txt > File LayoutTests/inspector/tracing/timeline-injected-script-eval-expected.txt > (right): > > ...
5 years, 3 months ago (2015-09-22 01:01:38 UTC) #6
yurys
https://codereview.chromium.org/1353653003/diff/80001/Source/devtools/front_end/timeline/TimelineUIUtils.js File Source/devtools/front_end/timeline/TimelineUIUtils.js (right): https://codereview.chromium.org/1353653003/diff/80001/Source/devtools/front_end/timeline/TimelineUIUtils.js#newcode295 Source/devtools/front_end/timeline/TimelineUIUtils.js:295: // Omit internally generated script names. eval'd scripts will ...
5 years, 3 months ago (2015-09-23 20:44:19 UTC) #7
yurys
lgtm
5 years, 3 months ago (2015-09-23 20:47:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1353653003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1353653003/80001
5 years, 3 months ago (2015-09-23 20:53:09 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/106870) linux_chromium_compile_dbg_32_ng on tryserver.chromium.linux (JOB_FAILED, ...
5 years, 3 months ago (2015-09-23 20:53:56 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1353653003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1353653003/100001
5 years, 3 months ago (2015-09-23 21:00:55 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/107873)
5 years, 3 months ago (2015-09-23 21:53:46 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1353653003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1353653003/100001
5 years, 3 months ago (2015-09-23 21:55:44 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/56686)
5 years, 3 months ago (2015-09-23 22:11:04 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1353653003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1353653003/100001
5 years, 3 months ago (2015-09-23 23:17:19 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:100001)
5 years, 3 months ago (2015-09-24 00:24:45 UTC) #24
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/414e603979c23cc66e38e778ba9ecc10b1b987fc Cr-Commit-Position: refs/heads/master@{#350413}
5 years, 3 months ago (2015-09-24 00:35:23 UTC) #25
paulirish
5 years, 3 months ago (2015-09-24 04:42:46 UTC) #26
Message was sent while issue was closed.
https://codereview.chromium.org/1353653003/diff/100001/third_party/WebKit/Sou...
File third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js
(right):

https://codereview.chromium.org/1353653003/diff/100001/third_party/WebKit/Sou...
third_party/WebKit/Source/devtools/front_end/timeline/TimelineUIUtils.js:320:
detailsText = detailsText = WebInspector.displayNameForURL(url) + ":" +
eventData["lineNumber"];
double double?

Powered by Google App Engine
This is Rietveld 408576698