[GH #819] Testing: a bench script that gives every build the same five numbers (with memory guards) #819
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Marvisak/VIctory. Originally posted by bittertea0323 on 2026-11-24T11:34:15Z.
Upstream labels: request, area: build
A reusable bench script: one command gives the same five numbers for any build
Chasing individual bugs is the maintainers' job. What is missing on the testing side is a
comparable scorecard — right now every report in this tracker states its numbers differently
(different durations, different stages, sometimes no memory figure), so two patches cannot be put
side by side. This is a small script that fixes that for Windows hosts.
What it produces
One Markdown report per run, with exactly the numbers a patch review needs:
plus a 3-second-resolution timeline and an optional
-Baseline <report>diff table, so"this patch moved the needle" becomes a two-column comparison instead of a paragraph.
Safety is built in (this matters on 32 GB hosts)
A title run in Series X mode reaches 13.2 GB RSS and eats the desktop (see #784). The script
therefore stops the run on any of three conditions and says which one fired:
Three-second sampling, because a 5-second window can miss a spike.
Usage
It never writes into the repository, never reports game content, and only records counts,
timings and the faulting RVA.
First measured baseline on this host (Series S, 90 s,
main@ffe310e+ #729)That is the honest baseline for "menus only": zero translation failures at the menu, and the four
texture failures are the video path. It also shows why Series S mode is the safe way to test on a
32 GB box — 3.34 GB versus 13.2 GB.
I am happy to keep posting these scorecards for each new
mainif that is useful; the script isunder
E:\gta6-build\bench\victory-bench.ps1on my side but is small enough to include on request.Imported from Marvisak/VIctory. Originally posted by bittertea0323 on 2026-11-24T11:36:14Z.
Second run with the script, this time Series X with the 8 GB guard, confirms why scene-stage
numbers are rare in this tracker:
peakDrawsis still 11 (menu) when the guard fires: Series X loading alone reaches 8.3 GBbefore the scene appears, and the scene itself measured 13.2 GB earlier (#784). On a 31.2 GB host
there is no safe window to capture the scene numbers at all.
So the three data points on this machine are:
That is the honest reason my copy-cost numbers are menu-stage only, and probably why other testers
report the same gap. Reducing the title process footprint would be worth as much as any shader fix
for testability: with Series X at 13 GB, nobody on a 32 GB box can iterate on the world.
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T03:48:15Z.
Automated triage for the maintainers. This proposes a PowerShell bench script for Windows hosts that reports the same metrics for every run (translation and texture failures, draws, fps, peak RAM, crash RVA) and stops the run at memory or time limits. The script is not in the repository and has not been posted. If the maintainers want it, it can be sent as a pull request (they are open to everyone, see #717); it must record only counts and timings, as described. Related: #1743 (a benchmark that replays a world frame's copies). The Series X memory numbers are a separate point for the maintainers; #784 has the 13.2 GB measurement.
Generated by Claude Code