Frameworks performance
How JavaScript frameworks score across LCP, INP and CLS.
At a glance the headline numbers for Frameworks performance
How JavaScript frameworks score across LCP, INP and CLS.
The ranking sorted by CLS at p75, fastest first
| # | Framework | CLS p75 | Passing | Sites | |
|---|---|---|---|---|---|
| 1 | Alpine.js | 0.01 | 91.5% | 1,306 | |
| 2 | React | 0.01 | 91.7% | 4,396 | |
| 3 | jQuery | 0.02 | 89.8% | 67,958 | |
| 4 | htmx | 0.03 | 88.8% | 141 | |
| 5 | Svelte | 0.04 | 86.9% | 219 | |
| 6 | Vue | 0.04 | 84.3% | 5,677 | |
| 7 | Nuxt | 0.12 | 72.4% | 628 | |
| 8 | Next.js | 0.17 | 66.7% | 854 | |
| 9 | Gatsby | 0.19 | 66.2% | 105 | |
| 10 | Angular | 0.26 | 58.0% | 1,658 |
Passing CLS per framework which group passes the CLS most often
92% of React sites pass CLS. Angular trails 34 points behind, leaving 42% of its sites failing. computed
All five vitals at once the whole category without toggling - cell is the pass rate, small number the p75
One row per framework, one column per vital - the cell is the share of sites passing, the small number the p75. No toggling needed to see where the category actually differs.
React leads on CLS: 92% of its sites pass. Angular trails at 58%. computed
Why this matters for the Core Web Vitals, and where to start fixing it
A JavaScript framework shapes how much code runs in the browser to put your page on the screen. Some render on the server and ship light; others send a large bundle and rebuild the page on the client, which lands on the main thread and shows up in INP. The framework is not destiny, but its defaults and how you use them decide how much JavaScript the visitor has to pay for.
Start by looking at what ships to the browser and when it runs. Render on the server where you can, split the bundle so each page only loads what it needs, and defer the work that is not required for the first interaction. Framework JavaScript runs on the main thread, so the less of it the browser has to execute, the better INP gets.
How does your framework affect Core Web Vitals?
Among the JavaScript frameworks, Alpine.js reaches a good CLS on 91.5% of sites; Angular on 58.0%.
Chrome field data from 94,910 sites, representing millions of real page loads. How we measured.