Skip to content

Pre-3.10.7 memory sweep #4728

Closed
2 of 3 issues completed
Closed

Description

@zackees

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:

Sub-issues

Sub-issues

2 of 3 Issues completed
Loading 3 sub-issues

Activity

  1. zackees commented on Oct 7, 2026

    @zackees
    MemberAuthor

    The pre-3.10.7 sweep's actionable dead weight is resolved on master:

    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.

  2. zackees commented on Oct 7, 2026

    @zackees
    MemberAuthor

    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 own src/ 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.

    board / example 3.10.3 3.10.6 master
    esp32dev 271250 / 23370 311160 / 26532 310964 / 26084
    esp32s3 371515 / 75863 436540 / 80008 407732 / 78216
    esp32c3 342600 / 63512 433834 / 70332 403408 / 68572
    esp32c6 285400 / 14924 379686 / 20316 360704 / 18724
    teensy40 61440 / 32928 79872 / 69792 49152 / 28320
    teensy41 62464 / 32992 80896 / 69792 50176 / 28384
    rp2040 build failed 357808 / 60272 350128 / 59996
    uno Blink 3784 / 131 5166 / 633 5158 / 629
    uno Apa102 3178 / 187 4510 / 505 3682 / 326
    attiny85 3338 / 131 3132 / 237 2638 / 163
    stm32f103c8 16092 / 3248 26600 / 3672 26368 / 3488

    RP2040 3.10.3 still fails in the framework SDFS build (FsFile copy 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions