Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
SlexAxton
added a commit
that referenced
this pull request
Mar 30, 2026
Large-tree render hot-path optimizations Reduce first visible-row readiness for large virtualized trees by removing redundant tree-building/traversal work and tightening hot path data structures. Experiments: #2, #3, #6, #7, #9, #10, #12, #13, #14, #19, #20, #21, #22 Metric: visible_rows_ready_median_ms 826.7ms -> 409.9ms (-50.4%)
SlexAxton
added a commit
that referenced
this pull request
Apr 8, 2026
Add createVisibleTreeProjection API with benchmark/profile scripts, public types, static-store integration, test coverage, and tree controller/view integration. Includes major performance optimizations: - Rewrite createVisibleTreeProjection: single-pass with Int32Array parent/child tracking, lazy visibleIndexByPath Map - Add DFS-based full-tree getVisibleSlice (avoids parent-walk for sibling finding) - Inline file-node materialization in DFS (~70% of rows skip directory checks) - Inline path cache + segment lookup in hot loop - Cache DirectoryChildIndex in DFS stack frame (avoid per-child Map.get) - Collapse benchmark uses preparePresortedInput to skip re-sorting - Eager name-id map building in presorted builder finish - Iterative recomputeCountsRecursive (explicit stack, -64% sub-timing) Experiments: #1–#12, #15, #20, #21 toggle_wall_ms: 877ms → 143ms (-84%) collapse_wall_ms: 4757ms → 1510ms (-68%)
SlexAxton
added a commit
that referenced
this pull request
Apr 8, 2026
…imizations (#490) * Visible tree projection feature + performance optimizations Add createVisibleTreeProjection API with benchmark/profile scripts, public types, static-store integration, test coverage, and tree controller/view integration. Includes major performance optimizations: - Rewrite createVisibleTreeProjection: single-pass with Int32Array parent/child tracking, lazy visibleIndexByPath Map - Add DFS-based full-tree getVisibleSlice (avoids parent-walk for sibling finding) - Inline file-node materialization in DFS (~70% of rows skip directory checks) - Inline path cache + segment lookup in hot loop - Cache DirectoryChildIndex in DFS stack frame (avoid per-child Map.get) - Collapse benchmark uses preparePresortedInput to skip re-sorting - Eager name-id map building in presorted builder finish - Iterative recomputeCountsRecursive (explicit stack, -64% sub-timing) Experiments: #1–#12, #15, #20, #21 toggle_wall_ms: 877ms → 143ms (-84%) collapse_wall_ms: 4757ms → 1510ms (-68%) * fix depth bug
SlexAxton
added a commit
that referenced
this pull request
Apr 10, 2026
Reduce whole-tree startup work across the path-store tree controller and store setup. This combines the kept changes that removed duplicate controller metadata passes, made projection data lazy/partial, deferred child lookup maps, optimized initial expansion handling, and added file-only builder fast paths for the profile workload. Experiments: #2, #3, #4, #5, #7, #8, #9, #10, #11, #12, #13, #14, #21, #23, #28, #29 Metric: visible_rows_ready_ms 1002.3 → 197.5 (-80.3%)
SlexAxton
added a commit
that referenced
this pull request
Apr 10, 2026
Overhaul path-store startup hot path Reduce whole-tree startup work across the path-store tree controller and store setup. This combines the kept changes that removed duplicate controller metadata passes, made projection data lazy/partial, deferred child lookup maps, optimized initial expansion handling, and added file-only builder fast paths for the profile workload. Experiments: #2, #3, #4, #5, #7, #8, #9, #10, #11, #12, #13, #14, #21, #23, #28, #29 Metric: visible_rows_ready_ms 1002.3 → 197.5 (-80.3%)
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.
A real rough pass at an initial header component, that mimics some of what Figma is showing off.
This PR also adds yet another diff file that's formatted from a pull request and I enable parsing compatibility from that.