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

Signal gets really slow on long Conversations #9930

Closed
Anti-ctrl opened this issue Aug 16, 2020 · 123 comments
Closed

Signal gets really slow on long Conversations #9930

Anti-ctrl opened this issue Aug 16, 2020 · 123 comments

Comments

@Anti-ctrl
Copy link

Anti-ctrl commented Aug 16, 2020


Bug description

If I have a long Chat with someone, probably multiple thousand Messages and Media in History, then the Chat gets REALLY slow. We talking about 40-50 sec for one Message to get send and it only gets slower. If you send multiple Messages after the first one, it can take up to multiple Minutes till they get send. Receiving Messages takes ~10-15 sec. Short Chats dont seem to be affected. Its the most brutal if the other Person is writing/answering at the same time as your Message sends. Signal gets really laggy, the phone gets hot and slow, till anything is sent. Not related to this, but maybe Interesting: Backups take around 3 hours to finish. Backupfile is around 7GB in Size.

Steps to reproduce

  • Open Signal
  • Go to Chat with long History (opening and closing that Chat is also really slow)
  • Send one or Multiple Messages

Actual result: Messages take sometimes Minutes to Send.
Expected result: Messages should be send almost instant, like in a fresh Chat.

Device info

Device: Galaxy S5 klte / SM-G900F and One Plus 6T
Android version: 9.0 LineageOS 16 / Stock Rom
Signal version: 4.68.8, persists in 4.69.6, persists in 4.70.3, persists in 4.70.5, persists in 5.8.10, solved in 5.20.4

Link to debug log

https://debuglogs.org/fff230b9173168bd607d678f019b51b7dc38c12ced3661f169c51e1968b147d8

EDIT: New Log, while sending and receiving Messages at the same time:

https://debuglogs.org/7eead199b7af5be480058d38b128f766cf4536beb0be0b4a24aa2ad962aada09

EDIT2: Now (28th Aug) the Problem is so bad, that the App gets nearly unusable. Messages take around 90 Seconds to get send. Only in that one, long Chat. As long as one Message in that Chat is sending, anything else is almost not responding and the App locks up sometimes. Even receiving Messages in that Chat is so slow, that sometimes the Person thinks i lost connection or turned off my Phone. Isnt there anything that can be done, without loosing all the History ? I used Whatsapp for some time before and had Chats with around 30-40k Messages and NEVER had any Problems like that, why is it, that Signal has such poor Performance ?

EDIT3 (4th Nov): Time to send one Message went up to ~130 secs. Pics dont always send. Just the Text under them. App is barely usable whenever i access a long Chat.

EDIT4 (Feb 2021): Changed Phone from a Galaxy S5 with Snapdragon 801 and 2GB RAM, to a One Plus 6T with Snapdragon 845 and 8GB RAM. Problem still persists, but is better thanks to more Raw Power. Chat still gets slower every Day, even tho not as noticeable anymore, probably also thanks to more power.

EDIT5 (18th Aug 2021): Problem seems resolved. Performance in a long Chat is drastically Improved with Version 5.20.4. A Message takes around 2-3 seconds now, which i consider "instant". Good Job Guys and Girls!

Probably Related
#9881

@Nisc3d
Copy link

Nisc3d commented Aug 17, 2020

I originally planned my own Bug report for this, but I think it fits here really well. I hope a dev can help here and get behind this issue, because I think Signal really has a performance Problem on some devices.

I have a friend, that complains frequently about Signal being slow to send her messages. In a Group Chat it takes about 15 seconds for one message to send, sometimes up to one minute. Also media messages take a long time to download. Recieving messages is slow as well. When I send a message in the Group Chat with her, I notice that it takes several seconds until she receives the message, where other members receive them almost instantly. In one to one conversations it is a bit better, but still noticeable. She also tried it over mobile data and different WiFi networks, so it shouldn't be a network Problem on her end. Note: she has about 5 GB of stored Data in Signal.

Device: Nokia 6
Android Version: 9
Signal Version: 4.68.8

Debug Log: https://debuglogs.org/7838b66ab1607c0c8e9abaa93ec6b462cc1319dc5aa65f7d5effafb94c7ca8a7
Note: The Debug Log was captured after messaging in a group at first and then a few messages in a one to one chat.

@Anti-ctrl
Copy link
Author

I originally planned my own Bug report for this, but I think it fits here really well. I hope a dev can help here and get behind this issue, because I think Signal really has a performance Problem on some devices.

I have a friend, that complains frequently about Signal being slow to send her messages. In a Group Chat it takes about 15 seconds for one message to send, sometimes up to one minute. Also media messages take a long time to download. Recieving messages is slow as well. When I send a message in the Group Chat with her, I notice that it takes several seconds until she receives the message, where other members receive them almost instantly. In one to one conversations it is a bit better, but still noticeable. She also tried it over mobile data and different WiFi networks, so it shouldn't be a network Problem on her end. Note: she has about 5 GB of stored Data in Signal.

Device: Nokia 6
Android Version: 9
Signal Version: 4.68.8

Debug Log: https://debuglogs.org/7838b66ab1607c0c8e9abaa93ec6b462cc1319dc5aa65f7d5effafb94c7ca8a7
Note: The Debug Log was captured after messaging in a group at first and then a few messages in a one to one chat.

Great to see, that I´m not alone. For a Messenger both phones should´ve plenty of Power. I have a guess what it might be, even tho I´m probably wrong with that. At least the Snapdragon 801 in my Phone doesnt support AES Encryption in Hardware. Couldnt find anything about the Snapdragon 430 in the Nokia 6. I know Signal Protocol uses ChaCha20 for Encryption, but doesnt that benefit from Hardware Encryption too?

It took me around 6 Month till i opened this Bugreport, because i thought it might get fixed in some Updates and in Fact, this is my first Bug Report ever, so i hope i do anything right.

My Log File was taken, after i sent a Message to a Contact, which i wasnt actively writing with, but where the Problem is the biggest.
I experience the same issues you are talking about, but yours is better explained. In my Group Chat it really helps, if i Delete all Media from the Chat. Messages still take a long time, but not as long. IDK I really hope someone can help with that, as I´m a total noob in Programming or even Debugging.

@richardddd98
Copy link

