#12631 NORM Future : Optimize g_typelib_get_dir_entry_by_gtype

Zarro Boogs per Child bugtracker at laptop.org
Tue Mar 19 14:27:24 EDT 2013


#12631: Optimize g_typelib_get_dir_entry_by_gtype
---------------------------------+------------------------------------------
           Reporter:  dsd        |       Owner:                
               Type:  defect     |      Status:  new           
           Priority:  normal     |   Milestone:  Future Release
          Component:  distro     |     Version:  not specified 
         Resolution:             |    Keywords:                
        Next_action:  never set  |    Verified:  0             
Deployment_affected:             |   Blockedby:                
           Blocking:             |  
---------------------------------+------------------------------------------

Comment(by dsd):

 This pygobject optimization kills a load of useless calls to
 g_typelib_get_dir_entry_by_gtype:
 https://bugzilla.gnome.org/show_bug.cgi?id=696143

 And this gobject-introspection optimization makes
 g_typelib_get_dir_entry_by_gtype fall even further off the map of what
 perf shows as CPU-eaters:
 https://bugzilla.gnome.org/show_bug.cgi?id=696155

 Now Sugar starts approximately:
  * 5 seconds faster on XO-1
  * 3 seconds faster on XO-1.5
  * 3 seconds faster on XO-1.75
  * 1.5 seconds faster on XO-4

 and it will also represent a small performance improvement of activity
 startup and general usage.

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


More information about the Bugs mailing list