Testing: compare Windows benchmark runs with memory and time limits #2188
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!2188
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2188"
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?
@Razdva122 on GitHub · 2026-11-25 07:20 UTC · original
Razdva122:codex/benchmark-run-reports→main· +595 −0 · 7 files · 2 commits · openImplements the comparable Windows benchmark report proposed by @bittertea0323 in #819. This is an independent implementation of the published specification. Coordination thread
One Markdown file records translation and texture failure counts, frame-rate and draw peaks, sampled peak working set, crash RVA when available, the stop reason and a three-second timeline. The reports default to the user's local data directory and can be compared by passing a previous report. The defaults from #819 are 180 seconds, an 8 GiB process working-set ceiling and a 3 GiB floor for available system memory. These are sampled limits. The report distinguishes a missing measurement from an observed zero.
The runner is a Rust subcommand alongside
cargo xtask policy. The existing workspace test command runs the self-tests with synthetic inputs. On Windows the test binary launches a child that emits diagnostic lines and a known exit code. It checks stderr drainage, crash RVA, time and working-set cutoffs, and the low-free-memory check before launch. Separate parser assertions cover report aggregation and comparison to a previous Markdown report. These checks need no title assets. Representative performance figures require two local title runs.At
f20593f, both Windows Clippy configurations and the full workspace tests passed. The xtask test binary took 1.02 s in the normal workspace run. A separate fork-only timing run of the three benchmark tests took 1.01 s for execution and 23.04 s end to end, including 21.92 s of Cargo compilation for the standalone package. The PR adds no CI workflow step. Windows run and timingAI-assisted with Codex.
Closes #819.
@Marvisak on GitHub · 2026-11-25 12:39 UTC · original
Automated triage for the maintainers.
Needs work: needs the maintainer's decision. This adds a step to the CI workflow (
.github/workflows/ci.ymlrunstests/bench.ps1), plus a 275-line PowerShell script (scripts/victory-bench.ps1) that launchesvictory.exeand compares benchmark runs under memory and time limits, and a README section. Changes to CI workflows and scripts that run the program are for the maintainer to accept.If the maintainer wants a benchmark harness:
xtaskcommand in Rust next tocargo xtask policythan as a PowerShell script, so it builds and is checked like the rest of the repo.Generated by Claude Code
03e854856btof20593fb26@catminou4 on GitHub · 2026-11-25 08:02 UTC · original · reviewed
Static review only: docs/tools change — no crate code.
Benchmark comparison docs (memory + time) — methodology documentation; useful for the perf PR stream (#2150's 13.5% claim would benefit).
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.