You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
perf(workspace): memoize DataGrid filtering in ResultsTab to prevent unneeded re-filtering on build #650
When query results contain 10,000 to 100,000 rows, any unrelated UI rebuild (such as hovering over buttons, tab switches, cursor blinking, or status updates) causes the UI thread to synchronously re-filter all rows and allocate a new 50,000-element list in memory, causing frame drops (jank) and unnecessary garbage collection pressure.
Proposed Solution
In _ResultsTabState:
Cache _cachedFilteredIndices and _cachedFilteredRows.
Track _lastFilterText, _lastEffectiveRows, and _lastColumns.
Recompute filtering only when _filterText, rows, or columns actually change.
Activity