tools: run-summary.sh should summarise the VICTORY_PASS_TIMING 'pass time' lines (#460) #600

Open
opened 2026-11-28 11:18:42 +00:00 by github-bot · 5 comments
Owner

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

What happens

VICTORY_PASS_TIMING=1 (#464, PR #598) logs, at each present, pass time frame=<f> rank=<r> kind=... pipe=... work=... ms=... lines for the frame's most expensive passes and a pass time: frame=<f> passes=<n> total_ms=<ms> total. tools/macos/run-summary.sh does not read them, so a traced run's summary says nothing about where the GPU time went.

Fix

A -- pass timing section in the summary: frames timed, 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 rows for the same, so a before/after table shows the change. Extend the --self-test synthetic log with pass time lines and check the new output.

**@⁠AnastasisKon** on GitHub · 2026-11-28 11:08 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596) ## What happens `VICTORY_PASS_TIMING=1` (#464, PR #598) logs, at each present, `pass time frame=<f> rank=<r> kind=... pipe=... work=... ms=...` lines for the frame's most expensive passes and a `pass time: frame=<f> passes=<n> total_ms=<ms>` total. `tools/macos/run-summary.sh` does not read them, so a traced run's summary says nothing about where the GPU time went. ## Fix A `-- pass timing` section in the summary: frames timed, 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` rows for the same, so a before/after table shows the change. Extend the `--self-test` synthetic log with `pass time` lines and check the new output.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 11:18:42 +00:00
Author
Owner

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

/claim

Taking this: a section in run-summary.sh (frames/passes timed, total-mean-max GPU ms per frame, slowest passes, pipelines by total GPU ms), rows, and coverage of the new lines. Draft PR from my fork's vibe/ branch to follow.

**@⁠AnastasisKon** on GitHub · 2026-11-28 11:08 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7238357461) /claim Taking this: a section in run-summary.sh (frames/passes timed, total-mean-max GPU ms per frame, slowest passes, pipelines by total GPU ms), rows, and coverage of the new lines. Draft PR from my fork's vibe/ branch to follow.
Author
Owner

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

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

**@⁠github-actions[bot]** on GitHub · 2026-11-28 11:08 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7238359141) Claimed by @⁠AnastasisKon. Open a draft pull request with `Refs #596` 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 #601 makes run-summary.sh summarise the VICTORY_PASS_TIMING pass-time lines (--self-test still passes after the merge). Carried in my fork's main (69146296).

**@⁠AnastasisKon** on GitHub · 2026-11-28 12:37 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7239352349) /release - done: PR #601 makes run-summary.sh summarise the `VICTORY_PASS_TIMING` pass-time lines (`--self-test` still passes after the merge). Carried in my fork's `main` (69146296).
Author
Owner

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

/release - done: PR #601 makes run-summary.sh summarise the VICTORY_PASS_TIMING pass-time lines (--self-test still passes after the merge). Carried in my fork's main (69146296).

**@⁠AnastasisKon** on GitHub · 2026-11-28 12:42 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7239406705) /release - done: PR #601 makes run-summary.sh summarise the `VICTORY_PASS_TIMING` pass-time lines (`--self-test` still passes after the merge). Carried in my fork's `main` (69146296).
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/596#issuecomment-7239408460) Released. This issue is free to claim.
This discussion has been locked. Commenting is limited to contributors.
No description provided.