Tools: compare compute pipeline creation with first bind in play logs #770
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!770
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-770"
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?
@timorjay on GitHub · 2026-11-28 05:28 UTC · original
timorjay:tools/compute-pipeline-timing-1128→main· +118 −0 · 2 files · 1 commits · merged 2026-11-29 08:16 UTCWhile testing #703 on an RTX 5090 D v2, I needed to tell whether a compute pipeline had been created when the title first bound it. The two events can be thousands of lines apart. This adds a small standard-library Python command that reads the normal release play log. It also works on logs saved before this change.
Each row gives the input path, the number of first-bind and successful host-creation records, and the signed time in milliseconds from bind to creation. A positive number means creation happened later. If either event is missing or repeated, the row keeps the counts and leaves the time blank with a dash. The creation message identifies the shader but carries no title pipeline address for pairing repeated events. These timestamps alone cannot establish that a dispatch was dropped.
I checked the result against the original timestamp pairs in three archived Windows runs and two fresh runs. For the opening head-map compute shader, the archived deltas were −219,161.666 ms, +432.779 ms and +662.398 ms. On current main and the same build with #703 applied, the first two new logs gave +541.082 ms and −89,503.488 ms. The latter run subsequently lost the graphics device before the visual checkpoint. Its timing remains useful for verifying that scheduling changed.
The CLI test covers earlier and later creation across midnight, missing events, duplicate events, other hashes and other shader stages. It uses generated text. I ran the test with
python -I -B -m unittest discover -s tests -p test_compute_pipeline_timing.pyand verifiedcargo xtask policy. The change contains two source files.AI-assisted implementation and verification with Codex.