[kdepimlibs] [Bug 346644] New: KF5/KMail Performance Bottleneck in Akonadi::StatisticsProxyModel::data(...)
Andreas Cord-Landwehr
cordlandwehr at kde.org
Sat Apr 25 16:45:33 BST 2015
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: kdepim-bugs at kde.org
Reporter: cordlandwehr at kde.org
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.
More information about the Kdepim-bugs
mailing list