perf(resource): gate filler-twins statistics behind diagnostics #13
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/trustno1-coder--VIctory-NVIDIA!13
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-13"
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?
@LucaruluDev on GitHub · 2026-11-27 00:41 UTC · original
LucaruluDev:perf/diagnostics-only-filler→main· +19 −6 · 1 files · 1 commits · merged 2026-11-27 01:10 UTCSummary
Compile placed-texture filler statistics only when the
diagnosticsfeature is enabled.Non-diagnostic builds no longer maintain the raw-description set, acquire its mutex when filler tracking is needed, scan its entries, or update the twin counter.
Diagnostic builds preserve the existing counting logic and lock order. Functional texture cache keys and
VICTORY_PLACED_FILLERbehavior remain unchanged.Synthetic benchmark results
A separate single-threaded allocation benchmark with 12,000 descriptions across 128 addresses recorded:
Validation
Limitations
These are synthetic workloads. Sub-microsecond timings are sensitive to scheduling and clock resolution.
Real workload frequency, process memory savings and FPS improvements remain unmeasured.
Related work
Belobug/VIctory-Belobug-AMD#409 independently proposes the same compile-time gating alongside additional statistics and size-cache changes.
This PR is deliberately limited to the gating change.
AI-assisted research, implementation, benchmarking and review using Claude Code and Codex.