LearnNewsExamplesServices
Frontmatter
id9202
titleInvestigate CSS Optimizations for Grid Rendering (Desktop Scaling)
stateClosed
labels
aitestingperformance
assigneestobiu
createdAtFeb 18, 2026, 12:52 PM
updatedAtFeb 23, 2026, 5:10 PM
githubUrlhttps://github.com/neomjs/neo/issues/9202
authortobiu
commentsCount0
parentIssue9194
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtFeb 23, 2026, 5:10 PM

Investigate CSS Optimizations for Grid Rendering (Desktop Scaling)

Closed v12.0.0 aitestingperformance
tobiu
tobiu commented on Feb 18, 2026, 12:52 PM

Recent benchmarks (#9199) revealed a performance scaling bottleneck on Desktop resolutions (1920x1080), where the frame rate drops to ~30 FPS compared to 60 FPS on Mobile. This appears to be a Composite/Paint bound issue due to the high number of DOM nodes (~2,300) and active cells (~560) being rendered.

This task is to deeply investigate CSS-level optimizations to alleviate this bottleneck.

Objectives:

  1. Analyze Current Containment: Evaluate if contain: strict on Neo.grid.Row and Neo.grid.column.Sparkline is optimal. Does removing it or changing it to content improve performance by reducing overhead, or worsen it?
  2. Evaluate will-change: Verify if will-change: transform on every row creates too many GPU layers on large screens. Test removing it or applying it dynamically.
  3. Explore content-visibility: Test if content-visibility: auto can provide benefits for the virtualized list rows.
  4. Paint Complexity: Investigate if specific cell styles (borders, shadows, background gradients) are causing expensive paint operations.

References:

  • resources/scss/src/grid/Body.scss
  • resources/scss/src/grid/column/Sparkline.scss
  • Benchmark: test/playwright/e2e/GridScrollBenchmark.spec.mjs
tobiu added the ai label on Feb 18, 2026, 12:52 PM
tobiu added the testing label on Feb 18, 2026, 12:52 PM
tobiu added the performance label on Feb 18, 2026, 12:52 PM
tobiu assigned to @tobiu on Feb 18, 2026, 12:52 PM
tobiu added parent issue #9194 on Feb 18, 2026, 12:53 PM
tobiu closed this issue on Feb 23, 2026, 5:10 PM