Repository navigation
lighthouse - webpage test consumes high memory and CPU #16928
Unanswered
NithyaSiddeswaran
asked this question in
Q&A
Replies: 1 comment
|
Since your primary focus is strictly on Performance Metrics (FCP, LCP, TBT, TTI), you can significantly reduce CPU and memory overhead during automated headless testing by implementing these four decisive steps: 1. Run Only the Performance CategoryBy default, Lighthouse audits Accessibility, SEO, and PWA, which causes heavy CPU processing. Disable them completely.
2. Disable Screenshots & Thumbnails (Major Memory Saver)Capturing frame-by-frame screenshots for the visual timeline consumes a massive amount of memory. Skip them using the {
"settings": {
"skipAudits": ["screenshot-thumbnails", "final-screenshot"]
}
} |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi,
lighthouse webpage load test consumes high memory and CPU, Can you please suggest on the recommendation for reducing memory and CPU usage ?
Note: This test will be automated test that runs in headless mode and our primary metrics are FCP, LCP, TBT and TTI (performance metrics)
All reactions