plasma-framework/src
David Edmundson 901cc3e159 Do not keep reparsing plasmarc configuration
KConfig->reparseConfiguration is expensive. It throws away our cached
values.

The Units constructor was calling this every single time. Units is
created a _lot_; once per applet and once per FrameSVGItem.

This meant we were reloading the same config ~100 times on startup for
no reason.

Perf showed this as being ~5% of the total startup time.

-    7.47%     0.00%      plasmashell  libKF5ConfigCore.so.5.5.0
                   [.] KConfig::reparseConfiguration()

   - KConfig::reparseConfiguration()

      + 66.51% Units::settingsFileChanged(QString const&)

      + 25.95% KConfig::KConfig(QString const&,
QFlags<KConfig::OpenFlag>, QStandardPaths::StandardLocation)

      + 3.93% KDesktopFile::KDesktopFile(QString const&)

      + 3.61% Units::settingsFileChanged(QString const&)

Change-Id: Ia70b7001ba473c8063e6c999b8e4233ea5b206f5
2014-12-11 01:04:57 +01:00
..
declarativeimports Do not keep reparsing plasmarc configuration 2014-12-11 01:04:57 +01:00
desktoptheme SVN_SILENT made messages (.desktop file) 2014-12-06 08:59:32 +00:00
kpart SVN_SILENT made messages (.desktop file) 2014-12-01 08:51:21 +00:00
plasma SVN_SILENT made messages (.desktop file) 2014-12-07 08:47:50 +00:00
plasmapkg crash-- 2014-10-16 10:45:30 +02:00
plasmaquick fix typo height -> width 2014-12-02 10:01:20 -05:00
platformstatus Fix the platformstatus kded module 2014-12-02 19:53:42 +01:00
scriptengines initialize size of wallpaper as soon as possible 2014-12-02 11:48:33 +01:00
tools use correct ki18n_wrap_ui in ki18n based plasma-frameworks 2014-11-10 10:03:01 +01:00
CMakeLists.txt All source code under src per policy 2014-04-26 01:48:37 +02:00
Messages.sh Consolidate all plasma-framework catalogs 2014-04-25 10:40:12 +02:00