Re: [GNC-dev] Performance regression loading account

2023-03-16 Thread Robert Fewell
Bug created, https://bugs.gnucash.org/show_bug.cgi?id=798788 with test file. Regards, Bob On Thu, 16 Mar 2023 at 03:38, john wrote: > Bob, > > Please open a bug report and attach your sample test file. > > Regards, > John Ralls > > On Mar 15, 2023, at 4:02 AM, Robert Fewell <14ubo...@gmail.com>

Re: [GNC-dev] Performance regression loading account

2023-03-15 Thread john
Bob, Please open a bug report and attach your sample test file. Regards, John Ralls > On Mar 15, 2023, at 4:02 AM, Robert Fewell <14ubo...@gmail.com> wrote: > > I wanted to get some numbers on this as my test file seemed OK. > I used Calc to create a CSV transaction import file with 8402 rows

Re: [GNC-dev] Performance regression loading account

2023-03-15 Thread Robert Fewell
I wanted to get some numbers on this as my test file seemed OK. I used Calc to create a CSV transaction import file with 8402 rows and some description columns with 16, 64 and 128 character random strings. Used this to import several times to a new empty gnucash xml file and added some timing for t

Re: [GNC-dev] Performance regression loading account

2023-03-14 Thread Maarten Bosmans
Op ma 13 mrt 2023 om 04:44 schreef john : > My first guess is that it's from creating a cache of quickfill entries to > populate a drop-down list of possible entries similar to the way the transfer > account field has worked for a couple of years. Yes, I've isolated it to the commit "Change the

Re: [GNC-dev] Performance regression loading account

2023-03-13 Thread Thomas Baumgart
On Montag, 13. März 2023 17:08:22 CET Maarten Bosmans wrote: > Op ma 13 mrt 2023 om 12:27 schreef Robert Fewell <14ubo...@gmail.com>: > > I am curious how you created that graph? > > With Intel VTune. That's the software I know to use for $DAYJOB > (mainly HPC related stuff). I think there are al

Re: [GNC-dev] Performance regression loading account

2023-03-13 Thread Maarten Bosmans
Op ma 13 mrt 2023 om 12:27 schreef Robert Fewell <14ubo...@gmail.com>: > I am curious how you created that graph? With Intel VTune. That's the software I know to use for $DAYJOB (mainly HPC related stuff). I think there are also several free software options available to produce flame-graphs based

Re: [GNC-dev] Performance regression loading account

2023-03-13 Thread Robert Fewell
Maarten, I am curious how you created that graph? Also can you build 4.903? I am wondering if it is down to the sorting of the list store, by default gnc_item_list_new has sorting enabled so on every entry the list will be sorted. I wonder if it was disabled and in gnc_split_register_load we enabl

Re: [GNC-dev] Performance regression loading account

2023-03-12 Thread john
> On Mar 12, 2023, at 1:28 PM, Maarten Bosmans wrote: > > Hi all, > > When testing the 4.902 flatpak, I noticed that loading an account > takes several (~4.5) seconds. This account has about 24k transactions > and loads in less than half a second on the GnuCash 4.8 from my > distribution. Is

[GNC-dev] Performance regression loading account

2023-03-12 Thread Maarten Bosmans
Hi all, When testing the 4.902 flatpak, I noticed that loading an account takes several (~4.5) seconds. This account has about 24k transactions and loads in less than half a second on the GnuCash 4.8 from my distribution. Is this a regression because of a code change, or perhaps simply the result