Skip to content

Improve performance and developer workflows - #3

Open
cansik wants to merge 6 commits into
mainfrom
performance
Open

cansik wants to merge 6 commits into
mainfrom
performance

Conversation

@cansik

@cansik cansik commented Oct 7, 2026

Copy link
Copy Markdown
Owner
  • Faster pixel transfers and reusable buffers
  • Safer GPU publishing and optional discovery waiting
  • Clearer examples and local benchmarking
  • Leaner CI and automatic release documentation

Local 4K benchmarks measured 1.32x faster Metal uploads and 1.57x faster allocating downloads. Traced temporary allocations per download fell from roughly 63 MiB to 32 MiB, or 2 KiB when reusing a preallocated output buffer.

cansik added 5 commits October 8, 2026 00:28
Borrow contiguous pixel buffers and support reusable raw and NumPy outputs while preserving upload compatibility. Wait for Metal completion by default, retain caller-managed submission through auto_commit=False, and query OpenGL dimensions without changing texture bindings.
Preserve existing discovery defaults while adding nonblocking snapshots and bounded server waiting. Demonstrate reusable storage, caller-managed asynchronous publishing, live server renaming, and reliable example cleanup with conceptual documentation.
Benchmark the installed implementation, compare saved runs, and measure CPU submission separately from GPU completion. Keep results ignored and exclude benchmark tooling from release archives. Update current package, citation, lockfile, and build examples to 0.3.0 while retaining historical references.
Use four routine test jobs and ten release or full-validation jobs. Verify the selected Python version and build variant explicitly, retain installed-wheel checks with and without extras, and reserve clean source validation for the full matrix.
Reuse the Pages workflow after successful PyPI publication or GitHub release, building documentation from the release commit. Preserve manual and tag-triggered deployment, skip validation-only runs, and pass the required Pages and OIDC permissions explicitly.
@cansik cansik self-assigned this Oct 7, 2026
@cansik cansik added the enhancement New feature or request label Oct 7, 2026
Run push-triggered validation only on main while retaining pull request, manual, and reusable release validation. Document the trigger policy in the maintainer guide.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant