chiprook
← Software
SoftwareOctober 11, 2026, 20:50

Python 3.15 lazy imports cut cold start from 512 ms to 32 ms

Python 3.15.0, released on 9 October, adds explicit lazy imports via PEP 810. In a test on a 2-vCPU container, a health-check handler's cold start dropped from 512 ms to 32 ms, with loaded modules falling from 608 to 57.

Python 3.15 lazy imports cut cold start from 512 ms to 32 ms
#Python
Read next
Software

Python Workers Reach GA on Cloudflare, Cold Start Questions Remain

Software

Python 3.15 released with frozendict, UTF-8 default and JIT gains

Software

LiteLLM Rust Gateway benchmarked: 0.7 ms p99 vs 257.7 ms for Python proxy

Software

AWS Reworks Bedrock AgentCore Runtime for Elastic Memory, Fast Cold Starts