Analyzing Problems and Solutions 3/4: try it.
Rank fixes for the five Lighthouse metrics with a weighted decision matrix: move the weights and the order changes. Made-up scores.
Try it
Move the controls; the chart and the sentence under it update.
| Problem and fix | Impact | Ease | AI |
|---|---|---|---|
| LCP: compress, resize and preload the largest image | 5 | 3 | 4 |
| CLS: set a fixed width and height on images | 3 | 5 | 5 |
| FCP: minify CSS and remove unused styles | 3 | 4 | 4 |
| TBT: defer and split long JavaScript tasks | 4 | 2 | 3 |
| INP: break up slow input handlers (setTimeout, callbacks) | 4 | 2 | 2 |
Ranked first: LCP (“compress, resize and preload the largest image”), score 4.3 of 5. Second: CLS (4.0). Last: INP (3.0).
The 1-to-5 scores in the table are made-up examples to show the method, not measured results and not data from Lighthouse or the original project. The weighted score is the weighted average of the three scores.
The write-up this goes with: Analyzing Problems and Solutions 3/4.