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

Issue 1794783006: Add Server-Timing support to devtools (Closed)

Created:
4 years, 9 months ago by sroussey
Modified:
3 years, 10 months ago
Reviewers:
paulirish, paulirish, pfeldman, caseq
CC:
apavlov+blink_chromium.org, blink-reviews, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, igrigorik_gmail.com, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, pfeldman, sergeyv+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add Server-Timing support to devtools BUG=594800 Committed: https://crrev.com/b9174da95316a0d17f6868a31780b046c5a374d2 Cr-Commit-Position: refs/heads/master@{#411914}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Updated version #

Total comments: 15

Patch Set 3 : Redone based on comments #

Patch Set 4 : Fix with file name change #

Total comments: 4

Patch Set 5 : Version with bar chart for server timing #

Total comments: 2

Patch Set 6 : Fix small issues #

Patch Set 7 : Apply feedback, don't have bars where the data is out of bounds, and handle comma deliminated headeā€¦ #

Total comments: 16

Patch Set 8 : Update with caseq suggestions #

Patch Set 9 : Update with caseq suggestions #

Total comments: 3

Patch Set 10 : updated #

Patch Set 11 : rebased #

Patch Set 12 : fix trailing whitespace #

Patch Set 13 : really remove whitespace. sigh. #

Total comments: 4

Patch Set 14 : Remove target #

