Skip to content

Reduce configuration deserialization code size - #27924

Merged
MichaReiser merged 1 commit into
mainfrom
micha/reduce-options-deserialization-size
Aug 20, 2026
Merged

MichaReiser merged 1 commit into
mainfrom
micha/reduce-options-deserialization-size

Conversation

@MichaReiser

Copy link
Copy Markdown
Member

Summary

Share TOML-to-Options conversion across the CLI and server, and remove unnecessary path-type monomorphizations from the configuration readers.
Matched Linux x86-64 Maturin release builds without PGO shrink the executable from 26.48 MiB to 24.00 MiB (9.37%) and the wheel by 8.18%; the changes independently save 1.49% and 5.44% of the executable.

Test Plan

Testing: Focused configuration tests and release-wheel behavior and installation checks passed.

@MichaReiser MichaReiser added the release Related to the release process label Aug 20, 2026
@MichaReiser
MichaReiser marked this pull request as ready for review August 20, 2026 06:56
@astral-sh-bot

astral-sh-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

✅ ecosystem check detected no linter changes.

@MichaReiser
MichaReiser merged commit e0eb7b0 into main Aug 20, 2026
48 checks passed
@MichaReiser
MichaReiser deleted the micha/reduce-options-deserialization-size branch August 20, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release Related to the release process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants