[sugar] simple hacks to improve the performance of the Sugar UI

Marco Pesenti Gritti mpgritti
Sat Oct 18 05:08:42 EDT 2008


On Sat, Oct 18, 2008 at 7:35 AM, Andr?s Ambrois <andresambrois at gmail.com>wrote:

Just a couple of notes.



> [PATCH] sugar-homewindow-no-transition.patch
>
> This removes the usage of TransitionBox from HomeWindow.py. TransitionBox
> is
> used to animate the Xo Guy while moving between zoom levels.
> This patch makes transition from activities to the home box almost
> instantaneous and removes the annoying flickering.
>

git master doesn't have an activity -> home animation... I need to check if
that's what Eben actually want though :) I'm also looking into fixing the
flickering when closing an activity today.


>
> I have tried your hacks and I must say the frame behaves a lot better with
> compositing enabled. I haven't run any serious memory pressure tests, but I
> can have around 8-9 activities open before encountering OOM problems. No
> idea
> what the previous statistics were.


Compositing will not make a huge difference about OOM. It's 2 mb per
activity, so it would be something like 1.5 activities less you can run. The
impact it's in theory going to have is to fill up VRAM and hence making
graphics performance with a lot of activities open painful.

Marco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/sugar/attachments/20081018/132cd184/attachment-0001.htm 



More information about the Sugar-devel mailing list