Skip to content

docs(bloat): record #4764 no-Serial Uno Blink scorecard - #4968

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

zackees merged 1 commit into
masterfrom
grind/4764-uno-no-serial-blink-footprint

Conversation

@zackees

@zackees zackees commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Refs #4764

Records the no-Serial Uno Blink scorecard in agents/docs/binary-size-analysis.md. It explains that the a439902 figure (3922/266) is repository examples/Blink, not the dashboard's matched sketch, which accounts for the gap from the 3762/168 'before #4788' figure. It also adds today's master measurement.

Verified: bash bloat uno --build --budget tests/data/uno_blink_bloat_budget.json passes, and fbuild reports 118 B RAM / 3600 B flash. ./lint is green. ./test --cpp fails twice in this environment with a zccache 'PCH alias validation failed' toolchain error that a doc-only change cannot cause.

This PR does not close #4764: the 3.10.6 no-Serial build and the cumulative diff for #4760 are still outstanding.

Summary by CodeRabbit

  • Documentation
    • Added a no-Serial AVR RAM and flash scorecard with matched Blink measurements across several builds.
    • Clarified which figures use different sketches or Serial-enabled measurements, and documented the Uno bloat budget and bash bloat command as regression checks.

@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 c1b295c and f628a85.

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; 6 remain after this review.

Walkthrough

The binary-size analysis documentation adds a no-Serial Uno Blink scorecard. It distinguishes measurement sources, cautions against comparing Serial-enabled figures, and identifies the Uno bloat budget command as the regression guard.

Changes: Uno no-Serial baseline

Layer / File(s) Summary
Document the no-Serial scorecard
agents/docs/binary-size-analysis.md
Adds versioned flash and RAM measurements, distinguishes the repository Blink measurement from the dashboard’s matched sketch, and identifies bash bloat as the regression guard.

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

Change: Other

Possibly related issues

  • FastLED/FastLED issue 4760: The documentation records a corrected no-Serial Uno scorecard. The cumulative performance diff noted by the issue remains outstanding.
Merge Risk: Minimal · up to f628a

The documentation clarifies the Uno measurements and their limitations without changing runtime behavior. No actionable merge-blocking risk is identified.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Linked Issues check Warning Directly linked issue #4764 is open and has coding checklist items. The whole-PR diff (merge base c1b295c to head f628a85) changes only agents/docs/binary-size-analysis.md (+13 lines). It adds a no-Se… Record the cost investigation and FL_WARN to FL_LOG_* / fl::printf logging audit for the Uno Blink build, with findings in the affected documentation or a linked analysis. If the audit shows that optimization is warranted, add the focused R…
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 no-Serial Uno Blink scorecard for issue #4764.
Out of Scope Changes check Passed The whole-PR diff touches one file, agents/docs/binary-size-analysis.md, with 13 added lines. Every added line concerns the #4764 no-Serial Uno Blink scorecard, the a439902 versus matched-sketch expla…
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 whole-PR diff touches one file, agents/docs/binary-size-analysis.md, with 13 added lines. Every added line concerns the #4764 no-Serial Uno Blink scorecard, the a439902 versus matched-sketch explanation for the 3762/168 'before #4788' gap, and the regression guard reference to tests/data/uno_blink_bloat_budget.json and the bash bloat command. No code, test, budget, or unrelated documentation changes are present. The figures are not re-measured in this review. Their accuracy is a correctness question, not a scope question.

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

Directly linked issue #4764 is open and has coding checklist items. The whole-PR diff (merge base c1b295c to head f628a85) changes only agents/docs/binary-size-analysis.md (+13 lines). It adds a no-Serial Uno Blink scorecard: 3.10.3 = 3784 B flash / 131 B RAM; master a439902 = 3922 / 266 (repository examples/Blink); master after #4788 and follow-up = 3592 / 118; 2026-10-30 master = 3600 / 118. This covers the measurement and provenance items. It does not address the coding items: (1) the checklist asks to investigate measured controller/settings/vtable/global-state and driver costs and to audit FL_WARN to FL_LOG_* categories and fl::printf logging, and the diff records no such audit or findings; (2) if optimization is warranted, RED/GREEN focused tests are required, and no code or test change is present; (3) the PR description says the 3.10.6 no-Serial build and the #4760 cumulative diff remain outstanding. The PR states it does not close #4764. The budget file tests/data/uno_blink_bloat_budget.json already reads image_flash 3600 and total_ram 134 at the reviewed head, so no ratchet change is needed by the diff. The build and lint results in the PR description were not re-run in this review.

Resolution

Record the cost investigation and FL_WARN to FL_LOG_* / fl::printf logging audit for the Uno Blink build, with findings in the affected documentation or a linked analysis. If the audit shows that optimization is warranted, add the focused RED test before the change and the GREEN test after it, and keep Serial and failure-diagnostic behavior. Re-run the affected Uno bloat budget check and report its result. The 3.10.6 no-Serial build and the #4760 cumulative diff remain required before #4764 can close.

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 e78d66b 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/4764-uno-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 uno baseline with Blink without Serial

1 participant