#5228 HIGH Update.: launching activities is slow

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 12 14:10:50 EST 2007


#5228: launching activities is slow
---------------------+------------------------------------------------------
  Reporter:  tomeu   |       Owner:  tomeu      
      Type:  defect  |      Status:  new        
  Priority:  high    |   Milestone:  Update.1   
 Component:  sugar   |     Version:             
Resolution:          |    Keywords:  performance
  Verified:  0       |  
---------------------+------------------------------------------------------

Comment(by tomeu):

 Results of profiling /usr/bin/sugar-activity:

 {{{
 26.70% import editactivity
   24.74% from sugar.activity import activity
     8.01% from sugar.graphics import style
     7.43% from sugar.graphics import window

 25.04% create_activity_instance
   22.89% EditActivity()
     15.60% Activity()
       7.22% PresenceService.get_activity()
       4.99% DataStore.write()
      6.96% ActivityToolbox()
        6.75% ActivityToolbar()
          4.97% ComboBox.append_item()
            3.37% gtk.IconTheme.lookup_icon()

 15.84% import activityhandle
   14.64% import presenceservice
     12.67% from sugar.presence import activity
       12.55% import telepathy
          9.47% from telepathy import server
             2.98% from telepath.server import conn
             2.97% from telepath.server import channel
          2.01% from telepathy import client

  9.63% from dbus import service
    9.28% from dbus import decorators
      9.20% import inspect
        8.93% import tokenize
          8.46% map()
            8.46% re.compile()

  8.88% import pygtk
  3.77% import activitybundle
    2.67% from sugar.bundle import bundle
 }}}

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



More information about the Bugs mailing list