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

Open
opened 2026-11-28 11:08:19 +00:00 by AnastasisKon · 5 comments
AnastasisKon commented 2026-11-28 11:08:19 +00:00 (Migrated from github.com)
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T11:08:19Z.


What happens

VICTORY_PASS_TIMING=1 (#460, PR #594) 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.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:6663930251 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T11:08:19Z. --- ## What happens `VICTORY_PASS_TIMING=1` (#460, PR #594) 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 commented 2026-11-28 11:08:49 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T11:08:49Z.


/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.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7238357461 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7238357461). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T11:08:49Z. --- /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.
github-actions[bot] commented 2026-11-28 11:08:59 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T11:08:59Z.


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

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7238359141 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7238359141). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T11:08:59Z. --- Claimed by @AnastasisKon. Open a draft pull request with `Refs #596` in its description within 24 hours, or the claim expires.
AnastasisKon commented 2026-11-28 12:37:13 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:37:13Z.


/release - done: PR #597 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).

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7239352349 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7239352349). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T12:37:13Z. --- /release - done: PR #597 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 commented 2026-11-28 12:42:02 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T12:42:02Z.


/release - done: PR #597 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).

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7239406705 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7239406705). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-28T12:42:02Z. --- /release - done: PR #597 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).
github-actions[bot] commented 2026-11-28 12:42:11 +00:00 (Migrated from github.com)
Author
Contributor

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by github-actions[bot] on 2026-11-28T12:42:11Z.


Released. This issue is free to claim.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7239408460 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/issues/596#issuecomment-7239408460). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-28T12:42:11Z. --- Released. This issue is free to claim.
Sign in to join this conversation.
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
LakshanSivakumar/Native-Victory-macOS#596
No description provided.