Python documentation
docs.python.org βΊ 3 βΊ whatsnew βΊ 3.12.html
What's New In Python 3.12 β Python 3.14.3 documentation
February 23, 2026 - The performance of writing to sockets in asyncio has been significantly improved. asyncio now avoids unnecessary copying when writing to sockets and uses sendmsg() if the platform supports it.
performance - Why does it take longer to execute a simple for loop in Python 3.12 than in Python 3.11? - Stack Overflow
Python 3.12 was released two days ago with several new features and improvements. It claims that it's faster than ever, so I decided to give it a try. I ran a few of my scripts with the new version... More on stackoverflow.com
Python 3.11 vs Python 3.12 β performance testing. A total of 91 various benchmark tests were conducted on computers with the AMD Ryzen 7000 series and the 13th-generation of Intel Core processors for desktops, laptops or mini PCs.
The results are... weird. Such a big difference between AMD and Intel is unexpected. More on reddit.com
Python 3.12 vs Python 3.13 β performance testing. A total of 100 various benchmark tests were conducted on computers with the AMD Ryzen 7000 series and the 13th-generation of Intel Core processors for desktops, laptops or mini PCs.
Here is some click saving and the summary of the results: AMD Ryzen 7000 Series Desktop Processor Group of benchmarks Python 3.13 to Python 3.12 apps 1.06x faster asyncio 1.22x faster math 1.07x faster regex not significant serialize 1.05x faster startup 1.04x slower template 1.03x faster Result (geometric mean) 1.08x faster 13th Gen Intel Core Mobile Processor Group of benchmarks Python 3.13 to Python 3.12 apps 1.00x faster asyncio 1.19x faster math 1.06x faster regex 1.04x slower serialize 1.02x faster startup 1.01x slower template 1.02x slower Result (geometric mean) 1.05x faster More on reddit.com
How does Python 3.13 perform vs 3.11 in single-threaded mode?
There are lots of different ways to measure performance. If you care about a specific workload, you'll have to benchmark it yourself. There are various resources that compare performance between different Python versions or describe optimization work: https://lost.co.nz/articles/sixteen-years-of-python-performance/ https://speed.python.org/ https://github.com/faster-cpython β includes archives of benchmark results The TL;DR is that CPython tends to make performance improvements with every release, though individual benchmarks might see regressions. Historically, there was a large regression when switching to Python 3, but that is irrelevant now. Python 3.11 saw significant work on performance (reported as 25% average uplift in the release notes ). While you can expect Python 3.13 to be a bit faster, it focused on laying the groundwork for larger optimizations in the future (JIT, free-threaded mode). Those features are too experimental to be used in production, though. If you care about the last 5% of performance, I'd recommend compiling Python yourself with optimizations for your specific CPU architecture. Pre-built binaries tend to sacrifice a bit of performance for broader compatibility. More on reddit.com
Reddit
reddit.com βΊ r/python βΊ python 3.12: a game-changer in performance and efficiency
r/Python on Reddit: Python 3.12: A Game-Changer in Performance and Efficiency
March 3, 2023 - All that's changing with 3.12 is adding a Path.walk method (which is welcome, to be fair). ... Python is taking steps towards improved multi-threaded parallelism by transitioning from a single global interpreter lock per process to a global interpreter lock per sub-interpreter. Does this mean multithreading will work more like multiprocessing now in general, performance-wise?
Phoronix
phoronix.com βΊ news βΊ Python-3.12-Released
Python 3.12 Released With Linux Perf Integration, Performance Improvements - Phoronix
Python 3.12 brings more flexible f-string parsing, support for the buffer protocol in Python code, a wide variety of performance improvements, integration support for the Linux perf profiler, new type annotation syntax for generic classes, and various other enhancements.
GitHub
github.com βΊ faster-cpython βΊ ideas βΊ wiki βΊ Python-3.12-Goals
Python 3.12 Goals Β· faster-cpython/ideas Wiki
March 3, 2023 - Improving the pyperformance benchmarking suite to include more representative real-world workloads. Assisting with CPython issues and PRs, in particular those that are related to performance.
Author Β faster-cpython
DEV Community
dev.to βΊ maximsaplin βΊ python-312-performance-a-quick-test-4en5
Python 3.12 Performance - a Quick Test - DEV Community
December 7, 2023 - Yet another confirmation of tradeoffs brought by Python - a super convenient glue language which is super slow in computation tasks. P.S.: I have come across this more holistic comparison of 3.12 to 3.11. It had run pyperformance 1.0.9 on AMD Ryzen 9 7900 and Intel Core i3-1315U, both are x86 CPUs.
Python
python.org βΊ downloads βΊ release βΊ python-31210
Python Release Python 3.12.10 | Python.org
Many large and small performance improvements (like PEP 709 and support for the BOLT binary optimizer), delivering an estimated 5% overall performance improvement. New type annotation syntax for generic classes (PEP 695).