Repository navigation
Description
Context
This replaces #4737 at the maintainer's request. Its published Blink comparison mixed a 3.10.3 sketch with Serial calls commented out and newer sketches that initialized Serial and printed banners. Those example costs must not be treated as library regressions. Prior landed optimizations remain; prior tables are historical evidence, not the baseline for this restart.
PR #4759 removed Serial initialization and prints from Blink on every platform, landed at a439902ac6af64e600031c01b5c2ac0df2e690bc. This issue starts with fresh, unchecked platform checklists. Creating this tracker does not start builds or implementation; measurements will be redone when work resumes.
Known corrected Uno result — not a new full matrix
| Uno Blink, no Serial | flash | physical RAM |
|---|---|---|
| 3.10.3, archived matched build | 3784 B | 131 B |
| master at a439902, freshly verified | 3922 B | 266 B |
| remaining growth | +138 B (+3.6%) | +135 B (+103.1%) |
Removing the accidental banner saved1208 B flash/177 B physical RAM from the preceding published Uno Blink. Attribute that separately from library optimization. Other platforms have not been remeasured with the corrected sketch. Do not fill missing cells from old Serial-enabled measurements.
Measurement protocol
- Pin 3.10.3 (
20667c3a6413ed46a828f78ec95fb57e58d753f8), 3.10.6 (ebf8c2823c486158a046d8e1e682d3143580ae4e) and the exact master SHA before the new run. - Use an equivalent minimal Blink workload across all versions: same LED count, chipset, actual pin, color sequence and delays; no Serial.begin, Serial prints, banner or other diagnostics in any version's sketch. Record the exact sketch and compatibility changes. Keep released library source unchanged for baseline measurements.
- Use identical per-board framework/compiler versions and default flags across versions; retain normal features, no slim-profile opt-in. Document necessary SDK compatibility defines identically and separately.
- Collect
bash compileboard totals andbash bloatreports for every revision; 3.10.3/master bloat is mandatory per child. Preserve ELF/map/symbol evidence, source provenance and flags. Verify actual linked Serial objects/UART routines are absent or explain an unexpected retained dependency. - Report allocated image flash, physical board RAM and attributed symbol RAM separately. RP2040 raw GNU flash includes reserved NOBITS heap/stack; use allocated image for flash comparisons and preserve raw counters separately.
- Reject stale source/sketch/flag outputs before comparing. Reuse caches; clean only affected builds with concrete stale-output evidence. Missing/failed baselines remain explicit failures, never zero or another version's substitute.
Execution and optimization
Work one platform and one checklist item at a time in the existing repository checkout, without git worktrees, preserving fbuild/toolchain/dependency/test caches. Use feature branches in that checkout. Run platform builds/tests locally and sequentially; never CI Full.
First establish the corrected baseline matrix; then prioritize measured remaining regressions. Investigate controller/settings/vtable/global-state storage, unnecessary linked features, RMT and default C6 PARLIO encoder/driver cost. Convert routine FL_WARN diagnostics to appropriate FL_LOG_* categories and eliminate fl::printf logging where found, retaining meaningful failures. Preserve supported LED output, timing, RGB/RGBW/RGBWW, power limiting, explicit Serial/network use, ownership and lifecycle behavior.
For Uno, investigate the measured controller24→87 B growth and the controller-slot limit8→16: current MAX_CLED_CONTROLLERS uses broad FL_IS_AVR_ATMEGA despite the Mega/Leonardo comment. These are investigation leads, not accepted fixes.
Parent checklist
- Freeze revisions, canonical no-Serial workload, SDK/compiler versions and flags.
- Complete corrected three-version measurements for ten platforms; retain Uno Apa102 as a separately matched additional row.
- Publish the new eleven-row scorecard and symbol/link-map ledger, with remaining3.10.3 gaps and no stale Serial-enabled cells.
- Prioritize and land behavior-preserving reductions justified by the corrected ledger.
- Ratchet applicable existing flash/RAM budgets without raising ceilings; preserve existing platform gains.
- Verify affected production paths and the final local sequential matrix; distinguish host/SDK testing from physical waveform evidence.
- Post a cumulative performance-diff comment here whenever a new platform child closes, with matched before/after bytes and landed PR/SHA.
Acceptance criteria
- Every child supplies verified matched3.10.3/master fbuild bloat and no-Serial sketch provenance; three-version scorecard includes3.10.6.
- Every claimed regression/reduction is based on the corrected workload, with symbol/section evidence and separate image/physical/attributed metrics.
- Before each code fix, capture a focused failing test or budget (RED), then show the implementation passes it (GREEN), relevant local tests, lint and review.
- Preserve supported features; report remaining gaps and measured limitations honestly. Optional slim builds or removing caller-used functionality do not satisfy default-build savings.
- Close children only after required evidence and changes land; leave this parent open unless the maintainer explicitly requests closure.
Decisions
- Start a new parent and new native platform children; retain meta(memory): reduce default flash/RAM usage across all measured platforms #4737 and its closed children as history without reopening or reparenting them.
- Preserve already landed fixes; restart measurements and prioritization, not the source history.
- No measurement or optimization execution now: this request is tracker replacement only.
Related
#4737: superseded investigation and prior optimizations. #4733: dynamic driver binding. #4735: AVR controller/settings/vtable costs. #4759: Blink Serial correction.
Fresh native platform sub-issues
- chore(memory): redo esp32c3 baseline with Blink without Serial #4761: esp32c3
- chore(memory): redo esp32c6 baseline with Blink without Serial #4762: esp32c6
- chore(memory): redo stm32f103c8 baseline with Blink without Serial #4763: stm32f103c8
- chore(memory): redo uno baseline with Blink without Serial #4764: uno
- chore(memory): redo attiny85 baseline with Blink without Serial #4765: attiny85
- chore(memory): redo esp32dev baseline with Blink without Serial #4766: esp32dev
- chore(memory): redo esp32s3 baseline with Blink without Serial #4767: esp32s3
- chore(memory): redo teensy40 baseline with Blink without Serial #4768: teensy40
- chore(memory): redo teensy41 baseline with Blink without Serial #4769: teensy41
- chore(memory): redo rp2040 baseline with Blink without Serial #4770: rp2040
Sub-issues
Collapse Sub-issuesSub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTriage
Activity
zackees commentedon Oct 31, 2026
grind run a7c2 (sequential) status:
zackees commentedon Oct 31, 2026
{ "schema": "grind-plan/v1", "run_id": "a7c2", "meta": 4760, "original": null, "repo": "FastLED/FastLED", "main": "master", "mode": "sequential", "preflight": "handled", "structure": "simple", "stages": [ { "stage": "bugs", "base": "master", "children": [ 4764, 4765, 4761, 4762, 4766, 4767, 4763, 4768, 4769, 4770 ] } ], "deferred_groups": [], "feature_merge": null, "problem_reporting": "issue", "models": {}, "ci": false, "scripts": { "lint": "./lint", "test": "./test --cpp" }, "rules": { "stuck_bug": "block_dependents_only" } }zackees commentedon Oct 31, 2026
grind run 7c2e (sequential): finished
Follow-ups: #4982 (draft budget re-base #4989 awaiting maintainer approval), #4983 (fixed in #4988), #4984 (fixed in #4986), #4985 (moved to talos-hq/clud#2476)
zackees commentedon Oct 31, 2026
{ "schema": "grind-plan/v1", "run_id": "7c2e", "meta": 4760, "original": null, "repo": "FastLED/FastLED", "main": "master", "mode": "sequential", "preflight": "handled", "structure": "simple", "stages": [ { "stage": "bugs", "base": "master", "children": [ 4761, 4763, 4768, 4769, 4770 ] } ], "deferred_groups": [], "feature_merge": null, "problem_reporting": "issue", "models": { "worker": "sonnet", "integrator": "sonnet" }, "ci": false, "scripts": { "lint": "./lint", "test": "./test" }, "rules": { "stuck_bug": "block_dependents_only" } }