Riot.im burns large amounts of CPU in the background

RESOLVED INCOMPLETE

Status

Tech Evangelism
Desktop
P3
normal
RESOLVED INCOMPLETE
a year ago
20 days ago

People

(Reporter: heftig, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [qf], URL)

(Reporter)

Description

a year ago
Riot.im is a client for the Matrix network and one of the gateways to the Mozilla IRC network.

Starting the release version https://riot.im/app/, switching it to a completely inactive room and letting it sit in a background tab averages about 37.5% CPU use (~9 min CPU time over ~24 min real time) and 1.6G RSS for the associated content process. 

The development version https://riot.im/develop/ is not noticeably different.

I'm joined to about 65 rooms, some of them very large and very active.

It would be great if a solution could be found to at least reduce background CPU usage. IMO the current situation is not acceptable for a chat application that needs to deliver notifications.

Firefox 54.0a2, Arch Linux x86_64, Intel Core i7 6820HK
I'm not sure if this still reproduces, but perhaps someone from the qf team can take a looks.
Priority: -- → P3
Whiteboard: [qf]
Hi heftig, sorry it's taken so long, but is this still an issue? If so, could you try capturing a performance profile following these instructions: https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem
Flags: needinfo?(jan.steffens)
(Reporter)

Comment 3

20 days ago
Because of the massive performance issue I've since reduced my use of Riot to a few small rooms. I'm not sure when and if I ever return to heavier usage. I will reopen the bug if I reencounter the problem.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 20 days ago
Flags: needinfo?(jan.steffens)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.