Re: Some performance notes



At 01:12 09.08.01 -0400, Alex Larsson wrote:
>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.
>
Perfectly ok with me. I never understood that much in the Pango land
anyway, but should be able to address some of the remaining issues.
(Just checked something in.)

BTW: your performance increasing is very impressive ...

	Hans

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to 
get along without it.                -- Dilbert




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