Summary: | Slow performance related to use of KHolidays in KDE 4.5 | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Alvaro Soliverez <asoliverez> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ostroffjh |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Alvaro Soliverez
2010-08-15 03:48:34 UTC
I consider this blocking for release, since the workaround is not obvious, and it takes over 2 minutes and 600MB of RAM to load a file. People will think KMM has hung on loading. SVN commit 1163993 by asoliverez: Added a cache to store the holidays for the next 2 years, which works around the slow performance of HolidayRegion class. BUG:247912 M +55 -3 kmymoney.cpp M +5 -0 kmymoney.h WebSVN link: http://websvn.kde.org/?view=rev&revision=1163993 SVN commit 1164020 by asoliverez: Added a check for pre KDE 4.5 BUG:247912 M +7 -0 kmymoney.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1164020 cmake, compile, and run OK for me on both KDE 4.4.5 (Gentoo) and KDE 4.5.0 (ArchLinux). This is with US settings, have not tried any other holiday settings. SVN commit 1164112 by asoliverez: Removed incorrect break statement BUG:247912 M +2 -4 kmymoney.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1164112 |