[Sugar-devel] SVG performance
Walter Bender
walter.bender at gmail.com
Tue Dec 9 08:40:03 EST 2008
The svg files are here:
~/Activities/TurtleArt.activity/images/en/turtle (grab the latest TA
source bundle from git)
for i in *.svg; do echo $i; time rsvg $i $i.png; done
arc.svg
real 0m0.231s
user 0m0.152s
sys 0m0.016s
back.svg
real 0m0.138s
user 0m0.108s
sys 0m0.020s
clean.svg
real 0m0.141s
user 0m0.124s
sys 0m0.016s
forward.svg
real 0m0.170s
user 0m0.116s
sys 0m0.024s
heading.svg
real 0m0.150s
user 0m0.128s
sys 0m0.008s
left.svg
real 0m0.153s
user 0m0.116s
sys 0m0.024s
right.svg
real 0m0.145s
user 0m0.120s
sys 0m0.020s
seth.svg
real 0m0.139s
user 0m0.124s
sys 0m0.012s
setxy.svg
real 0m0.205s
user 0m0.156s
sys 0m0.012s
turtlegroup.svg
real 0m0.480s
user 0m0.312s
sys 0m0.020s
turtlemask.svg
real 0m0.093s
user 0m0.060s
sys 0m0.008s
xcor.svg
real 0m0.155s
user 0m0.124s
sys 0m0.016s
ycor.svg
real 0m0.138s
user 0m0.116s
sys 0m0.016s
On Tue, Dec 9, 2008 at 2:23 AM, Bernie Innocenti <bernie at codewiz.org> wrote:
> Jim Gettys wrote:
>> IIRC, librsvg is it.
>>
>> A bit more profiling to get through the tangled web of dependencies is
>> probably in order.
>
> To exclude the noise coming from Python and GDK, I tried timing again
> with the command-line tool rsvg:
>
> for i in *.svg; do echo $i; time rsvg $i $i.png; done
>
> This way I could not find any problematic svg file within the
> turtleart repository. The slowest ones render in <0.1 seconds.
>
> But this is also a different machine with a different distro.
> Walter, could you please make the problematic svg files available
> somewhere, along with your timing of "rsvg foo.svg foo.png"?
>
> --
> // Bernie Innocenti - http://www.codewiz.org/
> \X/ Sugar Labs - http://www.sugarlabs.org/
>
--
Walter Bender
Sugar Labs
http://www.sugarlabs.org
More information about the Sugar-devel
mailing list