Walter Bender wrote: > I have been trying to speed up Turtle Art, which initializes much > slower (4x) since I converted from GIF to SVG. I've tried a lot of > tweaking, such as eliminating the linear gradients, in an attempt to > find out where the rendering bottleneck is (the file sizes are not > sizes are about the same) to no avail. Anyone have any experience with > such things?
Some time ago, me and tomeu did some timing on loading, parsing and rendering the activity icons with librsvg within Sugar. I have not kept the raw output, but I remember that rendering was reasonably fast for most icons (10ms or so), and slowish for a couple of problem icons with too many polygons. One of these was indeed TurtleArt! Our super-sophisticated secret profiler was something like this: from time import time start_time = time() # ... do something bad here... end_time = time() elapsed_time = end_time - start_time print elapsed_time -- // Bernie Innocenti - http://www.codewiz.org/ \X/ Sugar Labs - http://www.sugarlabs.org/ _______________________________________________ Sugar-devel mailing list [email protected] http://lists.sugarlabs.org/listinfo/sugar-devel

