[Kmymoney-devel] Anonomized Mega File
Alvaro Soliverez
asoliverez at kde.org
Sat Sep 18 02:24:06 CEST 2010
Each schedule entered triggers the dataChanged signal, which in turn
updates the home view, and the models.
That takes almost 2/3 of the loading time.
Then, we have the reports loading time, which is way too long by itself.
I have a callgrind log based on loading that file for anyone who wants
to look at it. I'm not sending it to the list since it's 1.7MB.
Regards,
Alvaro
On Fri, Sep 17, 2010 at 9:32 AM, Alvaro Soliverez <asoliverez at kde.org> wrote:
> Hello,
> These observations match what I see here.
> I'm running a profiling here to find out why checking the schedules is so slow.
> One problem I think we have, is the KHoliday cache. The current
> preload for KHoliday goes from current date to 2 years. That doesn't
> take into account the overdue schedules. I'll figure out a way to
> calculate a prefetching window in a more reasonable way.
>
> The profiling will throw more information that we can use to fix the
> remaining issues.
>
> This file will help a great deal with that.
>
> Regards,
> Alvaro
>
>
> On Fri, Sep 17, 2010 at 9:13 AM, allan <aganderson at ukonline.co.uk> wrote:
>> On 17/09/10 02:06, Joel Webb wrote:
>>> As Requested.
>>> The uber huge file.
>>>
>>> On normal KDE3 usually takes 30 seconds to open. KDE4 5 minutes plus.
>>>
>>
>> Are you comparing like with like? After saving after first loading,
>> opening time dropped to ~80 seconds. Just wondered if the KDE3 time
>> might be from a loaded and saved version?
>>
>> On openSuse 11.3
>> SVN - existing file 245 seconds to open, mainly schedules.
>> SVN - saved file 80 seconds to open, mainly opening reports.
>>
>> KDE3 - existing file 10 seconds to open.
>> KDE3 - saved file 5 seconds to open.
>>
>> So, to me it looks like reading the file is not a problem, but schedule
>> checking is. Once the schedules are up-to-date, then loading reports
>> also is slower, but to a lesser extent.
>>
>> Allan
>> _______________________________________________
>> KMyMoney-devel mailing list
>> KMyMoney-devel at kde.org
>> https://mail.kde.org/mailman/listinfo/kmymoney-devel
>>
>
More information about the KMyMoney-devel
mailing list