D23205: [KProcessList] Optimize KProcessList::processInfo

David Hallas noreply at phabricator.kde.org
Fri Aug 16 17:28:35 BST 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190816/ba76f1da/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list