Skip to content

improve startup time by ~50ms (65%) - #905

Merged
asottile merged 1 commit into
mainfrom
improve-startup
Oct 5, 2026
Merged

asottile merged 1 commit into
mainfrom
improve-startup

Conversation

@asottile

@asottile asottile commented Oct 5, 2026

Copy link
Copy Markdown
Member

doctest is rarely used and most of the startup of pyflakes. on smaller codebases this import alone is more than the entire program execution

@sigmavirus24

Copy link
Copy Markdown
Member

Nice find!

@asottile
asottile merged commit 8d33e0e into main Oct 5, 2026
12 checks passed
@asottile
asottile deleted the improve-startup branch October 5, 2026 18:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants