Profiling silly video

Lubos Lunak l.lunak at suse.cz
Mon Aug 25 10:34:11 BST 2008


On Sunday 24 of August 2008, Harri Porten wrote:
> Anyone else did look for bottle necks already? I've put the screenshot of
> a KCachegrind run of my (debug) build at
> http://www.froglogic.com/~porten/profile.png

 Note that profiling non-optimized builds can be sometimes quite misleading 
and one may end up optimizing something that the compiler will already handle 
anyway.

> A low hanging fruite: I wondered how 9% can be made up by
> QString::sprintf() calls. Turned out that QColor::name() has a simple but
> inefficient implementation. Will report this to qt-bugs although I'm not
> sure how good the chances of an improved version are because our demand
> might be considered too special.

 You can put the patch in qt-copy/patches. Distributions pick up patches from 
there regularly.

-- 
Lubos Lunak
KDE developer
--------------------------------------------------------------
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz




More information about the kfm-devel mailing list