limit the rate with which progress is sent via MPRIS
BUG: 416179
parent
c10644a3
-
This commit helped a lot in bringing down the CPU usage of
plasmashell
while Elisa is playing a song. However,plasmashell
still consumes quite a bit of CPU, because line 216 (Q_EMIT Seeked(m_position);
) is outside theif
clause that was added by this commit. As such,Q_EMIT
is still triggered a lot - even when the progress is less than 1% - and that induces load on theplasmashell
. Why was it not moved inside theif
clause like line 231 (QDBusConnection::sessionBus().send(mProgressIndicatorSignal);
)? -
mentioned in merge request !193 (merged)
-
🕊 @andreyevmentioned in merge request plasma-mobile/plasma-dialer!108 (merged)
Please register or sign in to comment