Commit 46a0a7b
perf(core): Remove metrics worker cap to avoid regression on low-core machines
CI benchmarks showed macOS (3 vCPU) regressed by ~6-7% with the
processConcurrency-1 cap, while Ubuntu/Windows (4 vCPU) improved.
On 3 cores, capping metrics from 3→2 workers is a 33% parallelism
reduction that outweighs contention savings. The main improvement
comes from capping security at 2 workers, which is sufficient since
the security pool uses coarse batches (50 files) and finishes quickly.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent aff7aa9 commit 46a0a7b
1 file changed
Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 2 | + | |
8 | 3 | | |
9 | 4 | | |
10 | 5 | | |
| |||
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 37 | | |
47 | 38 | | |
48 | 39 | | |
49 | 40 | | |
50 | | - | |
51 | 41 | | |
52 | 42 | | |
53 | | - | |
| 43 | + | |
54 | 44 | | |
55 | 45 | | |
56 | 46 | | |
| |||
0 commit comments