broulik created this revision.
broulik added reviewers: Plasma, davidedmundson, mart.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: kde-frameworks-devel.
broulik requested review of this revision.

REVISION SUMMARY
  Similar to KPackage's cache this speeds up startup where plugins are 
repeatedly looked up.
  Especially the fallback path of looking in the plugin root directly causes 
quite some slowdown.

TEST PLAN
  Speeds up plasmashell startup by ~175ms both with and without dropped caches 
on my laptop
  
  Verified that all applets load fine and that adding applets (both QML-only 
and C++ applets) after the startup period works fine

REPOSITORY
  R242 Plasma Framework (Library)

REVISION DETAIL
  https://phabricator.kde.org/D14009

AFFECTED FILES
  src/plasma/pluginloader.cpp

To: broulik, #plasma, davidedmundson, mart
Cc: kde-frameworks-devel, michaelh, ngraham, bruns

Reply via email to