Vitals 101
Vitals 101
@CoreVitals101

Debugging INP: which tool catches the lag?

Debugging INP: which tool catches the lag?

INP (Interaction to Next Paint) measures the delay between a tap and the screen responding. Two tools help, but at different moments. The web-vitals JavaScript library logs the slowest interaction from real visitors. The Performance panel in DevTools records exactly what your own click triggered.

Think of the library as a security camera and the Performance panel as slow-motion replay.

When to use which:
— You don't know which button is slow: the library, because it points at real culprits.
— You already know the button and want to see why: Performance panel, to watch the long task.

Try this: in DevTools open 'Performance', hit record, click the slow element, stop. Look for a long purple block. That block is your lag. Naming the cause is half the cure.
Этот пост опубликован в Telegram-канале Vitals 101. Подписаться можно по ссылке: @CoreVitals101.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

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

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

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