Skip to content

Header Component#12

Merged
amadeus merged 3 commits intomainfrom
amadeus/header-components
Sep 26, 2025
Merged

Header Component#12
amadeus merged 3 commits intomainfrom
amadeus/header-components

Conversation

@amadeus
Copy link
Copy Markdown
Member

@amadeus amadeus commented Sep 25, 2025

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.

@vercel
Copy link
Copy Markdown

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
pierrejs-diff-demo Ready Ready Preview Sep 25, 2025 11:24pm
pierrejs-docs Ready Ready Preview Sep 25, 2025 11:24pm

@amadeus amadeus merged commit 46b07ec into main Sep 26, 2025
2 checks passed
@amadeus amadeus deleted the amadeus/header-components branch September 26, 2025 00:13
SlexAxton added a commit that referenced this pull request Mar 30, 2026
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 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%)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant