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

Issue 2689833002: DevTools: Server Timing values should be in milliseconds (Closed)

Created:
3 years, 10 months ago by paulirish
Modified:
3 years, 10 months ago
Reviewers:
caseq, allada, igrigorik
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

DevTools: Server Timing values should be in milliseconds This is a breaking change. This feature landed in August, but just announced this week (twitter.com/paul_irish/status/829090506084749312). Users discovered the original patch used seconds values, but the Server Timing spec dictates these as DOMHighResTimeStamp which are milliseconds. BUG=594800 Review-Url: https://codereview.chromium.org/2689833002 Cr-Commit-Position: refs/heads/master@{#450244} Committed: https://chromium.googlesource.com/chromium/src/+/968553977ba5cf51409101104a51431d60b051cd

Patch Set 1 #

Total comments: 10

Patch Set 2 : handle undefined values #

Total comments: 5

Patch Set 3 : nullable value. #

Patch Set 4 : nullable value. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -7 lines) Patch
M third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/ServerTiming.js View 1 2 3 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 24 (11 generated)
paulirish
Earlier discussion was here: https://github.com/ChromeDevTools/devtools-frontend/issues/14 igrigorik, can I get your LGTM? I'll also reach out ...
3 years, 10 months ago (2017-02-10 23:51:07 UTC) #3
caseq
https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode278 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:278: if (serverTimingValue && left >= 0) { // don't ...
3 years, 10 months ago (2017-02-11 01:05:18 UTC) #6
igrigorik
On 2017/02/10 23:51:07, paulirish wrote: > Earlier discussion was here: > https://github.com/ChromeDevTools/devtools-frontend/issues/14 > > igrigorik, ...
3 years, 10 months ago (2017-02-11 02:17:06 UTC) #9
allada
https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode276 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:276: var serverTimingValue = serverTiming.value / 1000; // Server Timing ...
3 years, 10 months ago (2017-02-11 06:21:58 UTC) #11
paulirish
allada, questions for you.. https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode276 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:276: var serverTimingValue = serverTiming.value / ...
3 years, 10 months ago (2017-02-12 01:16:13 UTC) #12
allada
lmk if you have questions. https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode276 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:276: var serverTimingValue = serverTiming.value ...
3 years, 10 months ago (2017-02-13 16:57:33 UTC) #13
paulirish
thanks for the feedback. ptal https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/2689833002/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode276 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:276: var serverTimingValue = serverTiming.value ...
3 years, 10 months ago (2017-02-13 22:18:46 UTC) #14
allada
wdyt? https://codereview.chromium.org/2689833002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/2689833002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode277 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:277: if (typeof serverTiming.value !== 'number') Can we do ...
3 years, 10 months ago (2017-02-14 00:00:24 UTC) #15
caseq
lgtm https://codereview.chromium.org/2689833002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ServerTiming.js File third_party/WebKit/Source/devtools/front_end/sdk/ServerTiming.js (right): https://codereview.chromium.org/2689833002/diff/20001/third_party/WebKit/Source/devtools/front_end/sdk/ServerTiming.js#newcode45 third_party/WebKit/Source/devtools/front_end/sdk/ServerTiming.js:45: if (typeof value === 'number' || value === ...
3 years, 10 months ago (2017-02-14 00:06:21 UTC) #16
paulirish
null values rather than undefined preferred now. https://codereview.chromium.org/2689833002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js (right): https://codereview.chromium.org/2689833002/diff/20001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode277 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:277: if (typeof ...
3 years, 10 months ago (2017-02-14 01:25:06 UTC) #17
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/2689833002/60001
3 years, 10 months ago (2017-02-14 02:38:45 UTC) #20
allada
lgtm
3 years, 10 months ago (2017-02-14 02:53:58 UTC) #21
commit-bot: I haz the power
3 years, 10 months ago (2017-02-14 04:27:40 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/968553977ba5cf51409101104a51...

Powered by Google App Engine
This is Rietveld 408576698