KDE performance tips

Allan Sandfeld Jensen allan at carewolf.com
Thu Sep 16 12:08:08 CEST 2004


On Wednesday 15 September 2004 18:03, Lubos Lunak wrote:
>  Hello,
>
>  while I'm already in this optimization frenzy, I though I could also
> update the performance tips page [*] and have it among quickies at the dot.
>
>  Does somebody possibly know more useful stuff that could be included that
> I'm not aware of? Sorry, these two recent hacks and fontconfig+XIM are
> already taken :).
>
>  Also, does somebody think the last entry (about $PATH) makes any sense?
> I'd like to dump that one as I don't think it'd make any difference.
>
> [*] http://kde.ground.cz/tiki-index.php?page=Performance+Tips
> How do actually people find anything in that wiki? I had to use Google to
> find my own page.

Make sure you have an i686 optimized glibc installed. Basically most KDE 
applications use 25% cpu on malloc, 25% on strcmp, and 50% on the rest. Using 
the optimized glibc improves strcmp greatly.

For writing faster applications I would recommend a low-malloc diet.

`Allan


More information about the Kde-optimize mailing list