tools: run-summary.sh summarises the VICTORY_PASS_TIMING pass time lines (#596) #601

Open
github-bot wants to merge 1 commit from github-bot/gh-597 into main AGit
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 11:17 UTC · original
AnastasisKon:vibe/run-summary-pass-time-55a8d1 → main · +60 −0 · 1 files · 1 commits · open

What this changes

Refs #600. VICTORY_PASS_TIMING=1 (#464, PR #598) logs per-pass GPU times (pass time frame=.. rank=.. kind=.. pipe=.. work=.. ms=.., plus a pass time: frame=.. passes=.. total_ms=.. per frame); run-summary.sh ignored them. Now, only when a log has pass time lines (other logs' summaries and the compare table are byte-identical to before, golden tests included):

  • a -- pass timing (VICTORY_PASS_TIMING) section: frames/passes timed, total/mean/max GPU pass time per frame, the run's 10 slowest individual passes, and the 10 pipelines with the most total GPU time (by shader hash);
  • --compare rows pass-timing frames, pass-timing passes, pass-timing GPU ms (frame totals).

--self-test gains synthetic pass time lines and checks the new output.

How it was tested

  • /bin/bash tools/macos/run-summary.sh --self-test — ok (Bash 3.2, as CI runs it), including the new pass-time checks
  • /bin/bash tools/macos/tests/run-summary-compare.sh — ok (golden plain-summary and compare outputs unchanged for logs without pass-time lines)
  • all tools/macos/tests/*.sh under /bin/bash — ok
  • cargo test -p victory-hle -p victory -p victory-gpu -p xtask (host arm64, -- --test-threads=1 per #552): 623 passed, 0 failed
  • cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings: clean
  • cargo xtask policy: clean
  • Ran the game: not needed — no game data involved; synthetic logs only

Checklist

  • No game files, game code, disassembly listings or SDK files are included
  • No guesses about undocumented behaviour involved (tooling only)
  • No new diagnostics added; this reads the existing VICTORY_PASS_TIMING lines documented in docs/native-host.md (by PR #598)
**@⁠AnastasisKon** on GitHub · 2026-11-28 11:17 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/597) `AnastasisKon:vibe/run-summary-pass-time-55a8d1` → `main` · +60 −0 · 1 files · 1 commits · open ## What this changes Refs #600. `VICTORY_PASS_TIMING=1` (#464, PR #598) logs per-pass GPU times (`pass time frame=.. rank=.. kind=.. pipe=.. work=.. ms=..`, plus a `pass time: frame=.. passes=.. total_ms=..` per frame); `run-summary.sh` ignored them. Now, only when a log has pass time lines (other logs' summaries and the compare table are byte-identical to before, golden tests included): - a `-- pass timing (VICTORY_PASS_TIMING)` section: frames/passes timed, total/mean/max GPU pass time per frame, the run's 10 slowest individual passes, and the 10 pipelines with the most total GPU time (by shader hash); - `--compare` rows `pass-timing frames`, `pass-timing passes`, `pass-timing GPU ms (frame totals)`. `--self-test` gains synthetic `pass time` lines and checks the new output. ## How it was tested - [x] `/bin/bash tools/macos/run-summary.sh --self-test` — ok (Bash 3.2, as CI runs it), including the new pass-time checks - [x] `/bin/bash tools/macos/tests/run-summary-compare.sh` — ok (golden plain-summary and compare outputs unchanged for logs without pass-time lines) - [x] all `tools/macos/tests/*.sh` under `/bin/bash` — ok - [x] `cargo test -p victory-hle -p victory -p victory-gpu -p xtask` (host arm64, `-- --test-threads=1` per #552): 623 passed, 0 failed - [x] `cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings`: clean - [x] `cargo xtask policy`: clean - [ ] Ran the game: not needed — no game data involved; synthetic logs only ## Checklist - [x] No game files, game code, disassembly listings or SDK files are included - [x] No guesses about undocumented behaviour involved (tooling only) - [x] No new diagnostics added; this reads the existing `VICTORY_PASS_TIMING` lines documented in `docs/native-host.md` (by PR #598)
A traced run (VICTORY_PASS_TIMING=1, #460) logs per-pass GPU times, and the
summary said nothing about them. New section, only when the log has pass
time lines (other logs' summaries are unchanged, golden outputs included):
frames and passes timed, total/mean/max GPU pass time per frame, the run's
slowest individual passes, and pipelines aggregated by total GPU time (by
shader hash). --compare gets pass-timing rows when present. --self-test
gains pass time lines and checks the new output; the Bash 3.2 script tests
(run-summary-compare.sh et al.) still pass.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 11:18:46 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/601/head:github-bot/gh-597'
git switch 'github-bot/gh-597'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-597'
git switch 'github-bot/gh-597'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-597'
git switch 'github-bot/gh-597'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-597'
git switch 'main'
git merge --squash 'github-bot/gh-597'
git switch 'main'
git merge --ff-only 'github-bot/gh-597'
git switch 'main'
git merge 'github-bot/gh-597'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.