Files
piik/prototype/channel-native/src
T
AAA 5f5a4b9703 perf(native): keep the connection future at its lifecycle boundary
Box only the connected phase after a successful WebSocket handshake. The same drive future still owns cancellation, recovery and cleanup. This keeps the large inner state machine from being carried inline through each outer caller without spawning another task.

Measured Windows Rust 1.91 run_host future size drops from 33208 to 17904 bytes without capture and 33544 to 17904 with capture. The current and prior-wrapper candidates passed the same real two-process admission/resume/restart test. Current baseline already passed; this is a bounded frame-size improvement, not a claim about measured peak stack headroom.
5f5a4b9703 · 2026-11-24 21:26:17 -05:00
History
..