Skip to content

perf(git): parallelize startup reads - #1086

Open
meowhib wants to merge 1 commit into
modem-dev:mainfrom
meowhib:perf/parallelize-git-startup
Open

perf(git): parallelize startup reads#1086
meowhib wants to merge 1 commit into
modem-dev:mainfrom
meowhib:perf/parallelize-git-startup

Conversation

@meowhib

@meowhib meowhib commented Sep 10, 2026

Copy link
Copy Markdown

summary

parallelize independent git startup reads while keeping oversized file detection ahead of patch generation
this reduces startup latency by overlapping git stats, config, source metadata, and untracked file discovery

verification

five fresh process pty runs with the compiled binary:

  • one file: 224 → 197 ms
  • 240 files: 417 → 395 ms

validated with typecheck, lint, dependency checks, focused tests, and a compiled pty test

@vercel

vercel Bot commented Sep 10, 2026

Copy link
Copy Markdown

@meowhib is attempting to deploy a commit to the Modem Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps

greptile-apps Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

PR author is not in the allowed authors list.

@benvinegar

Copy link
Copy Markdown
Member

Nice idea!

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.

2 participants