Skip to content

CI: re-baseline the ARM binary size budget at 13,799,944 bytes - #836

Merged
GLinnik21 merged 1 commit into
mainfrom
claude/binary-budget-raise
Oct 18, 2026
Merged

GLinnik21 merged 1 commit into
mainfrom
claude/binary-budget-raise

Conversation

@GLinnik21

Copy link
Copy Markdown
Collaborator

binary_bytes in ci/build-budgets.json: limit 13,800,000 → 15,180,000, measured 12,434,756 (2026-10-12) → 13,799,944 (2026-10-18), headroom 10% (the documented convention for size budgets).

Why

main (af3a670f) measures 13,799,944 bytes against the 13,800,000 limit — 56 bytes left — so any PR that adds code now fails the armv7 job's Binary size budget step. The Hungarian locale PR (+73,728 bytes for its catalog) is the first to hit it (run).

What grew (+1,365,188 bytes since the baseline)

Measured from the | binary_bytes | line of every main CI run since 2026-10-10:

Δ bytes Commit
+467,008 f93c586 Watchlist tab, catalog page, Detail/hold-menu controls (#831)
~+258,048 c33b1b1 legacy subtitle charsets via chardetng / encoding_rs (#708) — its run was cancelled, attributed as the only crate-adding commit in the window
~+330,000 per-profile track memory and player settings series (cbb1b1f, 9ebcd20, 7fc1ea9, …)
+57–82 KB each French (#636), Italian (#795), pt-PT (#802), German (#820) catalogs
+49 / +70 KB libass text subtitles (#730), card landings (10a)
−344,040 e351f56 stable Rust 1.99.1 (#816)

All of it is reviewed feature work; none is accidental bloat that this PR should cut instead. Each further UI language costs ~60–80 KB, so a follow-up worth considering is compressing the embedded catalogs.

Verification

  • python3 ci/test_build_budgets.py — Ran 21 tests … OK
  • No prose quotes the old numbers.
  • No Makefile/Cargo/workflow change, so no make build-bench table is owed.

Generated by Claude Code

main now measures 13,799,944 bytes against a 13,800,000 limit (56 bytes
left), so any PR that adds code fails the cross-build's size gate; the
Hungarian locale PR is the first to hit it. The growth since the
12,434,756 baseline (2026-10-12) is +1,365,188 bytes of features that
landed through review: the plex.tv Watchlist (#831, +467 KB), legacy
subtitle charset decoding via chardetng/encoding_rs (#708, ~+258 KB),
per-profile track memory and player settings (~+330 KB across the
series), French, Italian, pt-PT and German catalogs (57-82 KB each),
libass text subtitles, view state and card landings; the stable-Rust
switch (#816) took 344 KB back. The new limit keeps the documented 10%
headroom over today's measurement.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_018CrMqN6paj9QFQUCJ5Lq1r
@GLinnik21
GLinnik21 merged commit b55c88f into main Oct 18, 2026
15 checks passed
@GLinnik21
GLinnik21 deleted the claude/binary-budget-raise branch October 18, 2026 15:07
RichiL10 added a commit to RichiL10/plx-native that referenced this pull request Oct 18, 2026
Brings in the upstream commits since 84759b9:
- plxnative#822 HEVC: strip HDR10+ wherever it sits in an SEI NAL
- plxnative#817 Direct play: recover a plain-http body that ends early, goes silent or cannot be crossed
- plxnative#825 Dolby Vision P7 -> 8.1 (the fork's own b0856d6, squashed upstream with the author's
  resolution against plxnative#822)
- plxnative#835 Hungarian UI language, plxnative#836 ARM binary size budget re-baseline, plxnative#666 webOS 1-3 opt-in
  interface resolution

Conflict in rust-modules/media/src/ff.rs only:
- the DV definitions and packet_to_annexb are taken from upstream, which is the author's own
  resolution of plxnative#825 against plxnative#822 (EL drop and RPU rewrite first, then strip_hdr10plus_sei);
  packet_to_annexb is now identical to upstream main
- the fork keeps its video-copy remux fallback that arms the P7 conversion from the route's
  frozen source facts when PMS's Matroska remux omits the DOVI configuration record (remux_dv)
GLinnik21 added a commit that referenced this pull request Oct 30, 2026
…7,000,000

The HUD plugin format and its renderer (hud_format, player_hud) went from dead
code on main to live code on the TV; CI's armv7 job measured 15,451,784 bytes
against a limit of 15,180,000. The limit follows the #836 convention: measured
plus 10%, rounded up to the next 10,000. The justification is in the PR body
under 'Binary size'; the limit is pending the owner's acceptance.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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.

2 participants