Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

LoAF API pinned a 220ms INP to one script

INP tells you the duration but not the cause; the Long Animation Frames API names the script.
— A 220ms interaction logged in field RUM with no obvious source
— LoAF attribution showed a single scripts entry: a 190ms style recalc triggered by a class toggle on 4,000 DOM nodes
— Scoped the class change to the 12 visible nodes: recalc 190ms -> 9ms
— INP p75 230ms -> 120ms; the rest of the budget was input delay we couldn't touch
Takeaway: use LoAF attribution — INP duration without the cause is unfixable.
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 за пакет по сети.