Report submission timing breakdowns in frame measurements #376

Closed
github-bot wants to merge 641 commits from github-bot/gh-376 into main AGit
Owner

@⁠agriby-chaniago on GitHub · 2026-11-27 20:56 UTC · original
agriby-chaniago:contrib/frame-timing-breakdown → main · +59068 −5294 · 201 files · 641 commits · closed without merging

Summary

Add -TimingBreakdown to scripts/measure-frames.ps1. It reports median submission preparation, GPU wait, and copy-back times from frame reports that contain all three measurements. This helps compare where time goes when rendered FPS drops. The measurement guide explains how to interpret GPU wait.

Validation

  • Compared the standard summary against the original script on 26 frame reports with at least 3,000 draws.
  • Checked the timing breakdown on these reports and on synthetic records with wrapped lines.
  • Ran cargo xtask policy --staged.
**@⁠agriby-chaniago** on GitHub · 2026-11-27 20:56 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/376) `agriby-chaniago:contrib/frame-timing-breakdown` → `main` · +59068 −5294 · 201 files · 641 commits · closed without merging ## Summary Add `-TimingBreakdown` to `scripts/measure-frames.ps1`. It reports median submission preparation, GPU wait, and copy-back times from frame reports that contain all three measurements. This helps compare where time goes when rendered FPS drops. The measurement guide explains how to interpret GPU wait. ## Validation - Compared the standard summary against the original script on 26 frame reports with at least 3,000 draws. - Checked the timing breakdown on these reports and on synthetic records with wrapped lines. - Ran `cargo xtask policy --staged`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 20:57:55 +00:00
Author
Owner

@⁠akimfomin on GitHub · 2026-11-28 01:24 UTC · original

On 8291c785, -TimingBreakdown computes medians from rows where all three timing fields exist. In AnyPS5 #24219, a variant looked faster because some completion records were missing. A compact synthetic control here is four complete rows plus one FPS-only row versus the same five complete rows. Reporting both counts (or rejecting different coverage for an A/B) would distinguish lost samples from a real improvement without changing the legacy FPS summary.

**@⁠akimfomin** on GitHub · 2026-11-28 01:24 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/376#issuecomment-7231640405) On `8291c785`, `-TimingBreakdown` computes medians from rows where all three timing fields exist. In [AnyPS5 #24219](https://github.com/boykopovar/AnyPS5/pull/24219), a variant looked faster because some completion records were missing. A compact synthetic control here is four complete rows plus one FPS-only row versus the same five complete rows. Reporting both counts (or rejecting different coverage for an A/B) would distinguish lost samples from a real improvement without changing the legacy FPS summary.
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-29 11:37 UTC · original

Thanks for pointing out the sample-coverage problem. Reporting complete timing rows alongside all valid FPS rows is the right approach. Please include the FPS-only-row control and make mismatched timing coverage explicit in A/B summaries without changing the existing FPS calculation.

**@⁠TaynanGT** on GitHub · 2026-11-29 11:37 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/376#issuecomment-7255241562) Thanks for pointing out the sample-coverage problem. Reporting complete timing rows alongside all valid FPS rows is the right approach. Please include the FPS-only-row control and make mismatched timing coverage explicit in A/B summaries without changing the existing FPS calculation.
github-bot closed this pull request 2026-11-30 17:14:42 +00:00
Author
Owner

@⁠TaynanGT on GitHub · 2026-11-30 17:10 UTC · original

main has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current main and open a new PR; I'll review it there.

**@⁠TaynanGT** on GitHub · 2026-11-30 17:10 UTC · [original](https://github.com/TaynanGT/Vice-Tay/pull/376#issuecomment-7285848439) `main` has moved to a new line of the code and everything is now named Vice-Tay, so this PR no longer applies as it is (details in #468). If you'd like this change in, please rebuild it on the current `main` and open a new PR; I'll review it there.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.