There was an error while loading. Please reload this page.
1 parent 435b713 commit 963198dCopy full SHA for 963198d
1 file changed
docs/source/command_line.rst
@@ -1053,13 +1053,16 @@ enabled by default starting from mypy 2.0.
1053
of workers is not supported yet.
1054
1055
Notes:
1056
+
1057
* An import cycle is always processed as a whole by a worker process. Thus,
1058
avoiding large import cycles in your code will *significantly* improve
1059
type-checking speed.
1060
1061
* Specifying a number of workers that is larger than the number of *physical*
1062
CPU cores is not beneficial, since mypy is usually CPU bound. Best way to
1063
tune the number of workers on a given machine is to start from 2-3 workers
1064
and increase the number while you see a performance improvement.
1065
1066
* Parallel mode requires and automatically enables :option:`--native-parser`.
1067
1068
0 commit comments