Proposal: use PageSpeed Insights API to collect results
See original GitHub issueProblem: It’s hard to ensure consistent performance results. Burstable or uncontrollable CI VMs, like Github Actions https://github.com/treosh/lighthouse-ci-action/issues/14, may lead to inaccurate results. It significantly reduces the value of CI testing, since results can’t be trusted.
Proposal: using a dedicated Lighthouse as a Service API, like PSI, may help to provide consistent results and improve the collection time:
yarn lhci collect --psiToken=secret-token --numberOfParallelRuns=5
Trade-off: it doesn’t support any custom features or configs, and local testing is not possible. So it’s only for public-facing URLs.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:9
Top Results From Across the Web
Get Started with the PageSpeed Insights API
Use the PageSpeed Insights API to: Measure the performance of a web page. Get suggestions on how to improve the page's performance, accessibility,...
Read more >How to use Google PageSpeed Insights (Beginner's Guide ...
With this guide, you'll master the fastest (and easiest) way to test your website's speed using the Google PageSpeed Insights tool, how to...
Read more >how do use the javascript code for pagespeed insights api ...
Now to get the results of your website. Everything will be in the json variable. function run() { const url ...
Read more >The Google PageSpeed API & MVC 4
The API allows you to programmatically generate PageSpeed scores and suggestions and makes it easy to integrate performance analysis into your ...
Read more >Google PageSpeed Insights: The Truth About Scoring 100 ...
The real purpose of testing your site's performance with Google PageSpeed Insights isn't to achieve a high score. Instead, it's to find problem...
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 Free
Top 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
this was fixed by #340 🎉
@patrickhulce I’d be more than happy in sharing our details for that doc!