docs: show how to prime the Windows pixel core fixture cache #2561

Manually merged
github merged 1 commit from gh-pr/2561/head into gh-pr/2561/base 2026-11-27 01:02:21 +00:00
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-25 21:03 UTC · original
RavenCurseBurg:docs/pixel-core-bytecode-cache → main · +18 −0 · 1 files · 1 commits · merged 2026-11-25 21:07 UTC

Part of #448. This adds a short PowerShell recipe next to the draw-core CTest instructions. It primes the Python bytecode cache used by the existing Windows fixture. The fixture runs with -B, so it can read the cache on later runs.

The original pixel_aot_hardware CTest at 82bb67ef reached its 60-second timeout in six of eight earlier runs. On the same Intel UHD 770 and RTX 4060, all six runs after priming completed in 25.68–27.77 seconds. Their coverage records were byte-identical to both previous completed runs. The initial import took 5.75 seconds once. On newer main, a separate twelve-run device-free comparison exercised both cache states and worker counts. Hardware, individual times, coverage digests and reproduction.

I also ran the documented import from the repository root with a fresh default virtual environment. tests/docs_links_check.py passed 486 links, tests/bidi_controls_check.py passed 1,790 files, and git diff --check passed.

AI-assisted with Codex (GPT-6.2 Astra, xhigh).

**@⁠RavenCurseBurg** on GitHub · 2026-11-25 21:03 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2561) `RavenCurseBurg:docs/pixel-core-bytecode-cache` → `main` · +18 −0 · 1 files · 1 commits · merged 2026-11-25 21:07 UTC Part of #448. This adds a short PowerShell recipe next to the draw-core CTest instructions. It primes the Python bytecode cache used by the existing Windows fixture. The fixture runs with `-B`, so it can read the cache on later runs. The original `pixel_aot_hardware` CTest at `82bb67ef` reached its 60-second timeout in six of eight earlier runs. On the same Intel UHD 770 and RTX 4060, all six runs after priming completed in 25.68–27.77 seconds. Their coverage records were byte-identical to both previous completed runs. The initial import took 5.75 seconds once. On newer main, a separate twelve-run device-free comparison exercised both cache states and worker counts. [Hardware, individual times, coverage digests and reproduction](https://git.gtahub.st/github/R0Y00--Xbox2Windows/issues/448). I also ran the documented import from the repository root with a fresh default virtual environment. `tests/docs_links_check.py` passed 486 links, `tests/bidi_controls_check.py` passed 1,790 files, and `git diff --check` passed. AI-assisted with Codex (GPT-6.2 Astra, xhigh).
AI-assisted with Codex (GPT-6.2 Astra, xhigh).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:02:20 +00:00
github manually merged commit 1505aff22f into gh-pr/2561/base 2026-11-27 01:02:21 +00:00
Author
Owner

@⁠tedin7 on GitHub · 2026-11-25 21:06 UTC · original · reviewed

Review of head 1505aff2 (docs-only, docs/experiments.md, +18 lines).

What I checked:

  • The recipe matches the build files: CMakeLists.txt sets INTAKE_PYTHON to out/pe-env/Scripts/python.exe by default, the fixture runs pixel_aot_check.py with -B, and the dev preset exists.
  • pixel_aot_check is importable from tests/ as the snippet assumes.
  • No sibling doc repeats this recipe, so nothing else needs the same change.
  • The numbers (six of eight timeouts, 25.68-27.77 s after priming, 5.75 s import) match the linked #448 comment. The text says this is not physical-adapter headroom proof elsewhere, and keeps that caveat.

Commands run locally on the exact head:

  • python3 tests/docs_links_check.py -> pass (19 files, 486 links)
  • python3 tests/bidi_controls_check.py -> pass
  • git diff --check origin/main...HEAD -> clean

No runtime behavior changes, so no Windows run is needed. Sound from my side. One CI job (gfx1013 fixtures) was still pending when I looked.

AI-assisted; commands listed were executed locally.

**@⁠tedin7** on GitHub · 2026-11-25 21:06 UTC · [original](https://github.com/R0Y00/Xbox2Windows/pull/2561#pullrequestreview-6064985900) · **reviewed** Review of head 1505aff2 (docs-only, `docs/experiments.md`, +18 lines). What I checked: - The recipe matches the build files: `CMakeLists.txt` sets `INTAKE_PYTHON` to `out/pe-env/Scripts/python.exe` by default, the fixture runs `pixel_aot_check.py` with `-B`, and the `dev` preset exists. - `pixel_aot_check` is importable from `tests/` as the snippet assumes. - No sibling doc repeats this recipe, so nothing else needs the same change. - The numbers (six of eight timeouts, 25.68-27.77 s after priming, 5.75 s import) match the linked #448 comment. The text says this is not physical-adapter headroom proof elsewhere, and keeps that caveat. Commands run locally on the exact head: - `python3 tests/docs_links_check.py` -> pass (19 files, 486 links) - `python3 tests/bidi_controls_check.py` -> pass - `git diff --check origin/main...HEAD` -> clean No runtime behavior changes, so no Windows run is needed. Sound from my side. One CI job (gfx1013 fixtures) was still pending when I looked. AI-assisted; commands listed were executed locally.
This discussion has been locked. Commenting is limited to contributors.
No description provided.