[cairo] Performance stress-case (librsvg)

Federico Mena Quintero federico at ximian.com
Sun Dec 3 17:05:42 PST 2006


El dom, 03-12-2006 a las 16:42 +0200, Kalle Vahlman escribió:

> P.S. The other major hot spot in the trace is the blur filter:
> 
>   rsvg_node_path_draw                                    0,00  19,71
>     rsvg_render_path                                     0,00  19,71
>       rsvg_cairo_render_path                             0,00  19,67
>         rsvg_cairo_pop_discrete_layer                    0,00  19,07
>           rsvg_filter_render                             0,00  12,60
>             rsvg_filter_primitive_gaussian_blur_render   0,00  12,59
>               box_blur                                  12,48  12,48
> 
> Just in case anyone wants to look at that too ;)

Ooooh.  You should definitely steal the GIMP's "RLE Gaussian Blur".
First it does the rows, then the columns, and it does RLE compression on
the source for both passes - that way it manages to be fast for
mostly-solid images.

  Federico



More information about the cairo mailing list