D10342: From 1.03% to 0.08% cpu usage moving 50.000 files
Jaime Torres Amate
noreply at phabricator.kde.org
Mon Feb 12 12:07:00 UTC 2018
jtamate added a comment.
In D10342#204465 <https://phabricator.kde.org/D10342#204465>, @jtamate wrote:
> In https://phabricator.kde.org/D9840 I noticed a high i/o and cpu usage
> when using the vivaldi browser, opening 10 tabs just caused a 40% cpu
> usage. Now, opening 10 tabs or more is bellow the 0.03%.
I know now why it is calling windowUrlFromMetadata.
Because unlike firefox and chromium, with sub processes using the same executable but with parameters, the vivaldi sub processes are called vivaldi-bin, and there is no .desktop file for that executable name. As soon as I've manually created a .desktop file for vivaldi-bin, plasmashell cpu became normal without the patch. With the patch, there is no need for the .desktop file.
REPOSITORY
R120 Plasma Workspace
REVISION DETAIL
https://phabricator.kde.org/D10342
To: jtamate, #plasma_workspaces
Cc: broulik, plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180212/ffe34a30/attachment.html>
More information about the Plasma-devel
mailing list