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: use trace time origin for main-thread-task time origin #14252

Merged
merged 1 commit into from
Aug 1, 2022

Conversation

brendankenny
Copy link
Member

addresses the first half of #14226, putting the hidden main-thread-tasks audit start times on the same timeline as e.g. the hidden metrics diagnostic audit timestamps.

After this change there will be tasks with negative start/endTimes returned from getMainThreadTasks(). There's no larger effect because no code touches the task start/endTimes except for the hidden main-thread-tasks diagnostic audit. All other audits that use getMainThreadTasks() just use the task durations.

A full fix for #14226 will (probably) remove any tasks happening before the time origin from those summary audits, but this change has no effect on those audits.

@brendankenny brendankenny requested a review from a team as a code owner August 1, 2022 20:33
@brendankenny brendankenny requested review from adamraine and removed request for a team August 1, 2022 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants