Avoid rescanning covered write-watch ranges #83
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/TaynanGT--Vice-Tay!83
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-83"
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?
@TaynanGT on GitHub · 2026-11-26 23:00 UTC · original
TaynanGT:perf/watch-ask-rest→main· +74 −56 · 2 files · 1 commits · merged 2026-11-27 02:28 UTCReuse a submission’s standing write-watch query before collecting batch ranges. The range index also covers individual queries selected during the same pass. Coverage still requires one queried range, and kernel queries keep their original order.
On Windows,
cargo check, Clippy and 55 focused tests passed. In 12 alternating pairs of the synthetic refresh test, the medians were 23.94 ms on the base and 23.88 ms on this branch, with a median paired difference of −0.19 ms. A comparable gameplay run is pending.@HabibUrRehmanBhattii on GitHub · 2026-11-27 00:55 UTC · original
Gameplay run for #83 (as part of a combined merge)
This PR notes "a comparable gameplay run is pending", so: I merged #83 + #85 + #91 locally and ran a real session.
Machine: RTX 4070 12 GB, i7-14700F, 31.8 GB RAM, Windows 11 26200.
Config:
-Console series-s -Machine 4070 -More @{ VICTORY_WAVE_WIDE='1'; VICTORY_OUTPUT='1280x720'; VICTORY_UPSCALER='6' }23eeb84The
SUBdelta of −0.9 ms is at the same order as scene-to-scene variance, so I would not attribute it to any single PR of the three; the dropped-draw reduction (247 → 84) was the clearer effect. Details and a rebase note (the #91-on-top-of-#83 conflict inwatch.rs) are in my comment on #85/#91.Still short of 30 fps in heavy scenes:
SUB ≈ 35 msversus the 33.3 ms budget, at ~3,400 draws.@TaynanGT on GitHub · 2026-11-27 01:29 UTC · original
@HabibUrRehmanBhattii Thanks for testing the three drafts together and documenting the merge conflict. I’ll keep the 247 → 84 dropped-draw result with the combined build. In the same run, frame time was 41.4 → 40.6 ms and submission time was 36.2 → 35.3 ms. The 12 paired synthetic tests here were nearly flat, so an isolated run of #83 on the same scene is still needed to assign a gameplay effect to this change.