Skip to content

[Android] Lower Feed maxRenderPerBatch#6624

Merged
gaearon merged 1 commit into
mainfrom
lower-maxbatch
Nov 22, 2024
Merged

[Android] Lower Feed maxRenderPerBatch#6624
gaearon merged 1 commit into
mainfrom
lower-maxbatch

Conversation

@gaearon
Copy link
Copy Markdown
Contributor

@gaearon gaearon commented Nov 22, 2024

These batches can drop frames really hard since each row is a feed story (which may have embeds etc).

Let's just be conservative on Android and try to unblock as much as possible. I'm not seeing a lot of blank spaces in practice unless I scroll super hard. Whereas the frame-by-frame improvement is quite noticeable, especially on embed-heavy feeds like the News feed. And I assume on higher end it'll work even better.

Test Plan

Scroll up and down different feeds.

Also try "scroll to top" and scrolling down after to try to trigger blanks.

Before

This was captured with the News feed (which has embeds and is consistently ordered). Five scrolls down with momentum.

Screenshot 2024-11-22 at 04 16 22

After

Same, five scrolls on News feed.

Screenshot 2024-11-22 at 04 13 55

And it just feels better, you know.

@arcalinea arcalinea temporarily deployed to lower-maxbatch - social-app PR #6624 November 22, 2024 04:18 — with Render Destroyed
@gaearon gaearon requested a review from haileyok November 22, 2024 04:18
@github-actions
Copy link
Copy Markdown
Contributor

Old size New size Diff
8.06 MB 8.06 MB 5 B (0.00%)

@gaearon gaearon merged commit c858700 into main Nov 22, 2024
@gaearon gaearon deleted the lower-maxbatch branch November 22, 2024 04:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants