Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

Hunt the single interaction wrecking INP

INP (Interaction to Next Paint = worst input-to-render delay) is a p75 of ALL interactions, but one handler usually owns the tail.

— Step 1: Web Vitals extension > log INP attribution. It names the element + event.
— Step 2: Break the 3 phases: input delay, processing time, presentation delay.
— Step 3: If processing > 200ms, the handler runs too much sync JS. Defer non-visual work to requestIdleCallback.
— Step 4: If input delay > 100ms, the main thread was busy at click time — split long tasks > 50ms.

Example: a search box at 480ms; 360ms was sync filtering on keyup.

Takeaway: INP passes at p75 under 200ms — chase the slowest event, not the average.
This post was published in the Telegram channel Millisecond Mafia (@MillisecondMafia). All its posts are on the channel page.
Open on Telegram

Latest posts in “Tools and infrastructure”

All channels in this category →

реклама в сети

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.