Skip to content

Perf: Optimize Sparkline Backpressure & Investigate Grid Reflows #9052

@tobiu

Description

@tobiu

The DevRank Grid shows "Forced Reflow" and "RequestAnimationFrame" violations during rapid scrolling (e.g., Page Down / End).
Initial hypothesis (Canvas Worker overload) led to the implementation of Adaptive Backpressure in Neo.canvas.Sparkline.
However, tests reveal that violations persist even when Sparkline components are removed, pointing to a root cause in the Grid's Main Thread rendering or layout logic.

Tasks:

  1. Finalize Sparkline optimizations:
    • Enable Adaptive Backpressure (Frame Budgeting).
    • Apply contain: strict to wrappers.
    • Set maxConcurrentTransitions to 30.
  2. Investigate Neo.grid.Body and Neo.grid.Container for sources of synchronous layout thrashing (forced reflows) during large scroll jumps.

Metadata

Metadata

Assignees

Labels

aibugSomething isn't workingperformancePerformance improvements and optimizations

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions