tests: run six descriptor load format launches at once #2560
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2568"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T21:17:45Z.
Part of #448
What this unblocks: a shorter
compute_store_aot_descriptor_load_format_warp, so Win2025 slots free up sooner.Change:
tests/compute_load_format_check.py drawalready runs its dispatches and mutated-source compiles on a thread pool (4 workers). This raises the pool to 6 (a named constant,LAUNCH_THREADS). No check is added, removed or weakened; every case still checks the same message in the same order.Before/after on Win2025 (Build 26100, MSVC 14.44.35207, D3D12 WARP, 11 vCPU slot,
--preset dev), head74a4e5e4487b6a097d9ce1e4c128c0328150c922. Same test,LAUNCH_THREADS = 4("before") against= 6("after"), three runs each on the shared VM:That is about 27% lower at the median. The 4-worker run of 27.20 s ran at a quiet moment; the VM is shared, so single runs are noisy. An independent paired run on Windows 11 (comment above) also measured a 16% lower median (26.5 s -> 22.3 s). Both runs pass the same cases.
Verification (Win2025, exact head
74a4e5e4487b6a097d9ce1e4c128c0328150c922):cmake --build --preset dev -- -j 2-> nothing to build (test-only Python change; 0.00 s)ctest --preset dev -R 'compute_store_aot_descriptor_load_format|compute_load_format' --parallel 2 --no-tests=error --output-on-failure-> 3/3 passed (38.18 s)cmake --build --preset release -- -j 2-> nothing to build (0.00 s)ctest --preset release -R 'compute_store_aot_descriptor_load_format|compute_load_format' --parallel 2 --no-tests=error --output-on-failure-> 3/3 passed (33.53 s)python3 tests/compute_heap_view_check.pyandpython3 tests/compute_load_format_check.py-> okpython3 -B tests/compute_load_format_check.py controls-> exit 0;git diff --check-> cleanAI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T21:38:19Z.
Verified on Windows Server 2025 (Build 26100, MSVC 14.44.35207 + D3D12 WARP) at commit
74a4e5e4487b6a097d9ce1e4c128c0328150c922:--preset dev):cmake --build --preset dev -- -j 2):0.00s(configure0.00s)ctest --preset dev -R 'compute_store_aot_descriptor_load_format|compute_load_format' --parallel 2 --no-tests=error --output-on-failure): 3/3 passed (38.18s:compute_store_aot_descriptor_load_format_hardware36.87s,compute_load_format_controls0.82s,compute_store_aot_descriptor_load_format_warp37.95s)/O2(--preset release):cmake --build --preset release -- -j 2):0.00s(configure0.00s)ctest --preset release -R 'compute_store_aot_descriptor_load_format|compute_load_format' --parallel 2 --no-tests=error --output-on-failure): 3/3 passed (33.53s:compute_load_format_controls0.65s,compute_store_aot_descriptor_load_format_hardware32.45s,compute_store_aot_descriptor_load_format_warp33.39s)tests/compute_heap_view_check.pyok (0.6s),tests/compute_load_format_check.pyok (0.8s)sccache: 87/155 hits; wall79.3sAI-assisted; commands listed were executed locally.
Imported from R0Y00/Xbox2Windows. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T21:38:29Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
74a4e5eℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from R0Y00/Xbox2Windows. Originally posted by RavenCurseBurg on 2026-11-25T21:51:26Z.
I ran a paired four/six-worker comparison on Windows 11 26100.9711 with 24 logical CPUs and WARP 10.0.26100.9711. The two worktrees were the merge base
34e1637eand this head74a4e5e4. I used the normalpython -B tests/compute_load_format_check.py draw <dxc> <offscreen_check> warpentry point in each, with the same DXC 1.9.2609, Python 3.14.3 and Release renderer. The renderer was built atf0402dd1; its native sources match both revisions.I ran one warm-up for each configuration, then measured in order 4/6, 6/4, 4/6. Six workers reduced the local median by 4.261 s (16.1%). All eight runs exited 0 with byte-identical stdout, including the seven dispatches, 14 wrong references and 11 shader mutations. The only stderr difference was the temporary directory in DXC's diagnostic for mutated source 31. These timings are for the WARP test in isolation on this machine.
Imported from R0Y00/Xbox2Windows. Originally posted by tedin7 on 2026-11-25T22:08:32Z.
@RavenCurseBurg thanks for the paired run. Six workers gave a 16.1% lower median (26.529 s -> 22.268 s) with byte-identical output, which matches the speed-up this PR targets. No code change needed; head stays
74a4e5e4, CI and the Win2025 dev+release receipt above are on that exact head. Ready for review and merge.AI-assisted; commands listed were executed locally.