mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
docs(coverage): say two-core runs keep two workers per project
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ae836bd97e
commit
dc685b34fa
1 file changed
+3
-2
@@ -99,8 +99,9 @@ It runs projects a few at a time, largest first, with a bounded Jest worker
|
||||
count per project (defaults: `min(3, cores - 1)` in flight and
|
||||
`ceil(cores / concurrency)` workers each; override with `--concurrency=N`,
|
||||
`--max-workers=N` or `TIER_A_CONCURRENCY` / `TIER_A_MAX_WORKERS`). Two cores
|
||||
stay serial: one worker per project runs Jest in-band, and a big project's
|
||||
single heap can run out on a small machine; avoid `--max-workers=1`. Each
|
||||
run one project at a time with two workers. Two in flight would leave each
|
||||
project one worker, which runs Jest in-band, and a big project's single heap
|
||||
can run out on a small machine; for the same reason avoid `--max-workers=1`. Each
|
||||
project's output is printed as one block when it finishes, and the run ends
|
||||
with the wall-clock total and the longest projects. Spec `tsconfig`s set
|
||||
`isolatedModules: true`, so ts-jest transpiles files one at a time instead of
|
||||
|
||||
Reference in new issue
Block a user