Element-android: Improve performance, especially on timeline

Created on 11 Jun 2020  路  4Comments  路  Source: vector-im/element-android

RiotX may suffer from ANR after several navigations between rooms.

Also it consumes too much RAM. Let's see how we can improve that.

Several ideas:

riotx-go-live

Most helpful comment

Does this mean sending a message isn't going to mean I have to wait 3 seconds for it to actually appear in the chat?

For example, when I send a message, this happens:

  • the input bar clears
  • three seconds pass
  • the message shows up in the chat, grayed out
  • 5 seconds later, the message actually sends

I don't have to explain how bad this is in terms of UX. The message shouldn't take 2 seconds to be visible in the chat. In fact, I have actually found the older app to be faster than the newer variant, and my friends have confirmed there is a night and day difference between the two.

All 4 comments

Does this mean sending a message isn't going to mean I have to wait 3 seconds for it to actually appear in the chat?

For example, when I send a message, this happens:

  • the input bar clears
  • three seconds pass
  • the message shows up in the chat, grayed out
  • 5 seconds later, the message actually sends

I don't have to explain how bad this is in terms of UX. The message shouldn't take 2 seconds to be visible in the chat. In fact, I have actually found the older app to be faster than the newer variant, and my friends have confirmed there is a night and day difference between the two.

Oh, by the way. I figured this would help: if you want to fix the insane slow down when a message is sent, check out the Markdown renderer. After disabling Markdown support, it's a lot snappier.

Hope this helped.

RiotX v 0.22 became really slow on my phone (Nexus 5) whereas I couldn't complain with previous RiotX version.
I hope it will improve again.

For the record, I also experience the _exact_ same thing resynth experienced, with almost identical timings. Force stopping element and opening it again makes it a little faster to send, but as I continue to use the app it gets worse again.

With the old riot app, which I still have installed, messages send basically instantly.

However, changing the markdown formatting setting in element did not help me.

Element: im.vector.app 1.0.5.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TR-SLimey picture TR-SLimey  路  3Comments

steef435 picture steef435  路  3Comments

mvgorcum picture mvgorcum  路  3Comments

Kekun picture Kekun  路  3Comments

jtagcat picture jtagcat  路  3Comments