Skip to content

docs(bloat): record #4763 no-Serial stm32f103c8 Blink scorecard - #4978

Merged
zackees merged 1 commit into
masterfrom
grind/4763-stm32f103c8-no-serial-blink-scorecard
Oct 31, 2026
Merged

zackees merged 1 commit into
masterfrom
grind/4763-stm32f103c8-no-serial-blink-scorecard

Conversation

@zackees

@zackees zackees commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Closes #4763

Re-measured stm32f103c8 Blink (Serial-free) with bash bloat stm32f103c8 --build: image flash 22904 B / attributed RAM 1789 B (the old 26324 / 1924 were Serial-enabled #4744 numbers). Updated tests/data/stm32f103c8_bloat_budget.json and the scorecard paragraph in agents/docs/binary-size-analysis.md. Budget guard passes; ./lint green. ./test failed only on wasm_compilation (WebGL2 unsupported in headless browser, environmental, unrelated to this docs/data change).

Summary by CodeRabbit

  • Documentation
    • Added a documented STM32F103C8 Blink benchmark, including toolchain details, flash and RAM measurements, and a command for checking size budgets.
    • Clarified how the reported measurements relate to board totals and physical RAM, and noted that comparable measurements for two earlier versions are unavailable.
  • Tests
    • Updated the STM32F103C8 size budget to 22,904 bytes of flash and 1,789 bytes of RAM, based on a newer no-Serial measurement.

@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 5dd3787 and f62ab44.

Files selected for processing: 2
  • agents/docs/binary-size-analysis.md
  • tests/data/stm32f103c8_bloat_budget.json

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 PR documents a no-Serial STM32F103C8 Blink measurement and updates its budget values and reference. The scorecard identifies the toolchain, distinguishes attributed RAM from board totals and physical RAM, and provides a budget-check command.

Changes: STM32F103C8 no-Serial baseline

Layer / File(s) Summary
Scorecard and budget update
agents/docs/binary-size-analysis.md, tests/data/stm32f103c8_bloat_budget.json
The scorecard records 22,904 B of image flash and 1,789 B of attributed RAM, along with toolchain details and measurement caveats. The budget values and reference change from #4744 to no-Serial measurement #4763.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Other

Possibly related issues

Possibly related PRs

  • FastLED/FastLED#4975 — That PR restructures the documentation page where this PR adds the scorecard.
  • FastLED/FastLED#4974 — Both PRs document the STM32F103C8 no-Serial baseline, but report different budget values.
Merge Risk: Minimal · up to f62ab

The scorecard and reduced budget ceilings agree with the budget checker’s contract. No actionable merge-blocking issue was identified in this documentation and data update.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Linked Issues check Warning The available evidence shows a related scorecard update in agents/docs/binary-size-analysis.md and a budget update in tests/data/stm32f103c8_bloat_budget.json. These changes record 22,904 B image … Complete and preserve the [#4763] measurement evidence. Add matched no-Serial builds for all required versions with source, board, SDK, compiler, and flag provenance. Publish image flash, physical RAM, attributed RAM, and symbol/section del…
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 names the change as a docs(bloat) entry recording the #4763 no-Serial stm32f103c8 Blink scorecard. The changeset matches this: it updates the scorecard in agents/docs/binary-size-analysis.md…
Out of Scope Changes check Passed The available evidence identifies only a scorecard documentation change and the matching stm32f103c8 budget-data change. Both changes directly support the measurement and regression-guard work reque…
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: Title check

Explanation

The title names the change as a docs(bloat) entry recording the #4763 no-Serial stm32f103c8 Blink scorecard. The changeset matches this: it updates the scorecard in agents/docs/binary-size-analysis.md and the budget data in tests/data/stm32f103c8_bloat_budget.json to 22,904 B flash and 1,789 B RAM from a no-Serial remeasurement (#4763) superseding #4744. The title is specific, concise, and conveys the primary change. The title uses a conventional commit prefix, which is acceptable.

Full details: Out of Scope Changes check

Explanation

The available evidence identifies only a scorecard documentation change and the matching stm32f103c8 budget-data change. Both changes directly support the measurement and regression-guard work requested by [#4763]. No unrelated change is established.

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. (2 skipped: 2 unsupported.)

Full details: Linked Issues check

Explanation

The available evidence shows a related scorecard update in agents/docs/binary-size-analysis.md and a budget update in tests/data/stm32f103c8_bloat_budget.json. These changes record 22,904 B image flash and 1,789 B attributed RAM, and lower the recorded baseline. They do not satisfy several active coding requirements in [#4763]: matched no-Serial measurements for 3.10.3, 3.10.6, and master; frozen source, board, SDK, compiler, and flag provenance; preserved ELF/map/report artifacts with validity checks; physical RAM and symbol/section comparisons; cost investigation; and affected production-path tests or board builds. The documentation also states that the 3.10.3 and 3.10.6 measurements are unavailable.

Resolution

Complete and preserve the [#4763] measurement evidence. Add matched no-Serial builds for all required versions with source, board, SDK, compiler, and flag provenance. Publish image flash, physical RAM, attributed RAM, and symbol/section deltas. Preserve ELF, map, and report artifacts. Run and record the required local production-path tests or board builds, lint, and budget validation. Document any limitations without claiming unavailable measurements.

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 d9fecf6 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/4763-stm32f103c8-no-serial-blink-scorecard 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 stm32f103c8 baseline with Blink without Serial

1 participant