D14009: [Plasma PluginLoader] Cache plugins during startup
Kai Uwe Broulik
noreply at phabricator.kde.org
Mon Jul 9 17:59:17 BST 2018
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180709/d36d79a3/attachment.html>
More information about the Kde-frameworks-devel
mailing list