Skip to content

Ratchet bloat baseline 388380 -> 350568 + flip πŸ“Šβ†’βœ… for Stage 1 in SLIM doc (#2886)Β #2903

Closed

Description

@zackees

Goal

Land the two concrete follow-ups proposed in the measured audit comment on #2886 (#2886#issuecomment-4641413123):

  1. Ratchet the regression-gate baseline at tests/data/esp32s3_bloat_baseline.txt from 388380 β†’ 350568 (the measured post-Stage-1 number on master @ 824cb5c0e3).
  2. Flip the relevant priority-table rows in docs/SLIM_ESP32S3.md from πŸ“Š β†’ βœ… with the measured numbers attached.

No source change. This is a tooling-config + doc PR.

Parent: #2886 β€” completes the loop opened by Stage 6 (#2900) which shipped the gate without a measured baseline, and Stage 0 (#2898) which shipped the user-facing doc with everything marked πŸ“Š.

Why this matters

  • The gate currently doesn't catch real regressions. With the baseline pinned at 388380 (the pre-Stage-1 number), a PR that regresses anywhere between the current measured 350,568 B and the old baseline silently passes. Tightening to 350568 reclaims that headroom.
  • The doc currently mis-represents what's measured vs. projected. Users reading docs/SLIM_ESP32S3.md see every row marked πŸ“Š even though Stage 1's effects are now empirically confirmed. Honest status flags help users make informed build decisions.

Deliverable

1. tests/data/esp32s3_bloat_baseline.txt β€” ratchet

Single-line change: 388380 β†’ 350568. That's the measured total_flash from the audit posted to #2886 (build SHA 824cb5c0e3, esp32s3 NEOPIXEL Blink, release config, NDEBUG set so FASTLED_LOG_VERBOSITY defaults to 0 per Stage 1).

The gate at .github/workflows/bloat_regression_esp32s3.yml immediately enforces the tighter budget on the next PR.

2. docs/SLIM_ESP32S3.md β€” flip πŸ“Š β†’ βœ… where backed by measurement

The priority table currently reads:

| 1 | FASTLED_LOG_VERBOSITY=0 | ... | ~43-58 KB | πŸ“Š | #2890 |

After this PR:

| 1 | FASTLED_LOG_VERBOSITY=0 | ... | βœ… βˆ’37.8 KB measured (382,380 β†’ 350,568 B on 824cb5c0e3) | βœ… | #2890 |

Rows that stay πŸ“Š until their build flag is exercised in a measured build:

  • Row 2 (tools/sdkconfig_for_smallest_fastled.defaults) β€” needs a measured build with the overlay applied.
  • Row 4 (-DFASTLED_SUPPRESS_ARDUINO_CHIP_DEBUG_REPORT=1) β€” needs a measured build with the flag set.
  • Row 5 (CONFIG_BT_ENABLED=n) β€” needs a measured build with BT off.

Row 3 (-DFASTLED_RMT_STATIC_ALLOCATION=1) stays πŸ“Š too β€” it requires its own opt-in flag; the new measurement didn't exercise it.

The roadmap section also gets a one-line update noting that Stage 1's effects are now empirically confirmed (the audit posted to #2886 is cited).

Acceptance

  1. tests/data/esp32s3_bloat_baseline.txt contains 350568.
  2. docs/SLIM_ESP32S3.md row 1 of the priority table is βœ… with the measured number attached. Rows 2/4/5 stay πŸ“Š with the same "needs a measured build" rationale.
  3. The Roadmap section cites the audit comment URL as the source of the measurement.
  4. CI runs the regression gate against the new baseline; on master @ 824cb5c0e3 it passes with headroom = 0 B (the baseline IS the current build).

Out of scope

Related

πŸ€– Generated with Claude Code

Activity

  1. added a commit that references this issue on Jun 7, 2026
    447eaf5
  2. moved this from Triage to Done in FastLED Trackeron Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions