Grokking the Modern Frontend System Design Interview
0% completed
Exercise: Compute INP from Interactions
Core Web Vitals defined Interaction to Next Paint (INP) as the longest latency from an input to the next painted frame during a visit, ignoring one of the highest values for every 50 interactions. Measuring Real User Performance then noted that a page computing INP from real taps must apply that outlier rule. This exercise applies it to one visit.
The Task
Write `computeInp(latencies)
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%