[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: [Kde-pim] libkabc as a performance issue...
From: Reinhold Kainhofer <reinhold () kainhofer ! com>
Date: 2003-09-06 14:07:04
[Download RAW message or body]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I just did some valgrinding of korganizer and I was quite shocked about the
outcome (see attached screenshot of the most expensive function calls).
In this test I started korganizer, moved around some events, edit some, etc.
and then closed korganizer.
Basically, what it says (as I understand it) is that 21.6% of the whole CPU
cost of KOrganizer goes to loading the StdAddressBook (consisting of one .vcf
file with only 330 addresses) !
The destruction is even more dramatic:
35% of the whole CPU cost goes to ~StdAddressBook ! Of that, 22.5% (of the
overall cost) are used in KABC::VCardTool::createVCards (called from
KABC::VCardFormatPlutin::saveAll).
What seems strange to me in this regard is that the StdAddressBook is saved,
even though it wasn't changed at all. Maybe fixing this can already improve
things a lot.
So, currently when running (starting and closing) korganizer, about 60% of the
costs only goes to the addressbook library. I don't think this is acceptable.
One has to note that these problems affect all applications and libraries
that link to libkabc and use StdAddressBook.
Reinhold
PS: I really love the new attachment warning in KMail!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/WeoJTqjEwhXvPN0RAoE/AKCqxxqwDeT6NBgBu0zwDO4rODkxIACgyamI
MQAUVJ5gmaJcYRTp1XSuFQA=
=Y5Zu
-----END PGP SIGNATURE-----
["LibKABC_KCachgrind.png" (image/png)]
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic