GoogleChrome / lighthouse

Automated auditing, performance metrics, and best practices for the web.
https://developer.chrome.com/docs/lighthouse/overview/
Apache License 2.0
28.02k stars 9.32k forks source link

CPU throttling is unstable #15978

Closed ZengTianShengZ closed 1 month ago

ZengTianShengZ commented 2 months ago

Summary

I run performance testing on the server side. My server configuration is a fixed 4-core processor and 4GB of memory. I did a fixed 1.6x CPU throttling on Lighthouse. However, I found that the CPU throttling was unstable and fluctuated during performance testing. This will cause my test indicators to be inaccurate. I don't know if this is a bug in Lighthouse, or how I need to configure Lighthouse to avoid this. I want to have stable CPU throttling so that I can generate stable and reliable data during performance testing.

image image

ZengTianShengZ commented 1 month ago

Has anyone encountered a similar situation and has a good solution? 😭

adamraine commented 1 month ago

Fluctuating CPU performance can happen for a variety of reasons. Please see https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md