Performance

Lighthouse-based performance auditing with Web Vitals thresholds

How it Works

The performance pillar uses Lighthouse with chrome-launcher to audit your page. It extracts the overall performance score and individual Web Vitals metrics, comparing each against your configured thresholds.

Metrics Checked

MetricDefault LimitDescription
LCP2500msLargest Contentful Paint
CLS0.1Cumulative Layout Shift
INP200msInteraction to Next Paint
TTFB800msTime to First Byte
FCP1800msFirst Contentful Paint
Score80Overall Lighthouse performance score

Configuration

json
{
"performance": {
"minScore": 85,
"lcp": 2500,
"cls": 0.1,
"inp": 200,
"ttfb": 800,
"fcp": 1800
}
}

Violation Examples

bash
✖ PERFORMANCE Score: 72
[critical] Performance score 72 is below minimum 80
→ Run Lighthouse locally to identify the biggest opportunities.
[serious] LCP is 3200ms (max: 2500ms)
→ Optimize the largest image/video. Use <link rel="preload"> for critical resources.