On Thu, Oct 28, 2010 at 1:42 PM, Martin Dengler <mar...@martindengler.com> wrote: > There is a better way: use cProfile and gprof2dot.py. You will get > graphs (and of course the raw data) like this: > > http://www.martindengler.com/tmp/sl.o-2080/pulsingicon.py-stats-graph.png
Excellent graph. But following this conversation... I think we are looking at the problem slightly wrong. The same (potentially complex) SVG is being rendered in 2 tones, many times. This is nonsense. Render it once to a B/W grayscale raster. Then use/abuse whatever cairo bitblit blend operators. And yes, of course, cache that grayscale rasterized version in the fs :-) Maybe I am making wild assumptions about the bitblt ops you have available... m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel