Technology

Python 3.11 performance benchmarks show significant improvement

Python 3.11 performance benchmarks show significant improvement

Python 3.11 performance benchmarks show significant improvement

While I was this summer I ran early Python Standards 3.11 Using the state of development at that time, looking back at yesterday Python version 3.11 I did some new performance tests of the official Python 3.11 against previous Python 3 versions.

Similar to previous Python 3.11 development standards, Python 3.11 is a huge improvement in the performance department over previous versions of CPython. Thanks to the work of the “Faster CPython Project”, Python 3.11 has some huge performance improvements over Python 3.10 and earlier.

Announcing the release of Python 3.11 indicates 10~60% improvements over Python 3.10 and 1.22x acceleration for the benchmark set.

Using the official Python 3.11.0 sources from yesterday, Python’s performance was compared to 3.10.6, 3.9.15 and 3.8.15. All versions of Python were built from source in release mode and with LTO optimizations while using GCC 12 and other stock components in Ubuntu 22.10 LTS. All Python benchmarks were replicated in the same way from the AMD Ryzen 9 5950X developer workstation.

In line with the predictions of the Python pop-up and from my early benchmarks a few months ago, Python 3.11’s performance shows a significant increase over previous Python releases:

As shown by going back to Python 3.8, there is usually not much variation in the performance department between versions of CPython. But with Python 3.11, this is a huge change to increase performance and make this actual Python app more competitive than the likes of Pyston and PyPy.



#Python #performance #benchmarks #show #significant #improvement

مقالات ذات صلة

اترك تعليقاً

لن يتم نشر عنوان بريدك الإلكتروني. الحقول الإلزامية مشار إليها بـ *

زر الذهاب إلى الأعلى
سيتات آورج 2022 سيتات آورج 2022