Report on `activities switching' profiling

Eben Eliason eben.eliason at gmail.com
Wed Jul 16 11:17:57 EDT 2008


On Wed, Jul 16, 2008 at 11:04 AM, riccardo <riccardo.lucchese at gmail.com>
wrote:

> (so that it never ends up in the journal) every 1100. The 1100ms value
> was chosen after some testing as the minimum value (or very near to it)
> at which both activities are able to completely redraw their windows on
> switching without artifacts.
>

If you could, it would also be useful to test out the "quick tab" behavior.
 While it's true that after a short delay (I forget the exact number of ms)
the activities redraw their windows, the behavior is supposed to prevent
this redraw as long as the tabbing events happen quickly enough, so that the
redraw doesn't add latency when attempting to bypass several activities in a
row.  I'm not sure if this is actually working properly on the XOs.


> I guess some time can be gained by not doing the conversion Drawable ->
> GdkPixbuf (sugar._sugarext.Preview.get_pixbuf) and perform the scaling
> and conversion directly on the first buffer. But IMHO the real problem
> is:
>
> ! Activities save their state and take previews continuously regardless
>   of whether their state changed or not
>

Yeah, this would indeed be a problem.  This ticket --
http://dev.laptop.org/ticket/4365 -- deals with it to some extent, and a
patch is present there, but it's been ignored for some time now.

- Eben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080716/d9c586e7/attachment.html>


More information about the Devel mailing list