Skip to content

perf(grid): offload GridFilterEngine to background isolate and debounce in ResultsTab (#1347) - #1469

Merged
ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1347-grid-filter-isolate
Oct 11, 2026
Merged

ZhuchkaTriplesix merged 1 commit into
devfrom
issue/1347-grid-filter-isolate

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Closes #1347

Summary

  • Added adaptive background isolate offloading in GridFilterEngine.filterRowIndicesAdaptive using foundation.compute with kFilterIsolateThreshold = 3000.
  • Implemented 150ms debouncing and generation tracking (_filterSeq) in ResultsTab for filtering large datasets without blocking Flutter UI raster/event loops.
  • Kept instantaneous synchronous filtering for datasets under 3,000 rows and immediate clearing on empty filter input / filter bar close.
  • Added comprehensive unit tests in test/features/workspace/data_grid_engines_test.dart.

@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 886cb30 into dev Oct 11, 2026
13 checks passed
@github-actions github-actions Bot added frontend Theme parser epic label: frontend performance Theme parser epic label: performance data-grid Interactive data grid, cell editor, filtering, groupings P2 Medium priority / Parity & Refactoring labels Oct 11, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix deleted the issue/1347-grid-filter-isolate branch October 11, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-grid Interactive data grid, cell editor, filtering, groupings frontend Theme parser epic label: frontend P2 Medium priority / Parity & Refactoring performance Theme parser epic label: performance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant