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

Issue 1232733002: DevTools: [network] Show request Start time in timing table (Closed)

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

Description

DevTools: [network] Show request Start time in timing table The start time was present a few months back but was removed in https://codereview.chromium.org/837553007 . Regardless, I find myself wanting this data on a regular basis to better understand the delta between two requests, as well as the delay until certain key requests like webfonts. I've fixed the calculation to avoid the -1ms we had previously (screenshot of timing table from Jan 8th source: http://i.imgur.com/LHxYDMA.png ) The reason we got a -1 is the NetworkPanel's calculator has a minimumBoundary that was defined by the "requestWillBeSent" start timestamp (#1). However once the request is sent, the startTime of the request is updated (#2), however the bounds of the network waterfall were defined by the #2 time, but the request.startTime we have been using is actually the request.issueTime which is #1. As a result, about a millisecond of ambiguous "queueing" time snuck in there. This time is explained by this comment. https://code.google.com/p/chromium/issues/detail?id=476749#c11 This CL also updates the definition of "start" to be request.startTime rather than request.issueTime, which is a more logical representation. As such, queuing time occurs before the request's start, and so it's bar has flipped against the start line. Screenshot: http://i.imgur.com/eQN2h4R.png BUG=447200, 476749

Patch Set 1 #

Patch Set 2 : Queueing flipped in table, total time doesn't include queuing. #

Patch Set 3 : rebase on top of https://codereview.chromium.org/1266713008/ #

Patch Set 4 : ya #

Patch Set 5 : post-fork. queuing is inside of total. queued time, too #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M third_party/WebKit/Source/devtools/front_end/network/NetworkLogView.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/RequestTimingView.js View 1 2 3 4 5 chunks +19 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/network/networkPanel.css View 1 2 3 4 3 chunks +14 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/inspectorCommon.css View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 9 (3 generated)
paulirish
would love to hear what you think
5 years, 5 months ago (2015-07-11 06:01:52 UTC) #2
alph
Let's have Pavel to take a look, as he was removing it.
5 years, 5 months ago (2015-07-13 10:04:26 UTC) #4
pfeldman
On 2015/07/13 10:04:26, alph wrote: > Let's have Pavel to take a look, as he ...
5 years, 5 months ago (2015-07-13 10:17:52 UTC) #5
pfeldman
On 2015/07/13 10:17:52, pfeldman wrote: > On 2015/07/13 10:04:26, alph wrote: > > Let's have ...
5 years, 3 months ago (2015-09-17 19:24:32 UTC) #6
paulirish
PTAL. http://i.imgur.com/27iKmBG.png
5 years, 1 month ago (2015-11-19 22:39:03 UTC) #8
paulirish
4 years, 6 months ago (2016-06-10 21:35:16 UTC) #9

Powered by Google App Engine
This is Rietveld 408576698