Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

load time and loading indicator don't appear to measure the same thing #141

Closed
bridiver opened this issue Jan 11, 2016 · 6 comments
Closed

Comments

@bridiver
Copy link
Collaborator

Load cnn.com and time how long the loading status indicator is activated (this is more noticeable if you turn ad blocking off)
Compare to the load time displayed in the url bar
There appears to be a significant discrepancy between them

@bridiver
Copy link
Collaborator Author

tried the same thing on forbes.com and didn't see any real discrepancy

@bbondy
Copy link
Member

bbondy commented Jan 11, 2016

This provably means that the load start/ end are being fired more often. Or maybe it's related to us setting state on active tab somewhere instead of current tab.

@bridiver
Copy link
Collaborator Author

I have seen it "flicker" sometimes which makes sense with the multiple start/end firings. As a user my expectation would be that it starts and stops once per page load.

@bridiver
Copy link
Collaborator Author

maybe we should use 'did-navigate' and 'dom-ready' instead of start/stop loading?

@bbondy
Copy link
Member

bbondy commented Jan 14, 2016

maybe, we want something that fires only once per page. If those fire once per iframe then we want diff ones, probably the ones you suggested.

@bridiver
Copy link
Collaborator Author

there are also a lot of other events that are not currently exposed, but would be easy to make available

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants