Skip to content

Performance improvements - #117

Draft
attackgoat wants to merge 5 commits into
mainfrom
performance
Draft

Performance improvements#117
attackgoat wants to merge 5 commits into
mainfrom
performance

Conversation

@attackgoat

@attackgoat attackgoat commented Aug 26, 2026

Copy link
Copy Markdown
Owner

Various internal pattern changes and optimizations found while testing. Not yet fully scoped, will expand.

  • Support coarse image ownership tracking (whole/dual/dense, like access has single/dual/dense)
  • Optimize both ownership and access patterns now that they have similar APIs
  • Optimize solver with "same resource list" detection/re-use
  • Skip barriers if possible (tried twice before, this needs many tests)
  • Add resource-set API to make "bind my materials" faster
  • Add threaded command buffer finalizer (disposer)

@attackgoat

Copy link
Copy Markdown
Owner Author

The "same resource list" optimization makes a big difference if the workload is "lots of materials and a smaller collection of program-related resources". This is a micro-bench of a very small section of the submission process but a good first target:

New Bench Before After
10 commands 55.9 us 5.6 us
11 commands 67.6 us 5.7 us
25 commands 158.2 us 9.1 us

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