Performance optimizations to prevent UI freeze during streaming: 1. message-block-list.tsx: - Removed createEffect that logged on every messageIds change - Removed unused logger import (was causing IPC overload) 2. multi-task-chat.tsx: - Changed filteredMessageIds from function to createMemo for proper memoization - Throttled auto-scroll effect to only trigger when message COUNT changes - Previously it fired on every reactive store update during streaming These changes prevent excessive re-renders and IPC calls during message streaming.
961c8743d3
·
2025-12-24 22:27:27 +04:00
History