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 INP at p75, fastest first
| # | Framework | INP p75 | Passing | Sites | |
|---|---|---|---|---|---|
| 1 | jQuery | 121ms | 94.5% | 67,958 | |
| 2 | React | 121ms | 92.9% | 4,396 | |
| 3 | htmx | 125ms | 98.7% | 141 | |
| 4 | Alpine.js | 133ms | 94.5% | 1,306 | |
| 5 | Vue | 145ms | 92.4% | 5,677 | |
| 6 | Svelte | 158ms | 89.8% | 219 | |
| 7 | Nuxt | 169ms | 86.2% | 628 | |
| 8 | Angular | 188ms | 79.6% | 1,658 | |
| 9 | Gatsby | 214ms | 66.7% | 105 | |
| 10 | Next.js | 253ms | 61.7% | 854 |
Passing INP per framework which group passes the INP most often
99% of htmx sites pass INP. Next.js trails 37 points behind, leaving 38% 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.
htmx leads on INP: 99% of its sites pass. Next.js trails at 62%. 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, jQuery reaches a good INP on 94.5% of sites; Next.js on 61.7%.
Chrome field data from 94,910 sites, representing millions of real page loads. How we measured.