Patch Set 15 : fix line-endings again #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -0 lines) Patch
M third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +49 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/networkPanel.css View 1 2 3 4 5 6 7 8 9 10 2 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/NetworkRequest.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +11 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/devtools/front_end/sdk/ServerTiming.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +57 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sdk/module.json View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 69 (34 generated)
sroussey
This takes Server-Timing headers and appends them to the RequestTimingView. If I can upload images ...
4 years, 9 months ago (2016-03-13 22:13:23 UTC) #2
paulirish
On 2016/03/13 at 22:13:23, sroussey wrote: > This takes Server-Timing headers and appends them to ...
4 years, 9 months ago (2016-03-13 22:16:20 UTC) #3
pfeldman
https://codereview.chromium.org/1794783006/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/1794783006/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode287 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:287: serverHeader.createChild("td").createTextChild("Server-Timing"); User-visible strings should be wrapped with WebInspector.UIString() https://codereview.chromium.org/1794783006/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode289 ...
4 years, 9 months ago (2016-03-14 22:54:35 UTC) #6
sroussey
On 2016/03/14 at 22:54:35, pfeldman wrote: > https://codereview.chromium.org/1794783006/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/1794783006/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode287 ...
4 years, 9 months ago (2016-03-15 05:35:44 UTC) #7
sroussey
Oh, it doesn't show here, but on the links above I had added additional comments.
4 years, 9 months ago (2016-03-15 05:37:09 UTC) #8
pfeldman
https://codereview.chromium.org/1794783006/diff/20001/AUTHORS File AUTHORS (right): https://codereview.chromium.org/1794783006/diff/20001/AUTHORS#newcode577 AUTHORS:577: Steven Roussey <sroussey@gmail.com> As Paul mentioned, you might need ...
4 years, 9 months ago (2016-03-15 20:19:00 UTC) #9
paulirish
https://codereview.chromium.org/1794783006/diff/60001/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/1794783006/diff/60001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode289 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:289: serverHeader.createChild("td").createTextChild(WebInspector.UIString("Server-Timing")); "Server Timing" https://codereview.chromium.org/1794783006/diff/60001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode301 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:301: metric.createTextChild(serverTiming.description || serverTiming.metric); Would ...
4 years, 9 months ago (2016-03-20 20:16:27 UTC) #11
pfeldman
lgtm. it would be nice to get a test for this one as a follow ...
4 years, 9 months ago (2016-03-21 18:26:47 UTC) #12
sroussey
On 2016/03/21 at 18:26:47, pfeldman wrote: > lgtm. it would be nice to get a ...
4 years, 8 months ago (2016-04-05 15:21:02 UTC) #13
caseq
https://codereview.chromium.org/1794783006/diff/120001/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/1794783006/diff/120001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode290 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:290: serverHeader.createChild("td").createTextChild(""); nuke createTextChild() here? https://codereview.chromium.org/1794783006/diff/120001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode304 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:304: var isTotal = ...
4 years, 8 months ago (2016-04-05 17:18:42 UTC) #15
sroussey
There is a new version to take of all the things caseq pointed out. https://codereview.chromium.org/1794783006/diff/1/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js ...
4 years, 8 months ago (2016-04-22 00:55:08 UTC) #16
caseq
Thanks, looks mostly good to me, but still needs a bit of polish. https://codereview.chromium.org/1794783006/diff/160001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js File ...
4 years, 8 months ago (2016-04-26 03:56:42 UTC) #17
paulirish
steven, do you want to finish this CL off?
4 years, 5 months ago (2016-07-11 22:43:10 UTC) #18
sroussey
Odd, I don't see my last code push. I'll check when I get home tonight. ...
4 years, 5 months ago (2016-07-11 22:49:22 UTC) #19
sroussey
Odd, I don't see my last code push. I'll check when I get home tonight. ...
4 years, 5 months ago (2016-07-11 22:49:23 UTC) #20
sroussey
And then I updated the code, and didn't update here...
4 years, 4 months ago (2016-08-03 00:02:57 UTC) #21
sroussey
On 2016/08/03 at 00:02:57, sroussey wrote: > And then I updated the code, and didn't ...
4 years, 4 months ago (2016-08-03 20:57:10 UTC) #26
paulirish
Yup, you'll need to rebase. But it's really straightforward. Conflicts in CSS and sdk/module.json Both ...
4 years, 4 months ago (2016-08-04 01:51:29 UTC) #27
sroussey
I'm getting some odd errors now: Runtime.js:72 GET http://localhost:9999/front_end/InspectorBackendCommands.js 404 (File not found)load @ Runtime.js:72loadResourcePromise ...
4 years, 4 months ago (2016-08-05 17:36:54 UTC) #28
sroussey
I rebased. How do I send to test? I'm guessing you did last time. Do ...
4 years, 4 months ago (2016-08-05 22:48:50 UTC) #29
paulirish
On 2016/08/05 at 22:48:50, sroussey wrote: > I rebased. How do I send to test? ...
4 years, 4 months ago (2016-08-06 05:57:55 UTC) #32
paulirish
Below is the rejection from the presubmit bot; looks like some trailing whitespace. : ------------------------------------------------------------ ...
4 years, 4 months ago (2016-08-06 06:09:20 UTC) #35
sroussey
On 2016/08/06 at 06:09:20, paulirish wrote: > Below is the rejection from the presubmit bot; ...
4 years, 4 months ago (2016-08-07 21:08:49 UTC) #44
paulirish
caseq, now back to you for review :)
4 years, 4 months ago (2016-08-07 22:08:01 UTC) #45
caseq
Almost there! https://codereview.chromium.org/1794783006/diff/240001/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/1794783006/diff/240001/third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js#newcode330 third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js:330: serverTimings.filter(item => item.metric.toLowerCase() !== "total").forEach(item => addTiming(item, ...
4 years, 4 months ago (2016-08-08 17:12:57 UTC) #46
sroussey
OK! Updated!
4 years, 4 months ago (2016-08-11 05:16:37 UTC) #49
sroussey
On 2016/08/11 at 05:16:37, sroussey wrote: > OK! Updated! And fixed the line-endings again...
4 years, 4 months ago (2016-08-11 05:31:45 UTC) #54
sroussey
On 2016/08/11 at 05:31:45, sroussey wrote: > On 2016/08/11 at 05:16:37, sroussey wrote: > > ...
4 years, 4 months ago (2016-08-12 03:43:18 UTC) #57
paulirish
On 2016/08/12 at 03:43:18, sroussey wrote: > On 2016/08/11 at 05:31:45, sroussey wrote: > > ...
4 years, 4 months ago (2016-08-12 04:04:37 UTC) #58
caseq
lgtm
4 years, 4 months ago (2016-08-12 23:53:26 UTC) #59
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/1794783006/280001
4 years, 4 months ago (2016-08-12 23:53:56 UTC) #62
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/122201)
4 years, 4 months ago (2016-08-13 00:48:10 UTC) #64
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/1794783006/280001
4 years, 4 months ago (2016-08-14 07:19:41 UTC) #66
commit-bot: I haz the power
Committed patchset #15 (id:280001)
4 years, 4 months ago (2016-08-14 08:32:56 UTC) #67
commit-bot: I haz the power
4 years, 4 months ago (2016-08-14 08:34:30 UTC) #69
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/b9174da95316a0d17f6868a31780b046c5a374d2
Cr-Commit-Position: refs/heads/master@{#411914}

Powered by Google App Engine
This is Rietveld 408576698