Re:Google's new metrics: Interaction to Next Paint (INP)
by danielvaughn on Tuesday July 11, 2023 @12:03PM
(#36682952)
At first glance, 200ms INP is a pretty high latency for a "good" rating. As a comparison, I believe 200ms is an average https roundtrip. I'd expect most interactions to be much lower than that.
[ Parent
| on HN ]
Re:Google's new metrics: Interaction to Next Paint (INP)
by photonerd on Tuesday July 11, 2023 @12:08PM
(#36683029)
That was my first impression too but then I thought about what it’s actually measuring: page responsiveness, not animation jank.
I’m not going to expect a 16ms response or anything for every animation but much slower & you see jank.
For page interactivity though? 0.2s is pretty damn fast. Human response time is 0.15-0.25s
So it’s pretty reasonable
Re:Google's new metrics: Interaction to Next Paint (INP)
by 8n4vidtmkvmk on Tuesday July 11, 2023 @04:52PM
(#36687063)
.2s is slow for a redraw. Just because it might take you 200ms to click after something happens doesn't mean you can't see/notice when things take that long.
Re:Google's new metrics: Interaction to Next Paint (INP)
by photonerd on Tuesday July 11, 2023 @05:32PM
(#36687507)
I’m not saying it’s fast. I’m saying that based on the goal of what it is measuring (user input responsiveness) it’s fast enough. For the purposes of the metric anyhow.
Plus, speaking from far too long of a career dealing with user testing, respond too fast and users thing you didn’t actually do anything.
So you’re kind of boned either way. This is just measuring programmatic delay.
Re:Google's new metrics: Interaction to Next Paint (INP)
by klysm on Tuesday July 11, 2023 @12:07PM
(#36682999)
I guess it depends on how your interactions are implemented. If it’s an SPA then 200ms is absurdly slow. But if it’s a more traditional form submit or something then it would take a lot longer for your next set of pixels to comes through.
Re:Google's new metrics: Interaction to Next Paint (INP)
by danielvaughn on Tuesday July 11, 2023 @02:41PM
(#36685430)
Based on the fact that they're hooking into events like onclick, I'd say that they are not looking at traditional form submits, because then the metric would just effectively be First Contentful Paint or something. My interpretation is that they are indeed looking at first paint after an event handler has been fired on the same page.
Re:Google's new metrics: Interaction to Next Paint (INP)
by iamakulov on Tuesday July 11, 2023 @02:57PM
(#36685676)
This is correct (source: working in web perf for 5 years).
INP is the time between you click/press a key/etc and the moment the next paint happens. It’s only measured for on-page interactions, not for navigations.
It’s basically like http://danluu.com/input-lag/ but as a web metric.
Re:Google's new metrics: Interaction to Next Paint (INP)
by danielvaughn on Tuesday July 11, 2023 @05:25PM
(#36687425)
Thanks for confirming, yeah that makes sense. Side note, that input-lag thing is a very cool resource.