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

Issue 2962113002: Updates to Server-Timing in accordance with with spec changes (Closed)

Created:
3 years, 5 months ago by cvazac-akam
Modified:
3 years, 5 months ago
Reviewers:
Yoav Weiss, Mike West
CC:
blink-reviews, blink-reviews-frames_chromium.org, blink-reviews-w3ctests_chromium.org, chromium-reviews, kinuko+watch, panicker+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Per the new server-timing spec (https://github.com/w3c/server-timing), there are no longer standalone `server` entries emitted to PerformanceObservers or found in the timeline. Server-timing data now comes down in an Array as `serverTiming` on the corresponding PerformanceResourceTiming entry for subresources, and on the PerformanceNavigationTiming entry for the basepage. Also, PerformanceServerTiming no longer extends PerformanceEntry, because half of the fields either held no value (startTime) or were redundant (name, entryType). Lastly, we are going to name the numeric "value" instead of "duration", because it's just a double. BUG=702760 Review-Url: https://codereview.chromium.org/2962113002 Cr-Commit-Position: refs/heads/master@{#484536} Committed: https://chromium.googlesource.com/chromium/src/+/03ba6110113f1439b239b6142c130e60fc9b4519

Patch Set 1 #

Total comments: 7

Patch Set 2 : address CR comments #

Total comments: 3

Patch Set 3 : address CR comments #

Patch Set 4 : whitespace only #

Patch Set 5 : make test_resource_timing.js Array aware #

Patch Set 6 : fix web-platform-tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+192 lines, -182 lines) Patch
M third_party/WebKit/LayoutTests/external/wpt/resource-timing/test_resource_timing.js View 1 2 3 4 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/server-timing/test_server_timing.html View 1 chunk +8 lines, -16 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/misc/performance-entry-serializer.html View 1 2 3 4 5 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalDOMWindow.cpp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 5 1 chunk +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameFetchContext.cpp View 1 2 3 4 5 1 chunk +0 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/timing/Performance.cpp View 1 1 chunk +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceBase.h View 1 2 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceBase.cpp View 1 9 chunks +8 lines, -57 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceEntry.h View 1 2 3 4 5 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceEntry.cpp View 1 2 3 4 5 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.h View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceNavigationTiming.cpp View 1 2 3 4 5 3 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.h View 1 2 3 4 5 5 chunks +27 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.cpp View 1 2 3 4 5 4 chunks +30 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceResourceTiming.idl View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceServerTiming.h View 1 2 3 4 5 1 chunk +31 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceServerTiming.cpp View 1 2 3 4 5 2 chunks +40 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/timing/PerformanceServerTiming.idl View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/network/HTTPParsers.h View 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/network/HTTPParsers.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/platform/network/HTTPParsersTest.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 32 (24 generated)
cvazac-akam
3 years, 5 months ago (2017-06-29 02:46:02 UTC) #2
Yoav Weiss
Thanks for working on this! :) A few comments below https://codereview.chromium.org/2962113002/diff/1/third_party/WebKit/Source/core/timing/Performance.cpp File third_party/WebKit/Source/core/timing/Performance.cpp (right): https://codereview.chromium.org/2962113002/diff/1/third_party/WebKit/Source/core/timing/Performance.cpp#newcode149 ...
3 years, 5 months ago (2017-06-29 06:57:34 UTC) #4
Yoav Weiss
LGTM % nits https://codereview.chromium.org/2962113002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceBase.h File third_party/WebKit/Source/core/timing/PerformanceBase.h (right): https://codereview.chromium.org/2962113002/diff/20001/third_party/WebKit/Source/core/timing/PerformanceBase.h#newcode42 third_party/WebKit/Source/core/timing/PerformanceBase.h:42: #include "core/timing/PerformanceServerTiming.h" I think you no ...
3 years, 5 months ago (2017-06-29 16:23:21 UTC) #5
Yoav Weiss
Hey Mike! Care to take a look at the platform/ parts?
3 years, 5 months ago (2017-06-30 21:58:43 UTC) #14
Yoav Weiss
Charlie - A bunch of failing tests seem relevant
3 years, 5 months ago (2017-07-01 06:29:41 UTC) #21
Mike West
platform bits LGTM. Deferring the rest to Yoav. :)
3 years, 5 months ago (2017-07-03 08:22:50 UTC) #22
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/2962113002/100001
3 years, 5 months ago (2017-07-06 10:45:05 UTC) #29
commit-bot: I haz the power
3 years, 5 months ago (2017-07-06 10:49:15 UTC) #32
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/03ba6110113f1439b239b6142c13...

Powered by Google App Engine
This is Rietveld 408576698