Add opt-in frame-rate samples for benchmarks #432
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Belobug--VIctory-Belobug-AMD!432
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-432"
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?
@loyodea on GitHub · 2026-11-27 01:07 UTC · original
loyodea:victory-present-fps-log→a-publier· +115 −21 · 2 files · 1 commits · openVICTORY_LOG_FPS=1adds a structured sample with acceptedframes,elapsed_s, andfpsabout once per second. It uses the window caption’s presentation interval and the existing logging worker. Use totalframesdivided by totalelapsed_sto average samples of different durations.Related to #313. This implements the report’s benchmarking aid. The reported UI and ray-tracing issues remain open.
Verification
The deterministic presentation tests cover accepted, occluded, and failed presents, uneven time windows, unset and disabled settings, and preservation of the existing summary cadence.
The local default GPU library suite passed 397 tests with 34 ignored. Diagnostics passed 445 tests with 34 ignored and one timeline stack-symbol failure. The same failure reproduces at upstream
4eb6cfdfunder the local Windows GNU toolchain. Both presentation tests pass in diagnostics.The independent review repeated both focused tests in default and diagnostics builds. It also captured the emitted logs with the meter worker on and off, and verified the weighted average of six accepted frames over 5.25 seconds.
Synthetic fixtures only. No game files were used or run.
AI-assisted with Codex.
@MamaLeVrai on GitHub · 2026-11-27 02:22 UTC · original
Tested on an RX 6950 XT (RDNA 2), driver 32.0.21045.29003, Windows 11 build 26300, Rust 1.98.1, release. At
aa5fb8d:cargo test --release -p victory-gpu --lib397 passed, 0 failed, 34 ignored.AI-assisted (Claude Code); no game data.
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.