mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
- Replace setTimeout(10ms) with queueMicrotask for immediate processing - Add minimal 3ms setTimeout for rendering to maintain readable UX - Reduces per-token delay while preserving streaming experience - Add performance test to verify optimization works correctly --------- Co-authored-by: Claude <[email protected]> Co-authored-by: Thibault Sottiaux <[email protected]>