Measure refresh sifting without a kept write watch #4271
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by SmallDevBigNothing on 2026-11-30T18:01:46Z.
What 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.
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-12-01T18:44:51Z.
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