Closed philipwalton closed 7 years ago
At the time I was seeing some (strangely) inconsistent numbers reported back when trying to align them around navigationStart
, but you're right. We should align with just using navigationStart
for both of them.
@philipwalton master should now reflect the suggested change. Thanks for feedback.
Is there anything else we can do to better improve the accuracy of timings being calculated elsewhere in the library?
Is there anything else we can do to better improve the accuracy of timings being calculated elsewhere in the library?
Not that I noticed, but I'll let you know if I see anything else. I mainly noticed this because I think the perf code for IOWA copied from this library.
Chrome currently uses
window.chrome.loadTimes().startLoadTime
and IE/Edge usewindow.performance.timing.navigationStart
, is there a reason both don't use thenavigationStart
mark?In my experimentation,
startLoadTime
lines up with thefetchStart
timing event, not thenavigationStart
event. It seems like timing.js should be consistent.