Skip to content

[trees] Post-1.0.0 feature additions perf pass -24.2% on linux-10x#575

Merged
SlexAxton merged 1 commit intomainfrom
autoresearch/trees-launch-perf-pass/01-file-tree-startup-perf
Apr 22, 2026
Merged

[trees] Post-1.0.0 feature additions perf pass -24.2% on linux-10x#575
SlexAxton merged 1 commit intomainfrom
autoresearch/trees-launch-perf-pass/01-file-tree-startup-perf

Conversation

@SlexAxton
Copy link
Copy Markdown
Contributor

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.

  • Kept experiments: 36
  • Final non-session diff: 22 files, 770 insertions(+), 371 deletions(-)
  • Baseline metric: 334.8ms
  • Best recorded kept metric: 253.8ms (-24.2%)
  • Current final kept sample: 267.8ms (-20.0%)

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

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

Project Deployment Actions Updated (UTC)
pierrejs-diff-demo Ready Ready Preview Apr 22, 2026 1:02am
pierrejs-docs Ready Ready Preview Apr 22, 2026 1:02am

Request Review

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 SlexAxton force-pushed the autoresearch/trees-launch-perf-pass/01-file-tree-startup-perf branch from 9cb055a to b9a3d97 Compare April 22, 2026 01:01
@SlexAxton SlexAxton merged commit 1f00492 into main Apr 22, 2026
10 checks passed
@SlexAxton SlexAxton deleted the autoresearch/trees-launch-perf-pass/01-file-tree-startup-perf branch April 22, 2026 01:45
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