From kde-panel-devel Wed Sep 29 21:09:41 2010 From: Manuel Mommertz <2Kmm () gmx ! de> Date: Wed, 29 Sep 2010 21:09:41 +0000 To: kde-panel-devel Subject: Re: render SVGs with system colors Message-Id: <201009292309.42222.2Kmm () gmx ! de> X-MARC-Message: https://marc.info/?l=kde-panel-devel&m=128579463730971 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