[Xfce-bugs] review requested: [Bug 16773] Redundant call to backdrop_changed_cb without changing current_workspace : [Attachment 9815] Patch in git format

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Apr 28 19:33:44 CEST 2020


Jan Ziak (http://atom-symbol.net) <0xe2.0x9a.0x9b at gmail.com> has asked Andre
Miranda <andreldm at xfce.org> for review:
Bug 16773: Redundant call to backdrop_changed_cb without changing
current_workspace
https://bugzilla.xfce.org/show_bug.cgi?id=16773

Attachment 9815: Patch in git format
https://bugzilla.xfce.org/attachment.cgi?id=9815&action=edit



--- Comment #1 from Jan Ziak (http://atom-symbol.net)
<0xe2.0x9a.0x9b at gmail.com> ---
Created attachment 9815
  --> https://bugzilla.xfce.org/attachment.cgi?id=9815&action=edit
Patch in git format

This patch reduces memory consumption on a 4K display by about 33 MB when
switching workspaces. Longer-term memory consumption can be reduced by up to 85
MB (with a 4K display).

As a side-effect, xfdesktop is now consuming about 1-3 ms of CPU time per
workspace switch. Previously, it was consuming about 15-30 ms.

Please review this patch and test whether it reduces memory consumption as
advertised.


More information about the Xfce-bugs mailing list