Skip to content

Extend tests/measure_esp32s3_opt_ins.py with 4 new opt-in configs + max_savings (#2886) #2933

Closed

Description

@zackees

Goal

Extend tests/measure_esp32s3_opt_ins.py (shipped in PR #2906) to cover the 4 opt-in build flags shipped after #2906:

Plus a new max_savings config that stacks all 8 opt-ins (Stages 2 + 3 + 4 + the 4 new gates) into one build for the cumulative measurement.

Parent: #2886 — measurement infrastructure extension. No FastLED-runtime change.

Why this matters now

The current measure_esp32s3_opt_ins.py was written before the four new opt-in build flags shipped. Running --config all today measures only 5 configs (baseline + stage2/3/4 + stack). The four newer gates have shipped without measurement; the SLIM doc rows 6/7/8/9 are all 📊 with no validation path.

After this extension, the next iteration can run --config all and post a single comparison table that flips multiple rows from 📊 → ✅ in one shot.

Deliverable

tests/measure_esp32s3_opt_ins.py — add 4 new configs + max_savings

Config name build_flags addition sdkconfig overlay Source SLIM row
baseline (none) (user default) row 1
stage2 -DFASTLED_SUPPRESS_ARDUINO_CHIP_DEBUG_REPORT=1 (user default) row 4
stage3 (none) + tools/sdkconfig_for_smallest_fastled.defaults row 2
stage4 -DFASTLED_RMT_STATIC_ALLOCATION=1 (user default) row 3
stack stages 2+3+4 overlay applied TL;DR base stack
disable_spi (new) -DFASTLED_DISABLE_SPI_CHIPSETS=1 (user default) row 6
disable_ucs7604 (new) -DFASTLED_DISABLE_UCS7604=1 (user default) row 7
disable_dyndriver (new) -DFASTLED_DISABLE_DYNAMIC_DRIVER=1 (user default) row 8
disable_events (new) -DFASTLED_DISABLE_CHANNEL_EVENTS=1 (user default) row 9
max_savings (new) all of 2+4+SPI+UCS7604+dyndriver+events overlay applied "max-savings stack"

The max_savings config is the realistic floor — what an aggressive user gets when they stack every gate.

Comparison table column update

The output table currently has columns Config | Label | total_flash | Δ vs baseline | Δ vs previous. Keep those. Add a column SLIM row so the table maps 1:1 onto the priority table when the follow-up doc PR consumes it.

Acceptance

  1. tests/measure_esp32s3_opt_ins.py knows about the 9 configs above.
  2. --config all runs all 9 configs.
  3. --config max_savings runs just the all-stacked config (useful for the headline cumulative number).
  4. The output Markdown table has the new SLIM row column.
  5. bash lint passes.
  6. No FastLED runtime change.

Out of scope

  • Actually running the measurements. That's a separate follow-up PR that consumes the script's output and updates the SLIM doc rows.
  • Changing the comparison-table format beyond the new column. Future iterations can extend.

Related

🤖 Generated with Claude Code

Activity

  1. added a commit that references this issue on Jun 7, 2026
    f43f767
  2. moved this from Triage to Done in FastLED Trackeron Jun 7, 2026
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