Re: Floating point in pango



On Thu, 2006-07-13 at 18:26 +0300, Jorn Baayen wrote:

>  o Using GTK+ 2.8.18 the testcase runs about 30% faster.

Are you using the Cairo-ified Clearlooks, or the plain one?

>  o pango_renderer_draw_layout_line() jumped from 2.3% to 8.7% in the
>    pango profile between 2.6.8 and 2.8.18.

Probably due to using Cairo for drawing text versus using Pango-FT.
This sucks a lot :(

>  o Why 7% of the time spent in GTK+ spent in
>    _gtk_style_peek_property_value() using 2.8 ?

That's

  gtk_widget_get_draw_rectangle()
     calls gtk_widget_style_get (widget, "draw-border", &draw_border, NULL);

And gtk_widget_get_draw_rectangle() gets called pretty often, pretty
much every time a widget gets painted.

  Federico




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