Skip to content

fix(bench): measure first-time installs on a sliced ESP32-S3 stack - #1943

Merged
zackees merged 5 commits into
mainfrom
fix/bench-truly-cold-sliced-esp32
Nov 7, 2026
Merged

zackees merged 5 commits into
mainfrom
fix/bench-truly-cold-sliced-esp32

Conversation

@zackees

@zackees zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member

Fixes the published build benchmark.

Problems

  • Arduino CLI and Uno cold builds downloaded nothing: packages stayed installed, so the 10 Mbit link never affected them.
  • ESP32-S3 pinned [email protected] (Arduino 2.0.17), a single bundle with no slices, so fbuild's slicing never ran.
  • All durations were printed in ms.

Changes

  • Cold is a first-time install for every tool and board. Arduino's timed window includes core install, with retries inside the timer.
  • All three tools use Arduino-ESP32 3.3.12 (pioarduino 55.03.312, PlatformIO Core 6.2.0).
  • Each cold trial records bytes received; on a shaped link, a cold build under 1 MB fails the run.
  • Durations show as seconds or minutes with two decimals. Download sizes are on the chart.
  • pioarduino crashes SCons under -v, so PlatformIO has no ESP32-S3 phase breakdown.

Measured (run 42335693929, 10 Mbit, median of 3)

Board Tool Cold Warm Download
ESP32-S3 Arduino CLI 26.69 min 2.26 s 1.92 GB
ESP32-S3 PlatformIO 10.89 min 2.95 s 675 MB
ESP32-S3 fbuild 5.81 min 0.05 s 399 MB
Uno Arduino CLI 1.01 min 0.35 s 61 MB
Uno PlatformIO 1.02 min 0.53 s 60 MB
Uno fbuild 55.17 s 0.05 s 66 MB

The final commit only widens the chart, checked by re-rendering this run's SVG; no new benchmark run.

Known gap

fbuild misses the under-4-minute target. Its download is mostly the 168 MB toolchain and 82 MB esptool bundle. That needs a change to fbuild itself, not this benchmark.

The job timeout rises to 300 min; this run's measuring step took about 2.5 h.

Arduino CLI cold builds reused an installed core, Uno cold builds downloaded
nothing, and ESP32-S3 pinned Arduino 2.0.17, whose single bundle has no slices.
All tools now start from nothing on Arduino-ESP32 3.3.12, each cold trial
records bytes received (and fails if nothing was fetched on the shaped link),
and reports show durations in seconds or minutes.
pioarduino reuses downloads from dist and tools, so trials 2 and 3 fetched
443 MB against 670 MB for trial 1 and the median understated PlatformIO.
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@zackees

zackees commented Nov 7, 2026

Copy link
Copy Markdown
Member Author

The 4-minute gap is tracked in #1944.

@zackees
zackees added this pull request to the merge queue Nov 7, 2026
Merged via the queue into main with commit 6840f4f Nov 7, 2026
29 checks passed
@zackees
zackees deleted the fix/bench-truly-cold-sliced-esp32 branch November 7, 2026 11:51
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

1 participant