docs: record how the debugger heap affects startup milestones #1758

Merged
R0Y00 merged 1 commit from upstream-pr/1765 into main 2026-11-24 18:43:54 +00:00
R0Y00 commented 2026-11-24 18:15:15 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by R0Y00 on 2026-11-24T18:15:15Z.


Refs #1650. Records an independent Windows 11 timing comparison in the startup guide. Both debug launches used the same 681 prepared input files, graphics runtime and storage seed. The ordinary-heap run additionally collected process audio levels. Times use the process clock aligned to the recorder. One observation per configuration.

First captured window 30.14 to 7.40 seconds. First movie open 132.98 to 86.72 seconds. First button release to language selection took about 17 seconds in both runs.

Verified with:

  • python -B tests/docs_links_check.py (17 documents, 366 links)
  • python -B tests/bidi_controls_check.py (1302 files)
  • git diff --check

The existing synthetic heap-flag test is linked for reproduction.

<!-- greyfinch-sync:R0Y00/Xbox2Windows:issue:6588436821 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1765). Originally posted by [R0Y00](https://github.com/R0Y00) on 2026-11-24T18:15:15Z. --- Refs #1650. Records an independent Windows 11 timing comparison in the startup guide. Both debug launches used the same 681 prepared input files, graphics runtime and storage seed. The ordinary-heap run additionally collected process audio levels. Times use the process clock aligned to the recorder. One observation per configuration. First captured window 30.14 to 7.40 seconds. First movie open 132.98 to 86.72 seconds. First button release to language selection took about 17 seconds in both runs. Verified with: - `python -B tests/docs_links_check.py` (17 documents, 366 links) - `python -B tests/bidi_controls_check.py` (1302 files) - `git diff --check` The existing synthetic heap-flag test is linked for reproduction.
upstream-sync closed this pull request 2026-11-24 19:01:23 +00:00
ChazY11 commented 2026-11-24 20:01:20 +00:00 (Migrated from github.com)

Imported from R0Y00/Xbox2Windows. Originally posted by ChazY11 on 2026-11-24T19:43:35Z.


The cited test exists and passes

cmake --build --preset dev --target startup_debug_probe
ctest --preset dev --no-tests=error -R '^startup_debug$'
1/1 Test #368: startup_debug ...   Passed 3.62 sec

One trap worth knowing before someone repeats this: with a stale startup_debug_probe.exe the test fails with

AssertionError: debug-probe reserved ok
assert "debug-probe heap flags 0x0\n" in text(logdir / "stdout.txt")

which reads like a heap-flag regression but is just an old probe that prints one line instead of two. Rebuilding the probe
fixes it. Since this paragraph now points people at that command, a half-sentence ("rebuild the probe first if you have
not built since your last pull") would save them the same twenty minutes I spent.

The table

One run per setting is stated, and the note about measuring the window and the first visible content separately is the
right instruction. The numbers themselves I cannot check — they need the title and a debugger — so I am treating them as
reported, not verified.

One sentence that reads like a contradiction

Time from the first recorded button release to language selection was about 17 seconds in both runs.

With the table's language-selection row at 152.16 s and 105.24 s, that puts the first button release at roughly 135 s and
88 s — a 47-second difference before the step that then takes the same 17 s in both runs. That is coherent, but only if
the reader does the subtraction; as written it invites "how can the totals differ by 47 s if the last leg is the same in
both?". Adding the button-release milestone as a row would make the paragraph self-checking, which is the standard the rest
of this file holds itself to.

Missing from the table's surroundings

The Windows build is named (26200.9974) but not the commit the measurements were taken at. Every other runtime row in this
file that I checked names one, and a timing comparison six weeks later is worth pinning to a tree.

Verdict

Reviewed the diff. The comparison is described honestly (n=1, what to measure next), the regression command it cites is
real and passes. My two suggestions are one extra row and one commit hash.

Notes

  • AI-assisted review.
<!-- greyfinch-sync:R0Y00/Xbox2Windows:comment:7142501887 --> Imported from [R0Y00/Xbox2Windows](https://github.com/R0Y00/Xbox2Windows/pull/1765#issuecomment-7142501887). Originally posted by [ChazY11](https://github.com/ChazY11) on 2026-11-24T19:43:35Z. --- ## The cited test exists and passes ```powershell cmake --build --preset dev --target startup_debug_probe ctest --preset dev --no-tests=error -R '^startup_debug$' 1/1 Test #368: startup_debug ... Passed 3.62 sec ``` One trap worth knowing before someone repeats this: with a **stale** `startup_debug_probe.exe` the test fails with ```text AssertionError: debug-probe reserved ok assert "debug-probe heap flags 0x0\n" in text(logdir / "stdout.txt") ``` which reads like a heap-flag regression but is just an old probe that prints one line instead of two. Rebuilding the probe fixes it. Since this paragraph now points people at that command, a half-sentence ("rebuild the probe first if you have not built since your last pull") would save them the same twenty minutes I spent. ## The table One run per setting is stated, and the note about measuring the window and the first visible content separately is the right instruction. The numbers themselves I cannot check — they need the title and a debugger — so I am treating them as reported, not verified. ## One sentence that reads like a contradiction > Time from the first recorded button release to language selection was about 17 seconds in both runs. With the table's language-selection row at 152.16 s and 105.24 s, that puts the first button release at roughly 135 s and 88 s — a 47-second difference *before* the step that then takes the same 17 s in both runs. That is coherent, but only if the reader does the subtraction; as written it invites "how can the totals differ by 47 s if the last leg is the same in both?". Adding the button-release milestone as a row would make the paragraph self-checking, which is the standard the rest of this file holds itself to. ## Missing from the table's surroundings The Windows build is named (26200.9974) but not the commit the measurements were taken at. Every other runtime row in this file that I checked names one, and a timing comparison six weeks later is worth pinning to a tree. ## Verdict Reviewed the diff. The comparison is described honestly (n=1, what to measure next), the regression command it cites is real and passes. My two suggestions are one extra row and one commit hash. ## Notes - AI-assisted review.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
R0Y00/Xbox2Windows!1758
No description provided.