#36983: Improve free-threading performance
-------------------------------------+-------------------------------------
     Reporter:  Sam Gross            |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:
                                     |  Uncategorized
      Version:  6.0                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 I’m a CPython core developer working on free-threading. Would the Django
 team be interested in reviewing patches aimed at improving Django's
 performance on free-threaded Python (e.g., 3.14t)?

 For example, there are a few scaling bottlenecks caused by creating
 temporary Field instances, such as in rel_db_type(). This can lead to
 contention on the shared creation_counter and also invalidate CPython’s
 attribute lookup cache. I expect most of the patches to be fairly small.

 For context, I’m using Zulip to identify and investigate these issues, and
 I’m also working to fix the underlying problems in CPython upstream where
 possible.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36983>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019ce2acca69-821a7676-89f3-4d1a-b48b-1e3953ecbe8d-000000%40eu-central-1.amazonses.com.

Reply via email to