#8765 NORM Opportu: Clock activity hogs CPU.

Zarro Boogs per Child bugtracker at laptop.org
Tue Oct 7 21:07:18 EDT 2008


#8765: Clock activity hogs CPU.
------------------------------+---------------------------------------------
   Reporter:  thomaswamm      |       Owner:  pierre       
       Type:  enhancement     |      Status:  new          
   Priority:  normal          |   Milestone:  Opportunity  
  Component:  clock-activity  |     Version:  not specified
 Resolution:                  |    Keywords:  clock        
Next_action:  review          |    Verified:  0            
  Blockedby:                  |    Blocking:               
------------------------------+---------------------------------------------
Changes (by pierre):

 * cc: thomaswamm (added)
  * next_action:  diagnose => review


Comment:

 I've released a new version of my Clock activity
 (http://wiki.laptop.org/images/1/15/Clock-4.xo) where I inactivate the
 clock when Sugar does not give it the focus. Though it still consume too
 much memory in my opinion, now the CPU usage drops to 0.3% when iddle.
 I've launched 7 instances of the Clock without Sugar slowing down like
 with version 3.

 I've started a major rewrite of the code to be more efficient in the
 painting of the ClockFace widget, and I hope use less memory. But this
 will be for next release.

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


More information about the Bugs mailing list