Bug 217071

Summary: Investment Price Graph is very slow
Product: [Applications] kmymoney Reporter: David Houlden <djhoulden>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal CC: asoliverez
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description David Houlden 2009-12-02 15:33:38 UTC
Version:            (using KDE 4.3.3)
OS:                Linux

Running the KDE3 version of kmymoney I can open the Investment Price Graph in 7 seconds.
Running the KDE4 version on the same machine with the same data it takes 102 seconds. If I customise the chart to only show one investment it still takes the same time.
Running latest SVN as at now with the recent changes to the chart legend.
Comment 1 Alvaro Soliverez 2009-12-03 01:39:34 UTC
SVN commit 1057637 by asoliverez:

Load model after the rows are load to avoid unnecessary recalculation
BUG:217071

 M  +7 -6      kreportchartview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1057637
Comment 2 David Houlden 2009-12-03 02:24:46 UTC
After Alvaro's change the chart opens only displaying the axes and title. There are no data lines. Clicking on the report button then on the chart button causes the data lines to be displayed. Other graphs are also affected such as the Income and Expenses graph.
Comment 3 Alvaro Soliverez 2009-12-03 03:22:26 UTC
I don't see it happen in the Investment Price Graph, but I do see it in the case of the Income and Expense Graph. I'm not sure it is related to this fix, but I'll keep looking into it.
Comment 4 Alvaro Soliverez 2009-12-06 03:40:42 UTC
SVN commit 1059197 by asoliverez:

Changed the order when the chart is shown
BUG:217071

 M  +1 -3      kreportsview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1059197