Skip to content

Conversation

@patrickhulce
Copy link
Collaborator

Summary
Enables the traces artifact in timespan mode! 🎉

  • Enable the artifact itself.
  • Limits many audits to supportedMode: ['navigation'] if they don't immediately work in timespan mode (@adamraine to do a deeper pass on these for a breakup plan).
  • Mark TBT notApplicable when throttlingMethod is simulate.
  • Implement temporary alternate wastedMs computation method for opportunities to use until the rework.
  • Replaces a few usages of findMainDocument with a new findOptionalMainDocument version that returns undefined instead of throwing.

See https://melodic-class.glitch.me/cerealshack-timespan.html for what a timespan report looks like after this.

Related Issues/PRs
ref #11313
ref #12595

observedLargestContentfulPaint: processedNavigation && processedNavigation.timings.largestContentfulPaint, // eslint-disable-line max-len
observedLargestContentfulPaintTs: processedNavigation && processedNavigation.timestamps.largestContentfulPaint, // eslint-disable-line max-len
observedLargestContentfulPaintAllFrames: processedNavigation && processedNavigation.timings.largestContentfulPaintAllFrames, // eslint-disable-line max-len
observedLargestContentfulPaintAllFramesTs: processedNavigation && processedNavigation.timestamps.largestContentfulPaintAllFrames, // eslint-disable-line max-len
Copy link
Collaborator

Choose a reason for hiding this comment

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

when can we do a?.b

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not soon enough! haha

@patrickhulce patrickhulce merged commit a5be72c into master Jun 25, 2021
@patrickhulce patrickhulce deleted the fr_traces_in_timespan branch June 25, 2021 15:52
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.

3 participants