MCPcopy Create free account
hub / github.com/FastLED/FastLED / _run_bloat_cmd

Function _run_bloat_cmd

tests/measure_esp32s3_opt_ins.py:245–259  ·  view source on GitHub ↗

Pick the right bloat entry point per platform. On Linux/macOS: `bash bloat esp32s3 --no-summary`. On Windows: `uv run ci/bloat.py esp32s3 --no-summary` — there is no `bloat.bat` shim, so we invoke the underlying Python entry point directly (the bash wrapper just does `uv run ci/bloa

()

Source from the content-addressed store, hash-verified

243
244
245def _run_bloat_cmd() -> list[str]:
246 """Pick the right bloat entry point per platform.
247
248 On Linux/macOS: `bash bloat esp32s3 --no-summary`.
249 On Windows: `uv run ci/bloat.py esp32s3 --no-summary` — there is no
250 `bloat.bat` shim, so we invoke the underlying Python entry point
251 directly (the bash wrapper just does `uv run ci/bloat.py "$@"`).
252 See #2935.
253 """
254 import os
255
256 args = ["esp32s3", "--no-summary"]
257 if os.name == "nt":
258 return ["uv", "run", "ci/bloat.py", *args]
259 return ["bash", "bloat", *args]
260
261
262_LOG_DIR = PROJECT_ROOT / ".build" / "measure-logs"

Callers 1

run_bloatFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected