Skip to content

Benchmark Grid Horizontal Scroll Performance #9199

@tobiu

Description

@tobiu

Objective

Investigate and verify the performance impact of "Virtual Fields" and "Dynamic Column Updates" on horizontal scrolling in the Grid.

Motivation

Post-implementation of "Zero Overhead" records (#9193), there is a subjective perception that horizontal scrolling in DevIndex has become sluggish. We need objective data to confirm if this is a regression caused by the virtual getter overhead, the fix in Column.mjs, or an unrelated factor (e.g., dataset size).

Tasks

  1. Create Benchmark Test: Develop a Playwright component test (test/playwright/component/benchmark/GridScroll.spec.mjs) that:
    • Loads a Grid with the DevIndex column structure.
    • Performs an automated horizontal scroll sequence.
    • Measures Frame Rate (FPS) and/or Scripting Duration.
  2. Profiling: Use Chrome DevTools Performance Trace (via Playwright) to pinpoint if the bottleneck is:
    • Scripting: RecordFactory getters, Row.createVdom.
    • Rendering: Style/Layout calculations.
  3. Analysis: Compare metrics against a baseline (or theoretical expectations).

Outcome

Definitive confirmation of performance status and identification of any bottlenecks to address.

Metadata

Metadata

Assignees

Labels

aiperformancePerformance improvements and optimizationstesting

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions