Bug 217071 - Investment Price Graph is very slow
Summary: Investment Price Graph is very slow
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-02 15:33 UTC by David Houlden
Modified: 2009-12-06 03:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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