perf(grid): virtualize grid rendering - #517
Closed
JustYannicc wants to merge 1 commit into
Closed
Conversation
This was referenced Jul 3, 2026
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
columns,itemSize,aspectRatio,fit,inset).Metrics
node scripts/test-grid-virtualization.mjsreportedbaseline eager cells=5000,contentResolutions=5000,durationMs=0.589for a 5,000-item grouped Grid.virtualized visibleCells=30,renderedRows=7,totalRows=1127, with selection-scroll coverage for item4242.baseline eager cells=5000,contentResolutions=5000,durationMs=0.342;virtualized visibleCells=30,totalCells=5000,renderedRows=7,totalRows=1127.Checks
node scripts/test-grid-virtualization.mjspasses.npm testpasses (Renderer crash recovery (live Electron)skipped because Electron is not launchable here).npm run build:rendererpasses.node scripts/check-i18n.mjscompletes successfully; it still reports the existing Italian locale gaps forsettings.ai.whisper.vocabularyandsettings.extensions.appSearchScope../node_modules/.bin/tsc --noEmit --pretty false 2>&1 | rg "grid-runtime" || truereports no Grid-related typecheck errors. The full renderer typecheck remains red on unrelated existing files.Risks / Notes
Grid.Itemelements so extension APIs/actions keep working; the expensive visual cell rendering and icon resolution are limited to visible rows.