Skip to content

docs(bloat): record #4766 no-Serial esp32dev Blink scorecard - #4971

Merged
zackees merged 1 commit into
masterfrom
grind/4766-esp32dev-no-serial-blink-footprint
Oct 31, 2026
Merged

zackees merged 1 commit into
masterfrom
grind/4766-esp32dev-no-serial-blink-footprint

Conversation

@zackees

@zackees zackees commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Closes #4766

Docs-only: adds the esp32dev no-Serial Blink scorecard to agents/docs/binary-size-analysis.md, matching tests/data/esp32dev_bloat_budget.json (313231 / 34734 B baseline, re-based in PR #4814 after #4759 made Blink Serial-free), plus the current master measurement.

Verification:

  • bash bloat esp32dev --build --budget tests/data/esp32dev_bloat_budget.json: pass (image flash 287671 B, attributed RAM 34091 B, fbuild 2.5.45)
  • ./lint: pass
  • ./test --cpp: fails locally on a zccache PCH-alias daemon error (environment; tree is master + one .md file)

Summary by CodeRabbit

  • Documentation
    • Added an ESP32dev build-size scorecard covering flash and RAM measurements, budget baselines, and regression checks.
    • Clarified how reported metrics vary by toolchain version and noted where comparable measurements are unavailable.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between f03a42f and 1fdf5e1.

Files selected for processing: 1
  • agents/docs/binary-size-analysis.md

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.

Walkthrough

The binary-size analysis documentation now includes an ESP32dev no-Serial scorecard with build details, memory measurements, metric caveats, and a regression-budget check.

Changes: ESP32dev memory scorecard

Layer / File(s) Summary
Document measurements and budget check
agents/docs/binary-size-analysis.md
Adds the ESP32dev build environment, image-flash and attributed-RAM measurements, comparison figures, metric caveats, and regression-budget check command.

Estimated code review effort: 1 (Trivial) | ~4 minutes

Change: Other

Possibly related issues

  • FastLED/FastLED issue 4760 — The scorecard documents ESP32dev no-Serial memory measurements and remaining version gaps.
  • FastLED/FastLED issue 4766 — The scorecard addresses its documentation objective, but does not claim completion of the full measurement and validation checklist.

Possibly related PRs

  • FastLED/FastLED#4913 — It changes unused-Serial behavior for Arduino-ESP32 versions that include the scorecard’s build version, which may affect the documented measurements.
Merge Risk: Minimal · up to 1fdf5

The scorecard documents ESP32dev measurements and their limitations without changing runtime behavior. No merge-blocking issue is established by the supplied evidence.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Linked Issues check Warning The change documents part of #4766: the esp32dev no-Serial scorecard, toolchain, current measurement, budget baseline, and fbuild attribution note. The linked issue also requires matched 3.10.3, 3.10.… Complete the applicable #4766 measurement and validation checklist. Record matched no-Serial measurements for all required versions, preserve and verify the build artifacts and provenance, publish the required physical and attributed metric…
Passed Passed checks: 4 passed
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the documented esp32dev no-Serial Blink scorecard added in the pull request.
Out of Scope Changes check Passed The only change is a 16-line addition to agents/docs/binary-size-analysis.md. It records the esp32dev no-Serial scorecard and its budget command for #4766. The change has a direct connection to the li…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Full details: Out of Scope Changes check

Explanation

The only change is a 16-line addition to agents/docs/binary-size-analysis.md. It records the esp32dev no-Serial scorecard and its budget command for #4766. The change has a direct connection to the linked issue and introduces no unrelated source, test, or configuration changes.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Full details: Linked Issues check

Explanation

The change documents part of #4766: the esp32dev no-Serial scorecard, toolchain, current measurement, budget baseline, and fbuild attribution note. The linked issue also requires matched 3.10.3, 3.10.6, and master measurements with frozen source and build provenance; preserved ELF, map, and report artifacts; corrected flash, physical RAM, attributed RAM, and symbol or section deltas; cost investigation; and affected-path validation. The changed document explicitly states that the 3.10.3 and 3.10.6 no-Serial measurements are not recorded. The PR contains no implementation or test changes and does not establish those required artifacts or validations.

Resolution

Complete the applicable #4766 measurement and validation checklist. Record matched no-Serial measurements for all required versions, preserve and verify the build artifacts and provenance, publish the required physical and attributed metrics and deltas, document the cost investigation, and run the required local tests and budget checks. If this PR is intended to remain documentation-only, split or close the broader #4766 requirements separately and link the completed evidence.

Finishing Touches
Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@zackees
zackees merged commit c774f34 into master Oct 31, 2026
121 checks passed
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Oct 31, 2026
@zackees
zackees deleted the grind/4766-esp32dev-no-serial-blink-footprint branch November 5, 2026 05:53
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.

chore(memory): redo esp32dev baseline with Blink without Serial

1 participant