tools: run-summary.sh summarises the VICTORY_PASS_TIMING pass time lines (#596) #597
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/597"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-28T11:17:07Z.
What this changes
Refs #596.
VICTORY_PASS_TIMING=1(#460, PR #594) logs per-pass GPU times (pass time frame=.. rank=.. kind=.. pipe=.. work=.. ms=.., plus apass time: frame=.. passes=.. total_ms=..per frame);run-summary.shignored 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):-- 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);--comparerowspass-timing frames,pass-timing passes,pass-timing GPU ms (frame totals).--self-testgains syntheticpass timelines 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)tools/macos/tests/*.shunder/bin/bash— okcargo test -p victory-hle -p victory -p victory-gpu -p xtask(host arm64,-- --test-threads=1per #548): 623 passed, 0 failedcargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings: cleancargo xtask policy: cleanChecklist
VICTORY_PASS_TIMINGlines documented indocs/native-host.md(by PR #594)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.