Screenshots don't match with first meaningful paint
See original GitHub issueProvide the steps to reproduce
Vist https://jantimon.github.io/css-framework-performance/ or
git clone https://github.com/jantimon/css-framework-performance
cd css-framework-performance
npm i
npm run reports
Internally it executes the following command:
lighthouse
http://127.0.0.1/
--throttling.cpuSlowdownMultiplier=4
--chrome-flags="--headless"
What is the current behavior?
For the default throttling settings the screenshot and the first meaningful paint
don’t match at all:
The screenshots are all the same inside “screenshot-thumbnails”.
Full report as html:
What is the expected behavior?
first meaningful paint
should match screenshots like in this example (the first meaning full paint is 1.3s and the screenshot thubmnails show it around the same time):
To generate the second image I added --throttling-method=devtools
Environment Information
- Affected Channels: “@lhci/cli”: “0.3.12”,
- Lighthouse version: 5.5.0
- Chrome version: HeadlessChrome/80.0.3987.149
- Operating System: ubuntu-18.04
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
First Meaningful Paint - Chrome Developers
Learn about Lighthouse's First Meaningful Paint metric and how to measure ... A screenshot of the Lighthouse First Meaningful Paint audit ...
Read more >Optimize Largest Contentful Paint - web.dev
A step-by-step guide on how to break down LCP and identify key areas to improve.
Read more >What is First Meaningful Paint (FMP) & Why it Matters for SEO
The First Meaningful Paint or FMP refers to the moment it takes for the page's main content to display on the screen. Google...
Read more >Evaluating rendering metrics - SpeedCurve
In our experience with the Picker, First Meaningful Paint often doesn't match the point where critical content is rendered. Hero Rendering Times ...
Read more >How to Improve First Contentful and Meaningful Paint
When the content the user is looking for appears on the page, this is referred to as the first meaningful paint. Screenshot of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OH sorry now I get it.
It looks like it works perfectly with
--throttling-method=devtools
…I just got confused because the numbers in the report didn’t match with the docs https://github.com/GoogleChrome/lighthouse/blob/master/docs/throttling.md
But that’s only because of https://github.com/GoogleChrome/lighthouse/blob/ac186d0ecbdce739961b7be086dc8f3dbf86f4fa/lighthouse-core/config/constants.js#L8-L15
Thank you so much for taking so much time for this.
I will close this issue 😃