Skip to content

PARLIO legacy WS2812 path: show() costs ~2.3 ms per frame for 35 LEDs on ESP32-C6 #5351

Closed

Description

@zackees

Follow-up from #2994 / #5350.

On an ESP32-C6, legacy addLeds<WS2812B, PIN> binds to ClocklessPARLIO. The AutoResearch timingDriftTest replay of the #2994 sketch (35 LEDs, show() every 5 ms) measures FastLED.show() at about 2.8–2.9 ms per call. The wire floor for 35 LEDs is 1050 µs, and the RMT5 path after #5350 takes 369 µs.

Per-frame breakdown, from temporary timers in CFastLED::show() and ChannelManager::onEndFrame(), averaged over 640 frames:

phase µs/frame
onBeginFrame (ChannelManager::waitForReady) ~977
encode + enqueue (showLedsInternal) ~248
ChannelManager::onEndFrame → PARLIO driver.show() ~1346
waitForReadyOrDraining ~102

So two costs remain:

  • At a 5 ms cadence the previous frame should already have finished, yet onBeginFrame still waits ~1 ms for READY. Something in PARLIO's completion or READY reporting lags the wire.
  • PARLIO show() itself takes ~1.3 ms of CPU or blocking time for 35 LEDs.

Repro (ESP32-C6 attached):

bash autoresearch esp32c6 --simd --upload-port <PORT> --skip-lint
uv run python -m ci.autoresearch.test_timing_drift --port <PORT> --iterations 6

Activity

  1. added
    type: bug
    on Nov 21, 2026
  2. added
    sanitized
    on Nov 21, 2026
  3. moved this from Triage to Done in FastLED Trackeron Nov 21, 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

    sanitizedtype: bug

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions