jaipandya / harviewer

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

Timeline bug in Harviewer? #21

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Paste HAR into text box
2. click preview
3. find the timeline is not correct

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

I saw misaligned timeline chart.

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

HAR 1.2 collected from Fiddler

Please provide any additional information below.

I am trying to use the online HarViewer tool on 
http://www.softwareishard.com/har/viewer/ to check a HAR file that I collect 
from Fiddler. It is very nice to see those good-looking timeline waterfall 
charts, and the statistics in the Pie charts. I immediately notice that must 
something wrong with the timeline charts. The 6th resource showed at the 
beginning of the chart (time 0). I attached the screeshot of the page, as well 
as the HAR file, and the timelien chart captured from Fiddler.

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

Original issue reported on code.google.com by ls...@google.com on 1 Sep 2010 at 2:02

Attachments:

GoogleCodeExporter commented 9 years ago
This is actually a feature and not a bug.

In case there is a time gap between the end of a request and the beginning of 
the next request the waterfall diagram "breaks the layout" and starts 
displaying requests from the beginning of the graph (the left side) again. This 
helps to better use the horizontal scale (time).

The default limit is 1000ms and it's exceeded between the 5the and 6the request 
in your example.

However you can change the limit by a cookie, just set e.g:
phaseInterval=5000
(you can use Firecookie, the Firebug extension, 
http://www.softwareishard.com/blog/firecookie)

See also: http://code.google.com/p/harviewer/wiki/Customization

You are not the first one who is actually confused by this "layout" feature, so 
if you have any proposals how to improve it, please let me know!

Honza

Original comment by odva...@gmail.com on 1 Sep 2010 at 4:23

GoogleCodeExporter commented 9 years ago
Thanks for the explanation. If there is an indication on the chart, that will 
help.

Original comment by ls...@google.com on 1 Sep 2010 at 5:10

GoogleCodeExporter commented 9 years ago
What kind of indication would you expect?
Honza

Original comment by odva...@gmail.com on 1 Sep 2010 at 5:17

GoogleCodeExporter commented 9 years ago
On the popup window when mouse over, show the actual started time instead of 
"0ms start". Another indication may be to insert a new row above the 
left-started item to specify the interval. 

Original comment by ls...@google.com on 1 Sep 2010 at 5:28