Skip to content

chore(bloat): ratchet baseline 350127 -> 347004 (post-#2911 fl::s16x16::pow) - #2912

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

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

Conversation

@zackees

@zackees zackees commented Jun 7, 2026 •

Copy link
Copy Markdown
Member

Measured against master @ f090358d76 (PR #2911 just merged):

Total flash: 347,004 B  (3,621 sized flash symbols).  RAM: 37,389 B.
(was: 350,127 B / 3,627 symbols / 37,453 B RAM on master @ 731e4d5b19)

Delta: −3,123 B flash / −6 symbols / −64 B RAM.

The dropped symbols are the double-precision pow chain that was only reachable via Gamma8Impl and applyGamma_video after #2911 migrated both to fl::s16x16::pow. __ieee754_pow (was 2,723 B / top-9) is now gone entirely from the binary; uartBegin moved up to top-9.

Refs #2886, #2910, #2911.

Summary by CodeRabbit

  • Tests
    • Updated baseline performance metrics.

…6::pow)

Measured against `master @ f090358` (PR #2911 just merged):

    Total flash: 347,004 B  (3,621 sized flash symbols).  RAM: 37,389 B.
    (was: 350,127 B / 3,627 symbols / 37,453 B RAM on master @ 731e4d5)

Delta: -3,123 B flash / -6 symbols / -64 B RAM. The dropped symbols are
the double-precision pow chain that was only reachable via Gamma8Impl
and applyGamma_video:

  - __ieee754_pow (was 2,723 B / top-9)
  - + supporting double-math machinery only reachable from those callers

The fixed-point path (fl::s16x16::pow) is pure integer LUT and pulls
zero new libm symbols. Note that __ieee754_pow is no longer on the
top-10; uartBegin moved up to #9.

Refs #2886, #2910, #2911.
@zackees
zackees merged commit 6bd4ebd 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: a5e217d0-e74f-40bc-af35-99291c82c63f

📥 Commits

Reviewing files that changed from the base of the PR and between f090358 and 0a6f330.

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

📝 Walkthrough

Walkthrough

This PR updates the ESP32-S3 build size baseline value in the bloat test data file from 350127 to 347004 bytes, ratcheting the maximum permitted binary size downward to reflect measured firmware size improvements.

Changes

ESP32-S3 Binary Size Baseline

Layer / File(s) Summary
Binary size baseline value
tests/data/esp32s3_bloat_baseline.txt
The stored baseline numeric value is updated to reflect the new measured binary size for ESP32-S3 builds.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

  • FastLED/FastLED#2910: The baseline change reflects the binary-size reduction produced by switching pow→powf in Gamma8Impl/applyGamma_video.
  • FastLED/FastLED#2903: Both changes modify the same baseline file and track ESP32-S3 binary size ratcheting.

Possibly related PRs

  • FastLED/FastLED#2904: Also directly updates the ESP32-S3 baseline numeric value in the same file.
  • FastLED/FastLED#2909: Also modifies the same baseline file value (350568→350127), part of the same ratcheting sequence.

Poem

🐰 A number drops like morning dew,
From 350127 down to 347004 true,
The firmware shrinks, the baseline shifts,
Less bloat, more room—what optimization gifts! ✨

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

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