#2900 NORM Untriag: kuku does many unneccesary redraws of grid

Zarro Boogs per Child bugtracker at laptop.org
Sun Aug 19 03:51:59 EDT 2007


#2900: kuku does many unneccesary redraws of grid
---------------------------+------------------------------------------------
 Reporter:  crschmidt      |       Owner:  lucks    
     Type:  defect         |      Status:  new      
 Priority:  normal         |   Milestone:  Untriaged
Component:  kuku-activity  |     Version:           
 Keywords:                 |    Verified:  0        
---------------------------+------------------------------------------------
 Currently, Kuku does a redraw of the screen throughout the event loop,
 meaning that playing kuku on a b4 machine is visibly slow. I have written
 code to change this behavior, achieving much smoother behavior. Profiling
 shows that the number of function calls inside kuku decreased by an order
 of magnitude, from around 5000 to around 500, for a five second game.
 (Longer games demonstrated even larger difference in performance.)

 I went to try to use git to make a diff of this, and found that the git
 repository for KuKu was very out of date with the current .xo on the
 wikipage. I'll open a seperate ticket for that, and once it's resolved,
 I'll upload a patch with the changes I've made.

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



More information about the Bugs mailing list