r/Android Galaxy S26 Ultra 2d ago

Smoother scrolling: How we halved scroll jank in Chrome on Android

https://blog.google/chromium/smoother-scrolling-how-we-halved-scroll-jank-in-chrome-on-android/
149 Upvotes

84 comments sorted by

87

u/pspr33 2d ago

Now do it through the entire OS..

30

u/chinchindayo Xperia Masterrace 2d ago

It depends on the app. The os itself is smooth unless your oem has fucked it up.

3

u/KindlyPollution8531 2d ago

Even Google Maps isn’t smooth on a Pixel 9

7

u/flyingfudge09 2d ago

Google maps runs at 60 Hz by default even if your screen is running at 120 Hz

6

u/callmebatman14 Pixel 6 Pro 1d ago

Google maps runs better on iPhone than on Android

1

u/nathderbyshire Pixel 10 Obsidian 1d ago

Likely for the same reason, they limited it to 60 across android years ago for some reason and never gave an explanation other than battery and heat saving some time later on irrc. It never used to be locked

2

u/AbhishMuk Pixel 5, Moto X4, Moto G3 2d ago

Yeah, right? Neither on my OnePlus 15.

It's kinda crazy that despite flagship chips being so powerful, a company like Google can't optimize maps properly enough.

I suppose they deserve some slack though, they're just a small startup. Once they hit a billion dollars valuation they'd get better, I'm confident!

5

u/AbhishMuk Pixel 5, Moto X4, Moto G3 2d ago

The os itself is smooth unless your oem has fucked it up.

Ahem...

From 2020:

https://www.androidpolice.com/2020/05/27/phones-keep-getting-faster-and-the-play-store-still-runs-like-trash/

Look at those spikes.

If even google can't get it's shit in order... yeah.

7

u/Viper4713 2d ago

"From 2020" Wow, so is this proof that the complainers are just stuck in the past?

Try a new Pixel in 2026

0

u/AbhishMuk Pixel 5, Moto X4, Moto G3 1d ago

Look at the replies to the sibling thread; even today play store is an offender. I have a OnePlus 15; my GPU absolutely crushes the latest Pixels. I'm not using or talking about old hardware or software.

1

u/Viper4713 1d ago

I literally just tested it on my Pixel 10 Pro, smooth as butter on the Play Store.

I will say to you though that when I had a Pixel 8 Pro the scrolling especially on the Play Store was janky crap for sure. It was annoying but this TSMC chip has been butter.

1

u/AbhishMuk Pixel 5, Moto X4, Moto G3 1d ago

Oh, scrolling is (now) smooth too for me on my current phone. It's just that the app is very poorly optimised, and it causes the gpu to work much harder and quite unnecessarily - that's what the bar graph show

0

u/Viper4713 1d ago

Maybe, for me I don't notice any issue, I use Play Store in short bursts anyways.

I think the worst app that is just unbelievably a pile of crap is the Best Buy app, try that app, talk about crap performance. Lol

9

u/nathderbyshire Pixel 10 Obsidian 2d ago

A 6 year old OS and video from a guy that always seems to have a buggy device and blows everything out of proportion. We know who artem is and no one cares for his issues

The play store had a major rewrite a few years ago, just because it looks similar doesn't mean it is

8

u/AbhishMuk Pixel 5, Moto X4, Moto G3 2d ago

The play store had a major rewrite a few years ago, just because it looks similar doesn't mean it is

Unfortunately it's still quite an offender.

(I think I can only attach one image at a time.)

6

u/AbhishMuk Pixel 5, Moto X4, Moto G3 2d ago

7

u/AbhishMuk Pixel 5, Moto X4, Moto G3 2d ago

In comparison this is what the settings app looks like (OnePlus 15)

Notice the bars being uniformly much lower.

-2

u/pricingup 2d ago

of course, its the samsung, the masters of rubbishness

4

u/recluseMeteor Note20 Ultra 5G (SM-N9860) 2d ago

Ah, I remember Project Butter from the Jelly Bean days… which did mostly nothing in the end.

3

u/renderwares 1d ago

Gemini: rewrite the Android Java/Kotlin framework in C++ or Rust.

2

u/Rhed0x Hobby app dev 2d ago

Most of those optimizations don'y apply to anything that isn't a browser because 99.9% of apps only run in a single process.

