8000 Audit release binary size and rank measured reductions (#772) by adityamukho · Pull Request #798 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

Audit release binary size and rank measured reductions (#772) - #798

Merged
adityamukho merged 1 commit into
v3from
audit/772-binary-size
Oct 30, 2026
Merged

adityamukho merged 1 commit into
v3from
audit/772-binary-size

Conversation

@adityamukho
8000 Copy link
Copy Markdown
Collaborator

The pinned v3 CLI has only 24 bytes of headroom under its current size cap, and the shipped dist profile produces a substantially larger artifact than the release profile checked by CI. This audit records reproducible baselines, symbol/section attribution, seven independent source prototypes, and ranked follow-ups for #772.

Start with docs/audits/772/README.md. The adjacent scripts, dependency lock snapshot, prototype diffs and raw measurements reproduce the findings. This PR changes documentation and audit artifacts only; production code, size caps, coverage floors, public API and file format remain unchanged.

Measured opportunities and decisions:

Validation ran on the bench machine. The unchanged baseline's all-features suite passed with tmpfs fixtures (2,072 passes across 80 printed summaries, including child-process runs; zero failures, 20 ignored). The initial disk-backed baseline run was interrupted during journal waits, not counted as passing. The set prototype passed 23 codec tests and all 10 set integration tests on disk; the reader passed its two focused unit tests. Both prototypes passed Rust 1.89 all-features checking and native/browser/WASI builds. Packaged browser glue differs only in generated internal indices/comments. Runtime evidence includes 164 paired equal-count reader comparisons, eight checked CLI pairs, and four socket-swapped sort-probe rounds. Browser execution and broader reader validation remain gates for the implementation follow-ups.

Audit scripts/data parse, prototype patch dry runs, rustfmt and diff-whitespace checks passed. No release or feature documentation changes are needed because this PR ships no runtime behavior.

@codecov
codecov Bot commented Oct 29, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
adityamukho marked this pull request as ready for review October 30, 2026 05:21
@adityamukho
adityamukho merged commit 8c6c4a1 into v3 Oct 30, 2026
19 checks passed
@adityamukho
adityamukho deleted the audit/772-binary-size branch October 30, 2026 05:21
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

0