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

Debug what takes LHCI so long (verbose logging)

Open KoderFPV opened this issue 3 years ago • 3 comments

Hi, We are started using LHCI in our project. We are targeting our beta servers for tests. They are pretty fast and responsive. However, LHCI needs few minutes to run a single test for one page url. Approximately 1min - 2min We are running it inside of docker following official guidelines.

This step takes aprox. 2 min:

Running Lighthouse 1 time(s) on https://beta-sk.softwear.co/
Run #1....

And now I have a question. Is any way to speed it up or put in some verbose mode to track what actualy test doing? I tried few attempts to add a verbose flag somewhere, however, still nothing in the console.

Thanks for any help!

KoderFPV avatar Jun 23 '21 11:06 KoderFPV

Thanks for filing @Tarvald!

I would first start with running Lighthouse directly without LHCI involved to see how long it takes (much easier to get substep timing information from Lighthouse directly)

npx lighthouse https://beta-sk.softwear.co/

If that is much faster than LHCI, we can take a look at what's going on here with more verbose logging than we offer currently.

patrickhulce avatar Jun 23 '21 15:06 patrickhulce