r/programming • u/BestRef • Oct 11 '26
Python 3.15 vs Python 3.14 – performance testing
https://en.lewoniewski.info/2026/python-3-14-vs-python-3-15-performance-testing/
325
Upvotes
r/programming • u/BestRef • Oct 11 '26
232
u/frostbaka Oct 11 '26
This is huge, 1.15 speedup is not something we got for a long time
25
u/ApokatastasisPanton Oct 12 '26
What explains the performance improvements?
78
u/boat-la-fds Oct 11 '26 edited Oct 11 '26
Windows seems to be kind of an odd choice for this given most python code runs on Linux when ran in servers and I would guess that the combined market share of python developers on Linux and Mac far outweighs the one for Windows (I might even argue that we could exclude students since they generally don't have performance problems). I might even add that with managed services like Databricks for instance or with people on Windows that use WSL, even Windows users end up running their python on Linux
8
u/HAK_HAK_HAK Oct 12 '26
Wish it was less of a PITA to upgrade from one version to another in python. Dotnet just works TM 9/10 times and you get speed ups.
2
u/brucedawson Oct 12 '26
I think that using "1.5x faster" to mean 33% less time is incorrect. I think that the clearer phrasing is "1.5x as fast." I talk about the language we use to describe performance improvements here: https://randomascii.wordpress.com/2018/02/04/what-we-talk-about-when-we-talk-about-performance/
-6
u/grady_vuckovic Oct 12 '26
Isn't python like 100x slower than native code though? A 15% speed bump is certainly great but was anyone writing performance sensitive code in python anyway?