Skip to content

docs: what 256 scenes cost the ESP32 image - #1194

Merged
mariusandra merged 1 commit into
mainfrom
esp32-256-scenes-size
Nov 30, 2026
Merged

mariusandra merged 1 commit into
mainfrom
esp32-256-scenes-size

Conversation

@mariusandra

Copy link
Copy Markdown
Collaborator

A follow-up to #1193 (merged before this commit got to it): what 256 scenes cost the ESP32 image, in docs/esp32-image-size.md and docs/scene-switcher.md. Docs only.

I measured it against main (c597b26) with two local builds of the 32 MB image. The local branch build is byte for byte the size CI reported (3,400,992).

  • +304 app bytes in total:
    • the list's pieces, +366 (system/sceneSwitcher);
    • the store's kept block for its work arrays, +86;
    • the scene store's origins, +52;
    • grouped moving its entries instead of copying them, −156 in system.nim.
  • 664 bytes less internal RAM (used_diram): the store's work arrays of one change left .bss for a PSRAM block.

#1193's firmware-size comment compared with the release v2026.11.16 (+210,000 bytes, almost all of it work merged since that release), so it does not isolate this change.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mariusandra
mariusandra merged commit 8ac600c into main Nov 30, 2026
23 checks passed
@mariusandra
mariusandra deleted the esp32-256-scenes-size branch November 30, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant