--===============93977301218407661== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="69pVuxX8awAiJ7fD" Content-Disposition: inline --69pVuxX8awAiJ7fD Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Sep 06, 2003 at 04:07:04PM +0200, Reinhold Kainhofer wrote: Hi Reinhold, > I just did some valgrinding of korganizer and I was quite shocked about t= he=20 > outcome (see attached screenshot of the most expensive function calls). > In this test I started korganizer, moved around some events, edit some, e= tc.=20 > and then closed korganizer. >=20 > Basically, what it says (as I understand it) is that 21.6% of the whole C= PU=20 > cost of KOrganizer goes to loading the StdAddressBook (consisting of one = =2Evcf=20 > file with only 330 addresses) ! >=20 > The destruction is even more dramatic: > 35% of the whole CPU cost goes to ~StdAddressBook ! Of that, 22.5% (of th= e=20 > overall cost) are used in KABC::VCardTool::createVCards (called from=20 > KABC::VCardFormatPlutin::saveAll). >=20 > What seems strange to me in this regard is that the StdAddressBook is sav= ed,=20 > even though it wasn't changed at all. Maybe fixing this can already impro= ve=20 > things a lot. You have to call StdAddressBook::setAutomaticSave( false ); to avoid automatic saving at destruction time. Cornelius, shall I change the behaviour of StdAddressBook to have this property false by default? Ciao, Tobias --=20 Can a government that shoots at reporters be democratic? Separate politics from religion and economy! --69pVuxX8awAiJ7fD Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/WgwqSvFUKpY6VLARAvY5AJ4zaP3J8Ne9PTboWpkdQiU9m4TbbQCfXTUN CVeIqqsAzggHzjYK1FOtT4w= =pmcg -----END PGP SIGNATURE----- --69pVuxX8awAiJ7fD-- --===============93977301218407661== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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/ --===============93977301218407661==--