This bug might be a duplicate of #9881. I have this same issue, but I don't get to 50 seconds, but up to 15 seconds on the following devices (and specific chats of course):

Huawei Honor 9
Huawei P40 Lite 5G
Xiaomi Mi A1
Samsung Galaxy S8

Sending lots of voice notes while the other is sending their own voice notes makes all this really terrible, messages lag behind and you have to wait for Signal to send them. At least 2 of these 4 devices have AES hardware acceleration, it might help to not arrive to 50 seconds but definitely the problem persists.

A friend of mine fixed this by setting a limit of 5000 messages per conversation, while I didn't. His chat is quick now, mine is not, since I did not apply the limit. With another friend of mine, we have been creating a group each month with only me and her inside, so the chat history never gets too long.

Signal needs this to be fixed as soon as possible. Please focus on this before adding new features, many users are not patient and are leaving.

@Anti-ctrl
Copy link
Author

Quick Update: I think since 4.69.6 my Backup time is drastically reduced. Takes ~25-35 Minutes to complete the Full 7-8GB Backup, instead of ~3 hours. My Battery says "thank you". The Rest of the Problems still persist and get worse every Day. Its now at a Point where you can really feel and see how much slower Signal gets with every extra day. I send Messages from my PC now, because on my Phone its anything but "Realtime". If that continuous i see myself forced to switch to something else, as it not only not pleasant, but annoying at this point.

I really hope someone can fix this, as I dont have the Skills todo it myself unfortunately.

@haffenloher
Copy link
Contributor

I have one of these really long one-to-one conversations as well and it's getting worse. My main issue is that after pressing send, I have to leave Signal in the foreground for the ~13 seconds it currently takes to send a message in that particular chat or the message will never send. If I put Signal in the background while a message is still sending, it will remain in the 'pending' state indefinitely (I guess the send job takes too long and gets killed by the OS?). If I reply to multiple things in quick succession, this can easily mean having to wait 50-60 seconds before I can do anything else on my phone.

@Anti-ctrl
Copy link
Author

Anti-ctrl commented Sep 3, 2020

I have one of these really long one-to-one conversations as well and it's getting worse. My main issue is that after pressing send, I have to leave Signal in the foreground for the ~13 seconds it currently takes to send a message in that particular chat or the message will never send. If I put Signal in the background while a message is still sending, it will remain in the 'pending' state indefinitely (I guess the send job takes too long and gets killed by the OS?). If I reply to multiple things in quick succession, this can easily mean having to wait 50-60 seconds before I can do anything else on my phone.

Not as bad for me, at least on txt msg. Pictures need to "show up" before i can leave it on sending in the Background, but if i switch immediately to another app, i recognize the same behaivior, but not every time. My Problem is just, that it takes around 30 sec to send one message and if u add another one in the sending process it takes easily 90 seconds for ONE message to get send. Rest one will follow after that in 30 or so sec steps. Quickly adds up to minutes of just waiting and while my txt partner can write messages, he/she often gets confused because my answers, which are way too late, make no sense at all.

@Wasseranomalie
Copy link

I also have the same problem as described by @haffenloher. Sometimes messages will not be sent at all if the app is put to the background too quickly after sending inside chats with a long message history (which also takes quite long if it works).

Debug log: https://debuglogs.org/c7581cd3e032893312d3b7a8ea3fa02dbb086ab265b07febd91a409d8d3922bf
The last time it happened around 2020-09-01 15:22:51

@cody-signal
Copy link
Contributor

Thank you all for your debug logs and information. We are aware of the issue and unfortunately there isn't a quick fix we can just knock out for y'all. We're hoping to dedicate some serious time to performance improvements in the very near future. This probably isn't the news you wanted to read, but we hear you, we are aware of it, and we want to fix it, it's just going to take a little time on our end.

@Anti-ctrl
Copy link
Author

Thank you all for your debug logs and information. We are aware of the issue and unfortunately there isn't a quick fix we can just knock out for y'all. We're hoping to dedicate some serious time to performance improvements in the very near future. This probably isn't the news you wanted to read, but we hear you, we are aware of it, and we want to fix it, it's just going to take a little time on our end.

Thanks for your reply on that topic. I mean, its surely not what most of us wanna hear, thats right, but at least its something and we can hope that there might be a possible fix in the near future. I would guess, that most of us are patient enough to wait just a bit longer, even tho the experience is really unpleasant atm. Best of Luck for that Process and thanks for the Service :)

@Anti-ctrl
Copy link
Author

Thank you all for your debug logs and information. We are aware of the issue and unfortunately there isn't a quick fix we can just knock out for y'all. We're hoping to dedicate some serious time to performance improvements in the very near future. This probably isn't the news you wanted to read, but we hear you, we are aware of it, and we want to fix it, it's just going to take a little time on our end.

Is there any Update regarding that Topic ?
Performance is so bad that ppl are now pissed enough to just not use Signal anymore. Instead of providing useless new Features which slow down Signal even more, just fix that damn thing first. Even on a Pocophone F1, which isnt that slow, Signal just eats all Resources for a few seconds till messages are sent. In a really long Chat (90k Messages), that can take around 20-30 secs.
With my S5 I´m now at over 2 Minutes for sending ONE freaking Message. Pictures also dont send every time. There is just the Text i provided with the Picture. Guys please. Finally do something!

@greyson-signal
Copy link
Contributor

@Anti-ctrl Hi there, I know you're frustrated, but unfortunately there aren't any simple remedies here. Improving performance in this area involves making some large fundamental changes, which takes time. New debuglogs are always useful though.

@Anti-ctrl
Copy link
Author

Anti-ctrl commented Nov 4, 2020

@Anti-ctrl Hi there, I know you're frustrated, but unfortunately there aren't any simple remedies here. Improving performance in this area involves making some large fundamental changes, which takes time. New debuglogs are always useful though.

I understand that it takes time, but has anyone even started to do anything about that poor performance, or are there still coming new features, before anything is done ? I will Edit this and Post another Debuglog as soon as i can. Thanks for the reply.

EDIT: Here is another Debuglog. Took it while chatting and waiting for sending on multiple messages in one Chat.
https://debuglogs.org/ca7016c395055c668da82c495a969a993dfba8f5d2d641d48d5bf1a5ea8df86d

Hope it helps somewhat.

@Anti-ctrl Doing investigations around performance and starting improvements is something I'm working on. I know as someone on the outside who is having a specific problem, it can be frustrating when you feel the team is prioritizing things that aren't your problem. And believe me when I say I understand that it's a bad problem. However, I assure you that there are many people with many different problems, and as a team we have to make hard decisions all the time about what we want to work on at that moment. I wanna fix this, it's just gonna take some work 👍

And yes its really annoying, sorry for my rant, its just really frustrating. Thanks for the effort, good luck fixing it. Will donate 1 or 10 coffee´s next month to speed things up.

@greyson-signal
Copy link
Contributor

@Anti-ctrl Doing investigations around performance and starting improvements is something I'm working on. I know as someone on the outside who is having a specific problem, it can be frustrating when you feel the team is prioritizing things that aren't your problem. And believe me when I say I understand that it's a bad problem. However, I assure you that there are many people with many different problems, and as a team we have to make hard decisions all the time about what we want to work on at that moment. I wanna fix this, it's just gonna take some work 👍

@richardddd98
Copy link

Unfortunately I am frustrated too about this issue, it's a total disaster. While using Signal and typing in some long chats and having to wait tens of seconds for messages to be sent in a 2020 smartphone, I really become willing to say some nice words here on this issue, but then I refrain :D

Anyway it seems you're using zetetic database, did you have a look at this page related to performance issues? https://discuss.zetetic.net/t/sqlcipher-performance-optimization/14

@greyson-signal

I know I'm just an user, but I strongly recommend you stop adding new features and pay more attention to the issues. They are more than 700 and are growing. This is a bad sign unfortunately. I know fixing bugs is absolutely not funny, but especially this one should have an upmost importance.
I have seen projects fail due to many features which introduced bugs, some projects became so buggy they have been abandoned. It's much more dangerous than what it might seem, unfortunately.

Anyway...

Do you have any idea about where the bottleneck might be?
I think, it's so slow it should be enough to just populate a database with lots of messages, trying to send one and then stopping the threads and reading the stack trace to see where they are statistically spending most of the time. It should be as easy as it seems to find the bottleneck. It's so slow that you shouldn't even need proper tools to find the bottleneck.

Where do Signal threads hang? Inside your code or inside zatetic db code?

@ASHuenchuleo
Copy link

This is happening to me too on a samsumg s9 with android 10. Just after a few days of conversation, the chat gets noticeably slower and the keyboard starts lagging, but not as bad as the OP. While I don't know much about the internals of the app, maybe you can only load the messages when the chat scrolls back? Instead of loading everything at once when the chat is opened. This sounds hard to do though.

@greyson-signal
Copy link
Contributor

@richardddd98 Believe me, if I could create these performance problems on any device I have access to, I would be working on them. They seem to crop up in specific situations that I can't reproduce. Or, they happen incredibly sporadically and then never again. As such, most of my efforts have gone into adding diagnostics. In terms of testing on devices with a lot of messages, my personal install is something like 10.5 GB.
I know that when an issue is happening to you, it's easy to assume it's happening to everybody. But to the best of my knowledge, it isn't. The most helpful thing you can provide is a debuglog.

@ASHuenchuleo

maybe you can only load the messages when the chat scrolls back?

Yep, we already do this.

@I-Al-Istannen
Copy link

I-Al-Istannen commented Dec 4, 2020

@greyson-signal

(Using commit 40338af)

I am not sure if I can help, but my Signal is also really slow (as you can see in the issues I opened).
I tried this:

  1. Find out in the profiler and log messages that signal spends ~2 seconds per batch message lookup in slow conversations and just <200ms in alright ones
  2. Debug Signal to get the secret database key
  3. Copy the database to my laptop
  4. Run the query on my laptop on the database (~30MB) and find out it still takes 1.8 seconds on a quite modern laptop:
Execution completed without errors
Result: 25 rows returned in 1825ms
In line 1:
SELECT _id,
       unique_row_id,
       BODY,

With a where clause of

   LEFT OUTER JOIN part ON part.mid = mms._id
   WHERE (thread_id = 9)
   GROUP BY mms._id
   ORDER BY date_received DESC
   LIMIT 75,
         25)

The query in question was the queryTables in MmsSmsDatabase, called by getConversation in ConversationDataSource::loadInitial.

If I remove the ORDER BY date_received DESC it completes in ~45ms. It also no longer creates a temporary B-tree for the date ordering and changes some other stuff.
If I remove the GROUP BY mms._id (which has no effect on my query, but probably is there for a reason), it completes in ~300ms - and changes the query plan only slightly:

Existing query:

2	0	0	CO-ROUTINE 2
9	2	0	MERGE (UNION ALL)
11	9	0	LEFT
16	11	0	SEARCH TABLE sms USING INDEX sms_thread_date_index (thread_id=?)
77	9	0	RIGHT
88	77	0	SEARCH TABLE mms USING INDEX mms_thread_id_index (thread_id=?)
93	77	0	SEARCH TABLE part USING INDEX part_mms_id_index (mid=?)
220	77	0	USE TEMP B-TREE FOR DISTINCT
221	77	0	USE TEMP B-TREE FOR ORDER BY
301	0	0	SCAN SUBQUERY 2

Deleting the group by

2	0	0	CO-ROUTINE 2
9	2	0	MERGE (UNION ALL)
11	9	0	LEFT
16	11	0	SEARCH TABLE sms USING INDEX sms_thread_date_index (thread_id=?)
77	9	0	RIGHT
86	77	0	SEARCH TABLE mms USING INDEX mms_thread_date_index (thread_id=?)
91	77	0	SEARCH TABLE part USING INDEX part_mms_id_index (mid=?)
192	77	0	USE TEMP B-TREE FOR DISTINCT
222	0	0	SCAN SUBQUERY 2

As you can see it is now able to leverage the mms_thread_date_index for this query and no longer needs a temporary B-tree.

No idea if that should take that long or whether this post is helpful or just random noise, but maybe it serves as another data point.

@Nisc3d
Copy link

Nisc3d commented Dec 12, 2020

@zyklon-b can you post a debug log from your phone? That could really help.

@Nisc3d
Copy link

Nisc3d commented Dec 19, 2020

@greyson-signal I have another debug log for you: https://debuglogs.org/85dad199e51250243afdaf0bad07c9baac8ac456c60b52d5e6bcb593659e03cf

At first I sent many messages to a group that is slow for a member in the group. Then I sent more, while Signal was in the background for them.
And finally the member of the group sent about 20 messages.

Signal has been really slow for them, and we had to create a new group, because the old one became to slow. We don't want to create new groups every time there are too many messages in it. I hope this issue can be fixed eventually.

If we should test something and provide more debug logs we are happy to help.

@TheRealCrusher
Copy link

I seem to have had a similar phenomenon, for the first time today, and totally unexpected, on my Xiaomi Redmi Note 8 Pro.

When switching to Signal it showed a black app screen with rudimentary UI elements and started to fill up only after several seconds, finishing in the background only while I found this issue.

I also have a largish database of currently about 10.1 GiB. About 90 percent of total messages should be in maybe five conversations, with the rest being in another hundred or so conversations

I've posted a debug log here

@hwinnemoe
Copy link

I have made the experience that - in a slow conversation - it is faster to send the message and return to the conversation list than to wait for the message to be sent while keeping the slow conversation open.

@Wheest
Copy link

Wheest commented Jan 13, 2021

Experiencing this issue on Android. Message sending latency is often very high for myself and the counterparty, order of seconds sometimes over a minute. Latency is significantly reduced if I am using the desktop app.

Signal install on Android is around 6.7GB.

When message latency is particularly high, I notice an increased frequency of other bugs, e.g. the conversation list is randomised with various contacts, though if I click on any of them it takes me to the "true" conversation (given ordering by most recent message).

I've posted a debug log here.

@luanluta
Copy link

Reposting from original post (with some corrections and additional info:

_Messages take 1 to 3 minutes to send. Which makes having a live, ongoing chat very difficult and annoying.

The issue doesn't seem to be an Internet one as this happens no matter what network both users are.

Been using Signal as a main chat app for the past year, and was hoping this issue would get fixed but it still hasnt.

I have a Samaung A70 running Android 10 (OneUI 2.5)_

I tried chatting with a fresh chat ( a user i do not have much chat history with) and it works fine. This only happens with long ongoing chats. Here is a debug log after sending multiple messages to test it:

https://debuglogs.org/8c592bc11a199552bbae34b76a957fa5ad64971db5db09b0299494221df5a28a

@Salmon-Bard
Copy link

Salmon-Bard commented Jan 24, 2021

A solution to this issue maybe in avoiding overloading main chat container UI component via offloading chats content to preloader file based cache for fast queryless retrieval when scrolling the chat window up and down over visible realstate of the app UI.

Edit: After one month of using signal for chatting with Friends and also for business contacts we all notice one issue regardless of Android devices generation and power

One real issue that causes UI lagging from my prospective as a developer is that there is a large number of heavy transitions and style effects applied to UI elements that makes the app require huge processing resource to render on the hardware.

My recommendation is to PLEASE Keep it light, simple and fast like in Marital and paper design patterns, no more shadows and transitions that kills ram and CPU when dealing with large number of elements in a long chat conversation.

@Anti-ctrl
Copy link
Author

Anti-ctrl commented Feb 5, 2021

So, after almost half a year, there changed nothing. Great!
Glad i didnt donate for the time being.
With all the new Users coming to Signal, thanks to Elon, its only a matter of time, till people will realize that Signal gets really slow and they will quit again and switch back to Whatsapp, as the Drama about them will be forgotten at some point. Thats not how Signal can bring Privacy to everyone.

Enough rant. I changed my Phone to a One Plus 6T with Snapdragon 845 and 8GB of RAM. 256GB UFS 2.1 Storage and Signal is still slow. The Chat i talked about got obviously bigger and even with my new, faster Phone, Signal is still slow. Really slow compared to anything else. Messages take around 10-15 Seconds to send, sometimes longer with Multiple Messages. So, the same Problem persists, even if its better than before, thanks to more Raw Power. Why is there no one REALLY Working on it? Cant be the case, that this MAJOR Problem is being ignored for almost 6 Month now, but new Features are being added like CO2 to the Atmosphere. This may be the case, why Signal will fail and Devs are just ignoring it. Just think about how many people will take the Time and open a Bug report for this. Not even 1 Percent will do it, they will just quit the App, if it gets annoying and Switch to Telegram, Whatsapp, Threema, Wire, or some other Alternative. That one "costumer" is lost probably forever, because the most basic thing isnt working. Writing Messages.

EDIT: New Debuglog from new Phone. Taken After/While Sending Messages: https://debuglogs.org/0e367c07fe4fbcf078ec544da2651e04af92caa52a9c0cc2156c5b41b3aff1af

@richardddd98
Copy link

richardddd98 commented Feb 6, 2021

@Anti-ctrl I really understand how you feel. The fact is Signal has a lot of bugs. A lot means a lot.

A lot means that

  1. if I encode a video with ffmpeg H265 and then share with Signal and try to trim it, it will not trim in my conversation, but a text only (eventually empty) message will be sent to the other party. You might wonder: how come such a bug in 2021?
  2. when I share a video from TikTok (not the link, the video itself; I first share it with WhatsApp in a group containing only myself to have it as a video, then share it with Signal from WhatsApp), Signal restarts and asks me again to use my fingerprint with about 30% probability. Very very annoying
  3. When network connection is unstable, sometimes the application becomes unable to receive, and it sends messages very slowly (it's not the db issue, it's fixed if you disable and enable again your connection)

and other bugs. All of this is very very annoying, I did not take time to report all this issues, as I did not report this one even though I've had it for months (it was actually inconceivable to me that nobody complained about that in Google Play Store reviews and here in GitHub). I just periodically follow these issues and eventually comment when I'm having that particular issue too.

I agree with you. The large majority of the users won't even bother to open an issue here on GitHub. They would just click "Uninstall" and switch to Telegram, WhatsApp or something else instead.

The reality is, Signal has too many issues, and developers don't seem to like fixing all these issues. That's the real problem. They just prefer to add features instead of fixing the bugs. Maybe it's more exciting, I know. In my opinion this is not the best approach, but I can't do much to change their opinion.

Signal has bigger problems than this, unfortunately. I'm saying this as a user who has had this problem for more than 2 years (yes, more than 2 years of this slowness).
Don't you believe me when there are more important issues? Have a look at #9432 and #9362. This is a really serious issue. Signal uses absolutely unsafe SHA-1 (collisions found) and RSA 1024 (breaking these signatures is thought to cost some hundred million dollars) to sign its APK. You're literally one bogus HTTPS certificate away from a total disaster. The truth is this can't protect you from mass surveillance. X3DH protocol and double ratchet can't protect you when they fail to securely deliver the APK. This is in the name of compatibility with older devices.

There are other reasons of concern for security, and even though I emailed a question to them, they never answered.

There are people reportedly losing all their conversation history or having difficulties restoring their backups. Have a look at #10751 and #10416.

I can't even call my partner (who uses Xiaomi Mi A1) since there's a terrible eco from the other party.

Open Signal issue list and have a look at them. There are many important issues. Some of them negate the most basic functionalities. So I guess they're giving more priority to them first. At least I hope it.

I'm not sure, but I think Telegram for Android is developed by a single individual, and it has much fewer bugs. On the other hand, Wire has many more bugs than Signal. I don't really know what determines the reliability of these apps. Why Wire is extremely bugged, Signal is moderately bugged and Telegram is almost no bugged at all (but, you know, they forgot to implement a valid e2e encryption mechanism... just "marketing" they say...)

Unfortunately you and I can't do anything apart from opening Android Studio and investigate this bug by ourselves, then try to contribute with fixing code. Since I don't have any intention to do this right now, I just wait for Signal to fix it, and try to hide or delay this issue when it starts to occur to people who recently joined Signal and I'm in contact with. This includes sending fewer messages (i.e. don't separate a laughing emoji from the previous message, writing less messages with more sentences in each, and so on). I know when it becomes obvious to them, it will be really hard for me to calm them down and avoid they switch to something else. There are some people who are relatively patient to these issues, and other ones who suddenly become really angry when something does not work as they expect. Really angry.

