jaipandya / harviewer

Automatically exported from code.google.com/p/harviewer
0 stars 0 forks source link

Bug in total time #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download the HAR attached (website http://www.rueducommerce.fr/)
2. View in har viewer 2.0.6 (http://www.softwareishard.com/har/viewer/)

What is the expected output? What do you see instead?

The total time should be : 3.864s

    Last entry start time : 2011-03-04T10:23:38.118+01:00 
    Plus last entry duration : 48ms
    Minus first entry start time : 2011-03-04T10:23:34.254+01:00
    = 3.864s

And the screenshot tell us : 1.65s

What version of the product are you using? On what operating system?
har viewer 2.0.6

Please provide any additional information below.

Please attach a HAR file that can be used to reproduce the problem.

Original issue reported on code.google.com by filir...@gmail.com on 4 Mar 2011 at 11:32

Attachments:

GoogleCodeExporter commented 9 years ago
This is actually not a bug, but a feature. But yes, needs a refactoring see 
also, issue 31.

The last two requests belongs to a new phase. 

A phase: If a time lag between two HTTP requests (counted from the end of the 
first one till the beginning of the second one) exceeds the limit a new phase 
is created and requests timing info is drown since the beginning of the 
waterfall graph again. This is to keep the waterfall graph extent short (the 
horizontal time).

Does that make sense?

You solve it by:

1) changing the lag: see phaseInterval cookie: 
http://code.google.com/p/harviewer/wiki/Customization

2) or use request context menu (the far right side of the request row) and 
un-check "Break Timeline Layout"

We need better visualization for this. Any tips?

I think this is duplicate of issue 31, correct?

Honza

Original comment by odva...@gmail.com on 10 Mar 2011 at 6:58

GoogleCodeExporter commented 9 years ago
Yes you are right, the use of break timeline layout change the value of the 
total time (I took a screenshot of it).

I would prefer extensions.firebug.netPhaseInterval = 0 by default.

It show us the reality. If there is a gap, it is important to see it.

Thank you Honza, harviewer is great.

Original comment by filir...@gmail.com on 11 Mar 2011 at 8:58

Attachments: