Repository navigation
Closed
2 / 32 of 3 issues completedDescription
Tracks the memory regressions still open before 3.10.7, measured as 3.10.3 vs master 7ac9a83c6e. Both sides were built with today's fbuild by putting the 3.10.3 src/ and examples on the current tooling; rp2040 builds only from 3.10.6 because of an SDFS framework error. The numbers are Blink flash/RAM.
| board | 3.10.3 | master | Δ flash / RAM |
|---|---|---|---|
| esp32dev | 271250 / 23370 | 311160 / 26532 | +14.7% / +13.5% |
| esp32s3 | 371563 / 75863 | 408284 / 79992 | +9.9% / +5.4% |
| esp32c3 | 342632 / 63512 | 404216 / 70332 | +18.0% / +10.7% |
| esp32c6 | 285432 / 14924 | 361224 / 20300 | +26.6% / +36.0% |
| teensy40 | 61440 / 32928 | 49152 / 28320 | −20.0% / −14.0% |
| teensy41 | 62464 / 32992 | 50176 / 28352 | −19.7% / −14.1% |
| rp2040 (vs 3.10.6) | 357808 / 60272 | 349936 / 60264 | −2.2% / 0% |
| uno | 3784 / 131 | 5158 / 629 | +36% / +380% (mostly the Blink example's new Serial banner) |
| uno Apa102 | 3178 / 187 | 4510 / 501 | +42% / +168% |
| attiny85 | 3338 / 131 | 3132 / 233 | −6% / +78% |
| stm32f103c8 | 16092 / 3248 | 26596 / 3672 | +65% / +13% |
How the growth breaks down:
- Expected (example or feature): Blink now calls
Serial.begin/println(the UART driver is most of the ESP32 and Uno Blink delta). The channel manager and driver matching are new. ESP32-C6 now defaults to PARLIO (about 40 KB). Pixel-controller RGBW/RGBWW vtable entries were added. - RMT driver (report only):
ChannelEngineRMTImplon esp32dev, c3 and s3. - Dead weight:
fl::cinand the PWM singleton (fixed in fix(memory): stop fl::cin and PWM state from linking into every sketch #4727); AVRSerial(AVR: Arduino Serial (HardwareSerial / TinySoftwareSerial) always linked, ~175 B RAM + ~1 KB flash on Uno #4725); ESP32 WiFi stack (ESP32: WiFi stack linked into Blink via esp_wifi_init in the platforms+ unity object (~3 KB flash, ~1.6 KB RAM) #4726).
Sub-issues
Collapse Sub-issuesSub-issues
Loading 3 sub-issues
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
- StatusShow more project fieldsDone
Activity
zackees commentedon Oct 7, 2026
The pre-3.10.7 sweep's actionable dead weight is resolved on master:
fl::cinand PWM singleton from ordinary sketches. A fresh STM32F103C8 Blink build at0c2e9f7300measures 26,368 B flash / 3,488 B RAM, matching that PR's post-fix measurement.0c2e9f7300measures 360,688 B flash / 18,724 B RAM; the link map and symbol report have nos_wifi_nvs,wifi_init.c.obj, oresp_wifi_init.The remaining items in the issue are identified feature/example costs: Blink's Serial banner, channel and driver matching, C6's default PARLIO driver, and RGBW/RGBWW vtable entries. The RMT driver on esp32dev/c3/s3 was explicitly designated report-only here; its current channel-management and network behavior differs from 3.10.3. This closes the memory sweep's identified dead-weight work. #4707 is a separate user-sketch regression and is still being handled independently.
zackees commentedon Oct 7, 2026
Fresh three-version sweep. All numbers are flash / RAM in bytes, as reported by
bash compile; the example is Blink unless noted.Source revisions: 3.10.3 =
20667c3a64, 3.10.6 =ebf8c2823c, master =0c2e9f7300. Each revision supplies its ownsrc/and examples, built with the same current tooling and fbuild 2.5.37. Board configurations are held constant across the three columns, including their normal build flags; no extra slim profile or size opt-ins were added.RP2040 3.10.3 still fails in the framework SDFS build (
FsFilecopy constructor is deleted). Its cell is explicitly unavailable; the earlier sweep used 3.10.6 as that board's baseline.ESP32 framework pins are identical within each row: esp32dev/s3 use Arduino-ESP32 3.3.11 / IDF 5.5.5; c3 uses 3.1.0 / IDF 5.3.2; c6 uses 3.3.5 / IDF 5.5.1. The generated Arduino stub uses
::delay(0)in all three versions for compatibility with 3.10.3; the released FastLED source is unchanged.The master column includes the dead-weight fixes #4727, #4730 and #4731. It also includes the default logging reduction in #4712, so the flash comparison includes that change. The master measurements were rebuilt in a separate project directory after rejecting stale incremental results.