-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable --fast-exit by default to speed up mypy (#11541)
Closes #6662. This means that we kill the mypy process at exit instead of cleanly freeing up memory. This speeds up mypy runs by ~10% in some cases (with compiled mypy). We've been using this internally at work for a long time without any issues. Previously the slowdown was visible as a small delay after the final message from mypy was printed. I measured the impact on a branch with some other optimizations as well, so on master the fraction would be slightly less, as other things would be slower. Don't use --fast-exit for runs via the mypy api.
- Loading branch information
Showing
3 changed files
with
9 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters