Running Lighthouse Web Performance Tests Locally

2 min

language: ja bn en es hi pt ru zh-cn zh-tw

Hello, I'm Incompetent. Sometimes, I want to use this
PageSpeed Insights
It's like a web page benchmark app provided by Google.
I just thought about it and was looking for similar OSS benchmark software, and there were quite a few, but it seems the URL mentioned above is already open source. GoogleChrome lighthouse I thought Google had acquired a company that originally provided web benchmarks. It seems it has been open source for quite some time. I didn't know that.

Let's Try Installing It

sudo npm install -g lighthouse  
  

This will install it.

Execution

It seems the view option visualizes the results we're always used to seeing.

lighthouse https://soulminingrig.com/ view  
  

Image
Chrome starts in a virtual environment and measurement begins. So, what about the results I'm curious about...? Image
I received a pretty good evaluation. I'm quite satisfied with these results, considering both my own server and the proxy/caching server itself are running in a rather modest environment of 1CPU 1GB. While this score doesn't necessarily directly translate to actual web performance, it's still helpful that it makes things easier to understand. That's all for now. I look forward to working with you again.