Python 3.11 beta vs. 3.10 benchmark

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • ideas

  • multi-core-python

    Enabling CPython multi-core parallelism via subinterpreters.

  • At this point, I've given up hope that CPython will ever lose the GIL.

    The best we can hope for is having multiple interpreters[0], each with their own GIL[1].

    [0] https://peps.python.org/pep-0554/

    [1] https://github.com/ericsnowcurrently/multi-core-python/issue...

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • python-speed

    Simple Python Benchmark

  • Compared speed to Python 3.9 using python-speed benchmark [1]

    Basically overall 24% increase in performance "for free". Impressive. Stack usage and multiprocessing had the largest gain.

    python-speed v1.3 using python v3.9.2

    string/mem: 2400.67 ms

    pi calc/math: 2996.1 ms

    regex: 3201.59 ms

    fibonnaci/stack: 2487.13 ms

    multiprocess: 812.37 ms

    total: 11897.85 ms (lower is better)

    -----

    python-speed v1.3 using python v3.11.0

    string/mem: 2234.78 ms

    pi calc/math: 2667.84 ms

    regex: 2548.81 ms

    fibonnaci/stack: 1149.57 ms

    multiprocess: 480.25 ms

    total: 9081.25 ms (lower is better)

    -----

    [1] https://github.com/vprelovac/python-speed

  • CPython

    The Python programming language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts