Skip to content

perf(stdio): share scalar format_arg code across types (#4565) - #4577

Merged
zackees merged 1 commit into
masterfrom
feat/meta-work-4565
Sep 24, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/meta-work-4565

Conversation

@zackees

@zackees zackees commented Sep 24, 2026

Copy link
Copy Markdown
Member

Closes #4565 (part of #4572)

Bloat: before vs after (ESP32-S3 Blink, bash bloat esp32s3 --example Blink --build --top 25)

Metric origin/master this PR delta
Total flash 374,154 B 371,334 B -2,820 B
RAM 41,339 B 41,339 B 0
format_arg instantiations in top 25 6 (1,091-1,119 B each, ~6.6 KB) 0 gone
fl::printf_detail::format_scalar - 2,220 B +2,220 B

Evidence

  • bash test stdio, bash test cstdio, bash test format: pass
  • bash test --cpp: 114/114 unit, 95/95 examples passed
  • bash lint: pass. bash lint --iwyu ran to completion with no crash; it reports 272 files with pre-existing IWYU violations, none of them in the files this PR changes.
  • Also removes the INT64_MIN negation UB in the hex path.

🤖 Generated with Claude Code

@zackees
zackees merged commit f767489 into master Sep 24, 2026
50 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Sep 24, 2026
@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Repository: FastLED/FastLED/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: c593857c-d6aa-4b74-a0dd-bb245a4cd9b1

📥 Commits

Reviewing files that changed from the base of the PR and between 2ea7344 and dd5515f.

📒 Files selected for processing (3)
  • src/fl/stl/stdio.cpp.hpp
  • src/fl/stl/stdio.h
  • tests/fl/stl/stdio.cpp
 __________________________________________________________________
< Your documentation is 'TBD'. My patience is 'TBF' (to be found). >
 ------------------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

zackees added a commit that referenced this pull request Sep 24, 2026
zackees added a commit that referenced this pull request Sep 24, 2026
* ci(bloat): add reproducible slim ESP32-S3 profile with provenance (#4564)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* fix(ci): treat prebuilt framework residue as slim-profile warnings (#4564)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

* ci: claim #4574/#4577 savings in ESP32-S3 bloat baseline (370053 -> 367105)

Co-Authored-By: Claude Opus 5.5 <[email protected]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
@zackees
zackees deleted the feat/meta-work-4565 branch September 24, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

perf(stdio): share scalar format_arg code across types

1 participant