Diagnostics: record exact CPU present-call intervals #1364

Closed
spk-c wants to merge 1 commit from upstream-pr/1364 into main
spk-c commented 2026-11-26 18:45:28 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by spk-c on 2026-11-26T18:45:28Z.


Scope

Opt-in VICTORY_FRAME_EXACT=1 (with frame logging enabled) emits the individual CPU present-call intervals in the existing five-second batch. The PowerShell analyzer selects an explicit frame window, rejects discontinuities and reports interval percentiles and slow-tail FPS. This is not displayed/world FPS or a compositor timestamp. No default changes. Related to #1275, but this records exact intervals rather than worker phase attribution.

Validation

Based directly on upstream 52ac4ec. Synthetic PowerShell test: 10/20/30 ms => 50 average FPS and P95 30 ms; discontinuity rejected. git diff --cached --check passed. Fresh Rust checks and upstream CI pending, hence draft. No gameplay claims.

AI-assisted; extracted from fork commit c4a7d51 under the project's GPL-3.0-or-later license. No title assets.

<!-- greyfinch-sync:fxceless/victory-fork:issue:5515482333 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1364). Originally posted by [spk-c](https://github.com/spk-c) on 2026-11-26T18:45:28Z. --- ## Scope Opt-in `VICTORY_FRAME_EXACT=1` (with frame logging enabled) emits the individual CPU present-call intervals in the existing five-second batch. The PowerShell analyzer selects an explicit frame window, rejects discontinuities and reports interval percentiles and slow-tail FPS. This is **not** displayed/world FPS or a compositor timestamp. No default changes. Related to #1275, but this records exact intervals rather than worker phase attribution. ## Validation Based directly on upstream `52ac4ec`. Synthetic PowerShell test: 10/20/30 ms => 50 average FPS and P95 30 ms; discontinuity rejected. `git diff --cached --check` passed. Fresh Rust checks and upstream CI pending, hence draft. No gameplay claims. AI-assisted; extracted from fork commit c4a7d51 under the project's GPL-3.0-or-later license. No title assets.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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.

Reference
fxceless/victory-fork!1364
No description provided.