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

Split time to interactive into first_interactive and consistently_interactive #19100

Open
avadacatavra opened this issue Nov 2, 2017 · 1 comment

Comments

@avadacatavra
Copy link
Contributor

@avadacatavra avadacatavra commented Nov 2, 2017

Consistently Interactive:
Find a the first 5 second window W after FMP such that

  • W overlaps no tasks longer than 50ms
  • For all timestamp t in W, number of resource requests in flight at t is no more than 2.

Now find the last long task L before W.

  • Consistently Interactive Candidate is the end of L
  • In the case there is no long task before L, Consistently Interactive Candidate = FMP.

Now, Consistently Interactive = max(Consistently Interactive Candidate, DOMContentLoadedEventEnd)

We might need to have some discussion about what definition we want to use for FirstInteractive:

Note (August 28, 2017): There is an equivalent FirstInteractive definition in terms of heavy and light task clusters instead of task envelopes and lonely tasks that leads to a cleaner implementation. See First Interactive - Task Cluster Definition. We have the original definitions in terms of Lonely Tasks below:
Reference: https://docs.google.com/document/d/1GGiI9-7KeY3TPqS3YT271upUVimo-XiL5mwWorDUD4c/preview#

@jdm jdm added the A-content/script label Nov 2, 2017
@jdm
Copy link
Member

@jdm jdm commented Nov 6, 2017

I also just came across https://docs.google.com/document/d/1l50v3ljDeUmj9qBsfdPc3wKe_1CY5KFYI1baye2NhYk/edit?ts=59dfaf65# which doesn't describe two separate metrics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.