Performance
Troubleshoot Slow INP in Forms and Dashboards
Find the interaction that feels delayed and separate input delay, work in the handler and painting cost.
Reproduce the slow action
INP stands for Interaction to Next Paint. It reflects the latency of interactions over a visit, with emphasis on slow interactions. Identify the action that feels late: typing in a field, switching tabs, sorting a table or submitting a form. A general page load test may not exercise it.
Record a trace while reproducing that action on a realistic device or a reasonable CPU slowdown. Check what occupied the main thread before the handler ran, how much work the handler performed, and what the browser needed to render afterward. Each part has a different remedy.
Fix the right stage of a sample interaction
Imagine typing one letter in a keyword filter. An analytics script may occupy the thread before the input event runs. The handler may then filter and sort 8,000 rows twice. Finally, the browser may recalculate layout for the whole table. Delay noncritical scripts, remove duplicate calculations and limit how much markup updates for that keystroke.
For a form that waits on the network, show a useful pending state as soon as the action begins. Fast visual feedback can clarify that the click registered. The eventual data request can still take time. Separately measure whether the browser painted the feedback promptly and whether the server returned a useful result.
Inspect the rest of the workflow
Run the full user sequence, including editing values, clicking back, sorting again and opening details. A fast first interaction can hide a slow second one when additional widgets have loaded. Use comparison traces for the same interactions and check that the fix preserves keyboard navigation and focus.
Measure representative inputs
A filter may feel instant with 50 rows and slow with a realistic import of several thousand. Test both, and log the row count with the measured interaction. If a result is rendered in batches, check that key presses are still accepted and a second query cancels stale work. Users care about whether the screen responds correctly to the latest action as much as whether the first paint happens quickly.
Frequently asked questions
Is INP the time taken by an API request?
No. It measures interaction responsiveness through the next paint. An API request can be slower than the UI feedback that acknowledges it.
Can debouncing improve INP?
It can reduce repeated work where appropriate. Immediate visual response should remain available for the interaction itself.
Will a faster server fix every slow click?
No. Main-thread work and expensive rendering can dominate even when the network is fast.