-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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 in PWA & performance reports do not match #6284
Comments
Thanks for filing! How did you run lighthouse @mdiblasio? The PWA audit is making sure your TTI is fast enough on mobile networks so if you didn't run with one of our approved presets the numbers will be different. |
We might want a visual indication between the two TTI's if they are derived with different methods. I know I was confused by this since they are different. Something like this on the audit's TTI explanation: |
This was run through WPT (Moto G4, Chrome, 3G, Dulles) which under my understanding should run LH with the same conditions which in this case is a 3G network. This results in the following metrics: First Interactive (WPT): >5.9s |
Thanks for sharing the report @cheneytsai! #6162 and #6286 should help with some of the problems here. Locally, simulated performance reflect WPT results quite accurately, but in the load-fast-enough-for-pwa we're double throttling the CPU which is probably what's inflating the numbers. I'll do a followup to #6286 to fix this. |
Provide the steps to reproduce
What is the current behavior?
TTI in PWA report (11s) and performance report (5s) do not match, making it unclear if the metric is measured different in each report (e.g. is throttling different? Does TTI in performance not take into account network requests?)
What is the expected behavior?
TTI should match
Environment Information
The text was updated successfully, but these errors were encountered: