Files
pipelines/app/lib/features/chat/shell
alan a3149eef03 Terminal feed: on the web, show streaming output at most every 32 ms
In the browser a frame rasterises on the thread that parses output, so a
stream drawn at 60 frames a second spends half its time drawing. With
deferShows (the web default) output written less than a gap after the
last show is shown when the gap has passed; output after a quiet spell
(an echo) still shows at once. Natively frames rasterise on their own
thread and written output keeps showing at once. The stream bench
measures the stream without its final 600 ms wait for frame timings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-26 03:14:17 +00:00
..