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

core(long-tasks): add startTime property #10942

Merged
merged 8 commits into from
Jun 17, 2020
Merged

Conversation

patrickhulce
Copy link
Collaborator

Summary
Adds the startTime property for both simulated and observed modes in the long tasks diagnostic. Paves the way for #10806

Example from The Verge on a simulated run
image

Related Issues/PRs
unblocks @Beytoven 's ability to execute on #10806

@vercel vercel bot temporarily deployed to Preview June 10, 2020 16:05 Inactive
Copy link
Contributor

@Beytoven Beytoven left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

expect(result.details.items).toHaveLength(0);
expect(result.score).toBe(1);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @Beytoven I moved these down so that when there's a failure you get the debug information about what's inside details.items instead of expected: 1, received: 0 :)

@devtools-bot devtools-bot merged commit cfce99a into master Jun 17, 2020
@devtools-bot devtools-bot deleted the long_tasks_start_time branch June 17, 2020 22:04
gMakunde pushed a commit to gMakunde/lighthouse that referenced this pull request Jul 6, 2020
gMakunde pushed a commit to gMakunde/lighthouse that referenced this pull request Aug 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants