tools: run-summary.sh summarises the VICTORY_SUBMIT_TIMING and VICTORY_TRACE_UNMAPPED_LEVELS lines (#461, #458) #504

Open
opened 2026-11-27 22:22:57 +00:00 by github-bot · 5 comments
Owner

@⁠AnastasisKon on GitHub · 2026-11-27 22:19 UTC · original

What

The two new diagnostics — submit timing: lines per ExecuteCommandLists (VICTORY_SUBMIT_TIMING=1, #465) and unmapped levels: lines every 64 submissions (VICTORY_TRACE_UNMAPPED_LEVELS=1, #462) — are not read by tools/macos/run-summary.sh, so a tester's summary never shows them.

What this changes

One change, tools-only: run-summary.sh's awk now collects submit timing: lines (count, prep/encode_commit/total sums, slowest) and unmapped levels: lines (count, last verbatim), prints them in the summary and adds --compare rows. The --self-test synthetic log gains both line kinds and checks the printed summary.

How it was tested

  • /bin/bash tools/macos/run-summary.sh --self-test (extended)
  • /bin/bash tools/macos/tests/run-summary-compare.sh
  • cargo test -p victory-hle -p victory -p victory-gpu -p xtask, windows clippy gate, cargo xtask policy (no Rust change, run anyway)
  • Game run: not needed (tools-only).
**@⁠AnastasisKon** on GitHub · 2026-11-27 22:19 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/500) ## What The two new diagnostics — `submit timing:` lines per `ExecuteCommandLists` (VICTORY_SUBMIT_TIMING=1, #465) and `unmapped levels:` lines every 64 submissions (VICTORY_TRACE_UNMAPPED_LEVELS=1, #462) — are not read by `tools/macos/run-summary.sh`, so a tester's summary never shows them. ## What this changes One change, tools-only: run-summary.sh's awk now collects `submit timing:` lines (count, prep/encode_commit/total sums, slowest) and `unmapped levels:` lines (count, last verbatim), prints them in the summary and adds `--compare` rows. The `--self-test` synthetic log gains both line kinds and checks the printed summary. ## How it was tested - `/bin/bash tools/macos/run-summary.sh --self-test` (extended) - `/bin/bash tools/macos/tests/run-summary-compare.sh` - `cargo test -p victory-hle -p victory -p victory-gpu -p xtask`, windows clippy gate, `cargo xtask policy` (no Rust change, run anyway) - Game run: not needed (tools-only).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 22:22:57 +00:00
Author
Owner

@⁠AnastasisKon on GitHub · 2026-11-27 22:19 UTC · original

/claim

**@⁠AnastasisKon** on GitHub · 2026-11-27 22:19 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/500#issuecomment-7229228003) /claim
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-27 22:19 UTC · original

Claimed by @⁠AnastasisKon. Open a draft pull request with Refs #500 in its description within 24 hours, or the claim expires.

**@⁠github-actions[bot]** on GitHub · 2026-11-27 22:19 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/500#issuecomment-7229231029) Claimed by @⁠AnastasisKon. Open a draft pull request with `Refs #500` in its description within 24 hours, or the claim expires.
Author
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 12:37 UTC · original

/release - done: PR #505 makes run-summary.sh summarise the VICTORY_SUBMIT_TIMING and VICTORY_TRACE_UNMAPPED_LEVELS lines. Carried in my fork's main (69146296), gate green.

**@⁠AnastasisKon** on GitHub · 2026-11-28 12:37 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/500#issuecomment-7239353394) /release - done: PR #505 makes run-summary.sh summarise the `VICTORY_SUBMIT_TIMING` and `VICTORY_TRACE_UNMAPPED_LEVELS` lines. Carried in my fork's `main` (69146296), gate green.
Author
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 12:42 UTC · original

/release - done: PR #505 makes run-summary.sh summarise the VICTORY_SUBMIT_TIMING and VICTORY_TRACE_UNMAPPED_LEVELS lines. Carried in my fork's main (69146296), gate green.

**@⁠AnastasisKon** on GitHub · 2026-11-28 12:42 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/500#issuecomment-7239413636) /release - done: PR #505 makes run-summary.sh summarise the `VICTORY_SUBMIT_TIMING` and `VICTORY_TRACE_UNMAPPED_LEVELS` lines. Carried in my fork's `main` (69146296), gate green.
Author
Owner

@⁠github-actions[bot] on GitHub · 2026-11-28 12:42 UTC · original

Released. This issue is free to claim.

**@⁠github-actions[bot]** on GitHub · 2026-11-28 12:42 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/500#issuecomment-7239415559) Released. This issue is free to claim.
This discussion has been locked. Commenting is limited to contributors.
No description provided.