roberts created this revision. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY Profiling indicates the highest CPU usage process during idle is the system monitor engine. This attempts to get rid of the most obvious usage, which was QStringList::indexOf, and QString temporaries. TEST PLAN Profiling only, as well as no local functional regression. REPOSITORY rPLASMAWORKSPACE Plasma Workspace BRANCH systemmonitor_perf REVISION DETAIL https://phabricator.kde.org/D3141 AFFECTED FILES dataengines/systemmonitor/systemmonitor.cpp dataengines/systemmonitor/systemmonitor.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: roberts Cc: plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas