[Sugar-devel] [Dextrose] [PATCH v5 sugar] Pulsing icon delayed by 5 seconds or so SL#2080

James Cameron quozl at laptop.org
Thu Oct 28 20:05:45 EDT 2010


On Thu, Oct 28, 2010 at 06:42:53PM +0100, Martin Dengler wrote:
> http://www.martindengler.com/tmp/sl.o-2080/pulsingicon.py-stats-graph.png

Nice.  A question on interpretation ... is the number of renderings
consistent with the number of __pulse_cb callbacks?

Looking at the bright green costly part of the graph, only the call
counts:

__pulse_cb 80x
__update 84x
{
__set_stroke_color 40x (implies get_pulsing is false half the time)
__set_fill_color 40x
}
_emit_paint_needed_icon_area 83x
get_surface 199x
render_cairo 90x

I'm puzzled as to why (a) set_stroke_color is only being called 40
times, yet (b) render_cairo is being called 90 times.  As if there is a
doubling.

-- 
James Cameron
http://quozl.linux.org.au/


More information about the Sugar-devel mailing list