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

TTI metric has a big difference between Chrome produced TTI vs Lighthouse TTI. #1178

Closed
abhagupta opened this issue Jul 27, 2018 · 3 comments
Labels
private instance issues related to private instances

Comments

@abhagupta
Copy link

Trying to understand some the TTI metrics produced by private instance of WPT.. I am seeing that there is a large variance of numbers in the metrics between what is is produced by Chrome vs what is retrieved from Lighthouse metrics when lighthouse is turned on.

   FirstInteractive: 20086,
  TimeToInteractive: 56528,
  TTIMeasurementEnd: 111386,
  LastInteractive: 109465,
  step: 1,
  effectiveBps: 20265,
  effectiveBpsDoc: 442007,
  domTime: 0,
  aft: 0,
  titleTime: 0,
  domLoading: 0,
  server_rtt: 0,
  smallImageCount: 4,
  bigImageCount: 1,
  maybeCaptcha: 1,
  'lighthouse.Performance': 0.71411764705882,
  'lighthouse.Performance.first-meaningful-paint': 1274.2,
  'lighthouse.Performance.first-interactive': 6754.31,
  'lighthouse.Performance.consistently-interactive': 11751.014,
  'lighthouse.Performance.speed-index-metric': 3055,
  'lighthouse.Performance.estimated-input-latency': 65.5,
  'lighthouse.ProgressiveWebApp': 0.54545454545455,
  'lighthouse.Accessibility': 0.91954022988506,
  'lighthouse.BestPractices': 0.75,
  'lighthouse.SEO': 0.77777777777778,

Notice the difference between FirstInteractive: 20086 and lighthouse.Performance.first-interactive: 6754.31 . I am wondering why?

FYI, this is a scripted test with around 3 steps. I could also reproduce this in public instance of WPT. https://www.webpagetest.org/result/180727_RJ_84cdfa1deb3bb0430a309f62ac83b107/

The First Interactive on test ui = 27.455s while the lighthouse.Performance.interactive has value of 10856.382 in the Raw test results. Could it because of scripted test?

@abhagupta abhagupta changed the title TTI metric has a big difference between Chrome produced TTI vs Lighthouse metric. TTI metric has a big difference between Chrome produced TTI vs Lighthouse TTI. Jul 27, 2018
@pmeenan
Copy link
Contributor

pmeenan commented Jul 27, 2018

You can't do a multi-step script with lighthouse. It can test a single URL and that's it. The two are measuring completely different experiences.

@abhagupta
Copy link
Author

Thanks Patrick.. My test script has a logData 1 right before the page I wanted to measure.. What did the 2 metrics measure in this scenario and which one should we actually capture..

@scottjehl scottjehl added the private instance issues related to private instances label Sep 21, 2021
@tkadlec
Copy link
Contributor

tkadlec commented Jul 6, 2022

We're in the process of cleaning up issues on this project in order to ensure we're able to stay on top of high priority bugs and feature requests. As a part of this process, we're automatically closing any issues that have had no activity within the last two years, including this one, since the codebase has changed dramatically in that time. If you feel this is still relevant, please file a new issue using the relevant issue template so we can get it prioritized. Thanks!

@tkadlec tkadlec closed this as completed Jul 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
private instance issues related to private instances
Projects
None yet
Development

No branches or pull requests

4 participants