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

Longshot feature idea: integrate CrUX API? #124

Open
Paul-Hebert opened this issue Oct 31, 2022 · 2 comments
Open

Longshot feature idea: integrate CrUX API? #124

Paul-Hebert opened this issue Oct 31, 2022 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@Paul-Hebert
Copy link
Member

Chrome provides an API to query their "CrUX" data (Chrome Rel user experience data). This data shows the CWV scores for real logged in Chrome users.

I'm currently using this API to diagnose some slow FID times on a client site. But, I've got to do everything by hand which is tricky when there are lots of URLs. It could be cool if you could optionally query the CrUX API for CWV scores for all of the URLs on your site. This could be another data point to include in spreadsheets and histograms.

One advantage of this data source is that it's real user data: it's not influenced by the machine hitting the API and represents real user experiences. It can also test for metrics like FID which can't be measured without a real user.

I'm not sure it it makes sense to integrate this into Lighthouse Parade. It may be a longshot. But the idea occurred to me so I thought I'd throw it out there and see what folks think.

@Paul-Hebert Paul-Hebert added enhancement New feature or request question Further information is requested labels Oct 31, 2022
@calebeby
Copy link
Member

@Paul-Hebert this sounds very cool. Can we meet so you can show me how CrUX works sometime?

@Paul-Hebert
Copy link
Member Author

Sure, I'm just scratching the surface now but I'm happy to share what I find. Feel free to ping me on Slack when you've got some time to meet up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants