News for hackers. Stuff that matters.
Re:Google can't pass its own page speed test by fauigerzigerk on Saturday June 05, 2021 @06:29AM (#27403776)
>Cumulative layout shift is supposed to measure whether your site shifts around while it's loading, but it's so strict that even Google Translate fails the test.

And so it should be. There's hardly anything worse than having things shift around after you start reading, scrolling or clicking on something.

I think it's a very good sign if Google's own sites fail these tests. It means the tests are meaningful.

Re:Google can't pass its own page speed test by cecilpl2 on Saturday June 05, 2021 @08:13AM (#27404248)
Google Search fails the cumulative layout shift test.

I can't count the number of times the "People also search for" box pops up in the middle of my search results 3-4 seconds after load. It's just enough time for me to identify the result I want, move the mouse there, and then proceed click on the new, different link that just loaded under my mouse.

It's infuriating.

Re:Google can't pass its own page speed test by roblabla on Saturday June 05, 2021 @08:50AM (#27404518)
Yeah, I have a custom rule in ublock origin to remove it. It's literally the only custom rule I have, but it happened to me so damn often that it ended up being worth the time to identify the element so I could permanently block it.

In case anyone ever needs it:

    google.com##div[id^="eob_"]
Re:Google can't pass its own page speed test by cco on Sunday June 06, 2021 @05:31PM (#27416520)
Thank you so much! This is such a small little quality of life improvement.

And for others trying, you need to just add this line to uBlock Origin's "Filters" tab, not the "Rules" tab.

Re:Google can't pass its own page speed test by grey-area on Saturday June 05, 2021 @11:08AM (#27405682)
But A/B testing shows people love those links with that behaviour, they follow those links 73.523% of the time!
Re:Google can't pass its own page speed test by Griffinsauce on Saturday June 05, 2021 @11:40AM (#27405941)
You kid but I've seen product teams put interaction metrics like this as OKRs and ruin their product.

"Data driven" development so often forgets about common fucking sense.

Re:Google can't pass its own page speed test by phamilton on Saturday June 05, 2021 @03:15PM (#27407760)
A fun story from a friend at Spotify: one metric they tracked was the time between sign up and first song play. Then one team decided to automatically start playing a song after sign up. They knocked that OKR out of the park!
Re:Google can't pass its own page speed test by seanp2k2 on Sunday June 06, 2021 @01:37PM (#27414746)
This is the result of someone not understanding why they wanted to measure a thing in the first place. I’m assuming that the original intent was ~”sometimes people sign up for Spotify and don’t play anything for a long time, then cancel, possibly because they weren’t getting much value from it.” I’m guessing that someone then decided “Therefore, time between signup and first play is a factor in retention”, which probably isn’t even wrong, but is likely something to not try to directly optimize, or something that needn’t be optimized to the nth degree. In other words, someone taking 15 minutes between signup and first play probably isn’t retained any more effectively than someone taking 15 seconds. I don’t know the exact term for this concept, but it seems like overall engagement is more what they were trying to capture, and somehow the plot was lost, a project was concocted, and auto-play-after-signup was implemented. OKR optimized, but the actual effect on retention is likely zero. Bad OKR and probably indicative of a culture where no one was asking “why” enough / challenging product / marketing initiatives.

I’m making a lot of assumptions here, but I’ve seen this before in a lot of projects where people get worked into a froth optimizing something that will provide no real value to users.

Re:Google can't pass its own page speed test by Griffinsauce on Sunday June 06, 2021 @02:28AM (#27411217)
Great work gang!
Re:Google can't pass its own page speed test by marcosdumay on Saturday June 05, 2021 @03:02PM (#27407686)
It's not common sense, contesting your priors and verifying your assumptions is one of the hardest and most important parts of doing data-driven science.

It's also not surprising that when you take a set of random people without science training, they'll just cargo-cult the most visible parts and forget about the hidden, essential ones. It should also not surprise anybody what part they forget about, since the calgo-cult speech is literally about this exact problem, but with trained scientists (did I say it was hard?) instead of random people.

Re:Google can't pass its own page speed test by Griffinsauce on Sunday June 06, 2021 @02:33AM (#27411233)
I think our thoughts aren't mutually exclusive.

Good science > intuition/experience/best practices etc > bad science.

I suspect we agree that a lot of product development is based on bad science. Yes doing good science would be best, but let's at least stop doing bad science.

Re:Google can't pass its own page speed test by marcosdumay on Sunday June 06, 2021 @01:11PM (#27414552)
Oh, the problem is that it's not as simple as intuition/experience/etc being better than bad science. Often enough your intuition is just wrong, and bad science is just right.

A better way is dealing with confidence values with your intuition, and changing the required quality of science based on the confidence of the priors you are trying to verify. But then, this is hard too.

The real problem here is that, as you complained, those people aren't just competent enough on the work they are doing. I guess my point is only that this shouldn't be surprising, as it's a hard job.

Re:Google can't pass its own page speed test by seanp2k2 on Sunday June 06, 2021 @01:26PM (#27414659)
I can’t find the article but I read a piece years ago about Google algorithmically trying to optimize sign-up links / a button, and the algorithm being in a feedback loop with the A/B testing. It talked about finding the perfect, to-the-pixel placement for a button.

That was when I knew design was dead in practice at Google. There are so many other under-optimized parts of the experience that I have no idea how “if I could only find the perfect position on the screen for a button” became the question someone was willing to throw that level of engineering at. It’s missing the forest for the trees x 10^100.

Re:Google can't pass its own page speed test by grey-area on Sunday June 06, 2021 @01:56PM (#27414891)
I think I read about their ‘data driven’ decision on the colour of links.

https://www.theguardian.com/technology/2014/feb/05/why-googl...

The problem with this sort of decision making is it ignores context and is liable to optimise one metric under study at the expense of other more important things (like user trust and retention). It also tends to bias towards easily measured small changes measured in isolation so it encourages blind decisions made without context or coordination.

For example a certain colour might mislead users into clicking more by making a link look like the purple default visited link colour. It makes clicks go up but may not increase user satisfaction.

Re:Google can't pass its own page speed test by karmakaze on Saturday June 05, 2021 @12:13PM (#27406247)
Did these tests rule out that people just click on links on that area of the page?
Re:Google can't pass its own page speed test by lstamour on Saturday June 05, 2021 @02:15PM (#27407341)
That’s the joke.
Re:Google can't pass its own page speed test by karmakaze on Sunday June 06, 2021 @06:49PM (#27417063)
Realized this too right after I wrote it and left it thinking it's good for clarity and posterity.
Re:Google can't pass its own page speed test by anonymousab on Saturday June 05, 2021 @12:20PM (#27406310)
The actual motivation or causation doesn't matter. All that matters is that some team or product lead can justify a decision or a promotion, or even just an ideology, using the data in some way.
Re:Google can't pass its own page speed test by frosted-flakes on Saturday June 05, 2021 @10:46AM (#27405495)
The YouTube app for Android even does this. I have slow Internet, so I always read the description while the video loads. But often when I go to click the description box to expand it, a banner ad loads in its place and pushes the description down.
Re:Google can't pass its own page speed test by Traubenfuchs on Saturday June 05, 2021 @11:26AM (#27405821)
That box is obviously and clearly malicious.
Re:Google can't pass its own page speed test by catlifeonmars on Saturday June 05, 2021 @03:32PM (#27407882)
I don’t know if I would go that far. Do you have evidence of this?
Re:Google can't pass its own page speed test by oblio on Saturday June 05, 2021 @05:31PM (#27408621)
It's the most used webpage on the planet and for sure their 300 IQ engineers run into this daily.

That entire page probably had tens of thousands of UX work put into it.

If it works like that, it's intentional.

Re:Google can't pass its own page speed test by seanp2k2 on Sunday June 06, 2021 @01:42PM (#27414780)
I saw a thing before talking about how much each byte of code on the Google homepage costs to deliver. I wondered then why the homepage isn’t just integrated into their browser, as in literally ship the code for it and load it from local cache. I guess the URL bar already does that.
Re:Google can't pass its own page speed test by janci on Saturday June 05, 2021 @04:04PM (#27408071)
I'm starting to think this is on purpose. Sometimes I get tricked twice, after pressing back and immediately going to click the correct link this little bastard materializes under the cursor.
Re:Google can't pass its own page speed test by diveanon on Saturday June 05, 2021 @08:20AM (#27404293)
At this point you have to assume that is by design.
Re:Google can't pass its own page speed test by maccard on Saturday June 05, 2021 @09:55AM (#27405050)
It's more likely the people who develop and test and prioritize the features live in mountain view, with 5g and gigabit fiber with ultra low latency to the data centers.
Re:Google can't pass its own page speed test by dylan604 on Saturday June 05, 2021 @01:29PM (#27406947)
That's why the dev tools in browsers have an option to simulate slower data speeds to test this kind of thing. Having good connectivity and failing to provide a useable experience for slower connections is just bad dev work.
Re:Google can't pass its own page speed test by catlifeonmars on Saturday June 05, 2021 @03:35PM (#27407903)
Or, it’s a symptom of the ownership of the search experience being smeared out through a large organization.
Re:Google can't pass its own page speed test by prollings on Saturday June 05, 2021 @11:47AM (#27406013)
Sure, but these people must have left that golden zone at some point and had their clicks stolen like the rest of us.
Re:Google can't pass its own page speed test by 0xffff2 on Saturday June 05, 2021 @11:38PM (#27410569)
When I lived in Mountain View the absolute fastest internet connection I could get at home was 100mbs Comcast that was never that fast and had all kinds of bizarre and inexplicable random latencies. My internet is faster and infinitely more reliable since I moved to rural Southern Oregon mid pandemic.
Re:Google can't pass its own page speed test by seanp2k2 on Sunday June 06, 2021 @01:50PM (#27414844)
Hahahahaha, my biggest surprised moving to Silicon Valley right down the street from Google was how even in their local neighborhood, Comcast still had a monopoly on internet access. My apartment offered the choice between Comcast or no internet. Even today, FTTH in the Bay Area is not commonly available and indeed we can’t get it in our neighborhood, only FTTN with no guaranteed speeds. UVerse won’t even install at our address, so we’re stuck with Comcast still. Sonic is over ATT’s last mile and they won’t install at our address.
Re:Google can't pass its own page speed test by rightbyte on Saturday June 05, 2021 @09:29AM (#27404821)
Ye. It is like those adds in Android apps that happen to load where the button you try to click was.

It is obvious someone at Google is trying to game some metric with accidental clicks.

Re:Google can't pass its own page speed test by tomcooks on Saturday June 05, 2021 @08:44AM (#27404468)
I don't understand the downvotes you are getting, considering how they used such tricks whenever possible
Re:Google can't pass its own page speed test by Blikkentrekker on Saturday June 05, 2021 @11:36AM (#27405907)
> 3-4 seconds after load. It's just enough time for me to identify the result I want, move the mouse there, and then proceed click on the new, different link that just loaded under my mouse.

You have in duplex in one small fragment enunciated wonderfully why the rodent is never to be used for anything but video games and image editing.

Re:Google can't pass its own page speed test by tomerv on Saturday June 05, 2021 @04:53PM (#27408380)
It took me several tries to understand this comment. In the first pass it looks like the result of some kind of Markov chain text generator.
Re:Google can't pass its own page speed test by adkadskhj on Saturday June 05, 2021 @10:06AM (#27405143)
> And so it should be. There's hardly anything worse than having things shift around after you start reading, scrolling or clicking on something.

Oh my god, this is one of my largest complaints. I'm an impatient person so i often go to click something before the page is done - bad me - and so often JS loads and swaps buttons.

Honestly though i've had that complaint about my OS', too. The number of times i'm typing and something pops up and steals focus or i go to click something and moments before it shifts causing me to click something else.. ugh.

Re:Google can't pass its own page speed test by kmeisthax on Saturday June 05, 2021 @03:02PM (#27407688)
If I was a native widget toolkit designer or web developer I'd implement a rule that all layout changes must be rendered and on the screen 150ms before input handling can use them. Lag compensation for local user input. If you click a button at the same time it moves, you should still click what was on the screen at the time you pressed the button.

Yes, I know this effectively means having to keep two copies of the widget tree (one for input and one for output) and applying all changes as diffs. Don't care. I'll buy more RAM.

