Re: Profile a widget style

Mantia Andras <[email protected]> Tue, 31 Aug 2010 09:44:14 +0300
Newsgroups gmane.comp.kde.devel.optimize
Message-ID <[email protected]>
On Tuesday, August 31, 2010, Olivier Goffart wrote:
> Le Monday 30 August 2010, Mantia Andras a =E9crit :
> > Hi,
> > =

> >  if you missed my blog (http://www.kdedevelopers.org/node/4318),
> >  here is
> > =

> > the summary: I found that Oxygen + nvidia driver + certain nvidia
> > cards cause high CPU usage on XOrg. Plastique doesn't cause it.
> > The question: anyone has an idea how could I profile what goes
> > wrong?
> =

> Hi,
> =

> Which Qt graphicssystem do you use?  You may try to use raster
> instead of the native X11 backend.
> =

> I guess oxygen triggers primitives that are not optimized.  I know
> for example that Oxygen draws a lot of gradian which can be slow =

> (And Qt X11 graphics system does not use the latest X11 extensions
> to make it fast)

Well, the whole idea is to profile the normal case (X11 system, NVidia =

graphics), so using raster would not make sense.

Andras