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.
htmx passes INP most often of any framework. 99.1% of its sites pass. Next.js passes least at 67.3%. jQuery (the most-used framework) sits at 96.6%. The gap is 32 percentage points.
The ranking sorted by INP at p75, fastest first
| # | Framework | INP p75 | Passing | Sites | |
|---|---|---|---|---|---|
| 1 | React | 103ms | 95.0% | 8,475 | |
| 2 | jQuery | 104ms | 96.6% | 129,438 | |
| 3 | htmx | 108ms | 99.1% | 268 | |
| 4 | Alpine.js | 115ms | 96.6% | 2,409 | |
| 5 | Vue | 127ms | 95.2% | 10,724 | |
| 6 | Svelte | 137ms | 93.3% | 416 | |
| 7 | Nuxt | 155ms | 88.9% | 1,162 | |
| 8 | Angular | 161ms | 88.1% | 3,035 | |
| 9 | Gatsby | 180ms | 82.2% | 197 | |
| 10 | Next.js | 236ms | 67.3% | 1,622 |
Passing INP per framework which group passes the INP most often
99% of htmx sites pass INP. Next.js trails 32 points behind, leaving 33% 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 67%. 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, React reaches a good INP on 95.0% of sites; Next.js on 67.3%.
Chrome field data from 189,915 sites, representing millions of real page loads. How we measured.