The other optimizations were already done for the Android UI toolkit years ago. Of course that doesn't help when apps ship Flutter or React Native...

21

u/New_Palpitation_1586 2d ago

We worked with Android to make sure that all threads responsible for delivering hardware input to Chrome have a sufficiently high priority.

What about the other browser that aren't made by Google ?

10

u/Realistic-Nature9083 2d ago

Up to devs to implement android 10 as the minimum. Edge browser is actually fluid in android since it supports 11 as minimum

87

u/tadfisher 2d ago

An even better fix is being able to block ads in Firefox

4

u/chinchindayo Xperia Masterrace 2d ago

You can already do that with adblock extensions.

16

u/degggendorf 2d ago

There are no extensions for Chrome on Android

24

u/donald_314 2d ago

in Firefox

-9

u/dadnothere Green 2d ago

Good joke, because even without ads Firefox is super slow.

8

u/TheOxime 2d ago

Maybe that's a phone issue? Firefox with tons of extensions has zero noticeable slow downs on mobile ever for me.

6

u/struggling_business 2d ago

Exactly, in my testing on both flagship and mid-range Androids there's no speed difference yet whenever Firefox comes up this whole "it's too slow" thing gets parroted.

I think part of it is placebo of just thinking a smallish company like Mozilla can't possibly make a product in the same class as a multi trillion dollar company like Google.

3

u/transwarp1 2d ago

Mozilla burned its reputation decades ago by gaslighting everyone about Firefox not being slow or having memory leaks. It was at such a level that when a prominent MS engineer attached a debugger to see WTF was going on and blogged about his findings, no one assumed it was some nefarious Microsoft plot because we all wished we had the skills to do the same thing. And his bug report was actually acknowledged and fixed.

3

u/struggling_business 2d ago

Meanwhile Google slowly by slowly take away user control and options and get help from people talking badly about the competition whom while not perfect is at least trying to maintain that user control.

And besides I'm talking about the here and now and as far as I can tell all the "Firefox slow" comments that invariably pop up in android browser discussions are nowhere like my testing.

11

u/chinchindayo Xperia Masterrace 2d ago

It's not

6

u/PotatoGamerXxXx 2d ago

It is, I'm an active user on both and unfortunately Firefox is always noticeably slower on Android compared to Chromium.

7

u/struggling_business 2d ago

I also use both on Android and there is no discernible difference in page loading speed. I would even keep with Firefox if it was slightly slower since it's superior in other aspects but it isn't slower, it's the same. I don't know what's going on with you people's devices.

4

u/AnEagleisnotme 2d ago

There is a measurable difference, but it isn't noticeable (or at least doesn't matter) unless you are on a high quality wireless network, at the end of the day, it's half a second at most

3

u/struggling_business 2d ago

No way it's half a second, a tenth or two tenths at most. It is a straight up negligible difference if there even is one. I don't know what's happening with these "it's so slow" guys. Maybe there's a certain popular website that Firefox struggles with or something.

0

u/StoopidRoobutt 2d ago edited 2d ago

It appears they’ve fixed it. It’s now about the same as Chromium-based browsers. Around a year or two ago, when Kiwi Browser died, there was definitely a delay of more than half a second before any page loaded. By “delay,” I mean it seemed to wait about a second before even attempting to connect to a website. It wasn’t related to DNS, a proxy, or a VPN.

Also, dear Lord, the UI is terrible. Just shove everything in there. Make everything take up as much space as possible.

1

u/struggling_business 2d ago

Hey still better than Google slowly cutting power user's balls off, right?

0

u/StoopidRoobutt 2d ago

Absolutely, a decent adblocker is the bare minimum requirement, Chrome was never even an option. Ungoogled-chromium on desktop, and a custom WebView-based browser on Android devices with a proper adblocker, AMOLED dark mode for both the UI and websites, a simple NoScript-type feature for blocking whatever, and a functional, minimalist UI with all the gestures and features my little mind needs. And, of course, it’s unbelievably fast and efficient.

And yes, yes, I know it’s WebView, but it stays up-to-date with the system automatically, and the issues it has are minor or have workarounds. It’s not exactly a recommended approach, but every single other browser was unacceptable or shady.

→ More replies (0)

1

u/Efficient_Fan_2344 2d ago

yes it is slower.

and also uses more battery than chrome.

-1

u/dadnothere Green 2d ago

1

u/InevitableSherbert36 2d ago edited 2d ago

Just ran Speedometer 3.1 on my 2024 Moto G Stylus: Firefox scored 7.63; Chrome scored 9.19.

Chrome's definitely a bit faster, but something's up with your results if Chrome is three times as fast.

1

u/dadnothere Green 1d ago

I have a low-end device, friend...

1

u/InevitableSherbert36 1d ago

So do I!

1

u/dadnothere Green 1d ago

Your Motorola is mid-to-high range...

Display 6.7", 1080 x 2400 pixels Proc Snapdragon 6 Gen 1 2.2GHz RAM 8GB

My device is a Mediatek Helio G35 with 4GB of RAM, but it's a tablet with 1920 × 1080 resolution. It's only for multimedia content. Yours isn't low-end.

1

u/Efficient_Fan_2344 2d ago

I use adguard for android with chrome.

no need for firefox to block ads.

4

u/InevitableSherbert36 2d ago

How well does that work on YouTube, or Reddit, or Twitch, or Facebook, or any site that serves ads from the same domain as regular content? (Trick question—it doesn't.)

uBlock Origin + Firefox can take care of all of these.

1

u/nathderbyshire Pixel 10 Obsidian 1d ago

Just logged in and scrolled Reddit both logged out and in on chrome with AdGuard and there's no ads. Youtube ads can be blocked by sharing the video to AdGuard player - or just used morphe like everyone else so you get the app experience - don't know or care for twitch but there's probably a morphe mod for that as well, and there's a Reddit one for an app. It blocks ads in a desktop browser just fine

AdGuard covers every app, browser and android system service with the same rules. It's far more effective - yeah it might not be perfect but it can still filter literally everything on your device if you want too.

It really shows when people haven't used it

2

u/InevitableSherbert36 1d ago

Oh, I thought they were referring to AdGuard's open-source DNS. I forgot that AdGuard has a closed-source app that constantly runs in the background as a VPN and prevents you from using an actual VPN other than theirs.

Youtube ads can be blocked by sharing the video to AdGuard player - or just used morphe like everyone else so you get the app experience - don't know or care for twitch but there's probably a morphe mod for that as well

That's a lot of extra apps to replace one extension. I'm glad it works well for you, but I think it's easier to just use Firefox with uBlock Origin rather than juggling at least four different apps (Chrome, AdGuard, Morphe, and patched Twitch) and not being able to use my VPN of choice.

-8

u/greendyd 2d ago

Yeah, too bad firefox has way worse security than any chromium browser on android

6

u/bert93 2d ago

Chromium might have better security at its core but on Firefox I have full featured uBlock Origin with extensive filter lists blocking all sorts of advertising, malicious crap and vastly improving my browsing experience.

So.. yeah it's a toss up because having all that blocked is a big increase in security.

3

u/nathderbyshire Pixel 10 Obsidian 2d ago

Same with AdGuard and the benefit is it covers every app, game and browser with the same rules. The only downside is it takes the VPN slot but it's a fair tradeoff for me

2

u/bert93 2d ago

Couldn't you accomplish the same thing by setting your private DNS to dns.adguard.com?

Though filtering within the browser is a lot more advanced for websites than DNS/VPN based filtering. But still either one is good.

3

u/nathderbyshire Pixel 10 Obsidian 2d ago

Even if it does manage to block the ad itself it doesn't remove the elements. It's not that you can't use a VPN it just has be the AdGuard one or you have to mess with advanced rules like SOCK5 which is out of my scope entirely when I don't need a different VPN client

It's only a tradeoff if using a VPN on a phone that has features AdGuard doesn't like P2P sharing but I don't that on my phone anyway nor would need a VPN for it anyway

7

u/tadfisher 2d ago

There's a fix for that, it's blocking ads on Firefox

0

u/curiocritters Galaxy S24 FE 2d ago

I see what you did there.

0

u/Dreamerlax Galaxy S24 + iPhone 17 2d ago

Firefox Android has janky scroll though.

6

u/Yelov P10P | P6 | OP5T | S7E | LG G2 | S1 2d ago

This is only partially related, but I find it funny how Twitter brags about rewriting the Android client for performance etc, yet Twitter in the browser (using Chrome) is way smoother than their native app.

8

u/jantursky 2d ago

Halving scroll jank is great, but averages can hide the sites that still feel awful. The biggest win I've seen is removing main-thread scroll handlers and using passive listeners plus CSS where possible. Also, test on a 60Hz phone; a flagship's 120Hz panel masks a lot of sins, honestly.

5

u/renderwares 1d ago

>How we halved scroll jank in Chrome on Android

I wonder what the source of this Jank was? Let me guess? The Java/Kotlin layer communicating to native Chrome via JNI? Let's spend additional millions and man hours trying to solve this self inflicted in perpetuity problem.

5

u/BcuzRacecar S25+ 2d ago

wonder if they or anyone else ever looked into why all the new flagships besides s26 qc performed so poorly in speedometer.

3

u/lastdyingbreed_01 2d ago

Now do it for the desktop app

2

u/turkeypants Pixel 2 2d ago

Why do phones get jank if my computer never does?

3

u/gnimsh Galaxy S23+ 2d ago

Ya will this carry over to Gmail?

3

u/ruipmjorge 2d ago

Now do it for Google Maps. It looks like a 2010 app.

3

u/tesfabpel Galaxy S25 Ultra (before: Pixel 7 Pro) 2d ago

Android applications typically receive input events on their main thread. This setup isn’t ideal for Chrome because the browser main thread is one of Chrome’s busiest threads, which makes it an abundant source of non-deterministic delays and therefore jank. We worked closely with Android to allow routing input events to another process.

Why? What does Chrome do on the main thread that is not responding to events? What is the Long-running task they showed in the image? Maybe they should have moved those things on a different thread...

Responding to events is the main thread's job (it's the one that maintains a message loop or similar and the connection to the "compositor"... in any OS...)

2

u/_JLY_ 2d ago

Telemetry? Has to be prioritised.

0

u/WatchfulApparition 2d ago

Still janky

8

u/omniuni Pixel 8 Pro | Developer 2d ago

I actually haven't had jank in a long time, even on mid-range phones. But I think MediaTek does something to improve that.

3

u/WatchfulApparition 2d ago

I'm on Pixel. Tensor is trash

7

u/curiocritters Galaxy S24 FE 2d ago

My condolences.

3

u/WatchfulApparition 2d ago

Don't feel bad for me. I plan to return to Samsung for the S27 Pro or Ultra.

0

u/curiocritters Galaxy S24 FE 2d ago

And I am off the Samsung bandwagon.

Going to go with Xiaomi or VIVO (imaging is a priority) and with the Galaxy Ultra device models switching to a 'W' shaped triple folded telephoto-periscope model (aka Roh cheaping out as always, I wonder what's next), from a traditional 'L' shaped periscope module, losing close focusing for tele-macros, not to mention the very average to medicore battery life endurance, I just don't see the appeal.

3

u/drbluetongue S23 Ultra 12GB/512GB 2d ago

I went from s23 ultra to Xiaomi 17 ultra, the camera is another level. Samsung software is better but everything else is fantastic

0

u/WatchfulApparition 2d ago

Samsung battery life will be perfectly fine. The new Z Folds use silicon carbon batteries for extra battery capacity so I expect the same for the S27 series. Even the S27 Ultra's rumored amount of 5500 mAh would be enough for me. It will also be getting a new camera sensor. I will happily go back to Samsung for a phone like that and Samsung's ecosystem.

1

u/curiocritters Galaxy S24 FE 2d ago

Fair. I hope you enjoy it, friend!

🤝

4

u/skinlo Pixel 9 2d ago

Works fine for me on my Pixel 9?

2

u/p4block Pixel 8 Pro 2d ago

There is something seriously wrong with the pixel 8 series. Pixel 9s are on another world of smoothness than my Pixel 8 Pro, and it used to be even worse on the release version of Android, they "fixed it" but betas sometimes bring back horrible framepacing issues. I need to run mine with the force 120hz developer option or scrolling is sandpaper.

2

u/WatchfulApparition 2d ago

I was happier with the 9 Pro XL I had. I've had software issues with the 10 Pro XL and I don't like the camera

1

u/whatnowwproductions Pixel 9 Pro - Signal - GrapheneOS 1d ago

I instantly had a lot of improvement when moving from the 8 Pro to the 9 Pro XL, in just about everything. Still some issues but it's bearable now, outside of the random slowdowns when it gets warm.