Repository navigation
Conversation
The 64 public_headers_compile tests reach their 30 s timeout on an i7-10750H under Windows with ctest -j 8: 4 of 64 time out on each run of main 335fd46. The slowest unit includes all 413 umbrella headers and cannot be split further, so a batch that holds it needs few other units. With 256 batches the slowest takes 18.8 s and 18.7 s in two runs, and none times out. With 160 the slowest took 28.1 s and 27.6 s.
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
What
The 64
public_headers_compile_<n>tests haveTIMEOUT 30and no longer fit in it on a Windows laptop: each runs about 18g++ -fsyntax-onlyunits in sequence, and the public headers keep growing. This splits the same units into 256 batches. The timeout is unchanged and no unit is added or removed.The slowest unit includes all 413 umbrella headers and cannot be split by the batch count, so its batch needs few other units. With 160 batches that batch took 28 s; with 256 it takes 17.5 s and 18.7 s.
Tested
Windows 11 Home (10.0.26300), Intel Core i7-10750H (6 cores, 12 threads), WinLibs GCC 15.2.0 r7, Release,
main335fd4626f,ctest -R '^public_headers' -j 8, two runs each with the batch change applied to that commit. The branch was then rebased onto currentmainwithout rebuilding.main)The total time of
mainexcludes the work of its killed tests. In a fullctest -j 8sweep of335fd4626f, 8 of the 64 timed out; all 8 passed when rerun serially (6.5 to 12.6 s). No other sweep I found reports these timeouts. 192 was measured only outside ctest, so it is not in the table.python3 tools/check_conventions.pyandpython3 tools/tests/test_build_changed_guest_tests.pypass (itspublic_headers_compile_\d+pattern accepts any index).tools/pr_overlap.py --branchcould not compare four open PRs that conflict withmain(boykopovar#25470, boykopovar#25477, boykopovar#25493, boykopovar#25500); none of their diffs changes these lines.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Summary by CodeRabbit