Re:Google can't pass its own page speed test by reaperducer on Saturday June 05, 2021 @10:18AM (#27405257)
When I switched to Mac, that was one of the most refreshing things about OSX: apps weren't allowed to steal focus.

Sadly, that's no longer true.

Re:Google can't pass its own page speed test by ancarda on Saturday June 05, 2021 @12:50PM (#27406593)
Is that a very recent change? I don't know that I've ever noticed that on macOS, but I started using this OS around Lion, I think
Re:Google can't pass its own page speed test by seanp2k2 on Sunday June 06, 2021 @02:03PM (#27414944)
I know something worse: websites that force you to use their app, providing links that don’t actually take you to that content in the app. Two examples with the same experience: Instagram and Reddit. They block functionality on the mobile web pages in Safari, pop up large buttons to get you to use the app, then those buttons take you to the iOS App Store page even though I already have each installed, then clicking “open” there just opens each app to the default home page, NOT the content I was trying to access but was subsequently blocked from accessing.

Result: I decide that I don’t care about that content anyway and just go do something else. Trying to log in via mobile site, forgetting my password, going through the reset flow, logging in again because my pw reset session happened in GMail’s safari context session and didn’t save cookies to main safari, all while being hounded constantly that “it’s better in the APP!”…just keep it.

Pinterest is uniquely bad because the thing you see the photo of doesn’t actually take you to the place where that came from. Add in all the ads, the page wasting tons of space with spacing / white space / low density, the placement on Google for so many thing, and I cringe whenever I see a Pinterest result. Quora isn’t much better.

Amazon and eBay at least take you to the right place with their “open in app” bars at the top of the page. Not an iOS dev but I’m assuming they’re using some special Safari APIs to do that instead of useless generic App Store links that don’t pass through context.

I really wish Google / Apple would punish sites for doing this, since it leads to such a bad UX. Please think about that, marketing and product people: I literally already have your apps, but you’ve made the mobile web page so annoying in trying to get me to use the app, that any interesting content I do find via SERP I discard instantly as inaccessible due to the hassle of trying to search for that same content through your apps, because you’ve intentionally broken the mobile web experience.

Re:Google can't pass its own page speed test by hateful on Saturday June 05, 2021 @08:44AM (#27404467)
At my second job around 2004 my boss was very strict about not having the page move on load, it was a big deal. But over the years, especially recently, I've noticed so many sites and apps that shift constantly and it seems that it's not a priority anymore.

Just yesterday, opening the Amazon app, and the "Orders" button shifted before I could click it!

Re:Google can't pass its own page speed test by epistasis on Saturday June 05, 2021 @10:56AM (#27405578)
Web development has gone a long ways backwards over the years. The tech is so complicated that developers focus on their own productivity over basic user experience. It feels like it's been a long long long time since I've even seen a web article focus on good UI, instead it's all about how to handle all the layers of complexity or new tooling.
Re:Google can't pass its own page speed test by bryanrasmussen on Saturday June 05, 2021 @10:21AM (#27405282)
is your old boss still around - how is his site?
Re:Google can't pass its own page speed test by swiley on Saturday June 05, 2021 @09:35AM (#27404870)
Google's pages are some of the worst for this.

It's not hard to build pages without these problems but everyone is way too caught up in fancy web design they ignore UX.

Re:Google can't pass its own page speed test by rsynnott on Saturday June 05, 2021 @07:01AM (#27403923)
On the other hand, it means that Google has stopped caring about UI performance. Of course, anyone who’s used Google Groups lately could tell you that.
Re:Google can't pass its own page speed test by Tempest1981 on Saturday June 05, 2021 @01:31PM (#27406961)
My theory is that they test this on their 10 Gbit company network, and high-end laptops, and it works great. So it's hard to convince anyone that it's a problem.
Re:Google can't pass its own page speed test by lrem on Saturday June 05, 2021 @04:02PM (#27408062)
In the office we are strongly encouraged to try our stuff with the WiFi network degraded to perform like EDGE (apparently nobody cares about GPRS any more). Obviously that hasn't been exercised much since last spring.
Re:Google can't pass its own page speed test by tdaltonc on Saturday June 05, 2021 @09:36PM (#27409971)
Most Google offices have multiple wifi networks for simulating different kinds of degraded connectivity.
Re:Google can't pass its own page speed test by refulgentis on Saturday June 05, 2021 @08:05AM (#27404201)
I'm not sure its reasonable to jump from "Google Translate has a jump' to "Google has stopped caring about UI performance"
Re:Google can't pass its own page speed test by rsynnott on Saturday June 05, 2021 @08:42AM (#27404448)
As I say, compare Google Groups today to Google Groups 10 years ago. Or gmail. Or Calendar. Though Groups is possibly the best example, as it went, more or less overnight, from one of Google's snappiest properties to about its most sluggish.

Google used to be very concerned about UI performance, but they seem to have totally lost interest in it.

Re:Google can't pass its own page speed test by trasz on Saturday June 05, 2021 @10:04AM (#27405130)
Priority is the ads display performance; search or news are just an addition to the actual business.
Re:Google can't pass its own page speed test by sim_card_map on Saturday June 05, 2021 @10:17AM (#27405249)
or Gmail for the last 10 years
Re:Google can't pass its own page speed test by Alex3917 on Saturday June 05, 2021 @07:51AM (#27404143)
> There's hardly anything worse than having things shift around after you start reading, scrolling or clicking on something.

Most sites that fail for CLS don't have any CLS that's visible to the user.

Re:Google can't pass its own page speed test by aparsons on Saturday June 05, 2021 @08:40AM (#27404437)
YouTube does this notorious thing where the ad above the first search result appears after the results, so you accidentally click the ad.
Re:Google can't pass its own page speed test by pclmulqdq on Saturday June 05, 2021 @08:45AM (#27404482)
It's almost as if they get paid per click on that ad...

There's no incentive for them to fix this, unfortunately. Everywhere else on YT there's a nice gray box that keeps the place of a UI element until that element loads.

Re:Google can't pass its own page speed test by dazc on Saturday June 05, 2021 @11:13AM (#27405711)
I don't think anyone would disagree but, as things stand, you can have a page where things DO NOT visibly 'shift around' but still fail the test.

I feel sorry for all the developers who are going to be inundated with complaints because their client's sites have failed yet another perceived important benchmark.

Re:Google can't pass its own page speed test by epistasis on Saturday June 05, 2021 @04:06PM (#27408087)
Visible to whom?

Web developers often have no clue how their page appears to others, because they are developing locally, and the production site is close and has few network issues.

So a lot of developers that think everything is fine end up having no clue what most people experience.

When web fonts first started seeing widespread use, I would very frequently see 2-10 second delays when all content had loaded except for the font, including massive images, but I couldn't see any text. When I complained about this trend in the web to web developers I knew, almost none of them even seemed to believe it was possible, or at worst I was just a very unlucky user.

Re:Google can't pass its own page speed test by dazc on Sunday June 06, 2021 @03:31AM (#27411439)
It should be obvious to a developer that he/she should test outside of this closed enviroment but, I agree that it's possible many do not.

I stand by the statement that you can still fail the test despite having content that does not 'visibly' shift though.

Re:Google can't pass its own page speed test by fauigerzigerk on Sunday June 06, 2021 @04:58AM (#27411775)
So what would cause this kind of shift?
Re:Google can't pass its own page speed test by daed on Saturday June 05, 2021 @02:39PM (#27407513)
Gmail shifts almost every time I click on the Promotions tab. I go to click my top unread email and instead end up clicking an ad.
Re:Google can't pass its own page speed test by tyingq on Saturday June 05, 2021 @10:14AM (#27405221)
"I think it's a very good sign if Google's own sites fail these tests. It means the tests are meaningful."

I agree, that appears to be a good sign. I am curious to what degree Google will reward fast sites and punish slow ones. I wonder if they are willing to make big shifts in the rankings.

Re:Google can't pass its own page speed test by zelphirkalt on Saturday June 05, 2021 @07:01AM (#27403927)
I feel like there should be additional constraints. For example a page that looks so simple like the google search page should have a limit on how much code it needs to get there. Basically a bloat alarm, lighting up in red, once bloat is detected. And it would be redder than red for Google itself and things like YouTube.
Re:Google can't pass its own page speed test by atkbrah on Saturday June 05, 2021 @01:00PM (#27406678)
I think sometimes windows settings (the modern settings application) fails at this too.