widget style cleanup

Benjamin Meyer ben at meyerhome.net
Tue Sep 14 15:04:57 BST 2004

Hash: SHA1

On Tuesday 14 September 2004 8:36 am, Josef Weidendorfer wrote:
> On Tuesday 14 September 2004 07:11, Maksim Orlovich wrote:
> > Please see the attached .cpp file; apologies for the uglyness, not meant
> > to be any sort of production code. This is basically what I used to tune
> > keramik --- it just hammers on PE_ButtonCommand which for Ker hits the
> > core rendering path -- and I think Plastik is similar with its bevel
> > rendering accessible from here and occuring all over the place (please
> > correct me if I am wrong)
> I'm not sure this is fair. Nobody will press a few 1000 times per second on
> a button. Better take an application with a "huge" configure dialog like
> KMail and take times for different styles to the first appearance of this
> dialog. I'm not sure if this (with most widgets hidden) will trigger any
> hot path in the rendering, but I can't image many other szenarios where the
> performance of the style engine may lead to sluggish interfaces. Perhaps
> switching among complex profiles in Konqueror? Or
> Josef

Running twenty users on one box or one user one a 233MHz box.  Or more likely 
running ten apps causing the cpu to fill and then moving around the kmail 
settings dialog. 

- -Benjamin Meyer

- -- 
aka icefox
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
Version: GnuPG v1.2.3 (GNU/Linux)


More information about the kde-core-devel mailing list