Skip to content

diagnostics: add heap and readback phase profiling - #1231

Open
spk-c wants to merge 3 commits into
fxceless:mainfrom
spk-c:submit/phase-profiling
Open

spk-c wants to merge 3 commits into
fxceless:mainfrom
spk-c:submit/phase-profiling

Conversation

@spk-c

@spk-c spk-c commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

AI-assisted.

Summary

Preserve default-off heap and relay readback CPU timing through the upstream heap-worker update at f6a09d3. VICTORY_HEAP_PROFILE=1 reports descriptor scan and mirroring, span aggregation, and refresh for the full buffer pass before texture dispatch. The upstream worker kick and synchronous fallback are unchanged. VICTORY_READBACK_PROFILE=1 reports relay readback selection, buffer preparation, recording/submission, fence wait, CPU merge, and the inflight attempt. These wall-clock scopes can overlap. This PR is independent of coalesced readback.

Validation

On 2601107, workspace Cargo Check, Clippy in both CI configurations with warnings denied, and full asset policy passed. The targeted diagnostics run covered heap selection and relay/readback regressions. A separate serial run with WARP, the relay, the copy queue and both profiling switches enabled passed both end-to-end queue tests. No application or game workload was used.

Refresh against upstream 52ac4ec

New head 8ce9e09bbd7304d0a2f210a17065a05b0dd29963. Clean isolated workspace Cargo Check and strict all-feature Clippy passed. Profiling changes were not benchmarked again. Full upstream CI remains pending.

Isolated contribution based on a183ea2. AI-assisted.
spk-c and others added 2 commits November 26, 2026 11:16
AI-assisted: keep original tested commit in history; local all-feature check and strict Clippy passed. Upstream asset-policy baseline remains open (fxceless#1357).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant