still trying to chase down Android choppy feed scrolling. added some instrumentation to the app — using React profiling builds and to track long render phases.
we *do* have long tasks (presumably rendering offscreen story items as you scroll) but they’re on the JS thread. so why stutter?
we *do* have long tasks (presumably rendering offscreen story items as you scroll) but they’re on the JS thread. so why stutter?
Comments
Hoping to hear about how this plays out like @t3.gg did with his Zed scrolling issue
https://www.perplexity.ai/search/did-theo-talk-about-getting-th-yC_cURoKSbKopFg9BZYcjQ#1
Could this be related somehow?
Genuinely hard problem domain on Android (I'm assuming also in RN). It's been tough to get smooth scrolling since the very first version of ListView.
Also, I'm a bit confused, we have feeds and lists. Feeds are pre-created (?), I cannot create public feeds, right? While all my lists are public?
Btw, just made a test list, went to your profile and found out that you have the same one :)
2. you can create feeds with third party tools (or via API) but not via main app for now
Any reason for 1?
E.g. if I want to have a private list of people and see what they post about, is it a bad thing?
https://bsky.app/profile/shikasd.bsky.social/post/3lbbbzqvie22p
Does RN leverage Android's Performance Hint API at all? The fact that it seems to appear and go away on its own could indicate that the default heuristics are not working great depending on load and thermals
Looking at the trace, the render thread is taking 20ms+ to draw a frame, so the display falls behind.
You can see the CPU cores aren't even that busy - so it's just asking the display hardware to do too much.
And you don't need to spin up an IDE to take the trace: you can take it right on your phone, and then open it up at https://ui.perfetto.dev
Perfetto can be configured to get even more data than the defaults. And what you'll likely find as root causes are resource contention and alloc limitations. Deep view trees are just hard for low end devices without some major tweaks.