Docs: architectural performance review and optimization research directions #25

Open
GustavoPeetry wants to merge 1 commit from upstream-pr/25 into main
GustavoPeetry commented 2026-11-25 04:11:28 +00:00 (Migrated from github.com)
First-time contributor

Imported from Zettrox/ztrx. Originally posted by GustavoPeetry on 2026-11-25T03:44:11Z.


Summary

Adds docs/performance-architecture.md, an architectural review of ZTRX at 90b529f878a470fec9bf07b7be316bc769a12232 grounded in the implementation and public graphics documentation.

Scope

  • Documents the existing shader translator, pipeline workers and caches, and submission and memory paths.
  • Cross-references pending and historical contributions, including #20 and victory-fork #282.
  • Proposes controlled measurements and correctness checks for a prioritized research roadmap.

Motivation

Translation and first-use pipeline construction can interrupt startup or individual frames. Warm-cache traces can separately show where submission waits, GPU execution and memory transfers constrain sustained performance.

Validation

  • Reviewed the complete staged diff and confirmed it adds one Markdown file.
  • git diff --check and git diff --cached --check passed.
  • cargo xtask policy --staged passed for the staged file.
  • Checked reference resolution, pinned source line ranges, external sources, and GitHub Flavored Markdown rendering.
  • No runtime behavior has been modified. No new gameplay benchmarks are claimed.

Limitations

The proposed changes and investigation order are hypotheses for profiling and correctness validation. The roadmap is a contributor proposal. This review was prepared with AI assistance.

<!-- greyfinch-sync:Zettrox/ztrx:issue:6596715202 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/pull/25). Originally posted by [GustavoPeetry](https://github.com/GustavoPeetry) on 2026-11-25T03:44:11Z. --- ## Summary Adds `docs/performance-architecture.md`, an architectural review of ZTRX at `90b529f878a470fec9bf07b7be316bc769a12232` grounded in the implementation and public graphics documentation. ## Scope - Documents the existing shader translator, pipeline workers and caches, and submission and memory paths. - Cross-references pending and historical contributions, including #20 and victory-fork #282. - Proposes controlled measurements and correctness checks for a prioritized research roadmap. ## Motivation Translation and first-use pipeline construction can interrupt startup or individual frames. Warm-cache traces can separately show where submission waits, GPU execution and memory transfers constrain sustained performance. ## Validation - Reviewed the complete staged diff and confirmed it adds one Markdown file. - `git diff --check` and `git diff --cached --check` passed. - `cargo xtask policy --staged` passed for the staged file. - Checked reference resolution, pinned source line ranges, external sources, and GitHub Flavored Markdown rendering. - No runtime behavior has been modified. No new gameplay benchmarks are claimed. ## Limitations The proposed changes and investigation order are hypotheses for profiling and correctness validation. The roadmap is a contributor proposal. This review was prepared with AI assistance.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/25:upstream-pr/25'
git switch 'upstream-pr/25'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/25'
git switch 'upstream-pr/25'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/25'
git switch 'upstream-pr/25'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/25'
git switch 'main'
git merge --squash 'upstream-pr/25'
git switch 'main'
git merge --ff-only 'upstream-pr/25'
git switch 'main'
git merge 'upstream-pr/25'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Zettrox/ztrx!25
No description provided.