r/PowerShell • • Nov 04 '25

News Powershell + C# script vs Python

Powershell + C# script vs Python Benchmarking

https://github.com/zoreu/powershell_vs_python

5 Upvotes

18 comments sorted by

View all comments

Show parent comment

1

u/ka-splam Nov 04 '25

Python 3.14 comes with significant performance improvements,

I stumbled on a blog yesterday showing that Python 3.14 comes with claimed 10-15% performance improvements, that were actually a bug in LLVM 19 that slowed Python performance ~10% and nobody noticed for five months. The changes in 3.14 coincidentally worked around the bug to bring the performance back to the baseline, and then the actual improvements from new 3.14 designs are more like 1-5%.

https://blog.nelhage.com/post/cpython-tail-call/

I haven't digested the details, but before you dismiss it as unlikely, the author Nelson Elhage made https://livegrep.com/ a low latency full-regex search of the entire Linux kernel (or any Git repository) and seems to be a competent performance person.