element-x-ios icon indicating copy to clipboard operation
element-x-ios copied to clipboard

Slow loading members

Open hogger0 opened this issue 6 months ago • 2 comments

Steps to reproduce

The number of people in the room is 100, and it takes 10 seconds to load the view members, why is it that the old version of Element loaded out instantly no matter how many people there were, and the new version of ElementX is so slow? Try querying the database and it shouldn't be this slow, right?

Outcome

What did you expect?

What happened instead?

Your phone model

iPhone13pm

Operating system version

18.5

Application version

2.25.6(latest)

Homeserver

1.129

Will you send logs?

Yes

hogger0 avatar Jul 03 '25 09:07 hogger0

Sadly this is because the old element relied on a full sync, which meant that everything was synced costantly, and everytime you opened up the app it had to fetch everything at the same time, making the whole app experience slow. Element X is faster because it uses the Simplified Sliding Sync, which only fetches what is most recent and what is currently viewed in app at that time, and incrementally. However this comes at the cost of not having stuff fetched immediately, like the members when you open a room. We are however working into improving the process of fetching members so that it will become seamless

Velin92 avatar Jul 09 '25 11:07 Velin92

Linking this to https://github.com/matrix-org/matrix-rust-sdk/issues/3116

pixlwave avatar Jul 28 '25 11:07 pixlwave