Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Android] Lower Feed maxRenderPerBatch #6624

Merged
merged 1 commit into from
Nov 22, 2024
Merged

[Android] Lower Feed maxRenderPerBatch #6624

merged 1 commit into from
Nov 22, 2024

Conversation

gaearon
Copy link
Collaborator

@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
Copy link

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
6 checks passed
@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