Skip to content

perf(ui): reduce split/sidebar layout thrash during drag settle (Fluid F4) #360

Description

@ZhuchkaTriplesix

Parent

Part of #356 · Fluid perf audit F4 (P1)

Problem

Sidebar width and vertical SQL/results split update constraints/flex every drag and settle tick. Paint isolation via RepaintBoundary on main split is good, but layout of editor + results still runs every frame during fling settle.

Where:

  • lib/features/main_screen/main_screen.dart
  • lib/core/layout/vertical_split_pane.dart
  • lib/core/layout/querya_drag_settle.dart

Expected

  • Keep 1:1 mid-drag (do not animate mid-drag)
  • Mitigate settle cost where cheap (e.g. RepaintBoundary on vertical panes; optional notify throttle that does not break feel)
  • Document if remaining relayout is accepted

Acceptance

  • Vertical split panes paint-isolated if missing
  • No mid-drag spring regression
  • Note in PR what was measured / accepted

Related

Metadata

Metadata

Labels

motionAnimation system, transitions, motion tokensperformanceTheme parser epic label: performanceuiUser interface components and widgets

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions