Skip to content

test(hw): verify DigitalMultiWrite writeByte timing on hardware (follow-up #5314) #5321

Closed

Description

@zackees

Follow-up of #5314 / PR #5317. The DigitalMultiWrite8/16::writeByte rewrite was timed only in simavr (ATmega328P, cycle-exact). The on-device run on the attached ESP board stopped because fbuild deploy prompted to install USB udev rules, so the agent cancelled it.

To do: once the udev rules are installed, run bash autoresearch esp32c6 --rpc-smoke and the on-device perfProbeBitBangCost timing on hardware. Confirm the bitbang timing didn't regress, and record the numbers on PR #5317.

Activity

  1. added
    sanitized
    on Nov 21, 2026
  2. zackees commented on Nov 21, 2026

    @zackees
    MemberAuthor

    Hardware run done on an ESP32-C6. Both builds pass RPC smoke. Numbers and decision are on #5317: #5317 (comment)

    Short version: since #5317, writeByte is 9% slower on the C6 (1.222 → 1.336 µs), and bit-bang per-bit overhead goes from 6.86 to 7.22 µs. That driver already misses WS2812 timing on the C6 either way (~7 µs vs a 1.25 µs bit), so I'm accepting the trade-off for the RAM savings (575 B on AVR, 1276 B on 32-bit) and the AVR speedup.

  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

    sanitized

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions