Thin lists: a state call repeated right after itself is left out of the stream (VICTORY_THIN_COALESCE=1, off by default) #1438
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!1438
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1438"
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?
@TolkoDev on GitHub · 2026-11-28 19:56 UTC · original
TolkoDev:pr/thin-repeats→main· +114 −2 · 1 files · 1 commits · merged 2026-11-29 08:16 UTCWhy. With
VICTORY_THIN=1every call the title makes is written into the stream, also a state call that only repeats the one before it. Such a repeat changes nothing, or records the same state again.The change. With
VICTORY_THIN_COALESCE=1(off by default) a state call is not written if the call written last is the same one, with the same words, and nothing came after it.Tested. Windows 10, on
mainat923e38c.CLOSEis never left out. The 9list::thintests pass, one process each.victory-gpuclippy, withunused_variables,manual_checked_opsanddeprecatedallowed, reports what it reports onmain. The full workspace checks do not pass here onmaineither (see #1437).Not measured. How many calls this leaves out in the game, and any frame rate change. The translator already does little for such a repeat, so the gain may be small. Not run in the game.
@Lancito01 on GitHub · 2026-11-28 20:47 UTC · original
Data point: RTX 3080, Series S mode, main
9ce3cf9e+ #938, with this commit applied on top of main (the bake/hereparts of the base branch aren't on main, so onlylast/repeats/REPEATSwere taken) andVICTORY_THIN_COALESCE=1. In the prison prologue scenes the thin line reports ~35k calls/frame and "repeated state calls left out 0" every line; frame time unchanged (65.9 ms median vs 65.4 without). So on main's path the title doesn't seem to issue exact back-to-back repeats; any gain may depend on the in-order/bake path of the base branch. Unit tests pass.AI-assisted (Claude).