Add a privacy-friendly frame log summary #426

Open
github-bot wants to merge 1 commit from github-bot/gh-426 into main AGit
Owner

@⁠Pierrespeick on GitHub · 2026-11-27 22:18 UTC · original
Pierrespeick:diagnostics/frame-log-summary → main · +116 −0 · 1 files · 1 commits · open

What changed

Adds a standard-library Python script that summarizes VIctory diagnostic logs. It reports frame time, preparation time, pipelines still building, and whether the texture queue was blocked in slow windows. It can restrict the comparison to a window in the run and emits aggregate numbers without including raw log lines or local paths.

python scripts/summarize-frame-log.py <log> --slow-ms 200 --start 60 --end 90

Validation

Checked synthetic samples for timestamp matching, slow-frame classification, time ranges, and missing records. Ran the CLI against two local diagnostics logs from the #76 comparison and checked the results against the source counters. No log, game asset, screenshot, or build output is included. Runtime behavior is unchanged.

Prepared with Codex assistance.

**@⁠Pierrespeick** on GitHub · 2026-11-27 22:18 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/426) `Pierrespeick:diagnostics/frame-log-summary` → `main` · +116 −0 · 1 files · 1 commits · open ## What changed Adds a standard-library Python script that summarizes VIctory diagnostic logs. It reports frame time, preparation time, pipelines still building, and whether the texture queue was blocked in slow windows. It can restrict the comparison to a window in the run and emits aggregate numbers without including raw log lines or local paths. ```powershell python scripts/summarize-frame-log.py <log> --slow-ms 200 --start 60 --end 90 ``` ## Validation Checked synthetic samples for timestamp matching, slow-frame classification, time ranges, and missing records. Ran the CLI against two local diagnostics logs from the #76 comparison and checked the results against the source counters. No log, game asset, screenshot, or build output is included. Runtime behavior is unchanged. Prepared with Codex assistance.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 22:20:04 +00:00
Author
Owner

@⁠1tsethan on GitHub · 2026-11-27 23:01 UTC · original

Tested PR commit: 1d2880ac24db7fe7ddbc3b018afa4a70352c55d1.

The Python summary module passed 12 synthetic checks covering empty/unrelated lines, minimum draws, inclusive slow threshold, start/end boundaries, median, pipeline classification, missing budget records, unordered diagnostics, and the 0.5-second correlation boundary. Additional robustness observation: a frame-like line with timestamp 2026-99-27T12:00:00.000Z raises an uncaught ValueError in read_samples/datetime.fromisoformat; it stops the summary rather than ignoring/reporting the malformed record. This is a corrupted-input edge case, not a failure on ordinary logs. Tested with Python 3.14; no private logs used.

Verified independently with OpenAI Codex assistance. No gameplay or performance claims.

**@⁠1tsethan** on GitHub · 2026-11-27 23:01 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/426#issuecomment-7229809921) Tested PR commit: `1d2880ac24db7fe7ddbc3b018afa4a70352c55d1`. The Python summary module passed 12 synthetic checks covering empty/unrelated lines, minimum draws, inclusive slow threshold, start/end boundaries, median, pipeline classification, missing budget records, unordered diagnostics, and the 0.5-second correlation boundary. Additional robustness observation: a frame-like line with timestamp `2026-99-27T12:00:00.000Z` raises an uncaught `ValueError` in `read_samples`/`datetime.fromisoformat`; it stops the summary rather than ignoring/reporting the malformed record. This is a corrupted-input edge case, not a failure on ordinary logs. Tested with Python 3.14; no private logs used. Verified independently with OpenAI Codex assistance. No gameplay or performance claims. <!-- victory-native-validation-20261128 -->
This pull request can be merged automatically.
This branch is out-of-date with the base branch
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/426/head:github-bot/gh-426'
git switch 'github-bot/gh-426'

Merge

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