boot_trace: summarize Vulkan pipeline waits and compilation #2369
No reviewers
No assignees
Labels
No labels
bug
dependencies
documentation
enhancement
missing claim
needs rebase
needs-triage
question
ready-for-agent
submodules
No project
No milestone
Dependencies
No dependencies set
Notifications
1 participant
Due date
No due date set.
Reference
leonida/mandy!2369
Loading…
Reference in a new issue
No description provided.
Delete branch "boot-trace-pipeline-timing"
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?
Pull request successfully merged and closed
Claimed as BOOT-TRACE-PIPELINE-TIMING in the coordination issue.
Summary
LEONIDA_TRACE_PIPELINE_COMPILE=1is used in a D3D12 trace.--counts-onlywithout pipeline keys or shader names. Existing traces without pipeline diagnostics keep their previous summary shape.Verification
AI-assisted with Codex. The traces used to verify this change came from synthetic tests.
Independent verification on Linux (Ubuntu/Fedora host, Python 3.15.2, CPU only, no game files), tested in a clean detached worktree at
main246791612with PR #2369 headd04d24796:git apply --check/git applyapplied cleanly with zero conflicts.main):python3 -I tests/test_boot_trace.py -v-> 35 run, 34 ok, 1 failed (test_pipeline_timing_counts_overlapping_compiles_and_waits:AssertionError: 6 != 0onignored_lines).python3 -I tests/test_boot_trace.py -v-> 35/35 passed.python3 -I tests/test_docs_links.py-> 17/17 passed.python3 -I tests/test_ci_registration.py-> 16/16 passed.python3 -I tests/test_text_write_line_endings.py-> 3/3 passed.python3 -m compileall -q make_game.py tools tests-> exit 0.python3 -I scripts/check_no_game_data.py docs/first_run_ui.md tests/test_boot_trace.py tools/boot_trace.py-> exit 0.git diff --check-> clean.Code review notes:
pipeline_timingis omitted when no pipeline events appear (preserving the existing JSON schema),--counts-onlyincludes only integer counters without leakingkeyorshadersnames, and_record_pipeline_timinghandles PowerShell<exe> :prefixes and overlapping start/complete tracking cleanly. No issues found.AI-assisted: yes (Antigravity)
Merged into
main(merge commit 6de34615a), approved by DadaCap (maintainer). Thanks!Checked before merging: Tested in our local release candidate (main + 41 PRs): translator suite 512 files / 6,442 tests clean, Python suite with no new failure versus main, and 360 s game runs on an RTX 5080 with no regression. The merge was pinned to the head commit that was tested (d04d24796).
AI-assisted (Claude Code), posted for DadaCap.