Skip to content

perf(autoresearch): tighten esp32c6 RMT show() latency budget to 175 us and add PARLIO budget - #5510

Merged
zackees merged 1 commit into
masterfrom
perf/5356-tighten-show-latency-budgets
Dec 3, 2026
Merged

zackees merged 1 commit into
masterfrom
perf/5356-tighten-show-latency-budgets

Conversation

@zackees

@zackees zackees commented Dec 3, 2026

Copy link
Copy Markdown
Member

Implements Item #22 of #5492 (completing #5375 / #5356 budget tightening on real ESP32-C6 silicon).

On-Device Measurements (ESP32-C6 @ 160 MHz, 35 WS2812 timingDriftTest, 554 show() calls)

Stage / Driver Mean show() Min / Max instr/show Est. IPC Budget
Before #5350 (RMT) 1,687 µs — — — —
After #5350 (RMT) 357 µs — — — —
After #5358/#5360/#5364 (RMT) 205–225 µs — ~12,400 0.36 280 µs
Pre-#5508 master (RMT) 144.8 µs 139 / 183 µs 8,377 0.36 280 µs
Post-#5508 (#5378) master (RMT) 125.3 µs 124 / 172 µs 8,352 0.42 175 µs
ESP32-C6 PARLIO (--legacy) 296.8 µs 292 / 420 µs 25,621 0.54 360 µs
  • Lowers esp32c6 RMT budget from 280 to 175 µs (30–50 µs layout-noise headroom above measured 125–145 µs).
  • Adds esp32c6 PARLIO 360 µs (measured 296.8 µs mean, post-show DRAINING 554 / READY 0).
  • Updates ci/tests/test_show_latency_gate.py to validate the esp32c6 PARLIO entry.

Maintainer directive (@zackees): authorized per #5492 item #22 to tighten tests/data/show_latency_budget.txt and ci/tests/test_show_latency_gate.py.

@coderabbitai

coderabbitai Bot commented Dec 3, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 2 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 8 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between b508f59 and 554aae1.

Files selected for processing: 2

  • ci/tests/test_show_latency_gate.py
  • tests/data/show_latency_budget.txt
  • 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 added this pull request to the merge queue Dec 3, 2026
Merged via the queue into master with commit 7a5a9d5 Dec 3, 2026
128 checks passed
@zackees
zackees deleted the perf/5356-tighten-show-latency-budgets branch December 3, 2026 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant