question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consistently Interactive

See original GitHub issue

Bug report

First off I just want to say that this issue may not actually lie with Lighthouse, and I may just be looking for advice as to what to do to get a clearer score. Thank you very much for this fantastic and helpful tool.

Provide the steps to reproduce

  1. Run LH performance on https://www.theatermania.com/

What is the current behavior?

NO_TTI_NETWORK_IDLE_PERIOD error presents for the Consistently Interactive score, and I also wonder if it is bringing down to the First Interactive score as well. I think it might have to do with a Google Ad (DFP) pinging at a 100ms interval. Screenshots have been included to show that it seems like the app is interactive (and when I actually try to use it I can).

What is the expected behavior?

I expect to see a more accurate score and time.

Environment Information

  • Affected Channels: CLI, Extension, DevTools
  • Lighthouse version: this has presented at least for the last several versions of Chrome DevTools, and a few for the CLI. I haven’t been tracking the extension as much since it’s in DevTools.
  • Operating System: macOS 10.13, macOS 10.12, Windows 10

Screenshots Chrome DevTools Performance Trace (screenshots show very little change after a while) image

Full Trace image

Long tail of trace showing repetitive pattern. image

Detail of one segment of that pattern image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
patrickhulcecommented, Jun 27, 2018

v3 seems to have fixed the reporting issue for consistently interactive (now called “Time to Interactive”), so you should get useful numbers now.

As for improving perf… yikes that’s some terrible ad behavior! Most of the scripting cost on your page is from 3rd parties, so if you’re in a position to scale back reliance on some of these, then great. Otherwise, we’re working on some broader initiatives to surface the cost of third party scripts and apply pressure to cleanup. Hang tight and do what you can to drive down the cost of the app.js bundle 😃 image

0reactions
sfrieson-tmcommented, Dec 28, 2018

@gja I just want to reiterate that our performance metrics are still not golden, they’re just a lot better. We’ve done more than just delay ad loads, we’ve tried to delay lots of non-critical (ie below-the-fold, secondary content, secondary requests) using a mix of onLoad and requestFrameAnimation handlers. Specifically to your question we’ve delayed ads with the onContentLoad handler. We still have a red number for TTI but it’s about 60% better than what it was.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Time to Interactive - Chrome Developers
See Google's First Interactive And Consistently Interactive if you're interested in the exact calculation for each metric.
Read more >
TTI: Time To (consistently) Interactive, how to measure web ...
Google's Time To Interactive is a sophisticated measure designed to determine the ideal conditions for interactivity by monitoring both the JS ...
Read more >
Interactive and 'Consistently' Interactive | A Faster Web
Time to Interactive (TTI) is a Chrome-specific measurement that measures the earliest point after the main content has rendered where the page ...
Read more >
Lighthouse: Time to Interactive - GTmetrix
According to Google, "A page is considered fully interactive when it displays useful content, as measured by First Contentful paint; event handlers are ......
Read more >
How to measure web page interactivity using Time To ...
All of this affects the Time To Consistently Interactive (TTI) metric, a complex measure of how fast a page loads and, in particular, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found