https://bugs.kde.org/show_bug.cgi?id=346644

            Bug ID: 346644
           Summary: KF5/KMail Performance Bottleneck in
                    Akonadi::StatisticsProxyModel::data(...)
           Product: kdepimlibs
           Version: GIT (master)
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: akonadi
          Assignee: [email protected]
          Reporter: [email protected]

About 50% of KMail's CPU time is spent via QIcon::fromTheme(QString &const,
QIcon const&), called via Akonadi::StatisticsProxyModel::data(...) in
statisticsproxymodel.cpp, line 427.
KF5/KMail is quite unresponsive due to this, even with a fast SSD on my
machine. Performance stats where tested via attaching perf. Replacing
QIcon::fromTheme( CollectionUtils::displayIconName( collection ) ) with a
simple "QIcon()" fixes my performance problems.
Probably caching the icon is the way to go here...

Reproducible: Always

Steps to Reproduce:
1. start KMail
2. happens :)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kdepim-bugs mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kdepim-bugs

Reply via email to