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 772950 - [patch] performance improvements when dealing with boxed types
[patch] performance improvements when dealing with boxed types
Status: RESOLVED OBSOLETE
Product: pygobject
Classification: Bindings
Component: general
Git master
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2016-10-14 17:37 UTC by Mikhail Fludkov
Modified: 2018-01-10 20:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
001 use optimized version of PyImport_ImportModule (4.03 KB, patch)
2016-10-14 17:37 UTC, Mikhail Fludkov
none Details | Review
0002 pyg_type_lookup optimization (3.01 KB, patch)
2016-10-14 17:37 UTC, Mikhail Fludkov
none Details | Review

Description Mikhail Fludkov 2016-10-14 17:37:17 UTC
Created attachment 337736 [details] [review]
001 use optimized version of PyImport_ImportModule

There are two patches optimising performance of of pyg_type_lookup function which is called every time we about to convert an object of boxed type to/from python object and can create GIL congestion if there are a lot of threads involved.
Actually there is not only GIL involved, but global python import lock also. See the commit comment in the first patch for more info.
Comment 1 Mikhail Fludkov 2016-10-14 17:37:57 UTC
Created attachment 337737 [details] [review]
0002 pyg_type_lookup optimization
Comment 2 GNOME Infrastructure Team 2018-01-10 20:56:26 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/123.