Pull shadcn components into own package, link into registry#16
Merged
Pull shadcn components into own package, link into registry#16
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
SlexAxton
added a commit
that referenced
this pull request
Mar 27, 2026
Add production-style render benchmarks for @pierre/trees and remove several full-tree costs from the fresh client-mount path. The final tree reuses cached visible IDs, trims expanded-state and callback bookkeeping, avoids rebuilding a full idToPath map, and seeds the initial virtualized window from the mount container height so the first render can paint real rows immediately. Experiments: #4, #8, #9, #10, #11, #14, #15, #16 Metric: client_mount_ms 73.9ms → 58.3ms (-21.0%) Related metric: construct_and_render_ms 120.3ms → 58.2ms (-51.6%)
SlexAxton
added a commit
that referenced
this pull request
Mar 27, 2026
Speed up large file-tree fresh mounts Add production-style render benchmarks for @pierre/trees and remove several full-tree costs from the fresh client-mount path. The final tree reuses cached visible IDs, trims expanded-state and callback bookkeeping, avoids rebuilding a full idToPath map, and seeds the initial virtualized window from the mount container height so the first render can paint real rows immediately. Experiments: #4, #8, #9, #10, #11, #14, #15, #16 Metric: client_mount_ms 73.9ms → 58.3ms (-21.0%) Related metric: construct_and_render_ms 120.3ms → 58.2ms (-51.6%)
SlexAxton
added a commit
that referenced
this pull request
Apr 21, 2026
Improves the packages/trees file-tree profiler startup path for large pre-expanded/open trees. The change stack removes redundant prepared-input validation, represents profiler workloads with initialExpansion: 'open', slims PathStore node/storage shapes, reduces cold startup writes, tunes visible-child chunk summaries, and removes redundant FileTreeView mount/render work. Experiments: kept runs #1, #16, #18, #24, #25, #26, #28, #36, #41, #42, #43, #44, #51, #65, #67, #68, #71, #74, #80, #82, #137, #139, #140, #142, #143, #147, #149, #153, #155, #163, #165, #171, #180, #182, #186, #196 Metric: visibleRowsReadyMs 334.8ms -> 253.8ms best (-24.2%); final kept sample 267.8ms (-20.0%).
SlexAxton
added a commit
that referenced
this pull request
Apr 22, 2026
Improves the packages/trees file-tree profiler startup path for large pre-expanded/open trees. The change stack removes redundant prepared-input validation, represents profiler workloads with initialExpansion: 'open', slims PathStore node/storage shapes, reduces cold startup writes, tunes visible-child chunk summaries, and removes redundant FileTreeView mount/render work. Experiments: kept runs #1, #16, #18, #24, #25, #26, #28, #36, #41, #42, #43, #44, #51, #65, #67, #68, #71, #74, #80, #82, #137, #139, #140, #142, #143, #147, #149, #153, #155, #163, #165, #171, #180, #182, #186, #196 Metric: visibleRowsReadyMs 334.8ms -> 253.8ms best (-24.2%); final kept sample 267.8ms (-20.0%).
SlexAxton
added a commit
that referenced
this pull request
Apr 22, 2026
) Optimize file-tree startup for large open trees Improves the packages/trees file-tree profiler startup path for large pre-expanded/open trees. The change stack removes redundant prepared-input validation, represents profiler workloads with initialExpansion: 'open', slims PathStore node/storage shapes, reduces cold startup writes, tunes visible-child chunk summaries, and removes redundant FileTreeView mount/render work. Experiments: kept runs #1, #16, #18, #24, #25, #26, #28, #36, #41, #42, #43, #44, #51, #65, #67, #68, #71, #74, #80, #82, #137, #139, #140, #142, #143, #147, #149, #153, #155, #163, #165, #171, #180, #182, #186, #196 Metric: visibleRowsReadyMs 334.8ms -> 253.8ms best (-24.2%); final kept sample 267.8ms (-20.0%).
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.
No description provided.