Three times faster with lazy imports
Python 3.14/3.15 release manager Hugo van Kemenade benchmarks Python’s proposed explicit lazy imports (PEP 810) showing that enabling lazy loading can make command-line tools like pypistats start up nearly three times faster by deferring module initialization until actually needed.