-
Notifications
You must be signed in to change notification settings - Fork 38
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
Very slow redrawing of window after ~1 day #83
Comments
Just some notes - I've got less then 1000 messages in a backlog when I'm starting to feel performance issues. And for some bigger chats backlog can contain 2-3k messages. |
Sadly I'm aware of this, but the combination of the aging quassel protocol + the fact that everything is handle client side in Javascript (especially with AngularJS) make it really difficult to optimize 😐 |
Mh. Good thing I searched before opening a new ticket on this. :( |
That's a difficult problem, but here are the options we have (feel free to participate):
Point 3. would take an enormous amount of time for an incertain outcome, so I think it's not worth digging into. Anyway, I'm reopening the ticket, someone might have another idea or would want to help. |
Uhh what about trimming backlog of unfocused buffers? And then just forcing having to re retrieve them if the user decides to scroll back up that much? I know I wouldnt miss having more than 200 lines reloaded when I come back to a buffer. You could make it a selectible length, and perhaps the option to only purge read lines. |
That's would be a nice workaround, I would just have to make sure that this is configurable and can be deactivated (and off by default). |
@Gnarfoz Was it slow also when switching to buffer with a small amount of backlogs ? |
For me its only slow when I'm swapping to a buffer with a large amount of backlog. Smaller less active channels are always snappy. |
…workaround slow redraw for buffer with lots of messages. See #83
…divides by 2 or 3 the time necessary to display buffer messages. See #83
In fact point 2. will not help, what takes most of the time is angular ng-repeat with the combination of ng-sanitize. But last commit (df41083) really improves redraw performance nevertheless. |
Just to add my two cents: same here, small buffers are fast, bigger ones are slow as molasses and block the whole UI for a long time (I don't think there's a limit, tbh). |
For the empty buffers on switching, could we have that set to not empty it entirely? But like trim down to a certain number, like say 100 messages or so. It'd save a little bit of reloading. |
I added the possibility to choose how many messages you want to keep (from 0 to 999) |
Hmmm I'm not sure that the choosing how many messages to keep is actually working properly. Despite setting it to 200 it seems to clear everything anyways. I still get a fetching backlog message. |
Hi!
If I leave quassel-webserver connected to quassel for approx. 1d, then it becomes very slow - I mean switching to other channels takes tens of seconds to actually perform the switch. Also I've noticed high CPU usage of quassel-webserver tab.
Browser: Chrome 45 on MacOS 10.10.
The text was updated successfully, but these errors were encountered: