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

Issue 2706643002: DevTools: Move network request instrumentation points for timeline down the stack. (Closed)

Created:
3 years, 10 months ago by alph
Modified:
3 years, 5 months ago
Reviewers:
caseq, dgozman, pfeldman
CC:
chromium-reviews, caseq+blink_chromium.org, dtapuska+blinkwatch_chromium.org, blink-reviews-events_chromium.org, loading-reviews_chromium.org, eae+blinkwatch, Yoav Weiss, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, gavinp+loader_chromium.org, devtools-reviews_chromium.org, blink-reviews, loading-reviews+fetch_chromium.org, kinuko+watch, Nate Chapin, tyoshino+watch_chromium.org, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Move network request instrumentation points for timeline down the stack. This way the events cover more CPU time attribution. Also it allows link network activity to the JS execution caused by it.

Patch Set 1 #

Patch Set 2 : fix exports #

Patch Set 3 : addressing comment #

Total comments: 8

Patch Set 4 : addressing comments #

Total comments: 3

Patch Set 5 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+88 lines, -1138 lines) Patch
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-network/timeline-network-resource-details-expected.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/tracing/timeline-network/timeline-network-resource-expected.txt View 4 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.h View 2 chunks +0 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp View 1 2 3 4 4 chunks +3 lines, -93 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 9 chunks +11 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/loader/PingLoader.cpp View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/timeline/TimelineNetworkFlameChart.js View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.h View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A + third_party/WebKit/Source/platform/instrumentation/inspector/PlatformInspectorTraceEvents.cpp View 1 2 3 4 5 chunks +5 lines, -999 lines 0 comments Download
M third_party/WebKit/Source/platform/loader/fetch/ResourceLoader.cpp View 1 2 8 chunks +24 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
alph
3 years, 10 months ago (2017-02-18 19:05:47 UTC) #2
dgozman
Exciting! What's the whole plan with platform/instrumentation? Is there a brief description or a design ...
3 years, 10 months ago (2017-02-19 18:56:35 UTC) #8
pfeldman
you need to put it under instrumentatio/inspector to avoid confusion - we don't want your ...
3 years, 10 months ago (2017-02-19 20:17:29 UTC) #9
alph
On 2017/02/19 20:17:29, pfeldman wrote: > you need to put it under instrumentatio/inspector to avoid ...
3 years, 10 months ago (2017-02-20 19:52:07 UTC) #10
caseq
https://codereview.chromium.org/2706643002/diff/40001/third_party/WebKit/Source/core/inspector/IdentifiersFactory.h File third_party/WebKit/Source/core/inspector/IdentifiersFactory.h (right): https://codereview.chromium.org/2706643002/diff/40001/third_party/WebKit/Source/core/inspector/IdentifiersFactory.h#newcode40 third_party/WebKit/Source/core/inspector/IdentifiersFactory.h:40: class CORE_EXPORT IdentifiersFactory : public PlatformIdentifiersFactory { Why? https://codereview.chromium.org/2706643002/diff/40001/third_party/WebKit/Source/core/loader/DocumentThreadableLoader.cpp ...
3 years, 10 months ago (2017-02-21 22:53:30 UTC) #19
alph
https://codereview.chromium.org/2706643002/diff/40001/third_party/WebKit/Source/core/inspector/IdentifiersFactory.h File third_party/WebKit/Source/core/inspector/IdentifiersFactory.h (right): https://codereview.chromium.org/2706643002/diff/40001/third_party/WebKit/Source/core/inspector/IdentifiersFactory.h#newcode40 third_party/WebKit/Source/core/inspector/IdentifiersFactory.h:40: class CORE_EXPORT IdentifiersFactory : public PlatformIdentifiersFactory { On 2017/02/21 ...
3 years, 10 months ago (2017-02-22 00:31:32 UTC) #20
caseq
>> We really need them properly attributed on the front-end, I think you're >> regressing ...
3 years, 10 months ago (2017-02-22 00:45:33 UTC) #21
alph
all done
3 years, 10 months ago (2017-02-22 00:53:18 UTC) #22
caseq
lgtm
3 years, 10 months ago (2017-02-22 21:33:08 UTC) #23
pfeldman
We need to define the right platform-level instrumentation instead.
3 years, 10 months ago (2017-02-23 01:01:57 UTC) #24
dgozman
3 years, 5 months ago (2017-07-15 05:45:58 UTC) #25
Should we close this?

Powered by Google App Engine
This is Rietveld 408576698