You have four choices:

  1. Open Android Studio and fix this issue
  2. Use groups which you rotate every N months with the people you talk more with (in my case, N is between 1 and 2), and wait for this issue to eventually be solved
  3. Switch to something else. Telegram does not have this issue, but their architecture is absolutely the opposite of the "zero-knowledge server" paradigm. But hey, messages are sent quicker. WhatsApp is bad, Wire is extremely bugged (and too much metadata could be collected by their server), Threema is closed source as pointed out by @Nisc3d, Threema is now open source (you might want to try it). What valid choices do you actually have? I don't know about Threema, but maybe the truth is you would exchange this slowness issue with another one.
  4. Limit your conversation history length

Putting more pressure on Signal developers can't help I guess. This only frustrates you and them.

Personally, I just accept this compromise. I would rather prefer a stronger APK signature than this issue be solved. You don't notice this issue every day, it's true. But it defeats the purpose of Signal to allow you to communicate securely.

If you want to chat without this issue, you would have to give up something else. I don't suggest you do it. At the end of the day, this is actually a minor issue. But of course the choice is yours and of your contacts

@hwinnemoe
Copy link

hwinnemoe commented Jun 5, 2021

I tried creating a backup and restoring from it, but it did not improve the issue. In long chats, sending a message still can take up to 25 seconds depending on the method. I can always send messages in these slow chats faster by sending them and returning to the conversation list. There seems to be some added cost when keeping the conversation open. Completely new chats send instantly with any method.

Debug log and details

@gabrc52
Copy link

gabrc52 commented Jun 5, 2021

@hwinnemoe Thanks for your log! I think this is the first time in this thread someone has done more than submitting the debug log (including me), since you've pinpointed the message IDs that take long to send.

It seems that the calls to size() function, which seems to count the number of messages in the thread, seem to add up a lot, at least 7.9 seconds (!) in this fragment:

