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

Better screenshots for CLS #16206

Open
tunetheweb opened this issue Sep 30, 2024 · 3 comments
Open

Better screenshots for CLS #16206

tunetheweb opened this issue Sep 30, 2024 · 3 comments

Comments

@tunetheweb
Copy link
Member

Feature request summary

At the moment for CLS we show a tiny screenshot of the area affected and give the score and reasons:

CLS audit screenshot

Other tools show side by side:

DebugBear:
image

WebPageTest:
imageimage

Often with nice animations when you hover over them, or GIFs to show them moving.

We have all the data in the Lighthouse audit to show this but don't.

What is the motivation or use case for changing this?

If we showed this, it would make CLS data easier to understand.

We hear complaints that Lighthouse and PSI are not useful for debugging CLS (example.

How is this beneficial to Lighthouse?

It makes Lighthouse more useful to debug one of the three Core Web Vitals, which would also be surfaced in PageSpeed Insights, often used by less technical users than those using Performance Panel.

@adamraine
Copy link
Member

Seems like a good feature request, however it will increase the size of the Lighthouse JSON result (especially if there are a lot of layout shifts). Right now Lighthouse only keeps a small subset (I think 8/10 frames) from the screenshot timeline.

@brendankenny
Copy link
Member

@paulirish I wonder how well your animated shifts could work even with a limited number of screenshots

@benschwarz
Copy link
Contributor

A while ago I suggested deduping screenshots, which can really help with the total size output. Might be worth revisiting. We've used that technique at Calibre for a while now and it's saved many GBs 😋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants