#1938 BLOC Trial-2: System lags when switching to Journal

Zarro Boogs per Child bugtracker at laptop.org
Sun Jul 8 11:08:28 EDT 2007


#1938: System lags when switching to Journal
-------------------------------+--------------------------------------------
  Reporter:  jfuhrer           |       Owner:  tomeu  
      Type:  defect            |      Status:  new    
  Priority:  blocker           |   Milestone:  Trial-2
 Component:  journal-activity  |     Version:         
Resolution:                    |    Keywords:         
  Verified:  0                 |  
-------------------------------+--------------------------------------------
Comment (by tomeu):

 We only have one dbus message here, the call to find() returns ids,
 properties and file names. So I think Ben can just think about profiling
 and improving performance of the find call, no need to take in account
 what the journal is doing.

 Another hack that we can do is call find() async from the journal and
 append the entries as they come. But of course I think find() performance
 can and must be greatly improved.

 But not only the datastore must be improved, we also spend too much time
 setting up the hippo canvas objects: 0.015s/entry. If we have 100 entries
 we'll spend 1.5s setting up the canvas. Depending on when we deliver a
 lazy, paged scroll view, this will be a problem or not. But in this point
 we can do many things to improve perf (we are doing some calls through
 dbus to the object type registry that could be cached, for example).

-- 
Ticket URL: <http://dev.laptop.org/ticket/1938#comment:6>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list