Re: Some performance notes



On Wed, 8 Aug 2001, Alex Larsson wrote:

> On Tue, 7 Aug 2001, Hans Breuer wrote:
> > The magical "20 times slower" is almost visible if you compare the
> > previous 'label' with the current one. Obviously the new one has to render
> > much more, so it is a really unfair comparsion. But still I think it
> > would be nice to get the factor five optimization for the 'auto-wrap 
> > feature' by adding a new function pango_paragraph_balance () or the
> > like. (Search for 'unbalanced' in gtklabel.c to find the unoptimized code)
> 
> Ok. I have a rewrite of the pango win32 backend on my local disk.
> I'm running testgtk with all libraries compiled with debug. 
> Here are the results i get with  testgtk --bench=labels:20

Ok, I checked in this now. I'm sorry i didn't send the patch to you for 
review, but i felt that a large patch like this was easier to review and 
discuss if it is in cvs. It is clearly a step in the right direction, even 
if it might have some issues still.

/ Alex






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]