<story><title>Python 3.11 beta vs. 3.10 benchmark</title><url>https://github.com/faster-cpython/ideas/blob/657830f1ab35466053634bb165f6582f6d788614/main-vs-310.rst</url></story><parent_chain></parent_chain><comment><author>freediver</author><text>Compared speed to Python 3.9 using python-speed for those who want a simpler, more straight-forward benchmark. [1]&lt;p&gt;Basically one can expect overall 24% increase in performance &amp;quot;for free&amp;quot; in a typical application.&lt;p&gt;Improvements across the board in all major categories. Seriously impressive.&lt;p&gt;Stack usage and multiprocessing had the largest performance increase. Even regex had 21% increase. Just wow!&lt;p&gt;And this may be the first Python3 that will actually be faster (about 5%) than Python 2.7. We&amp;#x27;ve waited 12 years for this... Excited about Python&amp;#x27;s future!&lt;p&gt;-----&lt;p&gt;python-speed v1.3 using python v3.9.2&lt;p&gt;string&amp;#x2F;mem: 2400.67 ms&lt;p&gt;pi calc&amp;#x2F;math: 2996.1 ms&lt;p&gt;regex: 3201.59 ms&lt;p&gt;fibonnaci&amp;#x2F;stack:  2487.13 ms&lt;p&gt;multiprocess: 812.37 ms&lt;p&gt;total:  11897.85 ms (lower is better)&lt;p&gt;-----&lt;p&gt;python-speed v1.3 using python v3.11.0&lt;p&gt;string&amp;#x2F;mem: 2234.78 ms&lt;p&gt;pi calc&amp;#x2F;math: 2667.84 ms&lt;p&gt;regex: 2548.81 ms&lt;p&gt;fibonnaci&amp;#x2F;stack:  1149.57 ms&lt;p&gt;multiprocess: 480.25 ms&lt;p&gt;total:  9081.25 ms (lower is better)&lt;p&gt;-----&lt;p&gt;[1] &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;vprelovac&amp;#x2F;python-speed&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;vprelovac&amp;#x2F;python-speed&lt;/a&gt;</text></comment>
<story><title>Python 3.11 beta vs. 3.10 benchmark</title><url>https://github.com/faster-cpython/ideas/blob/657830f1ab35466053634bb165f6582f6d788614/main-vs-310.rst</url></story><parent_chain></parent_chain><comment><author>hexomancer</author><text>Python is so slow that I ironically don&amp;#x27;t care about performance improvement that much, because if you are writing any performance-sensitive part of your software in python you are screwed anyway, 50% faster code isn&amp;#x27;t going to help that much.</text></comment>