HAR file from Developer Toools

124 views
Skip to first unread message

John L Magee

unread,
Dec 11, 2013, 1:19:32 PM12/11/13
to Chromium-discuss
In the network pane of developers tools, one can right click and request  "Copy All as HAR" this creates what claims to be a HAR 1.2 version file. However, the HAR 1.2 spec seems to specify an integer value in milliseconds for timings. The data created by "Copy All as HAR" contains float numbers as follows
          "blocked": 3.9859999960754067,
          "dns": 0.08399999933317304,
          "connect": 42.080000006535556,
          "send": 0.32499999360879883,
          "wait": 43.70500000368338,
          "receive": 2.7791655738838017,
          "ssl": 18.10000000114087

Haven't found a HAR viewer that can handle this.

Mikhail Naganov

unread,
Dec 11, 2013, 3:51:20 PM12/11/13
to jlmsp...@gmail.com, Chromium-discuss, Google Chrome Developer Tools
+google-chrome-developer-tools


--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
 

Eugene Kliuchnikov

unread,
Dec 12, 2013, 2:29:02 AM12/12/13
to chromium...@chromium.org
In HAR 1.2 specification it is said that type is number.
JSON number is "double-precision floating-point format in JavaScript".

So, the output is correct.

We can't truncate numbers to integers. There is "time" field, for which it is said:
"Total elapsed time of the request in milliseconds. This is the sum of all timings available in the timings object".

If we truncate, then either first or second statement is incorrect.
Reply all
Reply to author
Forward
0 new messages