Skip to content

chore(bloat): ratchet baseline 347004 -> 344769 (post-#2918 emit-gate) - #2919

Merged
zackees merged 1 commit into
masterfrom
chore/ratchet-baseline-344769
Jun 7, 2026
Merged

zackees merged 1 commit into
masterfrom
chore/ratchet-baseline-344769

Conversation

@zackees

@zackees zackees commented Jun 7, 2026 •

Copy link
Copy Markdown
Member

Measured against master @ fcf51c53da (PR #2918 just merged):

Total flash: 344,769 B  (3,615 sized flash symbols).  RAM: 37,389 B.
(was: 347,004 B / 3,621 symbols on master @ f090358d76)

Delta: −2,235 B flash / −6 symbols.

fl::ClocklessIdf5<...>::ClocklessIdf5() map-derived attribution dropped from 48,694 B → 47,916 B (−778 B) — the first PR in the #2886 audit cycle to visibly shrink the top-1 symbol's reported size. The supporting fl::sstream operator<< machinery that was only reachable via the gated emit helpers dead-stripped along with their bodies.

Refs #2886, #2917, #2918.

Summary by CodeRabbit

  • Tests
    • Updated baseline test data for binary size validation.

Measured against `master @ fcf51c5` (PR #2918 just merged):

    Total flash: 344,769 B  (3,615 sized flash symbols).  RAM: 37,389 B.
    (was: 347,004 B / 3,621 symbols on master @ f090358)

Delta: -2,235 B flash / -6 symbols.

Notably, the `fl::ClocklessIdf5<...>::ClocklessIdf5()` map-derived
attribution dropped from 48,694 B → 47,916 B (-778 B). This is the
first PR in the #2886 audit cycle to visibly shrink the top-1
symbol's reported size — the supporting `fl::sstream` operator<<
machinery that was only reachable via emitRecoveryWarning and
emitAllocationFailureError dead-stripped along with the gated bodies.

Refs #2886, #2917, #2918.
@zackees
zackees merged commit ded5eea into master Jun 7, 2026
@coderabbitai

coderabbitai Bot commented Jun 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c73e72c3-5570-4231-b8de-2146ef44f2da

📥 Commits

Reviewing files that changed from the base of the PR and between fcf51c5 and 9c3fee6.

📒 Files selected for processing (1)
  • tests/data/esp32s3_bloat_baseline.txt

📝 Walkthrough

Walkthrough

This PR updates the ESP32-S3 binary bloat baseline value in the test data from 347004 to 344769 bytes, reflecting a size reduction of approximately 2235 bytes. The baseline is used for bloat tracking tests to ensure binary size stays within acceptable bounds.

Changes

Baseline Update

Layer / File(s) Summary
ESP32-S3 bloat baseline update
tests/data/esp32s3_bloat_baseline.txt
Baseline binary size metric reduced from 347004 to 344769 bytes, documenting a ~2235 byte bloat improvement.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Possibly related issues

  • FastLED/FastLED#2917: The baseline reduction mirrors the ~700–800 B bloat improvement from gating RMT5 emit helper logging in that related change.
  • FastLED/FastLED#2903: Both issues involve updates to the same baseline file with different numeric adjustments.

Possibly related PRs

  • FastLED/FastLED#2909: Both PRs modify the same baseline data file with different numeric values reflecting size optimizations.
  • FastLED/FastLED#2904: Both PRs update the ESP32-S3 baseline numeric value in the same test data file.

Poem

🐰 A baseline trimmed, a bloat reduced,
Two thousand bytes now loosened,
ESP32-S3 runs more lean,
The smallest binary ever seen! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/ratchet-baseline-344769

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant