Commit 8879fbc
[ML] Use optimal test parallelism based on CPU count
Each test suite spawns ctest --parallel <all_cpus> internally, so
running all suites concurrently causes resource contention. Limit
the number of concurrent suites to ceil(nproc/3) on Unix and 2 on
Windows, matching empirically determined optimal values from
cross-platform benchmarking (see PR elastic#2900).
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent b6d498a commit 8879fbc
2 files changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
113 | 118 | | |
114 | 119 | | |
115 | 120 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
0 commit comments