[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: kword slow loading
From:       Sebastian Sauer <mail () dipe ! org>
Date:       2007-05-21 18:03:07
Message-ID: 200705212003.07717.mail () dipe ! org
[Download RAW message or body]

On Monday 21 May 2007 10:36, Thomas Zander wrote:
> Yesterday Sebastian noted on IRC that loading of a big (well huge ;)
> document was too slow, so I did a callgrind session of loading it.
>
> Here is the result;
> http://members.home.nl/zander/kword-load-doc.callgrind.bz2 (1Mb)
>
> Upon browsing the tree I noticed that KoOpenDocumentLoader::loadSpan() was
> called about half the amount of times as KoParagraphStyle::loadOasis().
> Which seems odd to me, the styles should be loaded from XML exactly one
> time each so the latter method should be called at most 20 or 30 times.
>
> I'm no expert at interpreting this data (takes some doc reading which I
> was too lazy for) but the above may warrent a little investigation, I
> guess ;)
> Anyway; hope the above datafile is useful!
>
> ps. I used kcachegrind to parse the above data file (after unpacking it).

Thank you! and yes, seems the paragstyle behaves wired + I was finally able to 
note, that callgrind does provide very nice feedback too :)

-- 
Sebastian Sauer aka dipesh[sebsauer]
http://www.dipe.org/public_key.asc
Fingerprint: 8F1E 219B 16E6 4EC7 29CC F408 E193 65E2 9134 2221
Coder in http://www.koffice.org && http://www.kmldonkey.org
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic