News for hackers. Stuff that matters.
Re:Web Vitals: essential metrics for a healthy site by compacct27 on Tuesday May 05, 2020 @02:06PM (#23082890)
These are great, but increasingly none of our web app's performance issues relate to any of these metrics.

Memory leaks, slow typing, UI interactions like opening a modal that shouldn't be taking 8s+, where's the literature on how those affect user satisfaction?

Re:Web Vitals: essential metrics for a healthy site by dfabulich on Tuesday May 05, 2020 @03:24PM (#23083809)
> slow typing, UI interactions like opening a modal that shouldn't be taking 8s+, where's the literature on how those affect user satisfaction?

That's right there in the post. Google calls these things "input delay." One of the three primary metrics called out in Google's post is FID, "first input delay," which is the delay on the first user interaction.

(Subsequent input delays are also bad for users, but subsequent input delays are usually only as bad as the first input delay.)

Re:Web Vitals: essential metrics for a healthy site by kaycebasques on Tuesday May 05, 2020 @04:09PM (#23084394)
> (Subsequent input delays are also bad for users, but subsequent input delays are usually only as bad as the first input delay.)

I'm not sure about this statement. It sounds reasonable but I can't recall seeing any research about FID being a proxy for all input delay throughout the entire duration of a session. I would hypothesize that optimizations that improve FID would also tend to improve input delay in general. My main message here is just that I haven't seen that research.

Re:Web Vitals: essential metrics for a healthy site by igrigorik on Tuesday May 05, 2020 @04:55PM (#23084958)
Input delay is bad, period.

It's not a matter of first vs rest but observation that input while the page is loading is, often, where most of the egregious delays happen: the browser is busy parsing+executing oodles of script, sites don't chunk script execution and yield to the browser to process input, etc. As a result, we have FID, which is a diagnostic metric for this particular (painful) user experience problem on the web today.

Note that Event Timing API captures all input: https://github.com/WICG/event-timing. First input is just a special case we want to draw attention to due to the reasons I outlined above. That said, we encourage everyone to track all input delays on their site, and it's definitely a focus area for future versions of Core Web Vitals -- we want to make sure users have predictable, fast, response latency on the web.

Re:Web Vitals: essential metrics for a healthy site by Jaygles on Tuesday May 05, 2020 @02:52PM (#23083415)
I think those metrics aren't brought up as much in the blogosphere because they are harder to measure. Those metrics will be unique to the context of the app they're measured in. The metrics talked about in the article are ones that can be determined easily in the context that Chromium is working in.
Re:Web Vitals: essential metrics for a healthy site by kaycebasques on Tuesday May 05, 2020 @03:49PM (#23084113)
> where's the literature on how those affect user satisfaction?

As someone else mentioned, it seems like all the issues you mentioned ultimately create user dissatisfaction because of input delay. In which case FID seems like it'd be a good metric for you to target. I'm not sure about the claim that if you improve FID then all input delay will be reduced for the entire duration of a person's session with your site, but I imagine that FID and general input delay are directly correlated. This is just conjecture however and is not a statement backed by research.

Here's a summary of some general research on how users perceive input delay: https://developers.google.com/web/fundamentals/performance/r...

(Tangentially related) The new performance.measureMemory() API may help you correlate memory leaks with business metrics: https://web.dev/monitor-total-page-memory-usage/

Re:Web Vitals: essential metrics for a healthy site by dflock on Tuesday May 05, 2020 @02:18PM (#23083023)
There is copious, voluminous literature stating that users hate slowness in all it's forms?
Re:Web Vitals: essential metrics for a healthy site by compacct27 on Tuesday May 05, 2020 @02:24PM (#23083083)
I believe it, but I mostly hear about how user retention drops off if the website takes more than 1s to load.

And while I believe other types of slowness make users unhappy without seeing the literature, the people driving our priorities don't see the $ impact at all

Re:Web Vitals: essential metrics for a healthy site by gumby on Tuesday May 05, 2020 @02:39PM (#23083272)
I hate slow sites and am pretty aggressive about bailing on anything that I consider slow.

But speed is a visitor's feature, not a benefit. The benefit (to the web site operator) of an ecommerce site is $ spent by visitor.

So for example yes, the Amazon site feels slow and bloated, but they've been doing live A/B testing for over 20 years and I'm pretty sure they don't care about speed unless it affects conversion; they'll be happy to cram something in even if it slows the site down, if it increases revenue.

Re:Web Vitals: essential metrics for a healthy site by SamReidHughes on Tuesday May 05, 2020 @08:42PM (#23086762)
Amazon seems pretty darn fast to me. You click and stuff happens. It's faster than Twitter or Github (the first two sites I compared it with).
Re:Web Vitals: essential metrics for a healthy site by superkuh on Tuesday May 05, 2020 @02:29PM (#23083150)
Your site is already unhealthy no matter what because it's not a website. It's an application that just happens to also use http and browsers.
Re:Web Vitals: essential metrics for a healthy site by coldtea on Tuesday May 05, 2020 @02:40PM (#23083286)
>If you require executing javascript to display things you've already lost and your site is already unhealthy no matter what because it's not a website.

That ship has sailed, nobody cares if it's not a "website" as in HTTP only, including 99% of users...

Re:Web Vitals: essential metrics for a healthy site by henriquez on Tuesday May 05, 2020 @02:50PM (#23083396)
You say “nobody cares,” but I and many people I know and work with do care! I understand your point of view but maybe you should try to understand where others are coming from.
Re:Web Vitals: essential metrics for a healthy site by SketchySeaBeast on Tuesday May 05, 2020 @03:00PM (#23083523)
> I understand your point of view but maybe you should try to understand where others are coming from.

Can you make an argument for it? It kind of feels like a movie critic trying to explain why the Transformers are bad, even though they still rake in billions. If the Transformers changed to make the critic happy, it at best would have no impact on the billions, in all likelihood it would cause a regression, and so the critic needs an incredibly compelling argument.

Re:Web Vitals: essential metrics for a healthy site by seph-reed on Tuesday May 05, 2020 @03:37PM (#23083959)
> the critic needs an incredibly compelling argument

Popularity is a B.S. metric of correctness, quality, or pretty much anything other than zeitgeist.

It blows my mind that people still argue there is causality between quality and popularity. Certainly, there's correlation sometimes, but something does not need to be quality to be popular, nor is quality always popular. I mean, Van Gogh wasn't recognized until death. And you saw the 2016 US elections right?

Re:Web Vitals: essential metrics for a healthy site by coldtea on Tuesday May 05, 2020 @03:53PM (#23084163)
>Popularity is a B.S. metric of correctness, quality, or pretty much anything other than zeitgeist. It blows my mind that people still argue there is causality between quality and popularity.

Yes, but "quality" is a fuzzy and personal metric in many domains...

Or conversely, "quality" can be defined as "popular with the critic type" in these domains - so it's still just a kind of popularity metric...

Re:Web Vitals: essential metrics for a healthy site by seph-reed on Tuesday May 05, 2020 @05:19PM (#23085189)
Eh. I think you're intentionally making things fuzzy.

If you have a bunch of Bowerbird watching the movie, it better have the color blue to be popular with them. We can reduce their "shit-test" list to something simple which obviously overlaps minimally with what is a reasonable definition for quality.

I'll yield that the Transformer movies do have phenomenal CGI, and that people who like them are in fact discerning of the quality within that. But this is just one dimension of "quality," and I highly doubt the critic is unaware of it.

The truth is that modern popularity is based off a narrow subset of shit-tests which are easily duped (Trump passed). Meanwhile there are many critics who aim to have a much broader and accurate shit-testing system. Some of them get up their own ass about trying to be above common shit-tests, and in the process they debase critics as a whole. All shit-tests matter.

But the point is that most people are really, really easily hackable and calling something that gets through their defenses a "quality hack" is lame. It's like hacking peoples wordpress sites from 2000.

Re:Web Vitals: essential metrics for a healthy site by coldtea on Tuesday May 05, 2020 @05:26PM (#23085268)
>The truth is that modern popularity is based off a narrow subset of shit-tests which are easily duped (Trump passed).

I don't think quality, or, for that matter, political choices (as in your example), are that simple to judge.

E.g. Trump might have won, but not necessarily because people were "duped", but because they was not much better on offer -- it was either a Rob Schneider fart movie (Trump), or a pretentious emotionally-dead tone-deaf to many issues Hollywood oscar-bait (Hillary).

Re:Web Vitals: essential metrics for a healthy site by seph-reed on Tuesday May 05, 2020 @06:46PM (#23086019)
> I don't think quality, or, for that matter, political choices (as in your example), are that simple to judge.

Of course not. Every judgement is ultimately a failed attempt at omnipotence. But we try anyways, and there is such thing as progress. We can get closer, especially relative to each-other.

There's a great joke that the only probabilities humans believe in are 0%, 100%, and 50%. Basically anything that isn't certain is likely going to be treated like 50% by most people. It seems to be central in "equality of opinions," or "my ignorance is just as good as your knowledge."

To summarize, I think the following is a fun reductio-ad-absurdum argument, but ultimately not true: "There is no 100% accurate way of measuring quality, therefor all means of measurement are equally meaningless."

If it was true, there would be no point in symbols or abstractions of any sort.

Re:Web Vitals: essential metrics for a healthy site by SketchySeaBeast on Tuesday May 05, 2020 @03:48PM (#23084100)
> Popularity is a B.S. metric of correctness, quality, or pretty much anything other than zeitgeist.

In the case of transformers it's also a measure of money made, which, being incredibly pragmatic here, is also the point of most website people are paid to work on.

I'm not trying to say that all other measures don't have value or anything like that, I'm just trying to be practical in terms of the needs and goals of most modern websites. I'd much prefer every website was made "right", but "right" is nebulous and expensive.

Re:Web Vitals: essential metrics for a healthy site by henriquez on Tuesday May 05, 2020 @03:08PM (#23083616)
I wrote a (lengthy) post on this: https://www.obsessivefacts.com/blog/2020-04-04-the-javascrip...

In the language of your analogy it would be "Transformers are unethical!" Our collective obsession with making billions is ruining entertainment media / the Internet / everything unfettered capitalism touches ;)

Re:Web Vitals: essential metrics for a healthy site by LunaSea on Tuesday May 05, 2020 @04:49PM (#23084887)
But you are entering the realm of philosophy not reality.

Fact is, applications and websites mostly exist for commerce.

Re:Web Vitals: essential metrics for a healthy site by superkuh on Wednesday May 06, 2020 @08:41PM (#23098314)
What if the transformers movie was also spying to make money and was the primary cause of remote exploits, crashes, and fraud? Because javascript is.