After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693243 - [meta] Optimize module load times
[meta] Optimize module load times
Status: RESOLVED OBSOLETE
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on: 640649 640650 704023 704037
Blocks:
 
 
Reported: 2013-02-06 05:21 UTC by Simon Feltman
Modified: 2018-01-10 20:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Simon Feltman 2013-02-06 05:21:19 UTC
Tracking ticket for holding bugs related to optimizations which could improve load times of gi modules.
Comment 1 Simon Feltman 2013-07-11 17:21:37 UTC
Current top ten of a load time profile:

$ cat profile_test.py 
from gi.repository import GObject, Gio, GLib, Gtk, Gdk, Pango, Clutter, Gst

$ python -m cProfile -s tottime profile_test.py
         93580 function calls (92149 primitive calls) in 0.106 seconds

   Ordered by: internal time

   ncalls  tottime  cumtime filename:lineno(function)
       46    0.021    0.021 {method 'invoke' of 'gi.CallableInfo' objects}
     2436    0.008    0.019 types.py:72(get_callable_info_doc_string)
    11293    0.005    0.005 {method 'get_name' of 'gi.BaseInfo' objects}
     2436    0.005    0.026 types.py:101(update_func)
  185/162    0.004    0.053 module.py:130(__getattr__)
      287    0.003    0.003 {method 'get_g_type' of 'gi.RegisteredTypeInfo' objects}
     2436    0.003    0.005 types.py:53(split_function_info_args)
      131    0.003    0.033 types.py:151(_setup_methods)
     2317    0.002    0.027 types.py:110(Function)
     2482    0.002    0.002 {method 'get_pytype_hint' of 'gi.ArgInfo' objects}


Tickets regarding these will be added as dependents.
Comment 2 GNOME Infrastructure Team 2018-01-10 20:22:27 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/pygobject/issues/44.