GNOME Bugzilla – Bug 543332
Severe performance regression in Average Balance report
Last modified: 2018-06-29 22:07:46 UTC
I just upgraded from GnuCash 1.8 to 2.2.5. In the new version, the Average Balance report is significantly slower than in 1.8. I'm trying to output the average balance graph over a period of 6 years with a one-month step size. This used to take 10-15 seconds in GnuCash 1.8. It takes over 10 minutes in GnuCash 2.2.5.
Created attachment 122512 [details] [review] Fix for the performance problem This at least removes the O(N^2) behavior. With this patch, the report takes about 20 seconds. The comments basically explain what's going on.
Committed to trunk, r17690, awaiting back-port so that it will be included in the next stable release as well. Thanks for the patch!
Thanks for getting this landed!
2.2-branch, r17737
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=543332. Please update any external references or bookmarks.