[Kolab-devel] Max number of contacts
Bernhard Reiter
bernhard at intevation.de
Sun Nov 7 11:32:45 CET 2004
Thanks for testing and improving this.
On Friday 05 November 2004 21:16, David Faure wrote:
> On Thursday 04 November 2004 20:41, David Faure wrote:
> > * Starting and quitting (with Alt+F4 during the loading, so no time is
> > lost) kontact (in kaddressbook mode) with those 10000 contacts takes 30s.
> > For comparison, starting and quitting kontact without any contacts to
> > load takes 2s.
> >
> > * According to callgrind, two thirds of the instructions (15.2 billion)
> > are spent in the incidencesKolab() call, and one third (8.2 billion) in
> > loadContact() (mostly in QDom XML loading, as expected).
> >
> > I think I found a way to optimize incidencesKolab(), testing that now.
>
> I optimized the loading by 10%, then I added a progress dialog while
> loading the contacts and incidences (it only appears if it takes more than
> 4s), which basically brings us back to 30s, but the user experience is much
> improved, since the window now repaints itself and shows the progress
> dialog.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2145 bytes
Desc: signature
URL: <http://lists.kolab.org/pipermail/devel/attachments/20041107/9db65293/attachment.p7s>
More information about the devel
mailing list