[Sugar-devel] [PATCH v5 sugar] Pulsing icon delayed by 5 seconds or so SL#2080
Daniel Drake
dsd at laptop.org
Wed Oct 13 08:48:55 EDT 2010
On 13 October 2010 16:28, Anurag Chowdhury <anurag at seeta.in> wrote:
> When we click on the icon of an activity we see a pulsing icon of that
> activity before the activity starts and usually there is a time delay between
> the clicking of the icon and appearance of the pulsing icon , where tha amount
> of delay differs by the complexity of the icon i.e. more complex the icon is
> larger is the delay.
> So In order to minimise the delay we replaced the animation with its raw svg
> image for the first frame of rendering
Interesting idea. However, I'm not convinced that rendering a "raw
svg" versus rendering a svg with a simple stroke/fill applied is going
to result in much difference.
I'm happy to be proven wrong - perhaps you could take an activity as
an example and measure exactly how long the first self.update() call
takes to complete?
If you aren't already, it would be a good idea to use a profiler to
identify with clarity the exact part of the code that is taking the
most time.
Thanks,
Daniel
More information about the Sugar-devel
mailing list