-
-
Notifications
You must be signed in to change notification settings - Fork 202
Benchmark Grid Horizontal Scroll Performance #9199
Copy link
Copy link
Closed
Labels
aiperformancePerformance improvements and optimizationsPerformance improvements and optimizationstesting
Description
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
- Create Benchmark Test: Develop a Playwright component test (
test/playwright/component/benchmark/GridScroll.spec.mjs) that:- Loads a Grid with the
DevIndexcolumn structure. - Performs an automated horizontal scroll sequence.
- Measures Frame Rate (FPS) and/or Scripting Duration.
- Loads a Grid with the
- Profiling: Use Chrome DevTools Performance Trace (via Playwright) to pinpoint if the bottleneck is:
- Scripting:
RecordFactorygetters,Row.createVdom. - Rendering: Style/Layout calculations.
- Scripting:
- Analysis: Compare metrics against a baseline (or theoretical expectations).
Outcome
Definitive confirmation of performance status and identification of any bottlenecks to address.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aiperformancePerformance improvements and optimizationsPerformance improvements and optimizationstesting