#5393 NORM Never A: journal updates are too heavy, should happen less often

Zarro Boogs per Child bugtracker at laptop.org
Fri Dec 7 05:46:42 EST 2007


#5393: journal updates are too heavy, should happen less often
------------------------------+---------------------------------------------
 Reporter:  tomeu             |       Owner:  tomeu         
     Type:  defect            |      Status:  new           
 Priority:  normal            |   Milestone:  Never Assigned
Component:  journal-activity  |     Version:                
 Keywords:  Update.1?         |    Verified:  0             
------------------------------+---------------------------------------------
 Right now, the journal listens for changes in the DS and updates itself
 every time there's a create/update/delete.

 Updating the list view is quite expensive and is slowing those operations
 that need to update data in the DS. See tickets #5344, #5228 and #5235.

 Instead, when we are notified of a change,we should just invalidate the
 cache, and when the journal becomes active, update the UI.

 Switching to the journal will be slower, but at least we won't be
 degrading general performance of sugar and activities.

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



More information about the Bugs mailing list