Repository navigation
Description
Goal
Lower `tests/data/esp32s3_bloat_baseline.txt` from `339962` → `338117` to lock in the −1,845 B saving the just-restored Stage-6 regression gate (#2886) measured on `master @ 56af093` after #2943 + #2945 + #2947 landed.
Parent: #2886 — baseline-ratchet hygiene.
Why now
PR #2947 (fbuild 2.2.18 → 2.2.20) was the last piece needed to make the Stage-6 `bloat regression esp32s3` CI gate operational. The first PR run with a working gate reported:
```
esp32s3-bloat-regression: PASS — total_flash=338,117 B <= baseline=339,962 B (headroom=1,845 B).
```
The 1,845 B drop is the cumulative cascade saving from #2943 (`Channel::makeName` release-gate). The projection on #2942 was 100–300 B; the realised saving is roughly 6–12× over due to the dead-strip cascade pulling out the supporting `fl::to_string` instantiation + `fl::string::operator+` machinery only reachable from this site. Same pattern observed on #2918 (−2,235 B vs projected 800 B) and #2925 (−3,937 B vs projected 1-2 KB).
If we don't ratchet the baseline now, any future regression up to 1,845 B will be invisible to the gate.
Deliverable
`tests/data/esp32s3_bloat_baseline.txt` — bump
```diff
-339962
+338117
```
Acceptance
- `uv run python tests/test_esp32s3_bloat_regression.py` passes locally against the new pin.
- Post-merge: `bloat regression esp32s3` workflow on the master push run passes against 338,117 B (zero headroom on the merge commit itself, healthy headroom on subsequent saving PRs).
- `bash lint` passes.
Out of scope
- Reviewing per-symbol attribution for the 1,845 B drop. The end-to-end measurement is sufficient; the per-symbol breakdown belongs in a separate audit report on Meta: ESP32-S3 Blink bloat reduction (file:line concrete plan) — supersedes #2885 #2886.
- Re-attempting the Linux-only multi-config runs (Rerun measure_esp32s3_opt_ins.py 4 Windows-crashed configs on Linux to flip remaining SLIM rows (#2886) #2938) — different track.
Related
- Meta: ESP32-S3 Blink bloat reduction (file:line concrete plan) — supersedes #2885 #2886 — parent meta (cumulative tracking).
- Skip Channel auto-naming in release builds (~100-300 B) (#2886) #2942 / perf(channel): skip auto-naming in release builds (#2942) #2943 — the gate-edit that produced the saving.
- Bloat regression CI gate broken since shipping (setup-uv@v3 cache error) #2944 / ci(bloat): bump bloat-regression setup-uv from v3 to v6 (#2944) #2945 — setup-uv@v6 fix that got CI past setup.
- Bump fbuild 2.2.18 → 2.2.20 to restore and the regression gate #2946 / chore(deps): bump fbuild 2.2.18 → 2.2.20 (#2946) #2947 — fbuild 2.2.20 bump that gave `bash bloat` the `symbols` subcommand.
- ci(esp32): bloat regression gate with ratcheting baseline (#2886 Stage 6) #2900 — original Stage-6 gate.
- Prior ratchets: chore(bloat): ratchet baseline 340832 -> 339962 (post-#2929 gamma cache) #2930 (340,832 → 339,962), and the cumulative trail in the Meta: ESP32-S3 Blink bloat reduction (file:line concrete plan) — supersedes #2885 #2886 update comments.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
chore(bloat): ratchet ESP32-S3 baseline 339,962 → 338,117 B (#2948) (#…