render SVGs with system colors

Manuel Mommertz 2Kmm at gmx.de
Wed Sep 29 23:09:41 CEST 2010


On Wednesday 29 September 2010 22:43:32 Aaron J. Seigo wrote:
> On Wednesday, September 29, 2010, Manuel Mommertz wrote:
> > On Monday 27 September 2010 23:09:16 Aaron J. Seigo wrote:
> > > have you done any timings to test how long the DOM parsing takes on
> > > svgs we have in the theme?
> > 
> > Average loading time with current trunk: 11ms
> > Average loading time with my patch applied: 27ms
> 
> do you know where this 16ms is being spent?
> 
> is it in the parsing? the construction of the stylesheet string? .. ?

It is the parsing with QDomDocument. Stylesheet creation is now in 
Plasma::Theme::stylesheet("SVG") where it belongs and this is cached, so only 
created once.


More information about the Plasma-devel mailing list