AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Python-2.7.93/16/2024 PyPy > PyPy 3.10 > CPython 3.9 > CPython 3.8 > CPython 2.7 >= CPython 3.7 > IronPython Python 3.10 is quite obviously and stablely faster than other version of CPython during several rounds of testing. Consider that for compatiblity purpose, the testing script and the module itself is written in a way both 2.X and 3.X could run, but more friendly to Python 2.7, the performance of 3.x interpreter should be even better if codes are written in native 3.x syntax. It’s finally a litter bit faster than Python 2.7. PyPy > CPython 3.8 > CPython 2.7 > CPython 3.7 > IronPython Till Python 3.8, CPython 3.X was slower than Python 2.7. IronPython was about 3 times slower than Python 2.7 in my case, with a quite noticeable startup time. PyPy is obviously the fastest, and one can see it’s always speeding up seconds by seconds when running the script. While on all of the above-mentioned interpreters, the pure python module could run normally, until Python 3.8, the performance rank was always being: PyPy > CPython 2.7 > CPython 3.X > IronPython This is not a script aims to compare every function aspect of different versions of Python, it's written because I developed a pure Python ODBC module (pypyodbc), and I was very curious how bad, or fast, this module run on different implementations of Python, including: CPython 2.X, CPython 3.X, PyPy and even IronPython. Python 3.8 is the first time a Python 3.X version clearly beats Python 2.7, when running a speed testing script I wrote about a decade ago. Python 3.10 is the fastest, and the new King of Speed of CPython.
0 Comments
Read More
Leave a Reply. |