Skip to main content
InterviewHubPRO
Section Overview
Q25

Question 25 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

50%
Web Vitals & Performance (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Deep Dive into the INP Measurement Algorithm.

senior LevelSystem Design

In Simple Words: How Chrome computes your site's INP score:

  1. Every click, tap, and keypress interaction event (consisting of pointerdown, pointerup, click) is tracked as a group.
  2. The duration of an interaction is calculated as the time from the earliest event to when the next frame finishes painting.
  3. For pages with $<50$ interactions, the worst interaction is the INP.
  4. For pages with $>50$ interactions, Chrome ignores 1 high interaction for every 50 interactions (to eliminate statistical outliers) and takes the 98th percentile.