-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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 takes a long time to show a conversation #1089
Comments
I added a debug log if it can be of any help |
I experience this problem on all my clients; Win10, Ubuntu, Arch. OS doesn't seem to be a significant factor. It appears to be getting worse as the length of my conversation histories grows with use. Conversations with short history display much faster than conversations with long history. |
I created a debug log under Win8 where I don't have any problem. https://gist.github.com/anonymous/7f0adfed3742ca81c6bda2df6f1d9a73 |
I'm also experiencing this problem, it's really annoying
By reading my log i have a recurring error:
i don't know if it's related |
Same here |
The latest version of the app has new logging which tracks the open time for each conversation. If you're still having this problem, I'd love some new logs. Thanks! |
Actually on me it worsted.. now, every-time I move from one conversation to another one is taking ages.. even if I did already opened that conversation 1 minute earlier.. |
@sylvaticus That's already the most recent version - please send a debug log and we can dig in! |
@dboonz Can you provide a little more information about what you're experiencing? That log indicates to me that you only loaded one conversation and it took 675 milliseconds to load. What exactly seemed slow to you? |
That is weird, I have about 50 conversations and it took about a minute to
load, which is why I looked up this thread in the first place. But it could
be that it was upgrading? The next time I opened signal it was fine. But I
saw some kind of splash screen saying loading conversations... n so far the
first time.
Regards,
Dirk
…On Sep 21, 2017 5:37 PM, "Scott Nonnenberg" ***@***.***> wrote:
@dboonz <https://github.com/dboonz> Can you provide a little more
information about what you're experiencing? That log indicates to me that
you only loaded one conversation and it took 675 milliseconds to load. What
exactly seemed slow to you?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1089 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACOt14S_SbRHXgMJVOoijPfGobY1LQlgks5skoKegaJpZM4McfhQ>
.
|
@dboonz I see what happened. This issue is mostly about how long it takes to load a single conversation. It sounds like you're worried about how long it takes to load the application up initially. How high did you see the number go when you started up, and how long did it take? |
50 conversations roughly, and it took about a minute. It only happened once
and I thought that this post was about it, so never mind, it currently
works fine. If it happens again I'll find the proper issue.
Thanks for the fast and kind reply!
…On Sep 21, 2017 18:26, "Scott Nonnenberg" ***@***.***> wrote:
@dboonz <https://github.com/dboonz> I see what happened. This issue is
mostly about how long it takes to load a single conversation. It sounds
like you're worried about how long it takes to load the application up
initially. How high did you see the number go when you started up, and how
long did it take?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1089 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACOt11-IIJwYoejTQ6vQCIP8kJwPFQbhks5sko4wgaJpZM4McfhQ>
.
|
@scottnonnenberg here it is.. https://gist.github.com/fa422595b844c2dbc642fc33e4305f7b As you can see, it takes often more than 10 seconds to load the conversation.. |
Hey @scottnonnenberg. Here is a recent log for me. I loaded around 200 messages. It took multiple minutes (2-3min) to do so before I could actually write one. https://gist.github.com/anonymous/c21e0982439eac935089f2df8ccb1e96 Edit: I might have not been clear in my first post but I was never talking about loading a single conversation. It was always just loading all conversations before the application could be used, so I guess @dboonz does experience the same issue. |
I'm experiencing this too. Steps to reproduce
Actual result: Signal takes a long time to load. It counts up "Loading messages. #0 so far..." in blocks of 10. Each block of 10 takes at least 5 seconds. It sort of seems like it's decrypting each message. I tried running It happens the first time after booting my machine, and if I close Chromium, receive some messages (on my phone), and reopen it. This maybe points to the error being something to do with downloading new messages? The length of time I have to wait before the UI displays seems to be correlated with how many messages it has to receive, but the numbers it counts up are always larger than the number of messages it needs to process (e.g. 5 new messages => it counts to about 70, 40 new messages => it counts to about 260). Why does Signal need to load messages at all before showing the UI? Can't it load them on-demand? Platform infoOperating System: ArchLinux 64bit Signal version: 0.43.4 Interestingly, this doesn't happen on my other machine, which has an i5. That machine might also have hardware accelerated crypto though, or something. I am not sure where to look for that. Link to debug loghttps://gist.github.com/kousu/c8aec1935994cf34573d928e37fce1a0 |
@kousu Thanks for the report. I'd guess that the reason your other computer is not showing this behavior is because it's on an older version. The loading screen was introduced in Anyway, we're absolutely looking for ways to make things faster. And perhaps also load messages without hiding it behind the loading screen (note: sending messages during this background-loading process could cause conversations to be out of order). |
Oh, you're totally right: I just booted my other computer and it counted to 940 before showing me anything. I guess it updated in the background last time I had my machine on. Debug log: https://gist.github.com/anonymous/da8c65e1dd9dea0aa257e0d255546858 Thanks for caring about this! I really appreciate that the Signal team cares about UX. |
I'm still experiencing this bug, on a reasonable hw (ssd, i7) loading some 1000+ messages takes nearly ten minutes wait-time on the loading screen till I can start working with the app. Can someone give a high-level explanation, why the messages take that long to load? They are cached on disk, right? |
just chiming in with a #metoo, this has been going on with Signal for a long time since downloading the Chrome addon and migrating to the standalone windows. I think, at least for me, it's something to do with the size of one cache of messages. I have one friend that I exchange messages with all day long, hundreds if not thousands, and loading the desktop app and synching with these messages takes an inordinate amount of time. I don't know if it's constrainted by Signal's resources (synching the Android version with Windows, and whatever amount of cloud resources it takes for that) or what, but I know my rig/SSD should be able to handle this type of process easily enough. |
@breznak @snazzle I just updated the title of this bug to better reflect its focus: the time it takes to load an individual conversation. It looks like both of you are interested in improving the message sync time, because you see the 'XX messages so far...' screen for too long on startup. This is the issue we're using to track that screen: #1442 |
here is a debug log from my windows app loading 400+ messages if it any help: https://gist.github.com/anonymous/af08398e1d9cb27a3025fd85c2fd444e |
@jocelynthode I took a look at your log, and saw only a few times loading took more than a second:
Does that match up with your perception? |
This was on windows and thus it didn't feel slow at all. On my Linux partition so many messages would takes minutes to load. |
I have 4 Chats, each contains 500 messages (I use the build in limitter, I hope, the deletion of messages gets synced to the desktop app) It tooked 5 seconds to open the chats I only use it on Ubuntu Mate 17.10 x64 |
@MartinX3 The deletion of messages is not synced to the desktop app. If you set up disappearing messages, that setting is sync'd and handled on desktop. |
This is our central startup performance issue: #3010 |
Definitely not solved, I found this issue while trying to research why Signal takes so long to start up on desktop. I have an SSD and hex core cpu and it can take almost a minute to launch, and I only have about 400-500 messages in my cache. Heaven help me if I decide to use Signal for dedicated communication and not just the occasional message. |
@Jivix-zz Your best bet for helping us improve performance is providing your debug logs after a particularly long startup. There's one known thing which can make startup slow (contact syncs) but perhaps there's something unique to your setup making database or disk calls slow down? The log will provide that detail. |
Sure, sorry I hadn't thought of looking for logs. Here was the particularly long boot. Today it only took 30 seconds for some reason which isn't too bad. Edit 9/3/20 - Just got a Signal update, now it seems the behavior was changed, it just says "Loading" instead of "Loading Messages" and it is much faster. Problem solved??? Edit 3/8/21 - Nope, still takes a long time to start. My computer can open a complex model in SolidWorks faster than it can launch Signal. |
I still had this. It was only noticeable on a duo-core machine with 2G of RAM; on a Thinkpad, it's not noticeable. I also didn't think to grab logs. I got frustrated and did When my history gets longer and it gets laggier again I'll grab logs. |
This is increasingly noticeable for me on an older laptop running windows. Startup time for Signal is now over a minute consistently. |
How is this still an issue, 3+ years later? It takes a couple minutes for my Signal to load on Windows 10 |
Just installed Signal message n Win 10 desktop very few messages instances displaying there (approx 20) most with no conversation at all. I get the loading messages splash as well. This does not appear to be solved as an issue. |
Bug description
When using Signal Desktop on Archlinux with Chromium, Loading messages sent when the desktop client was online takes a long time. On the same computer under Chrome on Windows 8.1, loading is almost instantaneous.
It is really slow when I haven't opened the desktop client in a few days (no problem on windows) as if it was taking a long time to go through all dates.
Steps to reproduce
Actual result: new messages take a long time to be displayed
Expected result: It should be as fast as on Windows
Platform info
Operating System: Linux cyborg 4.10.1-1-ARCH #1 SMP PREEMPT Sun Feb 26 21:08:53 UTC 2017 x86_64 GNU/Linux
Browser: Chromium Version 57.0.2987.133 (64-bit)
Signal version: 0.34.0
Link to debug log
https://gist.github.com/1d435e80d5d24d77ab7df725cfeffce3
The text was updated successfully, but these errors were encountered: