Three parts of every interaction
Each interaction has an input delay, a processing time and a presentation delay. Measuring which part is slow tells you what to fix.
INP measures how quickly the page visibly responds after a tap, click or key press. Good is 200 milliseconds or less. Slow responses usually come from long JavaScript tasks blocking the main thread.
Each interaction has an input delay, a processing time and a presentation delay. Measuring which part is slow tells you what to fix.
| Check | How to tell | Fix |
|---|---|---|
| Is the main thread busy when people tap? | Record an interaction in browser developer tools and look for long tasks before the handler runs. | Defer or break up work that runs during page load.[1] |
| Do event handlers do too much? | Check how long the click or input handler takes to finish. | Do only what is needed for the next visual update, and move the rest to a later task.[1] |
| Is rendering the bottleneck? | Look for a large DOM or big chunks of HTML rendered in JavaScript after the interaction. | Reduce DOM size and avoid rendering large amounts of HTML on the client.[1] |
Your website, fully managed — no big upfront cost.
We design, build, host, maintain and keep improving your site for one simple monthly fee.
A one-off custom build you own outright.
A defined scope and a single fixed quote — delivered once, and yours to keep.
Get a free, no-obligation quote for your project. We respond within 24 hours.