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

Issue 1410153009: DevTools: Make network events continuous on Timeline (Closed)

Created:
5 years, 1 month ago by alph
Modified:
5 years, 1 month ago
Reviewers:
caseq, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, Yoav Weiss, jam, tyoshino+watch_chromium.org, lushnikov+blink_chromium.org, loading-reviews+fetch_chromium.org, pfeldman+blink_chromium.org, darin-cc_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, blink-reviews, apavlov+blink_chromium.org, sergeyv+blink_chromium.org, Nate Chapin, 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: Make network events continuous on Timeline Network events were previously shown as instant events, while in reality network actions take time. This is now fixed. Committed: https://crrev.com/97c7563ac6cf52f9771815de739d9872c41949b5 Cr-Commit-Position: refs/heads/master@{#359609}

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressing comments. #

Total comments: 4

Patch Set 3 : addressing comments #2 #

Total comments: 1

Patch Set 4 : simplify the patch #

Total comments: 1

Patch Set 5 : Break core/fetch dependency on core #

Patch Set 6 : move events to a separate file #

Total comments: 6

Patch Set 7 : addressing comments #

Total comments: 4

Patch Set 8 : 4 landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+143 lines, -122 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/timeline-test.js View 3 chunks +9 lines, -18 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html View 1 2 3 4 5 6 7 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-model.html View 1 2 3 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-received-data.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt View 1 2 3 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/core.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/fetch/InspectorFetchTraceEvents.h View 1 2 3 4 5 6 7 1 chunk +37 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/fetch/InspectorFetchTraceEvents.cpp View 1 2 3 4 5 6 7 1 chunk +70 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 1 2 3 4 5 6 7 4 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceLoader.cpp View 1 2 3 4 5 6 7 5 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h View 1 2 3 4 1 chunk +0 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp View 1 2 3 4 1 chunk +0 lines, -48 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 6 chunks +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PingLoader.cpp View 1 2 3 4 chunks +4 lines, -15 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
alph
5 years, 1 month ago (2015-11-06 19:27:58 UTC) #2
caseq
https://codereview.chromium.org/1410153009/diff/1/content/child/resource_dispatcher.cc File content/child/resource_dispatcher.cc (right): https://codereview.chromium.org/1410153009/diff/1/content/child/resource_dispatcher.cc#newcode154 content/child/resource_dispatcher.cc:154: "ResourceDispatcher::OnReceivedResponse"); If we start exposing this in devtools trace, ...
5 years, 1 month ago (2015-11-06 19:37:47 UTC) #3
alph
ptal https://codereview.chromium.org/1410153009/diff/1/content/child/resource_dispatcher.cc File content/child/resource_dispatcher.cc (right): https://codereview.chromium.org/1410153009/diff/1/content/child/resource_dispatcher.cc#newcode154 content/child/resource_dispatcher.cc:154: "ResourceDispatcher::OnReceivedResponse"); On 2015/11/06 19:37:47, caseq wrote: > If ...
5 years, 1 month ago (2015-11-06 21:04:51 UTC) #4
caseq
lgtm https://codereview.chromium.org/1410153009/diff/20001/third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html File third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html (right): https://codereview.chromium.org/1410153009/diff/20001/third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html#newcode37 third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html:37: {"name":"ResourceFetcher::requestResource","ts":1000015,"tid":mainThread,"pid":pid,"cat":"disabled-by-default-devtools.timeline","ph":"X","s":"g","args":{}, "dur": 10}, nit: use realistic category just ...
5 years, 1 month ago (2015-11-06 21:38:38 UTC) #5
alph
https://codereview.chromium.org/1410153009/diff/20001/third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html File third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html (right): https://codereview.chromium.org/1410153009/diff/20001/third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html#newcode37 third_party/WebKit/LayoutTests/inspector/tracing/category-filter.html:37: {"name":"ResourceFetcher::requestResource","ts":1000015,"tid":mainThread,"pid":pid,"cat":"disabled-by-default-devtools.timeline","ph":"X","s":"g","args":{}, "dur": 10}, On 2015/11/06 21:38:38, caseq wrote: > ...
5 years, 1 month ago (2015-11-06 22:16:31 UTC) #6
alph
ping
5 years, 1 month ago (2015-11-09 20:26:15 UTC) #7
pfeldman
https://codereview.chromium.org/1410153009/diff/40001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/1410153009/diff/40001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp#newcode329 third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp:329: TRACE_EVENT0("devtools.timeline", "ResourceFetcher::requestResource"); How is this in both layers, resource ...
5 years, 1 month ago (2015-11-09 22:53:45 UTC) #8
alph
ptal
5 years, 1 month ago (2015-11-11 02:20:01 UTC) #9
pfeldman
https://codereview.chromium.org/1410153009/diff/60001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp File third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp (right): https://codereview.chromium.org/1410153009/diff/60001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp#newcode38 third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp:38: #include "core/inspector/InspectorTraceEvents.h" I assume you don't want this dependency ...
5 years, 1 month ago (2015-11-11 04:52:10 UTC) #10
alph
ptal
5 years, 1 month ago (2015-11-11 20:09:38 UTC) #11
caseq
https://codereview.chromium.org/1410153009/diff/100001/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt File third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt (left): https://codereview.chromium.org/1410153009/diff/100001/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt#oldcode8 third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt:8: frame : <string> Can we get frame back? https://codereview.chromium.org/1410153009/diff/100001/third_party/WebKit/Source/core/core.gypi ...
5 years, 1 month ago (2015-11-13 00:23:23 UTC) #12
alph
https://codereview.chromium.org/1410153009/diff/100001/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt File third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt (left): https://codereview.chromium.org/1410153009/diff/100001/third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt#oldcode8 third_party/WebKit/LayoutTests/inspector/tracing/timeline-network-resource-expected.txt:8: frame : <string> On 2015/11/13 00:23:23, caseq wrote: > ...
5 years, 1 month ago (2015-11-13 00:32:35 UTC) #13
pfeldman
lgtm % nit https://codereview.chromium.org/1410153009/diff/120001/third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h File third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h (right): https://codereview.chromium.org/1410153009/diff/120001/third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h#newcode5 third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h:5: #ifndef DevToolsTraceEvents_h InspectorTraceEvents ? https://codereview.chromium.org/1410153009/diff/120001/third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp File ...
5 years, 1 month ago (2015-11-13 05:25:46 UTC) #14
alph
https://codereview.chromium.org/1410153009/diff/120001/third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h File third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h (right): https://codereview.chromium.org/1410153009/diff/120001/third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h#newcode5 third_party/WebKit/Source/core/fetch/DevToolsTraceEvents.h:5: #ifndef DevToolsTraceEvents_h On 2015/11/13 05:25:46, pfeldman wrote: > InspectorTraceEvents ...
5 years, 1 month ago (2015-11-13 18:46:13 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1410153009/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1410153009/140001
5 years, 1 month ago (2015-11-13 18:48:02 UTC) #18
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-11-13 20:18:42 UTC) #19
commit-bot: I haz the power
5 years, 1 month ago (2015-11-13 20:19:23 UTC) #20
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/97c7563ac6cf52f9771815de739d9872c41949b5
Cr-Commit-Position: refs/heads/master@{#359609}

Powered by Google App Engine
This is Rietveld 408576698