Repository navigation
Description
Goal
Refresh `docs/SLIM_ESP32S3.md` Row 1 (Stage 1) measurement so it reflects the current post-cascade baseline (337,989 B on master) instead of the original Stage-1 landing measurement (350,568 B on 824cb5c from #2890's PR).
Parent: #2886 — doc-currency hygiene.
Why this is a real win
The SLIM doc is the user-facing reference for ESP32-S3 slim builds. Row 1 currently reads:
`FASTLED_LOG_VERBOSITY=0` ... −37,812 B measured (388,380 → 350,568 B on 824cb5c)
This number is from the original Stage 1 PR (#2890). Since then, the following follow-on PRs have cascaded additional dead-strip on top of Stage 1:
| PR | Saving | Mechanism |
|---|---|---|
| #2908 | −441 B | `fl::sort_small` (skip quicksort_impl) |
| #2911 | −3,123 B | Gamma8Impl ctor → fl::fixed_point::pow |
| #2918 | −2,235 B | emit-helper gate (ClocklessIdf5 path) |
| #2925 | −3,937 B | FASTLED_ASSERT diagnostic gate |
| #2929 | −870 B | Gamma single-entry cache |
| #2943 | −1,845 B | Channel::makeName release-gate |
| #2951 | −24 B | emitDisabledDriverError gate |
| #2953 | −127 B | bus-miss diagnostic gate |
| #2955 | −1 B | RxChannel makeName gate (not in Blink closure) |
| #2957 | 0 B | handleAllocateTxFailure gate (not in Blink closure) |
| Cumulative | −12,603 B | post-Stage-1 cascade |
Combined with the original Stage 1 saving (−37,812 B), the cumulative drop from the pre-Stage-1 baseline is −50,391 B / −13.0% (388,380 → 337,989 B on master).
The doc should make this visible so readers understand the current state and don't think Row 1 is the end of the line.
Deliverable
`docs/SLIM_ESP32S3.md` — update Row 1 + add cumulative footnote
Replace the Stage-1 row to reference the current baseline:
```diff
-| 1 | `FASTLED_LOG_VERBOSITY=0` | Default on release builds (NDEBUG); `-DFASTLED_LOG_VERBOSITY=1` to restore | −37,812 B measured (388,380 → 350,568 B on 824cb5c) | ✅ | #2890 |
+| 1 | `FASTLED_LOG_VERBOSITY=0` | Default on release builds (NDEBUG); `-DFASTLED_LOG_VERBOSITY=1` to restore | −37,812 B from this flag alone; cumulative with cascade PRs ≈ −50,391 B (388,380 → 337,989 B on master post-#2957) | ✅ | #2890 (+ cascade) |
```
And add a short paragraph below the table noting the cascade:
```
Row 1 cascade. PRs #2908/#2911/#2918/#2925/#2929/#2943/#2951/#2953 stacked
diagnostic-only cold-helper gates on top of #2890's Stage 1. Each individually
projected 100-800 B; several exceeded projection 4-10× thanks to dead-strip
cascades on supporting template machinery (notably #2918, #2925, #2929, #2943).
Cumulative measured saving: −12,603 B beyond Stage 1, bringing total to
≈ −50 KB / −13% vs the pre-Stage-1 baseline.
```
`tests/data/esp32s3_bloat_baseline.txt` — ratchet to current measurement
Already pinned at 338,117 B post-#2949. PR #2957 measured 337,989 B (128 B of remaining headroom). Lock that in:
```diff
-338117
+337989
```
Acceptance
- `bash lint` passes.
- SLIM doc Row 1 references the current baseline number.
- `bloat regression esp32s3` workflow passes against the new 337,989 B pin (zero headroom expected on the merge commit; healthy headroom on subsequent saving PRs).
Out of scope
- Per-symbol attribution audit. The end-to-end measurement is sufficient for the doc update.
- Reviewing whether to add a Row 11+ for individual cascade flags. Those don't need flags — they're default.
Related
- Meta: ESP32-S3 Blink bloat reduction (file:line concrete plan) — supersedes #2885 #2886 — parent meta + audit cycle.
- perf(log): default FASTLED_LOG_VERBOSITY=0 in release builds (#2886 Stage 1) #2890 — Stage 1 original PR.
- perf(gamma): simplify Gamma8::getOrCreate to single-entry weak_ptr cache #2929/chore(bloat): ratchet baseline 340832 -> 339962 (post-#2929 gamma cache) #2930/Ratchet ESP32-S3 bloat baseline 339,962 → 338,117 B (#2943 makeName cascade) #2948/chore(bloat): ratchet ESP32-S3 baseline 339,962 → 338,117 B (#2948) #2949 — prior baseline ratchets.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
docs(SLIM): refresh Row 1 with cascade saving + ratchet baseline (#2958…