#34755: Provide accelerated binary wheels
-------------------------------------+-------------------------------------
               Reporter:  Stefan     |          Owner:  nobody
  Behnel                             |
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  dev
  Uncategorized                      |       Keywords:  performance,
               Severity:  Normal     |  cython, wheels
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 With Cython 3.0 released, it seems worth providing accelerated binary
 modules for important platforms that compile some Django modules with
 Cython in order to speed them up.

 The idea is to take the Django package as it is, identify a couple of
 computationally intensive modules in it, compile them to binary extension
 modules with Cython, package the result as a binary wheel, and upload it
 to PyPI, next to the regular Python wheel, so that supported platforms can
 pick it up instead of the plain Python wheel. Note that this is completely
 optional since the binary wheels would behave just like the Python wheel,
 except for being faster.

 Alex Orlov from Instagram tried this with the Django URL routing module
 back in 2017 and found a massive speedup, as he reported in his `PyCon-US`
 2017 talk.

 Even without any further manual optimisation, Cython compilation usually
 leads to a speedup of 10-30%, which translates to a substantial amount of
 time, energy and CO2-emissions saved on user side.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34755>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/01070189b1b132a3-a85f1232-b1e7-4a4e-950b-2d6cfdbd82e2-000000%40eu-central-1.amazonses.com.

Reply via email to