Open GoogleCodeExporter opened 9 years ago
The file doesn't seem to be valid HAR.
Except of many:
log.entries[0].request.httpVersion is missing and it is not optional
log.entries[0].response.httpVersion is missing and it is not optional
... the first entry has:
entry.time == 309
but summary of timings in entry.timings is 125
Where would you expect the lines to appear?
Honza
Original comment by odva...@gmail.com
on 3 Feb 2012 at 7:08
*nod* I hear you about the flawed output. Unfortunately, that's the data that
Safari produces. (I've upgraded to a more up-to-date version of Safari --
5.1.2 -- since I produced that file, but those flaws are still present in the
output).
It appears that the entry.time correctly provides the overall download time and
the timings.receive only reflects the actual receive time. To be more correct,
the Safari output should, I suppose, include the delta in the entries.wait.
(I'll probably try, as way of getting better results, to scriptify a fix for
the Safari output).
In any event, the viewer has been extremely useful. Thanks for it!
Regarding the question of where I would expect the lines to appear -- the first
horizontal bar in the graph is labelled as "309". I would expect the blue
vertical line (the "onContentLoad" bar -- also "309") to be at the same
location as where that first horizontal bar ends.
As a software professional, I can fully understand a response to this defect
that says "hey, garbage in, garbage out". I nonetheless hoped that I could get
good results using the HAR output from a major browser.
Original comment by g...@bcholmes.org
on 3 Feb 2012 at 4:49
> to be at the same location as where that first horizontal bar ends.
Ah, I see what you mean.
I'll try to fix it and if it's too difficult my answer will be "hey, garbage
in, garbage out" ;-)
Honza
Original comment by odva...@gmail.com
on 3 Feb 2012 at 5:05
FYI... once I script-fixed the Safari output, the viewer produces much better
results. Thanks for the pointer.
Original comment by g...@bcholmes.org
on 3 Feb 2012 at 5:09
Original issue reported on code.google.com by
g...@bcholmes.org
on 3 Feb 2012 at 4:29Attachments: