Python 3.11 Performance Benchmarks Show Huge Improvement
Python 3.11 has performance optimizations around its start-up time, various frame optimizations, inlined Python function calls, and much more as outlined in the 3.11 release notes.
From the testing I've done on Python 3.11 with the Ryzen 9 5950X on Ubuntu 22.10, Python 3.11 was coming in at 32% faster than the prior releases with the set of Python benchmarks utilized.
If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.