Skip to content

Regression: Poor performance in messages list on Android#4536

Merged
diegolmello merged 2 commits into
developfrom
fix.android-list
Sep 22, 2022
Merged

Regression: Poor performance in messages list on Android#4536
diegolmello merged 2 commits into
developfrom
fix.android-list

Conversation

@diegolmello

@diegolmello diegolmello commented Sep 16, 2022

Copy link
Copy Markdown
Member

Proposed changes

Related to #3260

I was not able to use the exact same workaround after RN update, so I created a different one using RefreshControl.

Issue(s)

How to test or reproduce

  • Both iOS and Android messages list should work properly (pay attention to messages order)

  • Android should be a lot faster than on 4.30

  • Use the support chanel on open to measure performance, in others channels the performance is "acceptable".

Screenshots

"Profile HWUI rendering" > "On screen as bars" on Samsung S10e

Before

Screen_Recording_20220915_165648_RocketChat.Experimental.mp4

After

Screen_Recording_20220916_172254_RocketChat.Experimental.mp4

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Improvement (non-breaking change which improves a current function)
  • New feature (non-breaking change which adds functionality)
  • Documentation update (if none of the other choices apply)

Checklist

  • I have read the CONTRIBUTING doc
  • I have signed the CLA
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works (if applicable)
  • I have added necessary documentation (if applicable)
  • Any dependent changes have been merged and published in downstream modules

Further comments

@diegolmello diegolmello marked this pull request as ready for review September 16, 2022 20:55
@diegolmello diegolmello merged commit 18f359a into develop Sep 22, 2022
@diegolmello diegolmello deleted the fix.android-list branch September 22, 2022 12:50
diegolmello added a commit that referenced this pull request Sep 28, 2022
* Create custom RefreshControl as a workaround

* Remove unnecessary FlatList rngh change
ivnxyz pushed a commit to NextiaDev/Rocket.Chat.ReactNative that referenced this pull request May 26, 2023
…4536)

* Create custom RefreshControl as a workaround

* Remove unnecessary FlatList rngh change
ivnxyz pushed a commit to NextiaDev/Rocket.Chat.ReactNative that referenced this pull request May 26, 2023
…4536)

* Create custom RefreshControl as a workaround

* Remove unnecessary FlatList rngh change
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.

2 participants