ChatTranscriptRows keeps each message run's rows while the run holds the
identical message objects; applyChatEvent and the controller keep untouched
messages' identity. Shown-item filtering, task-notice groups and row-key ids
are held per row object, and the view reads message ids once per list.
Tests check the incremental path equals a full derivation across streaming,
appends, shown items, cards, turn diffs and prepended pages.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
tool/perf/chat_4k_bench.mjs opens the full-app fixture at 3840x2160 with
12 rich chats and measures opening, scrolling, streaming, switching and
typing (frame timings plus a source-mapped CPU profile). The capture
kit's --gpu mode now uses ANGLE on Vulkan on Linux. notes/perf-4k-chat.md
records the baseline and the hotspots it found.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>