Skip to content

docs(bloat): record #4768 no-Serial teensy40 Blink scorecard and rebase budget - #4979

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

zackees merged 1 commit into
masterfrom
grind/4768-teensy40-no-serial-blink-scorecard

Conversation

@zackees

@zackees zackees commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Closes #4768

Re-measured teensy40 Blink (Serial-free) with bash bloat teensy40 --build: image flash 46080 B, attributed RAM 21449 B (not physical board RAM). fbuild 2.5.45, Teensy framework 1.160.0, ARM GCC 11.3.1. Supersedes Serial-enabled #4745 49152 / 22990. Budget JSON and binary-size-analysis.md updated; budget guard passes. Docs/data only.

Local ./test: 2 unrelated failures (WASM WebGL2 unsupported in headless browser; test_stale_lock_recovery timing 2.016s vs 2.0s).

Summary by CodeRabbit

  • Documentation
    • Added a Teensy 4.0 Blink size scorecard for the no-Serial build, including measured flash and RAM usage and how those figures differ from board capacity.
  • Tests
    • Updated the Teensy 4.0 Blink size budget to reflect the no-Serial measurement: flash is now 46,080 bytes and RAM is 21,449 bytes.

@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 d9fecf6 and 1c9811f.

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

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

Walkthrough

The Teensy 4.0 Blink baseline now records no-Serial image flash and attributed-RAM measurements. The budget values and binary-size analysis documentation use these figures and describe their measurement context.

Changes: Teensy 4.0 baseline

Layer / File(s) Summary
Measurement and budget update
tests/data/teensy40_bloat_budget.json, agents/docs/binary-size-analysis.md
The budget changes to 46,080 bytes of image flash and 21,449 bytes of attributed RAM. The documentation identifies the no-Serial measurement, distinguishes these metrics from board totals and physical RAM, and gives the budget guard command.

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

Change: Other

Possibly related issues

  • Issue 4760 — The PR supplies Teensy 4.0 no-Serial flash and attributed-RAM figures under the parent issue’s measurement protocol. It does not report physical RAM, symbol or section deltas, or measurements for other platforms.
Merge Risk: Minimal · up to 1c981

The documentation and budget consistently record the lower no-Serial baseline. No actionable merge-blocking issue was identified; merge after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Linked Issues check Warning Issue #4768 requires a matched no-Serial Teensy 4.0 baseline with verified build provenance, preserved ELF/map/report artifacts, physical RAM and attributed RAM, symbol/section deltas, cost investigat… Complete the #4768 checklist with reviewable provenance and preserved build artifacts, report physical RAM and symbol/section deltas, document the required cost investigation and validation results, and keep the budget guard passing without…
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 identifies the no-Serial Teensy 4.0 scorecard and budget update, which are the main changes in the pull request.
Out of Scope Changes check Passed The two changed files update the #4768 Teensy 4.0 no-Serial scorecard and its matching bloat budget. The recorded measurements, toolchain details, Serial comparison, and budget reference directly supp…
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 two changed files update the #4768 Teensy 4.0 no-Serial scorecard and its matching bloat budget. The recorded measurements, toolchain details, Serial comparison, and budget reference directly support the linked issue. No unrelated code or data change is shown.

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

Issue #4768 requires a matched no-Serial Teensy 4.0 baseline with verified build provenance, preserved ELF/map/report artifacts, physical RAM and attributed RAM, symbol/section deltas, cost investigation, and local validation evidence. The PR records only image flash (46,080 B) and attributed RAM (21,449 B) in tests/data/teensy40_bloat_budget.json and agents/docs/binary-size-analysis.md. The documentation explicitly states that physical RAM and the 3.10.3/3.10.6 no-Serial measurements are not recorded. It does not provide the required symbol/section deltas, artifact validation, or the remaining investigation and validation evidence.

Resolution

Complete the #4768 checklist with reviewable provenance and preserved build artifacts, report physical RAM and symbol/section deltas, document the required cost investigation and validation results, and keep the budget guard passing without raising ceilings.

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 92566cf 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/4768-teensy40-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 teensy40 baseline with Blink without Serial

1 participant