GPU: seek directly to private data on final release #153
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/153"
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 Marvisak/VIctory. Originally posted by TG0000 on 2026-11-24T01:00:20Z.
Summary
Synthetic release benchmark
Median of five runs of 50,000 object replacements through the GPU object vtable, including allocation, a private-data write for every fourth object, and final release. Windows x64 MSVC, Ryzen 9 5900X.
For the baseline, keep the benchmark and use the original final-release cleanup from the base revision. The benchmark measures CPU time for object churn. Retail gameplay and frame rate were unmeasured.
Verification
AI-assisted.
Imported from Marvisak/VIctory. Originally posted by jeremygold02 on 2026-11-24T04:40:21Z.
Tested head
03a9a157a938b961dc5a289fe59e08deed7bd688:cargo test -p victory-gpu --lib object -- --test-threads=1is blocked before tests run byE0428:host.rsdefines a secondmod tests(the first is at line 252). This PR changes the lower module frommod batchtomod tests; current maind2a4bae1has only the upper module, so the duplicate is introduced by this head.cargo check -p victory-gpupassed. It does not compilecfg(test)code, so it cannot catch the duplicate.Imported from Marvisak/VIctory. Originally posted by TG0000 on 2026-11-24T10:38:47Z.
Thanks @jeremygold02 for catching that! That duplicate \mod tests\ in \host.rs\ came from the older \main\ commit this branch was based on (this PR only touches \object.rs, and \main\ later renamed the second block to \mod batch).
Rebased onto current \origin/main\ at $sha\ and verified:
(AI-assisted)