Skip to content

Improve rendering hot paths and simplify runtime validation - #360

Merged
devmobasa merged 10 commits into
mainfrom
impr/improvements
Aug 29, 2026
Merged

Improve rendering hot paths and simplify runtime validation#360
devmobasa merged 10 commits into
mainfrom
impr/improvements

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Summary

This PR delivers ten focused performance and maintainability improvements:

  • Share embedded image payloads and use identity-based render caching
  • Render packed pressure samples without intermediate allocations
  • Cache window-snap display geometry
  • Borrow large board-picker layouts in hot paths
  • Borrow large region-capture visual structures
  • Split complex arrow and step-marker rendering into focused helpers
  • Separate CLI validation by concern
  • Centralize preset validation and cover every supported slot
  • Defer fallback lookups until they are needed
  • Reuse allocations during session and output transitions

The improvement plan was reviewed twice. Broad lint churn, arbitrary file splitting, and lower-impact telemetry cleanup were excluded in favor of measured hot-path work and cohesive refactoring.

Each improvement is contained in a separate commit.

Validation

  • Full ./tools/lint-and-test.sh passed
  • Formatting and strict Clippy passed
  • All-feature and no-default-feature configurations passed
  • Core, configurator, integration, UI, and documentation tests passed
  • Packaging, source-coverage, and repository audits passed
  • git diff --check passed

@devmobasa
devmobasa merged commit 06f93b9 into main Aug 29, 2026
2 checks passed
@devmobasa
devmobasa deleted the impr/improvements branch August 30, 2026 21:41
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