docs(perf): #114 warm-deploy loop first-pass results#230
Conversation
5/5 iterations of `deploy + monitor reattach + first-byte-from-device` land at 3.585-3.697 s on ESP32-S3-DevKitC-1, all inside the 4 000 ms budget defined in #114. Closes the acceptance loop on #114; no follow-up perf issues filed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
📝 WalkthroughWalkthroughA new performance report ChangesWarm-Deploy Performance Acceptance
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related issues
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/PERF_WARM_DEPLOY.md`:
- Around line 72-73: The line begins with "#114." which Markdown parses as an
ATX heading; change that occurrence to inline text such as "issue `#114`." (or
wrap it in backticks `#114`) so it no longer starts the line and markdownlint
MD018 is not triggered—update the exact token "#114." in the affected paragraph
to "issue `#114`." to fix the linting.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: 28c37499-60cb-4c13-9469-32ec442d2982
📒 Files selected for processing (2)
docs/INDEX.mddocs/PERF_WARM_DEPLOY.md
| breaching its individual budget; no follow-up perf issues are filed against | ||
| #114. |
There was a problem hiding this comment.
Line 73: avoid accidental ATX heading syntax
#114. at start-of-line is parsed as a heading marker and triggers MD018. Keep it inline text (for example: issue #114.) so markdownlint stays clean.
Suggested fix
-The full loop runs cleanly inside the 4 s envelope without any phase
-breaching its individual budget; no follow-up perf issues are filed against
-#114.
+The full loop runs cleanly inside the 4 s envelope without any phase
+breaching its individual budget; no follow-up perf issues are filed against
+issue `#114`.🧰 Tools
🪛 markdownlint-cli2 (0.22.1)
[warning] 73-73: No space after hash on atx style heading
(MD018, no-missing-space-atx)
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@docs/PERF_WARM_DEPLOY.md` around lines 72 - 73, The line begins with "#114."
which Markdown parses as an ATX heading; change that occurrence to inline text
such as "issue `#114`." (or wrap it in backticks `#114`) so it no longer starts
the line and markdownlint MD018 is not triggered—update the exact token "#114."
in the affected paragraph to "issue `#114`." to fix the linting.
Summary
Closes the acceptance loop on #114. First-pass measurement of the warm
rebuild + deploy + monitor reconnectpath against real ESP32-S3 hardware(ESP32-S3-DevKitC-1, native USB-CDC on COM13).
5/5 consecutive iterations of the full loop land at 3.585–3.697 s — all
inside the 4 000 ms budget, lowest margin 303 ms. Acceptance criterion
(three consecutive in-budget iterations) is met with a margin.
Deploy-only (no monitor) is ~2.6 s steady-state.
No follow-up perf issues are filed: no phase consistently breaches its
sub-budget. The ~1 s extra between deploy-only and full loop is the test
sketch's
delay(500)×2loop period (nextSerial.printlncadence), notdeploy/reconnect infrastructure.
This PR adds
docs/PERF_WARM_DEPLOY.md(mirrors thePERF_WARM_BUILD.mdshape used for #91) and adds the corresponding row to
docs/INDEX.md.Test plan
verify skipped, device already matched--monitor --halt-on-success "Hello from ESP32-S3" --timeout 5) — all green inside 4 000 msRefs #114. The fbuild-side perf work that got us here landed previously
in #116 (trust-skip), #118 (
ImageHashMemo+ device refresh debounce),and #120 (
DaemonWatchSetCache).🤖 Generated with Claude Code
Summary by CodeRabbit