[Sugar-devel] MANIFEST experiments

James Cameron quozl at laptop.org
Wed Oct 14 20:26:55 EDT 2009


Confirmed.

On Wed, Oct 14, 2009 at 05:29:09PM +0545, Daniel Drake wrote:
> So, I reflashed 2 XOs, booted for the first time, entered a name. On
> one, I modified sugar.bundle.ActivityBundle.read_manifest() to be a
> no-op, then turned it off. On the other, I just turned it off.

I reproduced this experiment.  Used build 802, with a limited set of 22
activities [1], with a similar change [2].

> Then I powered both on at the same time and started a stopwatch. I
> measured how long it takes for the XOs to reach the stage of boot
> where the XO stick figure and the activity icons are visible.

1255565448 power up both XOs
1255565533 modified XO boot complete
1255565539 unmodified XO boot complete

> The one with the modification reached this point *55* seconds faster
> than the other one!

In my case, about 6 seconds.

I feel that even this small time was worth it, so I plan to patch this
for the friends' kids I've got laptops deployed to.

Is there a collection of 802 performance improvement patches?

Notes:

1.  the activities installed were from "G1G1 Activities for 8.2" and
were "Browse Calculate Chat Distance Etoys Implode Maze Measure Memorize
Moon Paint Pippy Read Record Ruler Scratch Speak TamTamMini
TamTamSynthLab Terminal TurtleArt Write"

2.  the change was to activitybundle.py in
/usr/lib/python2.5/site-packages/sugar/bundle/ and removed all code in
read_manifest(), leaving just "pass":

    def read_manifest(self):
        pass

-- 
James Cameron
http://quozl.linux.org.au/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: activitybundle.py.patch
Type: text/x-diff
Size: 1777 bytes
Desc: not available
Url : http://lists.sugarlabs.org/archive/sugar-devel/attachments/20091015/a7d83b17/attachment.patch 


More information about the Sugar-devel mailing list