Performance

Thomas Baumgart thb at net-bembel.de
Thu Jan 14 07:07:53 GMT 2021


Hi,

I noticed these differences myself in the 5.1 branch. SSD vs. HD does not make a difference, as the bulk of the processing causing the delay is happening when the data is already loaded into RAM. CPU speed makes a difference.

In master this is better (but far from ready for production use). Loading time does not differ upon the view selected to be shown after start of the application. I found another area where I can make improvements, but have not come around to actively work on it.

Thomas

On Mittwoch, 13. Januar 2021 16:13:27 CET Aaron Mehl wrote:

>  Hi,The difference I saw was when home was the last view it took a long time 15+ seconds to open and when accounts was the last view it opened right away.I am patient but since I am opening and closing a lot I like this option.Aaron
>     On Monday, January 11, 2021, 01:55:51 PM EST, Brendan Coupe <brendan at coupeware.com> wrote:  
>  
>  I have 15 years of data, less than Thomas but a fair amount. I tested it both ways and found very little difference. I only show Assets and Liabilities on the home page. When I added everything else, the opening took about 8 seconds instead of 5 seconds. I am running on a fast SSD with lots of RAM so it's probably about as fast as it could be.
> I would not be happy if it opened on the last tab. I always want to start with the summary on the home tab.
> 
> ----
> Brendan Coupe
> 
> 
> On Mon, Jan 11, 2021 at 8:43 AM Jack <ostroffjh at users.sourceforge.net> wrote:
> 
>   
> If that were the default, then I think the first thing most users would do would be to switch to the Home View, so in the long run, it wouldn't save any time.
>  
>  On 1/11/21 9:58 AM, Aaron Mehl wrote:
>   
>   Hi Thomas, I just did what you recommended and KMyMoney loaded much quicker. Thanks, Aaron Maybe this should become the default? Aaron 
>       On Sunday, January 10, 2021, 02:06:28 AM EST, Thomas Baumgart <thb at net-bembel.de> wrote:  
>   
>    On Samstag, 9. Januar 2021 22:55:04 CET Nathan M. Murray wrote:
>  
>  > I have been using Kmymoney for my current dataset since 2015.  I am using the XML storage option at the moment.  I also am using GPG to encrypt the file.
>  > 
>  > Since v. 5 I have noticed a lag of 10 - 30 sec when opening and saving the file.  Not sure if this is due to the GPG aspect or dataset size (805.6 kb).  Currently using v. 5.1.0 (Pop_OS).
>  > 
>  > File details:  12,511 Transactions, Splits 23,849, Schedules 25, Prices 435.
>  
>  I doubt that the filesize and the number of objects is a problem. Your specific hardware certainly can play a role.
>  
>  I recently made some performance comparisons between the 5.1 and master branch and noticed, that the most time when loading a file is spent in rendering the home view (which we eventually have to fix).
>  
>  You can verify that as follows:
>  
>  a) start KMyMoney (I expect it comes up with the home view)
>  b) Select the "Start with last selected view" in the General/View settings
>  c) Select the "Accounts" view and quit KMyMoney
>  d) start KMyMoney again and check if the delay changes or stays the same and report back
>  
>  > When does the performance decrease with XML and increase with SQL?  I understand SQL doesn't support GPG at this time.
>  
>  In case the delay changes in d) there is no benefit in using the SQL backend. KMyMoney does support SQLCipher as encrypted DB backend.
>  
>  BTW: I do testing here with the following parameters:
>  
>    File details:  71,259 Transactions, Splits 165,089, Schedules 30, Prices 3800.
>  
>  and can confirm the above. Loading time with KMyMoney 5.1 on my machine takes around 10 seconds in accounts view and more than 30 in home view. It also depends which reports you show on the home view (there are settings to change that) 
>  
> -------------------------------------------------------------
>  MicroSoft Windows - from the people who brought you edlin 
> -------------------------------------------------------------
>       
>  
>   
> 

-- 

Regards

Thomas Baumgart

https://www.signal.org/       Signal, the better WhatsApp
-------------------------------------------------------------
If you've got friends that have you thrown out of a plane in mid-air,
you don't need enemies.
(Sebas Kügler on http://vizzzion.org/blog/2010/06/jumped/)
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20210114/cd1a779d/attachment.sig>


More information about the KMyMoney mailing list