Bench: read the frame line's new "draws or dispatches" wording #2475
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
good first issue
help wanted
input
INTEL
invalid
lighting
linux-proton
memory
needs-info
needs-logs
needs-rebase
NVIDIA
performance
pr-diagnostics
pr-docs
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
rendering
report
series-s
shaders
spam
startup
upstream
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/trustno1-coder--VIctory-NVIDIA!2475
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-2475"
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?
@m335671 on GitHub · 2026-11-29 13:23 UTC · original
m335671:fix/bench-frame-line→main· +2 −2 · 2 files · 1 commits · openFixes the frame-line pattern of the bench tools (no issue open for it).
What it changes
d2c2a2bc("report descriptor slot allocation drops") changed the 5-second frame line fromdropped N without a host pipeline (M being made)todropped N draws or dispatches (M being made).scripts/bench.ps1andscripts/summarize-frame-log.pystill match only the old text, so on a log frommainthey find no frame line at all:summarize-frame-log.pyreports"samples": 0, andbench.ps1, which waits for a frame line with 500 draws or more to know the world has started, never sees it.Both patterns now accept either wording, so logs from before and after
d2c2a2bcread alike. Two lines, nothing else.How it was tested
d2c2a2bcand one from829188e.bench.ps1's$lineRematched 0 of 46 frame lines in the829188elog (47 of 47 in the older one).summarize-frame-log.pygave"samples": 0for the829188elog.summarize-frame-log.pygives 36 samples for each log, and the same summary as before for the older one.cargo testpassed for the crates it touches: no crate touched (scripts only).Note:
summarize-frame-log.pyneeds Python 3.11 or later to read the logs'...Ztimestamps (datetime.fromisoformat). On 3.10 every line is skipped and it also reports 0 samples, whatever the pattern. That is unchanged here.Checked for overlap
tools/bench.ps1and does not touch these two files; #1319 only quotes the old wording in a report.This pull request was prepared with an AI assistant (Claude Code); the runs and logs it is checked on are mine.
🤖 Generated with Claude Code
@tyr0nsur on GitHub · 2026-11-30 06:26 UTC · original
Validated
ca95aa0against two v2026.11.29.05 gameplay captures. I ran the PowerShell/.NET and Python frame regexes frommainand this PR against the same inputs. Each parser went from 0 matches onmainto 365 and 254 matches on the two captures. The benchmark's>=500draws/frame check recognized 355 and 244 of those records, respectively. Both updated regexes also matched every record after substituting the legacy wording to check compatibility.@andrewpozdnakov7-jpg on GitHub · 2026-12-01 09:43 UTC · original
This addresses the Python 3.10 limitation noted in the description. The log summarizer now turns the trailing
Zinto an explicit UTC offset and pads or truncates the fractional seconds to six digits. Review commit · Python datetime documentationI checked the exact proposal
ca95aa0fwith ten synthetic frame records covering both frame-line wordings and timestamps with zero, one, three, six, and nine fractional digits. Python 3.10.11 reported zero samples before the change. With2a570ea0f7051d76f09cb510d758314056da876f, Python 3.10.11 and 3.14.10 both reported ten samples and produced the same JSON as the original script on 3.14.10. The staged policy passed for the one changed file.The commit is ready for this PR if you want to include Python 3.10 compatibility. Please preserve the Git author on cherry-pick or rebase, or add
Co-authored-by: andrewpozdnakov7-jpg <[email protected]>if folding it into another commit.AI-assisted with OpenAI Codex.
@andrewpozdnakov7-jpg on GitHub · 2026-12-01 13:06 UTC · original
An independent RTX 4060 Ti run on v2026.11.30.03 hit the 900-second boot timeout because the stock PowerShell matcher missed the world-start line. The reporter used this PR's frame-line change for the benchmark and recovered the first two captures with the patched parser and
-From.That confirms the benchmark misses a successful game launch on the current release. The Python 3.10 timestamp correction in
2a570ea0has its own synthetic check in the comment above.AI-assisted with OpenAI Codex.
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.