Interaction to Next Paint — a Core Web Vital measuring the time from a user's interaction (click, tap, keyboard) to the next visual frame being painted. Replaced FID in March 2024.
A page with heavy JavaScript blocking the main thread has a poor INP score because clicking a button takes 400ms to visually respond.
As of the March 2024 Core Web Vitals update, approximately 64% of websites pass INP at the 'Good' threshold (under 200ms) — meaning 36% of sites have responsiveness issues that may be impacting both user experience and Google rankings, according to Google's CrUX data.
Interaction to Next Paint
INP
Every page with interactive elements — buttons, links, dropdowns, forms, filtering interfaces, and any JavaScript-powered UI. INP is especially problematic on pages with heavy third-party scripts.
scheduler.yield() or setTimeout(fn, 0) to break tasks into smaller chunks, yielding control back to the browser between them.async or defer, or delay them until after the first user interaction.Answer