Closed GoogleCodeExporter closed 8 years ago
Good point, another event that could be also displayed is mozAfterPaint
(already displayed by Firebug)
Honza
Original comment by odva...@gmail.com
on 23 Feb 2011 at 11:20
Patch committed at R231
Yet missing:
- High level APIs (for easy customization)
- Documentation (wiki)
- Example HAR file with custom page timings (perhaps MozAfterPaint)
Honza
Original comment by odva...@gmail.com
on 10 Mar 2011 at 8:28
High level API committed at R236
An example of a HAR file:
"pageTimings": {
"onContentLoad": 5605,
"onLoad": 6964,
"_onMyEvent": 4000
},
An example index.php file customization
$("#content").bind("onViewerPreInit", function(event)
{
// Get application object
var viewer = event.target.repObject;
// Make sure stats and timeline is visible
// to the user by default
var preview = viewer.getTab("Preview");
// Add custom page timing displayed as a vertical line
// over request in the first phase.
preview.addPageTiming({
name: "_onMyEvent",
description: "A custom page timing"
});
});
Wiki updated:
http://code.google.com/p/harviewer/wiki/Customization?ts=1299781191&updated=Cust
omization
Honza
Original comment by odva...@gmail.com
on 10 Mar 2011 at 6:21
Yet missing:
- Example HAR file with custom page timings (perhaps MozAfterPaint) + example
index-customized.php file
- Timing tooltip must dynamically generate the section with page timings (this
is why there is a description field when registering a new timing)
- Selenium test for the new APIs.
Honza
Original comment by odva...@gmail.com
on 10 Mar 2011 at 6:24
Patch for the timing tooltip (info tip) committed at R239
Honza
Original comment by odva...@gmail.com
on 11 Mar 2011 at 6:55
Patch for proper phase-end calculation. This forces the event being displayed
in the waterfall graph event if it happens after all requests.
Honza
Original comment by odva...@gmail.com
on 11 Mar 2011 at 7:19
Forgot to note: Comment 6 is related to R240
Honza
Original comment by odva...@gmail.com
on 12 Mar 2011 at 12:10
Test committed at R249
Honza
Original comment by odva...@gmail.com
on 12 Mar 2011 at 8:36
This is one of 7 issues fixed in HAR Viewer 2.0.8
You can check online:
http://www.softwareishard.com/har/viewer/
Or download a distribution package here:
http://code.google.com/p/harviewer/downloads/list
Please verify
Thanks for the report!
Honza
Original comment by odva...@gmail.com
on 13 Mar 2011 at 8:15
Original issue reported on code.google.com by
phobouli...@gmail.com
on 23 Feb 2011 at 9:45