Add opt-in frame-rate samples for benchmarks #432

Open
github-bot wants to merge 1 commit from github-bot/gh-432 into a-publier AGit
Owner

@⁠loyodea on GitHub · 2026-11-27 01:07 UTC · original
loyodea:victory-present-fps-log → a-publier · +115 −21 · 2 files · 1 commits · open

VICTORY_LOG_FPS=1 adds a structured sample with accepted frames, elapsed_s, and fps about once per second. It uses the window caption’s presentation interval and the existing logging worker. Use total frames divided by total elapsed_s to 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 4eb6cfdf under 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.

**@⁠loyodea** on GitHub · 2026-11-27 01:07 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/432) `loyodea:victory-present-fps-log` → `a-publier` · +115 −21 · 2 files · 1 commits · open `VICTORY_LOG_FPS=1` adds a structured sample with accepted `frames`, `elapsed_s`, and `fps` about once per second. It uses the window caption’s presentation interval and the existing logging worker. Use total `frames` divided by total `elapsed_s` to 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 `4eb6cfdf` under 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.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 01:33:28 +00:00
Author
Owner

@⁠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 --lib 397 passed, 0 failed, 34 ignored.

AI-assisted (Claude Code); no game data.

**@⁠MamaLeVrai** on GitHub · 2026-11-27 02:22 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/pull/432#issuecomment-7208063026) 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 --lib` 397 passed, 0 failed, 34 ignored. AI-assisted (Claude Code); no game data.
This pull request can be merged automatically.
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/432/head:github-bot/gh-432'
git switch 'github-bot/gh-432'

Merge

Merge the changes and update on Forgejo.
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-432'
git switch 'github-bot/gh-432'
git rebase 'a-publier'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-432'
git switch 'github-bot/gh-432'
git rebase 'a-publier'
git switch 'a-publier'
git merge --no-ff 'github-bot/gh-432'
git switch 'a-publier'
git merge --squash 'github-bot/gh-432'
git switch 'a-publier'
git merge --ff-only 'github-bot/gh-432'
git switch 'a-publier'
git merge 'github-bot/gh-432'
git push origin 'a-publier'
This discussion has been locked. Commenting is limited to contributors.
No description provided.