[Kmymoney-devel] Lockup during report

Thomas Baumgart thb at net-bembel.de
Mon Nov 30 07:53:56 CET 2009


On Monday 30 November 2009 04:05:40 Alvaro Soliverez wrote:
> On Sun, Nov 29, 2009 at 11:37 PM, Alvaro Soliverez <asoliverez at gmail.com> 
wrote:
> > On Thu, Nov 26, 2009 at 12:45 PM, Thomas Baumgart <thb at net-bembel.de> 
wrote:
> >> Hi,
> >>
> >> on Thursday 26 November 2009 Alvaro Soliverez wrote:
> >>> I tried it again, and at least with my data I get no lockups.
> >>> However, it is much slower than other reports. Plus, I have noticed
> >>> that the khtml part sometimes takes some time to show up. Are you sure
> >>> it locked up and it wasn't just taking very long?
> >>>
> >>> My guess is that the latest fixes had a hit on the performance of that
> >>>  report.
> >>
> >> Yes, that's exactly it. By accident, I left it running for a while and
> >> got the result. Performance is hit very badly. On KDE3 I get instant
> >> results (< 1 sec), on KDE4 I have to wait 50 seconds. Fortunately, the
> >> figures are the same ;)
> >
> > The problem is on the charts. That's where it's taking the most time,
> > at least on my setup. Mostly, I think it's having issues adding so
> > many accounts. I will try to change the default level of detail of the
> > charts.

That was my impression as well as I interrupted program execution with the 
debugger. It was always somewhere in the charts logic.

> Having thought about this, I think I have a different idea. What if we
> restrict the legend to a maximum number?
>
> Say, if we have over 10 legends, then we don't show it at all. It's
> useless anyway after a certain number, and the tooltips provide better
> feedback.
>
> We could add a setting, so the user can change it if willing to see
> all legends regardless of the quantity of legends.

That certainly makes sense.

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Linux & Open Source Software - aaah, the sweet smell of 'Free'dom
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20091130/e3981127/attachment.sig 


More information about the KMyMoney-devel mailing list