Performance: Reuse the global icon loader

Authored by mwolff on Jan 10 2018, 10:03 AM.

Description

Performance: Reuse the global icon loader

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.

Reviewers: KDevelop

Subscribers: kdevelop-devel

Differential Revision: https://phabricator.kde.org/D9783

Details

Committed
mwolffJan 10 2018, 10:37 AM
Differential Revision
D9783: Performance: Reuse the global icon loader
Parents
R32:f2a6941e086c: Cache ProblemPointers per translation unit
Branches
Unknown
Tags
Unknown