#3096 HIGH Untriag: zooming to home view no longer zooms, seems to block

Zarro Boogs per Child bugtracker at laptop.org
Thu Aug 30 19:02:31 EDT 2007


#3096: zooming to home view no longer zooms, seems to block
--------------------+-------------------------------------------------------
 Reporter:  J5      |       Owner:  jg       
     Type:  defect  |      Status:  new      
 Priority:  high    |   Milestone:  Untriaged
Component:  distro  |     Version:           
 Keywords:          |    Verified:  0        
--------------------+-------------------------------------------------------
 This is a performance bug.  The new addition of activity memory size
 parsing causes the call to zoom to the home view to take roughly .5
 seconds in which we block and I am guessing the animation gives up and
 goes to the last frame making it look like it just jumps instead of
 smoothly transitioning.

 The culprit is parse_smaps_size_line which is called 3801 times.  If this
 is needed I suggest doing this in a background thread and updating only
 when new processes run.  The display does not need to be updated in real
 time but only needs to give an approximation of memory usage.  I would
 suggest the update only happens when activities are run and perhaps after
 a timeout when other processes are run to avoid draining the battery from
 someone running grep or similar short lived programs.

-- 
Ticket URL: <http://dev.laptop.org/ticket/3096>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list