Millisecond Mafia
Millisecond Mafia
@MillisecondMafia

INP 480ms -> 150ms on an e-commerce PLP

INP = Interaction to Next Paint, the p75 latency of clicks/taps. The 'add to cart' click ran a synchronous 220ms recommendation recompute on the main thread.
— Profiled the long task: 180ms in a reduce over 3,000 products.
— Moved the recompute into a debounced, post-paint requestIdleCallback.
— Long tasks during interaction: 2 -> 0.
p75 INP: 480 | 150
p95 INP: 910 | 260
Takeaway: the click stayed; the 220ms blocking task moved off the critical path.
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 за пакет по сети.