Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Measuring domProcessing from responseEnd #30

Merged
merged 2 commits into from
Jul 15, 2015
Merged

Conversation

AlexBulankou
Copy link
Contributor

Some modern browsers (specifically Chrome, but sometimes IE 10 too) issues domLoading event before responseEnd event, so responseStart->responseEnd interval overlaps with domLoading->loadEventEnd interval causing subcomponent times to be larger than navigationStart->loadEventEnd total, causing user confusion when they look in the UI. To account for this situation I'm changing the measurement of domProcessing interval to start with responseEnd event.

Alex Bulankou added 2 commits July 14, 2015 16:46
…n browsers domLoading may start earlier and we are constrained by the sum of the parts to be smaller than total navigation start to loadEventTime interval.
…ssues domLoading event before responseEnd event, so responseStart->responseEnd interval overlaps with domLoading->loadEventEnd interval causing subcomponent times to be larger than navigationStart->loadEventEnd total, causing user confusion when they look in the UI. To account for this situation I'm changing the measurement of DOM interval to start with responseEnd event.
@MaxShehovtsov
Copy link
Contributor

🐑 🇮🇹

@MaxShehovtsov
Copy link
Contributor

Agreed to follow up on UI change - the "dom loading" is not a dom loading anymore, only part of it after response end.

AlexBulankou added a commit that referenced this pull request Jul 15, 2015
Measuring domProcessing from responseEnd
@AlexBulankou AlexBulankou merged commit de6a1b3 into master Jul 15, 2015
@AlexBulankou
Copy link
Contributor Author

BTW looks like with the new version of Chrome (that was released today?) domLoading is back to where it was (after responseEnd)

@MaxShehovtsov MaxShehovtsov deleted the albulank/mathfix branch November 7, 2015 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants