tools: add bounded Windows benchmark script #2508

Open
github-bot wants to merge 2 commits from github-bot/gh-2508 into main AGit
Owner

@⁠The-Star-World on GitHub · 2026-11-25 15:00 UTC · original
The-Star-World:feat/819-windows-bench → main · +171 −0 · 1 files · 2 commits · open

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.

**@⁠The-Star-World** on GitHub · 2026-11-25 15:00 UTC · [original](https://github.com/Marvisak/VIctory/pull/2508) `The-Star-World:feat/819-windows-bench` → `main` · +171 −0 · 1 files · 2 commits · open ## 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 05:07:47 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 15:58 UTC · original

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

**@⁠Marvisak** on GitHub · 2026-11-25 15:58 UTC · [original](https://github.com/Marvisak/VIctory/pull/2508#issuecomment-7167485218) <!-- 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 can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/2508/head:github-bot/gh-2508'
git switch 'github-bot/gh-2508'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-2508'
git switch 'github-bot/gh-2508'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-2508'
git switch 'github-bot/gh-2508'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-2508'
git switch 'main'
git merge --squash 'github-bot/gh-2508'
git switch 'main'
git merge --ff-only 'github-bot/gh-2508'
git switch 'main'
git merge 'github-bot/gh-2508'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!2508
No description provided.