I'll paste the part that seems relevant
06-05 14:02:44.800 24342 24412 I PushTextSendJob: [JOB::830dec3a-477b-42fc-9d3c-6470d5edc933][PushTextSendJob][1622894558220] Sending message: 358164,  Recipient: RecipientId::131, Thread: 51 (Time Since Submission: 4292 ms, Lifespan: 86400000 ms, Run Attempt: 1/Unlimited)
06-05 14:02:44.806 24342  8461 D ConversationDataSource: size() for thread 51: 64 ms
06-05 14:02:44.815 24342 24408 I JobRunner: [JOB::26648f5f-1a93-4ef2-b97c-3a11ef6c4c4e][TrimThreadJob][1] Running job. (Time Since Submission: 4325 ms, Lifespan: Immortal, Run Attempt: 1/1)
06-05 14:02:44.816 24342 24408 I JobRunner: [JOB::26648f5f-1a93-4ef2-b97c-3a11ef6c4c4e][TrimThreadJob][1] Job finished with result SUCCESS in 2 ms. (Time Since Submission: 4327 ms, Lifespan: Immortal, Run Attempt: 1/1)
06-05 14:02:44.828 24342 24342 D SnapToTopDataObserver: Scrolling to top.
06-05 14:02:48.087 24342  8609 D ConversationListDataSou: [load(0, 41), UnarchivedConversationListDataSource] cursor: 3287  cache-recipients: 1  total: 3288
06-05 14:02:48.087 24342  8609 W FixedSizePagingController: onDataNeededAroundIndex(2) Invalidated! Just after data was loaded.
06-05 14:02:48.097 24342 24395 D MarkReadHelper: Marking 0 messages as read.
06-05 14:02:50.375 24342 24412 I PushSendJob: Ensuring we have these certificates [UUID_AND_E164]
06-05 14:02:50.375 24342 24412 D PushSendJob: Certificate UUID_AND_E164 is valid
06-05 14:02:50.375 24342 24412 D PushSendJob: All certificates are valid.
06-05 14:02:50.378 24342 24412 I UnidentifiedAccessUtil: Unidentified: 1, Other: 0. Types: {UUID_AND_E164=1}
06-05 14:02:50.379 24342 24412 I PushTextSendJob: [JOB::830dec3a-477b-42fc-9d3c-6470d5edc933][PushTextSendJob][1622894558220] Have access key to use: true (Time Since Submission: 9870 ms, Lifespan: 86400000 ms, Run Attempt: 1/Unlimited)
06-05 14:02:50.379 24342 24412 W SignalServiceMessageSender: No attachments present...
06-05 14:02:50.419 24342 24385 I MessageNotifierV2: State is empty, cancelling all notifications
06-05 14:02:50.419 24342 24385 D NotificationCancellatio: cancelLegacy() called with: notificationId = [1338]
06-05 14:02:50.429 24342  8609 D ConversationDataSource: [load(0, 100), thread 51] messages: 2328  mentions: 14  conversion: 0  total: 2342
06-05 14:02:50.429 24342  8609 W FixedSizePagingController: onDataNeededAroundIndex(0) Invalidated! Just after data was loaded.
06-05 14:02:50.446 24342 31237 D ConversationListDataSou: [size(), UnarchivedConversationListDataSource] 5192 ms
06-05 14:02:50.446 24342  8609 W FixedSizePagingController: onDataNeededAroundIndex(2) Invalidated! At beginning of load task.
06-05 14:02:50.447 24342  8461 D ConversationDataSource: size() for thread 51: 2355 ms
06-05 14:02:50.452 24342 31237 D ConversationListDataSou: [size(), UnarchivedConversationListDataSource] 6 ms
06-05 14:02:50.541 24342  8461 D ConversationDataSource: size() for thread 51: 88 ms
06-05 14:02:50.583 24342  8609 D ConversationListDataSou: [load(0, 41), UnarchivedConversationListDataSource] cursor: 125  cache-recipients: 5  total: 130
06-05 14:02:50.585 24342  8609 W FixedSizePagingController: onDataNeededAroundIndex(0) Invalidated! At beginning of load task.
06-05 14:02:52.593 24342  8609 D ConversationDataSource: [load(0, 100), thread 51] messages: 2007  mentions: 1  conversion: 0  total: 2008
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: java.io.IOException: No connection!
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.whispersystems.signalservice.internal.websocket.WebSocketConnection.sendRequest(WebSocketConnection.java:185)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.whispersystems.signalservice.api.SignalServiceMessagePipe.send(SignalServiceMessagePipe.java:195)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.whispersystems.signalservice.api.SignalServiceMessageSender.sendMessage(SignalServiceMessageSender.java:1498)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.whispersystems.signalservice.api.SignalServiceMessageSender.sendMessage(SignalServiceMessageSender.java:287)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.thoughtcrime.securesms.jobs.PushTextSendJob.deliver(PushTextSendJob.java:179)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.thoughtcrime.securesms.jobs.PushTextSendJob.onPushSend(PushTextSendJob.java:92)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.thoughtcrime.securesms.jobs.PushSendJob.onSend(PushSendJob.java:112)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.thoughtcrime.securesms.jobs.SendJob.onRun(SendJob.java:42)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.thoughtcrime.securesms.jobs.BaseJob.run(BaseJob.java:32)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:86)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 	at org.thoughtcrime.securesms.jobmanager.JobRunner.run(JobRunner.java:49)
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: 
06-05 14:02:52.623 24342 24412 W SignalServiceMessageSender: [sendMessage] Unidentified pipe failed, falling back...
06-05 14:02:52.869 24342 24412 I SmsDatabase: Updating ID: 358164 to base type: 10485783
06-05 14:02:53.636 24342 24391 I IncomingMessageObserver: Retrieved envelope! 1622894572770
06-05 14:02:53.660 24342 24391 I Job     : [JOB::28643239-09a8-4013-8d26-cbaa1919d41c][PushDecryptMessageJob] onSubmit() (Time Since Submission: 24 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:53.662 24342 24391 D IncomingMessageObserver: Network: true, Foreground: true, FCM: true, Censored: false, Registered: true, Websocket Registered: true, Proxy: false
06-05 14:02:53.662 24342 24391 D IncomingMessageObserver: Reading message...
06-05 14:02:53.680 24342 24408 I JobRunner: [JOB::28643239-09a8-4013-8d26-cbaa1919d41c][PushDecryptMessageJob][1] Running job. (Time Since Submission: 44 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:53.682 24342 24408 I libsignal-client: rust/protocol/src/sealed_sender.rs:540: deserializing UnidentifiedSenderMessage with version 1
06-05 14:02:53.698 24342 24408 I libsignal-client: rust/protocol/src/sealed_sender.rs:438: deserialized UnidentifiedSenderMessageContent from ********-****-****-****-**********db.3 with type Whisper
06-05 14:02:53.809 24342 24408 I libsignal-client: rust/protocol/src/session_cipher.rs:527: ********-****-****-****-**********db.3 creating new chains.
06-05 14:02:53.813 24342 24408 I libsignal-client: rust/protocol/src/state/session.rs:228: Trimming excessive receiver_chain for session with base key 89dc2e2b33529225ed0dead90946e15cd6c9c31ecec2a793c324b87c88343b71, chain count: 6
06-05 14:02:53.979 24342 24391 I IncomingMessageObserver: Retrieved envelope! 1622894573347
06-05 14:02:54.017 24342 24391 I Job     : [JOB::89372e2d-6d2a-4fd5-b94f-7c0fb5181031][PushDecryptMessageJob] onSubmit() (Time Since Submission: 38 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:54.021 24342 24391 D IncomingMessageObserver: Network: true, Foreground: true, FCM: true, Censored: false, Registered: true, Websocket Registered: true, Proxy: false
06-05 14:02:54.021 24342 24391 D IncomingMessageObserver: Reading message...
06-05 14:02:55.137 24342 24408 I Job     : [JOB::3287e622-3291-4723-a868-7048436ae23f][PushProcessMessageJob] onSubmit() (Time Since Submission: 31 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:55.142 24342 24408 I JobRunner: [JOB::28643239-09a8-4013-8d26-cbaa1919d41c][PushDecryptMessageJob][1] Job finished with result SUCCESS in 1462 ms. (Time Since Submission: 1506 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:55.161 24342 24411 I JobRunner: [JOB::3287e622-3291-4723-a868-7048436ae23f][PushProcessMessageJob][4] Running job. (Time Since Submission: 55 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:55.197 24342 24409 I JobRunner: [JOB::89372e2d-6d2a-4fd5-b94f-7c0fb5181031][PushDecryptMessageJob][2] Running job. (Time Since Submission: 1218 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:55.206 24342 24409 I libsignal-client: rust/protocol/src/sealed_sender.rs:540: deserializing UnidentifiedSenderMessage with version 1
06-05 14:02:55.213 24342 24409 I libsignal-client: rust/protocol/src/sealed_sender.rs:438: deserialized UnidentifiedSenderMessageContent from ********-****-****-****-**********db.3 with type Whisper
06-05 14:02:55.222 24342 24412 I PushTextSendJob: [JOB::830dec3a-477b-42fc-9d3c-6470d5edc933][PushTextSendJob][1622894558220] Sent message: 358164 (Time Since Submission: 14714 ms, Lifespan: 86400000 ms, Run Attempt: 1/Unlimited)
06-05 14:02:55.222 24342 24412 I SendJob : Message send completed
06-05 14:02:55.223 24342 24412 I JobRunner: [JOB::830dec3a-477b-42fc-9d3c-6470d5edc933][PushTextSendJob][5] Job finished with result SUCCESS in 10449 ms. (Time Since Submission: 14715 ms, Lifespan: 86400000 ms, Run Attempt: 1/Unlimited)
06-05 14:02:55.232 24342 24411 I MessageContentProcessor: [1622894572770] Beginning message processing.
06-05 14:02:55.242 24342 31237 D ConversationListDataSou: [size(), UnarchivedConversationListDataSource] 106 ms
06-05 14:02:55.249 24342  8461 D ConversationDataSource: size() for thread 51: 109 ms
06-05 14:02:55.278 24342 24411 I Job     : [JOB::b8e163f5-8898-4e47-927a-7c2c1c1cda24][SendDeliveryReceiptJob] onSubmit() (Time Since Submission: 32 ms, Lifespan: 86400000 ms, Run Attempt: 1/Unlimited)
06-05 14:02:55.311 24342 24411 I JobRunner: [JOB::3287e622-3291-4723-a868-7048436ae23f][PushProcessMessageJob][4] Job finished with result SUCCESS in 148 ms. (Time Since Submission: 203 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:55.315 24342 24408 I JobRunner: [JOB::b8e163f5-8898-4e47-927a-7c2c1c1cda24][SendDeliveryReceiptJob][1] Running job. (Time Since Submission: 68 ms, Lifespan: 86400000 ms, Run Attempt: 1/Unlimited)
06-05 14:02:55.317 24342 24408 I UnidentifiedAccessUtil: Unidentified: 1, Other: 0. Types: {UUID_AND_E164=1}
06-05 14:02:55.336 24342  8609 D ConversationListDataSou: [load(0, 41), UnarchivedConversationListDataSource] cursor: 82  cache-recipients: 11  total: 93
06-05 14:02:55.354 24342 24409 I Job     : [JOB::6810f050-c300-4bde-a5f6-ed5b4c9a2d7a][PushProcessMessageJob] onSubmit() (Time Since Submission: 29 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:55.356 24342 24409 I JobRunner: [JOB::89372e2d-6d2a-4fd5-b94f-7c0fb5181031][PushDecryptMessageJob][2] Job finished with result SUCCESS in 159 ms. (Time Since Submission: 1377 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:55.394 24342 24411 I JobRunner: [JOB::6810f050-c300-4bde-a5f6-ed5b4c9a2d7a][PushProcessMessageJob][4] Running job. (Time Since Submission: 59 ms, Lifespan: Immortal, Run Attempt: 1/Unlimited)
06-05 14:02:57.132 24342 24411 I MessageContentProcessor: [1622894573347] Beginning message processing.
06-05 14:02:57.132 24342 24411 I MessageContentProcessor: [MessageContentProcessor] Processing delivery receipts for IDs: 1622894558220
06-05 14:02:57.146 24342 24391 I IncomingMessageObserver: Retrieved envelope! 1622894574680

This may have to do with the bug, since it's directly measuring the size of the conversation. However, tracing what that does, it seems to do a count(*) query to the SQLite database.

On searching "sqlite count linear instead of constant", I get this StackOverflow result which says that count(*) has a runtime of O(n). Some solutions are proposed there, but I think the count calls could be removed or moved, since I don't think they're a prerrequisite in order to send a message. Alternatively, the number of messages could be stored somewhere else and incremented as a new message is sent, or decremented as a message is deleted.

To be honest, I didn't look into it that deeply to see where the size() function is being called in order to send a message (I might try to in the future). I'm not sure at all why to send a message, you have to count the number of previous messages.

Something which would help is to reduce the number of calls to count(*)

Personal note: I bought a new, more powerful, device in part due to this bug; this bug makes me hesitate recommending Signal, since not everyone has the means to do so. So, I'm willing to do my part to solve this bug.

@Anti-ctrl
Copy link
Author

@hwinnemoe Thanks for your log! I think this is the first time in this thread someone has done more than submitting the debug log (including me), since you've pinpointed the message IDs that take long to send.

I think the Problem here is, that ALL Messages take long to send, which is why no one pointed it out yet.
Well.. And, at least for me, there is the noob factor involved, as i cant pin point a message in the log at all.

Nevertheless its quiet nice to see someone making progress, after almost one YEAR! Thanks alot for having a look and thanks to @hwinnemoe for being so precise! Good Job Guys/Girls!
How difficult is it, to fix stuff like that and what Problems may occur if you reduce/(re-)move the count(*) thingy ? May it be possible to just run it while you do a backup or as a nightly Job ? Sorry for the stupid question, but kinda excited to see some Progress (finally!!)

@ultrajae
Copy link

ultrajae commented Jun 5, 2021

Just updating to say I've timed more closely how long to send in my 250K message chat--

25-30 seconds for the first msg
1 min for the second
2 mins for the third-
and more for subsequent msgs

Again, this is on consecutive messages sent (IOW, a back and forth active conversation).

It's pretty unusable tbh

As I stated earlier, the problem DID exist on the desktop version to, shortly after I updated to v5, AND further updated to v 5.1.0, but THEN the desktop team did something on their end, which made ALL OF THAT go away, and suddenly, v 5.1.0 was working normally, i.e., instant messaging. (and still working perfectly a.o. v 5.4.0)

My Android log is in my earlier post.

@Rahulpudhari
Copy link

Rahulpudhari commented Jun 6, 2021 via email

@teynav
Copy link

teynav commented Jun 18, 2021

Is Signal 5.15 any better for you guys?

@mariachini
Copy link

mariachini commented Jun 19, 2021

Messages are sent a little bit faster, so IMO it's better
https://debuglogs.org/aff9d17b95f6ffcedcdbe1c5425a96763bd6aed0e51e81af30c2e84be1cf9187

@ultrajae
Copy link

Is Signal 5.15 any better for you guys?

Not much here

Still 30 seconds for the first message to go through

Don't know if it's worse on subsequent sends (consecutive of couse)

@niktss
Copy link

niktss commented Jun 19, 2021

Is Signal 5.15 any better for you guys?

Nope, not much progress

@ravtakhar
Copy link

Is Signal 5.15 any better for you guys?

Still experiencing the same issues with the latest update.

@greyson-signal
Copy link
Contributor

I'd be interested in seeing updated logs from 5.15.x. I made some large changes to the conversation query to improve performance. It's markedly faster on large conversations on my phone, but if it's not better on yours, it'd be nice to see logs to find out where the time is being spent.

@greyson-signal
Copy link
Contributor

Messages are sent a little bit faster, so IMO it's better
https://debuglogs.org/aff9d17b95f6ffcedcdbe1c5425a96763bd6aed0e51e81af30c2e84be1cf9187

Looking through your log, it's nice because I can see how long Thread 1 took to open pre-5.15 vs post 5.15. It's at least twice as fast, which is awesome and what I expected.

How this feeds into message send performance is more complicated. But basically the database we use is currently single-threaded, so if you're sending a message, we can't do that database query and the conversation query at the same time, and that causes both of them to go slower as they wait on each other. And as you're sending a message, you're doing things like updating the status of that message, which is what causes the conversation to requery to get updated data and stuff.

There's lot of interesting things we can do here, but the largest one is to parallelize reads on our database, which is something happening in the coming months.

@niktss
Copy link

niktss commented Jun 21, 2021

I think it's faster, but I switched phones a month ago so I can't really compare pre- and post- speeds
Log: https://debuglogs.org/5508c23e45940d99181e8dec3f029ee821694e3b985e9492202cf8a5f787df54

@NilsIrl
Copy link

NilsIrl commented Jun 21, 2021

Messages are sent a little bit faster, so IMO it's better
https://debuglogs.org/aff9d17b95f6ffcedcdbe1c5425a96763bd6aed0e51e81af30c2e84be1cf9187

There's lot of interesting things we can do here, but the largest one is to parallelize reads on our database, which is something happening in the coming months.

This seems to be a scaling issue. Sending a message is not a constant time operation which is why it gets slower as chat size increases. Parallelizing the operation can improve the "symptoms" but it will not remove the underlying issue (that sending a message doesn't take a constant time). And although it will improve symptoms it will also increase resource usage.

So the solution would be to make it so that the operation of sending a message takes a constant time.

This is my subjective assessment of the situation and I may have interpreted this incorrectly and overlooked some more or less important details.

@gabrc52
Copy link

gabrc52 commented Jun 21, 2021

@Nilslrl that seems to be precisely the case, and I think I've pinpointed where the linear time operation is, it seems to be a specific SQLite query (count). See my comment above.

@mrliuws
Copy link

mrliuws commented Jun 24, 2021

Here are my logs for 5.13 and 5.15. Minor improvement in sending time.
Hope it helps...

5.13:
https://debuglogs.org/b9e8373dcb12c90291f213720adb73e69c3ba60cf0323fe3dc1018e825a5ea61

5.15:
https://debuglogs.org/cc5544697ea4b571f0e5679b7533a130de8dee8821c062c049e710f582a1b764

@ultrajae
Copy link

ultrajae commented Jul 8, 2021

Is this ever going to be addressed?

Signal is quite unusable for me EXCEPT on desktop where they DID have this issue and fixed it with a couple weeks.

@ravtakhar
Copy link

Is this ever going to be addressed?

Signal is quite unusable for me EXCEPT on desktop where they DID have this issue and fixed it with a couple weeks.

It's easy for me to go through and delete messages to continue using signal, but it's hard to recommend this to friends and family. They do not understand the notion of deleting conversations to continue using the app at normal speeds.

@jeysal
Copy link

jeysal commented Jul 28, 2021

I never had much of a problem with message send times, but had ridiculously long spinners and other load times when preparing photos/videos to send, and those got a lot better with some update this month (July 2021).

@tdevinda
Copy link

This is becoming a headache. There is a possible fix outlined here with the database call. And we know there is no technical barrier in getting this message send delay to happen because every messaging app out there can send without this problem :(
Usually the receive part is the hard one.

@sirsleon
Copy link

sirsleon commented Aug 5, 2021

Hooray! This issue seems to have been greatly minimised on the latest Signal Android v5.20!

BETA

@ultrajae
Copy link

ultrajae commented Aug 7, 2021

Android vers 5.19.4 (latest available to me in Play Store)
Definitely NOT fixed.

I just sent 8 consecutive texts in a row in my long "problem" conversation-

It took over 90 seconds for it to complete all the texts

(They were literally a, b, c, d, e, f, g, h. One letter each.)

@tdevinda
Copy link

tdevinda commented Aug 7, 2021

@sirsleon did you build 5.20? I have a basic question. If I build it from source, will I be able to use it with the production network? (i.e as the usual app)

@tdevinda
Copy link

tdevinda commented Aug 7, 2021

@sirsleon did you build 5.20? I have a basic question. If I build it from source, will I be able to use it with the production network? (i.e as the usual app)

forget that. I just joined beta. it has 5.20.2. Yes.!! it does improve time. from 10s down to about ~3s ~2s for the same conversation thread.

@ultrajae try the beta

@Anti-ctrl
Copy link
Author

Can confirm that the Issue is resolved in 5.20.4. Got the Update via Playstore today and Messages are almost (2-3 sec) instant now, which is a great improvement and something i call perfectly fine. Thanks for the Work Guys and Girls, and thanks to everyone who contributed along the way! I'll close this now, as it is definitely resolved.

@sirsleon
Copy link

4 days before this issue becomes a year old xD

@ultrajae
Copy link

So far so good. Three seconds better than 30 seconds.

Client is usable again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests