Skip to content

chore(bloat): ratchet baseline 340832 -> 339962 (post-#2929 gamma cache) - #2930

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

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

Conversation

@zackees

@zackees zackees commented Jun 7, 2026 •

Copy link
Copy Markdown
Member

Measured −870 B post-#2929. Gamma8::getOrCreate itself dropped 535 → 306 B; remaining saving from dead-stripped flat_map machinery.

Summary by CodeRabbit

  • Tests
    • Updated ESP32-S3 baseline metrics in test data.

…he simplification)

Measured against `master @ 73d27f5` (PR #2929 just merged):

    Total flash: 339,962 B  (was: 340,832 B)
    fl::Gamma8::getOrCreate(float): 306 B  (was: 535 B)

Delta: -870 B flash. The Gamma8::getOrCreate symbol itself dropped
-229 B; the remaining -641 B is the dead-stripped flat_map machinery
(vector backing, insert/find/key-compare, pair element type) that the
linker can now eliminate with the single-entry cache.

Refs #2886, #2928, #2929.
@zackees
zackees merged commit d9c0b66 into master Jun 7, 2026
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker 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: 0885331e-0433-4fca-94e5-7ed13eef7605

📥 Commits

Reviewing files that changed from the base of the PR and between 73d27f5 and e891aba.

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

📝 Walkthrough

Walkthrough

Updates ESP32-S3 binary bloat regression test baseline value from 340832 to 339962 bytes.

Changes

Bloat regression baseline

Layer / File(s) Summary
Bloat baseline update
tests/data/esp32s3_bloat_baseline.txt
The ESP32-S3 binary bloat regression test baseline value is updated from 340832 to 339962 bytes, reflecting prior binary size optimization changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

  • FastLED/FastLED#2903: Both changes update the same test baseline file with different target numbers for binary size optimization.
  • FastLED/FastLED#2917: Baseline update reflects binary-size reduction from gating RMT5 emit helpers' logging sstream chains.
  • FastLED/FastLED#2910: Baseline size update matches expected ELF-size ratchet from powf optimization changes.

Possibly related PRs

  • FastLED/FastLED#2909: Directly updates the same tests/data/esp32s3_bloat_baseline.txt baseline value with the identical change (340832 → 339962).
  • FastLED/FastLED#2904: Also updates the same ESP32-S3 bloat regression baseline in tests/data/esp32s3_bloat_baseline.txt as part of binary size optimization work.

Poem

🐰 A byte here, a byte there,
Our binaries shrink with care,
From 340832 to 339962—hooray!
Bloat-testing passes the day! ✨

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

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