~/talk

Understanding and Optimizing Interaction to Next Paint (INP)

Talkat JSConf Korea 2022 · 2022-09-16..09-17· [web-performance, web-platform]
slides:none on file

Browsers and metrics treat responsiveness as measurable work: 90% of time on pages happens after load, INP uses the Event Timing API to sample all clicks/taps/keys, chooses the single worst interaction or the 98th percentile for busy apps, and marks <=200 ms as good. Field collection uses web-vitals; lab debugging uses Chrome DevTools performance profiler (Chrome 106+) and Performance Insights. Optimizations shown: yield via setTimeout promise, navigator.scheduling.isInputPending, and scheduler/postTask prioritization; INP is still evolving.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Responsiveness in web perf
  3. 2:02Main thread tasks
  4. 3:38Long tasks impact
  5. 4:54Event loop mechanism
  6. 6:47Introducing INP
  7. 8:18INP measures and excludes
  8. 10:55INP calculation
  9. 11:19INP interaction breakdown
  10. 13:59Measuring INP
  11. 15:31Analyzing in DevTools
  12. 16:41Optimizing tasks for INP
  13. 18:32scheduler.yield
  14. 19:16isInputPending
  15. 20:48postTask API
  16. 22:44INP future
  17. 23:06Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.