Python 3.11 Beta Boosts Speed by Up to 64% – What the Benchmarks Reveal
A recent benchmark using the pyperformance suite shows that Python 3.11 beta runs up to 64% faster than Python 3.10 on most tests, with an overall 14% speed increase, highlighting the language’s long‑awaited performance improvements.
Python has long been known for its relatively slow execution speed, and many developers hope for performance gains. After the language’s founder returned to lead the project, the Python team released a beta of Python 3.11 on May 7, 2022 for testing.
The team plans to ship the stable version in October 2022.
A curious user ran benchmarks in separate Docker containers, installing Python 3.10 and Python 3.11 on a virtual machine. The pyperformance package was used to automate the tests, each container using five logical CPU cores on a 10‑core M1 Pro MacBook Pro 16.
According to the averaged results, Python 3.11 is about 14% faster than Python 3.10 overall. While a few benchmarks show a slight slowdown, most show speed improvements of up to 64%.
The detailed benchmark data (displayed in the image below) compares various packages across the two versions.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
21CTO
21CTO (21CTO.com) offers developers community, training, and services, making it your go‑to learning and service platform.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
