Measure refresh sifting without a kept write watch #4272
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!4272
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-4271"
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?
@SmallDevBigNothing on GitHub · 2026-11-30 18:01 UTC · original
SmallDevBigNothing:perf/refresh-unkept-benchmark→main· +828 −845 · 32 files · 11 commits · closed without mergingWhat it changes
The review on #3762 asked whether separate dirty-range sifting helps when a flush cannot reuse a kept write watch. Extend the existing ignored submission benchmark to measure that case alongside the kept path. Add a mixed owned/write-watched fixture, attribute time to sifting, write-watch queries and refresh, and verify that each expected write reached the destination. This changes only the benchmark.
How it was tested
Windows on a Core Ultra 5 225F, release profile, three worker threads. The wide fixture has 4,096 spans across eight flushes per sample, with one in eight spans changed. Medians below are from six processes per configuration with 64 measured samples each after warmup.
The mixed case sent fewer candidate ranges with sifting enabled, while the total CPU time increased. The kept-watch results were within run-to-run variation. These are CPU benchmark results without a title or GPU requirement.
To reproduce in PowerShell, run the following twice with VICTORY_FLUSH_SIFT set to 0 and 1. Repeat with VICTORY_ASK_ONCE=1 for the kept-watch control.
Seven focused refresh correctness tests and the staged asset policy check passed on Windows. No shader or gameplay checks apply to this benchmark change.
Checked for overlap
Related to the merged #3762 and its review follow-up above.
@trustno1-coder on GitHub · 2026-12-01 18:44 UTC · original
Closing this as part of moving main to the texture and video-memory rework (v2026.12.01.01-test). A lot of the code changed, and this pull request no longer applies cleanly to it; it would need to be rewritten against the new main rather than rebased. Thank you for the work. If the change is still needed, please open a new pull request based on the current main.
Pull request closed