lighthouse-parade icon indicating copy to clipboard operation
lighthouse-parade copied to clipboard

Longshot feature idea: integrate CrUX API?

Open Paul-Hebert opened this issue 3 years ago • 2 comments

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 avatar Oct 31 '22 18:10 Paul-Hebert

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

calebeby avatar Oct 31 '22 19:10 calebeby

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

Paul-Hebert avatar Oct 31 '22 19:10 Paul-Hebert