perf: heap scan every 16 passes by default (+7 %, 4x fewer stutters), stutter study #394
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!394
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-394"
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?
@LooperSalty on GitHub · 2026-11-26 15:51 UTC · original
LooperSalty:perf/heap-scan-default→main· +246 −7 · 12 files · 4 commits · merged 2026-11-26 16:07 UTCTwo commits:
perf: add VICTORY_HEAP_SCAN_ALT(heap_pass.rs): the full scan of every kept descriptor slot for past-the-API records runs once every 16 passes instead of every pass, behind a switch (1, oraltfor 20 s on / 20 s off, each change logged). It also adds a stutter study of the 2026-11-26 logs:docs/research/stutter-2026-11-26.mdanddocs/fr/recherche/a-coups-2026-11-26.md. Of 304 five-second windows, 65 ran over 100 ms a frame (341 s lost). The heap pass caused 43 % of that (211 ms a window against 8 ms outside spikes), copies back 16 %, prepared host copies 11 %. A full card was not a cause.perf: the launcher scans kept heap slots every 16 passes:VICTORY_HEAP_SCAN_ALT=1joinsanyxboxx run's tuned set and the Windows + NVIDIA profile (46 variables). The golden script, the test counts and the guides (EN and FR) follow. The guides also warn againstVICTORY_CLAMP_AFTER_WRITER(#377): with it alone, faces draw black (seen in game today).Measured (maintainer's machine, 2026-11-26, RTX 4070 SUPER, Series X, one run with
alt)The faces were checked in game during this run: they draw correctly.
Test plan
cargo test --release -p victory-gpu(porting branch): 238 passed, only the 3 known WARP failures; new heap-pass tests greencargo test --release -p anyxboxx -p anyxboxx-launcher: 23 + 209 passedpytest tests/test_anyxboxx_run.py tests/test_lanceur_victory.py tests/test_readme_sync.py: 37 passed🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL62nyr3m1M4tJsHRox
@chatgpt-codex-connector[bot] on GitHub · 2026-11-26 15:52 UTC · original · edited 2026-11-26 15:53 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
49786c8ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.