D9783: Performance: Reuse the global icon loader
Milian Wolff
noreply at phabricator.kde.org
Wed Jan 10 10:06:01 UTC 2018
mwolff created this revision.
mwolff added a reviewer: KDevelop.
Restricted Application added a subscriber: kdevelop-devel.
mwolff requested review of this revision.
REVISION SUMMARY
I just found a noticeable GUI hang when showing a problem widget
for a missing include path. There, the profiler pointed me at
KIconLoader which was reconstructed whenever we query for the icon
representing the severity of a problem.
By reusing the global icon loader, we can get the information from
the cache which is significantly faster.
REPOSITORY
R32 KDevelop
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D9783
AFFECTED FILES
kdevplatform/language/duchain/navigation/problemnavigationcontext.cpp
To: mwolff, #kdevelop
Cc: kdevelop-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20180110/27bfd290/attachment.html>
More information about the KDevelop-devel
mailing list