#5470 NORM Update.: importing telepathy is slow

Zarro Boogs per Child bugtracker at laptop.org
Tue Feb 5 06:04:03 EST 2008


#5470: importing telepathy is slow
------------------------------+---------------------------------------------
  Reporter:  tomeu            |       Owner:  Collabora
      Type:  defect           |      Status:  new      
  Priority:  normal           |   Milestone:  Update.1 
 Component:  telepathy-other  |     Version:           
Resolution:                   |    Keywords:           
  Verified:  0                |    Blocking:           
 Blockedby:                   |  
------------------------------+---------------------------------------------

Comment(by tomeu):

 Take in account that these 1.3 seconds is not what it takes to an activity
 to import telepathy, as it includes the import of several modules that
 need to be imported anyway.

 So, the right way of calculating the impact of one import is to see which
 other modules it imports and subtract the time taken by those modules that
 need to be imported from other parts of the activity.

 Attached is a file with all the modules imported by a very simple
 activity, taken with 'python -v sugar-launch <activity name>'.

 If we wanted to know how much impact has the telepathy module in activity
 startup, we would need to move the imports caused by 'import telepathy' to
 the end, and time those.

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



More information about the Bugs mailing list