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

change annotate of initDomTreeTime and domReadyTime #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fromIRIS
Copy link

@fromIRIS fromIRIS commented Nov 8, 2015

  • api.domReadyTime
    i do not know the function of the domReadyTime, you say it measure the Time spending constructing the DOM tree. but the timing.domComplete means the time of total resources downloaded contaning images. and the timing.domLoading means the start time of constructing the DOM tree.
    by reading http://calendar.perfplanet.com/2012/deciphering-the-critical-rendering-path/ ,the timing.domInteractive is the end time of constructing the DOM tree, including the synchronous javascript time. so i think timing.domInteractive - timing. responseEnd is more suitful as a function "Time spending constructing the DOM tree".
  • api.interactingTime
    besides, i think we can add a attribute 'interactingTime', it uses to measure the time user can interacting with the page,
    eg
    image
    two numbers are almost same!

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.

1 participant