Network panel in DevTools shows time duration but is missing time stamps
Reported by
djdex...@gmail.com,
Feb 21 2017
|
|
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce the problem: Open DevTools, go to the Network panel, refresh the page. What is the expected behavior? See https://groups.google.com/forum/#!topic/google-chrome-developer-tools/RUH5blRvdA4 "What I need is a very simple enhancement on Network panel (you have this data but you need just to display it!): 1. When you hover mouse over a bar in the timeline the popup appears with the following data: Blocking - Sending - Waiting - Receiving. Please add here two more: "Start Time" and "End Time" 2. Add these two columns "Start Time" and "End Time" to the grid. You may hide them by default and provide the column chooser." What went wrong? The data shows time duration but not the start and end time (timestamp) for requests and responses. Did this work before? N/A Chrome version: 56.0.2924.87 Channel: stable OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 24.0 r0
,
Feb 21 2017
Hey Paul, thanks for looking at this. Maybe I'm missing it, but I don't see a timestamp in that screenshot. If you are referring to the "Started at 10.21ms" I'm unclear how that's a timestamp or how that's useful. Is that a relative time to the start of the page load sequence where the timestamp for that is indicated elsewhere? If not, could you highlight or circle where the timestamp is? To clarify, what I'm looking for is an absolute timestamp for start and end of the individual request as recorded by the browser in local time. Something like "2017-02-21 14:14:16.576", or just the time part omitting the date for brevity. eg: Hour:Minute:Second.Milli/Microsecond
,
Feb 22 2017
> Is that a relative time to the start of the page load sequence where the timestamp for that is indicated elsewhere? yes its relative to navigationStart, which is generally considered the time origin of a page. It's from the monotonic clock, which is considered the most accurate way of measuring time and not worrying about computer sleep, time zones, leap seconds, etc. Can you explain your usecase for knowing the wall time?
,
Sep 29 2017
> Can you explain your usecase for knowing the wall time? i'm not the OP, but they are invaluable for correlating requests between different tools. for an example that is limited to devtools itself, it can be useful to know whether an xhr triggered a websocket frame or vice versa ... websocket frames show a timestamp, xhr shows relative time
,
Apr 5 2018
> Can you explain your usecase for knowing the wall time?
(I'm not the OP either.)
In my usecase, I noticed a console log message (with timestamp 11:10:20.606) from my application that said an xhr response was malformed (json truncated, apparently). However, I wasn't able to tie that to a particular network request because I couldn't find the packet by timestamp.
I tried to work around this by adding an extra header column of 'Date', but found the server is reusing the 'Last-Modified' value as the 'Date' value. Even if it did give the current time, it's from a clock of unknown accuracy, and it doesn't show milliseconds.
Eventually I just saved it as a HAR file and looked for the time that way:
"entries": [
{
"startedDateTime": "2018-03-02T19:45:50.459Z",
"time": 189.73837304458723,
,
Jun 13 2018
My use-case is that I have an ajax calls with the timeout of 1 second, and my handler tells me that that call is timeouted. I have some logging and can see in the Console tab that indeed, between request start and timeout message there is about 1 second. But the thing is, the Network tab tells me that request takes less than 200 ms and it has status 200. To understand that further I want to correlate request start timestamp from the Network tab with the logs from the Console tab, but I can't. I wonder, what is the justification of giving us only the relative times, instead of absolute ones? |
|
►
Sign in to add a comment |
|
Comment 1 by paulir...@chromium.org
, Feb 21 2017Owner: paulir...@chromium.org
Status: Fixed (was: Unconfirmed)
67.9 KB
67.9 KB View Download