#3019 HIGH Trial-3: PATCH: Optimize get_activities by making it async
Zarro Boogs per Child
bugtracker at laptop.org
Fri Aug 24 21:20:21 EDT 2007
#3019: PATCH: Optimize get_activities by making it async
---------------------+------------------------------------------------------
Reporter: J5 | Owner: tomeu
Type: defect | Status: new
Priority: high | Milestone: Trial-3
Component: sugar | Version:
Resolution: | Keywords: optimization review?
Verified: 0 |
---------------------+------------------------------------------------------
Comment (by J5):
This patch fixes all sync calls and now startup from matchbox to
gtk.main() is 2.6 seconds. However I have just chased the rabbit down the
hole as time to interactivity is still around 5.5 seconds or so. This is
most likely due to processing the async calls delaying drawing of the
panels and other graphics elements (we go through a lot of loops which
causes us to become slower the more buddies, activities and access points
are available). I suggest we chase the rabbit further and delay
processing of buddy and activity lists in an idle source (process one item
per source pass). Buddies are less missed and can take awhile to appear
but activities perhaps need to be played with to find an optimal priority.
I also suggest starting the frame closed and when it is filled, have it
flow on screen. Part of boot optimization is making it feel faster.
Having smooth transitions while actually increasing the time, makes it
feel faster.
--
Ticket URL: <http://dev.laptop.org/ticket/3019#comment:3>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list