#7999 NORM 9.1.0: 7+% of shell startup time is spent in `grab' of sugar._sugarext.KeyGrabber

Zarro Boogs per Child bugtracker at laptop.org
Tue Aug 26 09:42:29 EDT 2008


#7999: 7+% of shell startup time is spent in `grab' of sugar._sugarext.KeyGrabber
---------------------------+------------------------------------------------
   Reporter:  riccardo     |       Owner:  marco         
       Type:  enhancement  |      Status:  new           
   Priority:  normal       |   Milestone:  9.1.0         
  Component:  sugar        |     Version:  not specified 
 Resolution:               |    Keywords:  performance r+
Next_action:  package      |    Verified:  0             
  Blockedby:               |    Blocking:                
---------------------------+------------------------------------------------

Comment(by riccardo):

 Just timed the interesting snippet in keyhandler.py on the xo with and
 without the patch applied.

 The old code takes an average of 1.5 sec to complete the for loop. In the
 patched version, the call to grab_keys(..) takes an avg of 0.5 sec. Values
 are very stable.

-- 
Ticket URL: <http://dev.laptop.org/ticket/7999#comment:8>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list