tools: add bounded Windows benchmark script #2506

Open
The-Star-World wants to merge 2 commits from upstream-pr/2508 into main
The-Star-World commented 2026-11-25 15:00:47 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by The-Star-World on 2026-11-25T15:00:47Z.


Summary

  • Add tools/victory-bench.ps1 for comparable bounded Windows runs.
  • Report translation/texture failure counts, peak draws/fps, peak RAM, duration/stop reason, and crash RVA.
  • Add process/system memory and time guards plus optional baseline comparison.
  • Keep reports and runtime data outside the repository by default; no game files or proprietary assets are copied.

Verification

  • PowerShell parser check passed.
  • Get-Help example check passed.
  • Synthetic smoke run passed with cmd.exe.
  • git diff --check passed.
  • cargo xtask policy: 183 files ok.

Related to #819.

AI-assisted contribution. No game files used.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6607413351 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2508). Originally posted by [The-Star-World](https://github.com/The-Star-World) on 2026-11-25T15:00:47Z. --- ## Summary - Add tools/victory-bench.ps1 for comparable bounded Windows runs. - Report translation/texture failure counts, peak draws/fps, peak RAM, duration/stop reason, and crash RVA. - Add process/system memory and time guards plus optional baseline comparison. - Keep reports and runtime data outside the repository by default; no game files or proprietary assets are copied. ## Verification - PowerShell parser check passed. - Get-Help example check passed. - Synthetic smoke run passed with cmd.exe. - git diff --check passed. - cargo xtask policy: 183 files ok. Related to #819. AI-assisted contribution. No game files used.
Marvisak commented 2026-11-25 16:09:36 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T15:58:53Z.


Automated triage for the maintainers.

Proposed for closing as a duplicate of #2188, which was opened earlier for the same request (#819), and which adds an integration test and tells a missing measurement apart from a zero. Comparing the two, tools/victory-bench.ps1 here also has problems of its own:

  • The texture-failure patterns (host texture refused, texture creation failed) and two of the translation ones (translation failed, no host shader) do not occur in any message in origin/main, so those counts would read 0 whatever happens.
  • $fps and $draws start as [double] $null, which is 0, so a run with no frame log reports "0" instead of "n/a".

CI (check) is passing. If something here is worth keeping, suggesting it on #2188 is the better route. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the label.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7167485218 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2508#issuecomment-7167485218). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T15:58:53Z. --- <!-- victory-triage v1 head=c9d4480be607435a0c7ade1ce81d92de6835d54c verdict=proposed-close at=2026-11-25T15:58:45Z --> Automated triage for the maintainers. Proposed for closing as a duplicate of #2188, which was opened earlier for the same request (#819), and which adds an integration test and tells a missing measurement apart from a zero. Comparing the two, `tools/victory-bench.ps1` here also has problems of its own: - The texture-failure patterns (`host texture refused`, `texture creation failed`) and two of the translation ones (`translation failed`, `no host shader`) do not occur in any message in `origin/main`, so those counts would read 0 whatever happens. - `$fps` and `$draws` start as `[double] $null`, which is 0, so a run with no frame log reports "0" instead of "n/a". CI (`check`) is passing. If something here is worth keeping, suggesting it on #2188 is the better route. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the label. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2508:upstream-pr/2508'
git switch 'upstream-pr/2508'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/2508'
git switch 'upstream-pr/2508'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2508'
git switch 'upstream-pr/2508'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2508'
git switch 'main'
git merge --squash 'upstream-pr/2508'
git switch 'main'
git merge --ff-only 'upstream-pr/2508'
git switch 'main'
git merge 'upstream-pr/2508'
git push origin 'main'
Sign in to join this conversation.
No reviewers
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
Marvisak/VIctory!2506
No description provided.