systemmonitor: Optimise source updates.

Authored by roberts on Oct 23 2016, 11:56 AM.

Description

systemmonitor: Optimise source updates.

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.

Reviewers: apol, Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D3141

Details

Committed
robertsOct 30 2016, 3:26 PM
Reviewer
Plasma
Differential Revision
D3141: systemmonitor: Optimise source updates.
Parents
R120:40153f238920: Merge remote-tracking branch 'origin/Plasma/5.8'
Branches
Unknown
Tags
Unknown