hallas created this revision. hallas added reviewers: davidedmundson, broulik. Herald added a project: Frameworks. hallas requested review of this revision.
REVISION SUMMARY Optimize KProcessList::processInfo on unix so that it doesn't iterate over all processes and then filter the list to the requested process. Instead refactor the code that fetches process info from a single process and use that function. TEST PLAN Unit Test REPOSITORY R244 KCoreAddons BRANCH optimize_kprocesslist_processinfo REVISION DETAIL https://phabricator.kde.org/D23205 AFFECTED FILES src/lib/util/kprocesslist.cpp src/lib/util/kprocesslist_unix.cpp src/lib/util/kprocesslist_win.cpp To: hallas, davidedmundson, broulik Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns