How Fast is Python 3.15?
5 hours ago
- Python 3.15 shows only a minor performance improvement over 3.14 in standard interpreter tests.
- The Just-In-Time (JIT) interpreter in 3.15 is notably faster than the standard interpreter, but remains experimental and not recommended for production.
- Free-threading mode in 3.15 delivers significant speed gains for multi-threaded workloads, running over 4x faster than standard Python on the Fibonacci test.
- Performance highlights of past releases include notable improvements in Python 3.11 and 3.14, while 3.12 and 3.13 had minimal changes.
- PyPy continues to outperform standard CPython by a large margin, sometimes beating Node.js, but Rust remains the fastest.
- The author concludes that upgrading to 3.15 is not urgent for performance reasons, though new features may be attractive for personal use.