question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Proposal: use PageSpeed Insights API to collect results

See original GitHub issue

Problem: 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:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9

github_iconTop GitHub Comments

1reaction
patrickhulcecommented, Jun 25, 2020

this was fixed by #340 🎉

1reaction
ggennrichcommented, May 7, 2020

@patrickhulce I’d be more than happy in sharing our details for that doc!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found