[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: render SVGs with system colors
From:       Manuel Mommertz <2Kmm () gmx ! de>
Date:       2010-09-29 21:09:41
Message-ID: 201009292309.42222.2Kmm () gmx ! de
[Download RAW message or body]

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.
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic